mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Made sure that XeLaTeX or LuaLaTeX is in use before loading the awesome icon set
This commit is contained in:
parent
c93b42b716
commit
ac83eb3720
12 changed files with 35 additions and 27 deletions
|
|
@ -11,7 +11,8 @@
|
|||
%-------------------------------------------------------------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{moderncviconsawesome}[2013/04/23 v1.5.0 modern curriculum vitae and letter icons: awesome]
|
||||
|
||||
% XeTeX or LuaTeX is needed to be able to use fontspec and fontawesome
|
||||
\ifxetexorluatex
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
% required packages
|
||||
|
|
@ -39,6 +40,11 @@
|
|||
\renewcommand*{\githubsocialsymbol} {\faGithub~}
|
||||
|
||||
|
||||
% if XeTeX or LuaTeX is not used, load the marvosym icon set instead
|
||||
\else
|
||||
\typeout{WARNING: to use the awesome icon set, please use XeTeX or LuaTeX to compile your document; switching to the marvosym icon set.}
|
||||
\RequirePackage{moderncviconsmarvosym}
|
||||
\fi
|
||||
\endinput
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue