mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Major Bug Fix, caused by commit caa0cb8
This commit is contained in:
parent
b8dfa6bcbc
commit
89a5bdb7d1
1 changed files with 10 additions and 3 deletions
13
moderncv.cls
13
moderncv.cls
|
|
@ -96,10 +96,11 @@
|
||||||
\fi
|
\fi
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
% do not use inputenc and do not automatically load lmodern to avoid problems with German
|
% Using inputenc and do automatically loading lmodern leads to problems with German
|
||||||
% charactes, see
|
% characters. (https://tex.stackexchange.com/questions/496630/lualatex-problems-with-german-characters)
|
||||||
% https://tex.stackexchange.com/questions/496630/lualatex-problems-with-german-characters
|
% However, the fix rendered characters from other languages (e.g. Greek) unusable.
|
||||||
\ifxetexorluatex
|
\ifxetexorluatex
|
||||||
|
% Automatic loading of latin modern fonts
|
||||||
% \RequirePackage{fontspec}
|
% \RequirePackage{fontspec}
|
||||||
% \defaultfontfeatures{Ligatures=TeX}
|
% \defaultfontfeatures{Ligatures=TeX}
|
||||||
% \RequirePackage{unicode-math}
|
% \RequirePackage{unicode-math}
|
||||||
|
|
@ -123,6 +124,12 @@
|
||||||
% {}
|
% {}
|
||||||
% \fi
|
% \fi
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
|
\RequirePackage[T1]{fontenc}
|
||||||
|
\IfFileExists{lmodern.sty}%
|
||||||
|
{\RequirePackage{lmodern}}%
|
||||||
|
{}
|
||||||
|
|
||||||
% hyper links (hyperref is loaded at the end of the preamble to pass options required by loaded packages such as CJK)
|
% hyper links (hyperref is loaded at the end of the preamble to pass options required by loaded packages such as CJK)
|
||||||
\newcommand*\pdfpagemode{UseNone}% do not show thumbnails or bookmarks on opening (on supporting browsers); set \pdfpagemode to "UseOutlines" to show bookmarks
|
\newcommand*\pdfpagemode{UseNone}% do not show thumbnails or bookmarks on opening (on supporting browsers); set \pdfpagemode to "UseOutlines" to show bookmarks
|
||||||
\RequirePackage{url}
|
\RequirePackage{url}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue