diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ncclatex/cp1251-light.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/ncclatex/cp1251-light.def | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/ncclatex/cp1251-light.def b/Master/texmf-dist/tex/latex/ncclatex/cp1251-light.def index e02b64a5398..8fb2c361dc2 100644 --- a/Master/texmf-dist/tex/latex/ncclatex/cp1251-light.def +++ b/Master/texmf-dist/tex/latex/ncclatex/cp1251-light.def @@ -1,9 +1,10 @@ \ProvidesFile{cp1251-light.def} - [2005/01/08 v1.1 Light input encoding file] + [2005/12/24 v1.2 Light input encoding file] % % \changes{v1.0}{2004/09/23}{This version was uploaded to CTAN} % \changes{v1.1}{2005/01/09}{Replace \textrm{\normalfont...} to \textnormal} % \changes{v1.1}{2005/01/09}{More comprehensive test of font encoding} +% \changes{v1.2}{2005/12/24}{Test the \cyrillicencoding to be \undefined} % % Using of cyrillic input encodings has two major disadvantages: % @@ -26,9 +27,11 @@ % Test the font encoding to have a valid type % \makeatletter -\@ifundefined{cyrillicencoding}% - {\let\@tempa\encodingdefault}% - {\let\@tempa\cyrillicencoding} +\ifx\cyrillicencoding\undefined + \let\@tempa\encodingdefault% +\else + \let\@tempa\cyrillicencoding +\fi \expandafter\in@\expandafter{\@tempa}{T2A,T2B,T2C,X2} \ifin@ \else \PackageWarning{inputenc}% |