diff options
Diffstat (limited to 'Master/texmf-dist/source/generic/babel-greek/babel-greek.dtx')
-rw-r--r-- | Master/texmf-dist/source/generic/babel-greek/babel-greek.dtx | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/Master/texmf-dist/source/generic/babel-greek/babel-greek.dtx b/Master/texmf-dist/source/generic/babel-greek/babel-greek.dtx index 677eb4d4802..38d9a23d508 100644 --- a/Master/texmf-dist/source/generic/babel-greek/babel-greek.dtx +++ b/Master/texmf-dist/source/generic/babel-greek/babel-greek.dtx @@ -26,7 +26,7 @@ % and covered by LPPL is defined by the unpacking script (babel-greek.ins) % which is part of the package. % \fi -% \CheckSum{1552} +% \CheckSum{1543} % % \iffalse % Tell the \LaTeX\ system who we are and write an entry on the @@ -37,7 +37,7 @@ %<code>\ProvidesLanguage{greek} %\fi %\ProvidesFile{babel-greek.dtx} - [2016/09/07 v1.9h Greek support for the babel system] + [2020/02/27 v1.9i Greek support for the babel system] %\iffalse %% File `babel-greek.dtx' %% Greek language Definition File @@ -125,6 +125,8 @@ % and fixed latinencoding.} % \changes{babel-greek-1.9h}{2019/07/11}{Move breathing composite commands % to textalpha.} +% \changes{babel-greek-1.9i}{2020/02/28}{Update test for Unicode fonts. +% Fix accent in seename and alsoname.} % % \title{Babel support for the Greek language} % \author{Apostolos Syropoulos, Günter Milde} @@ -463,29 +465,21 @@ % \changes{greek-1.8}{2013/11/30}{Check for EU1/EU2 font encoding % instead of engine} % \changes{babel-greek-1.9f}{2016/02/04}{Check also for TU font encoding.} +% \changes{babel-greek-1.9i}{2020/02/27}{Update check for Unicode fonts.} % % \DescribeMacro\greekfontencoding % We test for available font encodings and set |\greekfontencoding| % and the internal macro |\bbl@greek@fontencdef| with the name of the % font definition file with Greek LICR macros. The fallback is LGR. % \begin{macrocode} -\@ifl@aded{def}{tuenc}{ - \providecommand*{\greekfontencoding}{TU} +\ifdefined \UTFencname % set by "fontspec.sty" + \providecommand*{\greekfontencoding}{\UTFencname} % TU, EU1, or EU2 \providecommand*{\bbl@greek@fontencdef}{greek-euenc} - \renewcommand*{\LastDeclaredEncoding}{TU} -}{} -\@ifl@aded{def}{eu1enc}{ - \providecommand*{\greekfontencoding}{EU1} - \providecommand*{\bbl@greek@fontencdef}{greek-euenc} - \renewcommand*{\LastDeclaredEncoding}{EU1} -}{} -\@ifl@aded{def}{eu2enc}{ - \providecommand*{\greekfontencoding}{EU2} - \providecommand*{\bbl@greek@fontencdef}{greek-euenc} - \renewcommand{\LastDeclaredEncoding}{EU2} -}{} -\providecommand*{\greekfontencoding}{LGR} -\providecommand*{\bbl@greek@fontencdef}{lgrenc} + \renewcommand*{\LastDeclaredEncoding}{\UTFencname} +\else + \providecommand*{\greekfontencoding}{LGR} + \providecommand*{\bbl@greek@fontencdef}{lgrenc} +\fi % \end{macrocode} % Ensure that the Greek LICR macros are available: % \begin{macrocode} @@ -647,6 +641,7 @@ % \changes{greek-1.3h}{2000/09/20}{Added \cs{glossaryname}} % \changes{greek-1.3i}{2000/10/02}{The final sigma in all names appears % as `s' instead of `c'.} +% \changes{babel-greek-1.9i}{2020/02/27}{Fix accent in seename and alsoname.} % \begin{macrocode} \addto\captionsgreek{% \def\prefacename{\textPi\textrho\acctonos\textomicron\textlambda @@ -765,8 +760,8 @@ \textomicron\acctonos\textiota\texteta\textsigma\textiota\textvarsigma}% \def\headtoname{\textPi\textrho\accvaria\textomicron\textvarsigma}% \def\pagename{\textSigma\textepsilon\textlambda\accvaria\textiota\textvarsigma}% - \def\seename{\accdasiavaria\textomicron\textrho\textalpha}% - \def\alsoname{\accdasiavaria\textomicron\textrho\textalpha{} \accdasia\textomega\textsigma + \def\seename{\accdasiaoxia\textomicron\textrho\textalpha}% + \def\alsoname{\accdasiaoxia\textomicron\textrho\textalpha{} \accdasia\textomega\textsigma \textalpha\acctonos\textupsilon\texttau\textomega\textvarsigma}% \def\proofname{\accpsili\textAlpha\textpi\acctonos\textomicron\textdelta\textepsilon \textiota\textxi\textiota\textvarsigma}% |