summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fontspec/fontspec.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-11-09 23:44:31 +0000
committerKarl Berry <karl@freefriends.org>2017-11-09 23:44:31 +0000
commitd58e09051eed105b7c4b93a513e0fd02ae2dfd4b (patch)
treeaa46d20a14160b1e582040da11625b63fb269bd8 /Master/texmf-dist/tex/latex/fontspec/fontspec.sty
parent99faba785d6e66859a2b9ab1d49e7f3c0db491af (diff)
fontspec (9nov17)
git-svn-id: svn://tug.org/texlive/trunk@45732 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fontspec/fontspec.sty')
-rw-r--r--Master/texmf-dist/tex/latex/fontspec/fontspec.sty23
1 files changed, 15 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/fontspec/fontspec.sty b/Master/texmf-dist/tex/latex/fontspec/fontspec.sty
index d9e3a39a20f..fe459cdbf27 100644
--- a/Master/texmf-dist/tex/latex/fontspec/fontspec.sty
+++ b/Master/texmf-dist/tex/latex/fontspec/fontspec.sty
@@ -20,18 +20,25 @@
\RequirePackage{xparse}
\ProvidesExplPackage{fontspec}%
- {2017/11/05}{2.6f}{Font selection for XeLaTeX and LuaLaTeX}
+ {2017/11/09}{2.6g}{Font selection for XeLaTeX and LuaLaTeX}
%%^^A%% fontspec-code-load.dtx -- part of FONTSPEC <wspr.io/fontspec>
\sys_if_engine_luatex:T
- { \RequirePackage{luaotfload}
+ {
+ \RequirePackage{luaotfload}
\directlua{require("fontspec")}
- \RequirePackageWithOptions{fontspec-luatex} \endinput }
+ \RequirePackageWithOptions{fontspec-luatex}
+ \endinput
+ }
\sys_if_engine_xetex:T
- { \RequirePackageWithOptions{fontspec-xetex} \endinput }
+ {
+ \RequirePackageWithOptions{fontspec-xetex}
+ \endinput
+ }
\msg_new:nnn {fontspec} {cannot-use-pdftex}
- {
- The~ fontspec~ package~ requires~ either~ XeTeX~ or~ LuaTeX.\\\\
- You~ must~ change~ your~ typesetting~ engine~ to,~ e.g.,~ "xelatex"~ or~ "lualatex" instead~ of~ plain~ "latex"~ or~ "pdflatex".
- }
+ {
+ The~ fontspec~ package~ requires~ either~ XeTeX~ or~ LuaTeX.\\\\
+ You~ must~ change~ your~ typesetting~ engine~ to,~ e.g.,~
+ "xelatex"~ or~ "lualatex" instead~ of~ "latex"~ or~ "pdflatex".
+ }
\msg_fatal:nn {fontspec} {cannot-use-pdftex}