diff options
author | Norbert Preining <norbert@preining.info> | 2019-10-20 03:00:50 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-10-20 03:00:50 +0000 |
commit | 8fa38617045e3aa88b163fdc2fd683d72559b6d5 (patch) | |
tree | a0cf4b4ab921796fdd274f691910733d4dfb97d3 /macros/latex/contrib/fontspec/fontspec-code-enc.dtx | |
parent | 13a044b932f3f8d72791ca88eda528bdcbadcacc (diff) |
CTAN sync 201910200300
Diffstat (limited to 'macros/latex/contrib/fontspec/fontspec-code-enc.dtx')
-rw-r--r-- | macros/latex/contrib/fontspec/fontspec-code-enc.dtx | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/macros/latex/contrib/fontspec/fontspec-code-enc.dtx b/macros/latex/contrib/fontspec/fontspec-code-enc.dtx index fef5d81549..1508176e32 100644 --- a/macros/latex/contrib/fontspec/fontspec-code-enc.dtx +++ b/macros/latex/contrib/fontspec/fontspec-code-enc.dtx @@ -8,28 +8,14 @@ % \end{macrocode} % \fi % -% To be removed after the 2017 release of LaTeX2e: -% \begin{macrocode} -\providecommand\UnicodeFontFile[2]{"[#1]:#2"} -\providecommand\UnicodeFontName[2]{"#1:#2"} -%<XE>\providecommand\UnicodeFontTeXLigatures{mapping=tex-text;} -%<LU>\providecommand\UnicodeFontTeXLigatures{+tlig;} -% \end{macrocode} -% -% \begin{macrocode} -\providecommand\add@unicode@accent[2]{#2\char#1\relax} -\providecommand\DeclareUnicodeAccent[3]{% - \DeclareTextCommand{#1}{#2}{\add@unicode@accent{#3}}% -} -% \end{macrocode} % % \begin{macro}{\EncodingCommand} % \begin{macrocode} -\DeclareDocumentCommand \EncodingCommand {mO{}m} +\DeclareDocumentCommand \EncodingCommand { m O{} O{} m } { \bool_if:NF \l_@@_defining_encoding_bool { \@@_error:nn {only-inside-encdef} \EncodingCommand } - \DeclareTextCommand{#1}{\UnicodeEncodingName}[#2]{#3} + \DeclareTextCommand{#1}{\UnicodeEncodingName}[#2][#3]{#4} } % \end{macrocode} % \end{macro} |