It's been a couple of months since I last used my TeX, so I did some updates that became availabe (using MikTeX's software - Windows 7/64bit) and as of that moment, I noticed that my siunitx package began to have issues when used with the eulervm package (when added with euler-digits option). A couple of weeks ago I also came across a problem (I couldn't use Palatino with XeLaTeX, for some weird reason).
So I need to solve three issues:
I'd REALLY want to stick with
eulervmpackage, added witheuler-digitsoption. I like the looks of it much better and the option allows me to add some emphasis to math values.Although not necessary, I'd like to keep the "Palatino" typeface. It matches the
eulervmstyle much more and it has support to small-caps with bold face, which the default typeface does not have.I also need the
siunitxpackage as the content of the documents I need to type demand a good unit type setting!
Here's a MWE with the default typeface (Note I use XeLaTeX). If you know how to put Palatino back on there, please tell me:
\documentclass[a4paper,12pt]{article}
\usepackage[hmargin=2cm,vmargin=2cm,bmargin=2cm]{geometry}
%
\usepackage{fontspec}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{siunitx}
\usepackage[euler-digits]{eulervm}
\begin{document}
BLABLABLA... \SI{2}{\ohm}
\end{document}
When I compile the MWE this is what I get:
EDIT: After updating MikTeX I solved the errors in the image, although not the issue of siunitx. I tried some more things and discovered the issue: The fontspec package was the cause of it. Once I removed it (adding the inputenc package), compiling it with XeLaTeX worked, PDFLaTeX also worked.



expl3andfontspecpackages are out of sync, update both and you should be fine. (In general it is better to show exact errors from the log file in code section so line breaks preserved, rather than an image of a summary of the errors, but in this case an update should be all you need) – David Carlisle Feb 10 '16 at 07:59\SI{2}{\ohm}still gives me an output without the ohm symbol. – Guilherme Vargas Feb 10 '16 at 20:29fontspecpackage worked (both compiling with XeLaTeX and PDFLaTeX). I'm not sure that's a good solution, though. – Guilherme Vargas Feb 11 '16 at 00:09ohmunit if\usepackage[euler-digits]{eulervm}is included. I do get the warningPackage eulervm Warning: Unknown Operator Encoding!,(eulervm) Math accents may be wrong: assuming OT1 positions.– Peter Grill Feb 11 '16 at 00:24