diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/fontspec/fontspec-keyval.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/fontspec/fontspec-keyval.dtx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/fontspec/fontspec-keyval.dtx b/Master/texmf-dist/source/latex/fontspec/fontspec-keyval.dtx index 9b2516cf26a..079713020fd 100644 --- a/Master/texmf-dist/source/latex/fontspec/fontspec-keyval.dtx +++ b/Master/texmf-dist/source/latex/fontspec/fontspec-keyval.dtx @@ -46,7 +46,7 @@ { \bool_set_false:N \l_@@_fontcfg_bool } -\@@_keys_define_code:nnn {fontspec-preparse-external} {NoFontCfg} +\@@_keys_define_code:nnn {fontspec-preparse-external} {IgnoreFontspecFile} { \bool_set_false:N \l_@@_fontcfg_bool } @@ -580,13 +580,10 @@ % \begin{macrocode} \@@_keys_define_code:nnn {fontspec} {HyphenChar} { - \bool_if:NT \l_@@_addfontfeatures_bool - { \@@_error:nx {not-in-addfontfeatures} {HyphenChar} } - \str_if_eq:nnTF {#1} {None} { \tl_put_right:Nn \l_@@_postadjust_tl - { \hyphenchar \font = \c_minus_one } + { \hyphenchar \font = -1 \relax } } { \tl_if_single:nTF {#1} |