summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex-dev/base/fontenc.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex-dev/base/fontenc.sty')
-rw-r--r--Master/texmf-dist/tex/latex-dev/base/fontenc.sty53
1 files changed, 30 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex-dev/base/fontenc.sty b/Master/texmf-dist/tex/latex-dev/base/fontenc.sty
index 5f370f86954..b912d2a7371 100644
--- a/Master/texmf-dist/tex/latex-dev/base/fontenc.sty
+++ b/Master/texmf-dist/tex/latex-dev/base/fontenc.sty
@@ -43,7 +43,7 @@
%% extension .ins) which are part of the distribution.
%%% From File: ltoutenc.dtx
\ProvidesPackage{fontenc}
- [2019/11/22 v2.0l
+ [2020/01/25 v2.0m
Standard LaTeX package]
\def\update@uclc@with@cyrillic{%
\expandafter\def\expandafter\@uclclist\expandafter
@@ -77,28 +77,35 @@
}
\DeclareOption*{%
\let\encodingdefault\CurrentOption
- \edef\reserved@f{%
- \lowercase{\def\noexpand\reserved@f{\CurrentOption enc.def}}}%
- \reserved@f
- \InputIfFileExists\reserved@f
- {}{\PackageError{fontenc}%
- {Encoding file `\reserved@f' not found.%
- \MessageBreak
- You might have misspelt the name of the encoding}%
- {Necessary code for this encoding was not
- loaded.\MessageBreak
- Thus calling the encoding later on will
- produce further error messages.}}%
- \let\reserved@f\relax
- \expandafter\in@\expandafter{\CurrentOption}%
- {T2A,T2B,T2C,X2,LCY,OT2}%
- \ifin@
- \expandafter\in@\expandafter\cyra\expandafter
- {\@uclclist}%
- \ifin@
- \else
- \update@uclc@with@cyrillic
- \fi
+ \@tempswafalse
+ \@ifl@t@r\fmtversion{2020/02/02}%
+ {\expandafter\ifx\csname T@\CurrentOption\endcsname\relax
+ \@tempswatrue\fi}%
+ {\@tempswatrue}%
+ \if@tempswa
+ \edef\reserved@f{%
+ \lowercase{\def\noexpand\reserved@f{\CurrentOption enc.def}}}%
+ \reserved@f
+ \InputIfFileExists\reserved@f
+ {}{\PackageError{fontenc}%
+ {Encoding file `\reserved@f' not found.%
+ \MessageBreak
+ You might have misspelt the name of the encoding}%
+ {Necessary code for this encoding was not
+ loaded.\MessageBreak
+ Thus calling the encoding later on will
+ produce further error messages.}}%
+ \let\reserved@f\relax
+ \expandafter\in@\expandafter{\CurrentOption}%
+ {T2A,T2B,T2C,X2,LCY,OT2}%
+ \ifin@
+ \expandafter\in@\expandafter\cyra\expandafter
+ {\@uclclist}%
+ \ifin@
+ \else
+ \update@uclc@with@cyrillic
+ \fi
+ \fi
\fi
}
\ProcessOptions*