diff options
author | Norbert Preining <norbert@preining.info> | 2020-02-29 03:02:30 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-02-29 03:02:30 +0000 |
commit | 4736ac744a8c914e0d5ced1d157e017a385bbf43 (patch) | |
tree | cc6b754ea0d704573dfffffdbf327e14057ce864 /macros/latex/contrib/babel-contrib/greek/babel-greek.dtx | |
parent | 02193cc5ca03abf234d3bc9d77b4821d85f58c62 (diff) |
CTAN sync 202002290302
Diffstat (limited to 'macros/latex/contrib/babel-contrib/greek/babel-greek.dtx')
-rw-r--r-- | macros/latex/contrib/babel-contrib/greek/babel-greek.dtx | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/macros/latex/contrib/babel-contrib/greek/babel-greek.dtx b/macros/latex/contrib/babel-contrib/greek/babel-greek.dtx index 677eb4d480..38d9a23d50 100644 --- a/macros/latex/contrib/babel-contrib/greek/babel-greek.dtx +++ b/macros/latex/contrib/babel-contrib/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}% |