diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/fontspec/fontspec-enc.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/fontspec/fontspec-enc.dtx | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/fontspec/fontspec-enc.dtx b/Master/texmf-dist/source/latex/fontspec/fontspec-enc.dtx index c744c241651..7484e077638 100644 --- a/Master/texmf-dist/source/latex/fontspec/fontspec-enc.dtx +++ b/Master/texmf-dist/source/latex/fontspec/fontspec-enc.dtx @@ -1,3 +1,4 @@ +%%^^A%% fontspec-enc.dtx -- part of FONTSPEC <wspr.io/fontspec> % \section{Extended font encodings} % @@ -108,6 +109,9 @@ % \end{macro} % % \begin{macro}{\UndeclareSymbol} +% \begin{macro}{\UndeclareAccent} +% \begin{macro}{\UndeclareCommand} +% Synonyms for each other but all included for completeness. % \begin{macrocode} \DeclareDocumentCommand \UndeclareSymbol {m} { @@ -115,9 +119,22 @@ { \@@_error:nn {only-inside-encdef} \UndeclareSymbol } \UndeclareTextCommand {#1} {\UnicodeEncodingName} } - +\DeclareDocumentCommand \UndeclareAccent {m} + { + \bool_if:NF \l_@@_defining_encoding_bool + { \@@_error:nn {only-inside-encdef} \UndeclareAccent } + \UndeclareTextCommand {#1} {\UnicodeEncodingName} + } +\DeclareDocumentCommand \UndeclareCommand {m} + { + \bool_if:NF \l_@@_defining_encoding_bool + { \@@_error:nn {only-inside-encdef} \UndeclareCommand } + \UndeclareTextCommand {#1} {\UnicodeEncodingName} + } % \end{macrocode} % \end{macro} +% \end{macro} +% \end{macro} % % \begin{macro}{\UndeclareComposite} % \begin{macrocode} @@ -136,3 +153,19 @@ %</fontspec&(xetexx|luatex)> % \end{macrocode} % \fi + + +\endinput + +% /© +% ------------------------------------------------ +% The FONTSPEC package <wspr.io/fontspec> +% ------------------------------------------------ +% Copyright 2004-2017 Will Robertson, LPPL "maintainer" +% Copyright 2009-2013 Khaled Hosny +% ------------------------------------------------ +% 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 +% (your choice): <http://www.latex-project.org/lppl/>. +% ------------------------------------------------ +% ©/ |