diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/fontspec/fontspec-opentype.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/fontspec/fontspec-opentype.dtx | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/fontspec/fontspec-opentype.dtx b/Master/texmf-dist/source/latex/fontspec/fontspec-opentype.dtx index f825ed249d7..3e36172d19f 100644 --- a/Master/texmf-dist/source/latex/fontspec/fontspec-opentype.dtx +++ b/Master/texmf-dist/source/latex/fontspec/fontspec-opentype.dtx @@ -4,7 +4,7 @@ % % \iffalse % \begin{macrocode} -%<*fontspec&(xetexx|luatex)> +%<*fontspec> % \end{macrocode} % \fi % @@ -151,7 +151,7 @@ { \bool_if:NTF \l_@@_never_check_bool { \prg_return_true: } -%<*xetexx> +%<*XE> { \@@_iv_str_to_num:Nn \l_@@_strnum_int {#2} \int_set:Nn \l_tmpb_int { \XeTeXOTcountscripts #1 } @@ -168,8 +168,8 @@ } \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false: } -%</xetexx> -%<*luatex> +%</XE> +%<*LU> { \cs_if_eq:NNTF #1 \font { \tl_set:Nx \l_@@_tmp_tl {\curr@fontshape/\f@size} } @@ -177,7 +177,7 @@ \directlua{fontspec.check_ot_script("\l_@@_tmp_tl", "#2")} \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false: } -%</luatex> +%</LU> } % \end{macrocode} % \end{macro} @@ -193,7 +193,7 @@ { \bool_if:NTF \l_@@_never_check_bool { \prg_return_true: } -%<*xetexx> +%<*XE> { \@@_iv_str_to_num:Nn \l_@@_strnum_int {#2} \int_set:Nn \l_tmpb_int @@ -211,8 +211,8 @@ } \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false: } -%</xetexx> -%<*luatex> +%</XE> +%<*LU> { \cs_if_eq:NNTF #1 \font { \tl_set:Nx \l_@@_tmp_tl {\curr@fontshape/\f@size} } @@ -223,7 +223,7 @@ } \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false: } -%</luatex> +%</LU> } % \end{macrocode} % \end{macro} @@ -240,7 +240,7 @@ { \bool_if:NTF \l_@@_never_check_bool { \prg_return_true: } -%<*xetexx> +%<*XE> { %<debug>\typeout{::~ fontspec_check_ot_feat:n~ {#1}} \int_set:Nn \l_tmpb_int @@ -264,8 +264,8 @@ } \bool_if:NTF \l_@@_check_bool \prg_return_true: \prg_return_false: } -%</xetexx> -%<*luatex> +%</XE> +%<*LU> { %<debug>\typeout{::~ fontspec_check_ot_feat:n~ {#1}} \cs_if_eq:NNTF #1 \font @@ -280,7 +280,7 @@ } \bool_if:NTF \l_@@_check_bool \prg_return_true: \prg_return_false: } -%</luatex> +%</LU> } % \end{macrocode} % \end{macro} @@ -414,7 +414,7 @@ % % \iffalse % \begin{macrocode} -%</fontspec&(xetexx|luatex)> +%</fontspec> % \end{macrocode} % \fi @@ -427,7 +427,9 @@ % The FONTSPEC package <wspr.io/fontspec> % ------------------------------------------------ % Copyright 2004-2017 Will Robertson, LPPL "maintainer" -% Copyright 2009-2013 Khaled Hosny +% Copyright 2009-2015 Khaled Hosny +% Copyright 2013 Philipp Gesang +% Copyright 2013-2016 Joseph Wright % ------------------------------------------------ % This package is free software and may be redistributed and/or modified under % the conditions of the LaTeX Project Public License, version 1.3c or higher |