lib/softcover/book_template/latex_styles/softcover.sty in softcover-1.4.3 vs lib/softcover/book_template/latex_styles/softcover.sty in softcover-1.4.5
- old
+ new
@@ -175,9 +175,20 @@
\usepackage{eurosym}
\newunicodechar{€}{\euro}
\newunicodechar{¡}{!`}
\newunicodechar{¿}{?`}
\newunicodechar{ß}{\ss}
+% xelatex supports macrons by default, but for some reason they disappear.
+\newunicodechar{ā}{\={a}}
+\newunicodechar{ē}{\={e}}
+\newunicodechar{ī}{\={\i}}
+\newunicodechar{ō}{\={o}}
+\newunicodechar{ū}{\={u}}
+\newunicodechar{Ā}{\={A}}
+\newunicodechar{Ē}{\={E}}
+\newunicodechar{Ī}{\={I}}
+\newunicodechar{Ō}{\={O}}
+\newunicodechar{Ū}{\={U}}
\usepackage{latex_styles/language_customization}
% Fix quotes in code environments.
% Provides "upquote.sty" functionality compatible with the latest Pygments.