From 6ddc609a835fede2bb1fc9636a5d0b5daf6e8c29 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 27 Nov 2015 22:15:33 +0000 Subject: babel-greek (27nov15) git-svn-id: svn://tug.org/texlive/trunk@38960 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/babel-greek/README | 7 +- .../texmf-dist/doc/generic/babel-greek/README.html | 25 +++- .../doc/generic/babel-greek/babel-greek.pdf | Bin 255797 -> 256033 bytes .../texmf-dist/doc/generic/babel-greek/grsymb.pdf | Bin 0 -> 118809 bytes .../doc/generic/babel-greek/test-unicode-greek.pdf | Bin 42203 -> 42138 bytes .../doc/generic/babel-greek/test-unicode-lgr.pdf | Bin 43187 -> 43428 bytes .../doc/generic/babel-greek/test-unicode-lgr.tex | 17 +-- .../source/generic/babel-greek/babel-greek.dtx | 29 +++-- .../source/generic/babel-greek/grsymb.dtx | 131 +++++++++++++++++++++ .../texmf-dist/tex/generic/babel-greek/greek.ldf | 10 +- Master/tlpkg/libexec/ctan2tds | 2 +- 11 files changed, 188 insertions(+), 33 deletions(-) create mode 100644 Master/texmf-dist/doc/generic/babel-greek/grsymb.pdf create mode 100644 Master/texmf-dist/source/generic/babel-greek/grsymb.dtx diff --git a/Master/texmf-dist/doc/generic/babel-greek/README b/Master/texmf-dist/doc/generic/babel-greek/README index c131ca2cc7e..3f27710f468 100644 --- a/Master/texmf-dist/doc/generic/babel-greek/README +++ b/Master/texmf-dist/doc/generic/babel-greek/README @@ -12,9 +12,9 @@ Babel support for the Greek language and script :Abstract: Babel-greek is a contributed package providing support for the Greek language and script via the Babel_ system. - The file ``greek.ldf`` provides options for monotonic - (single-diacritic) and polytonic (multiple-diacritic) modes of - writing. + The file ``greek.ldf`` provides options for the monotonic + (single-diacritic), polytonic (multiple-diacritic) and ancient + orthography of the Greek language. Since 2013-07-19, babel-greek supports also Unicode-aware TeX engines (XeTeX/LuaTeX). @@ -56,6 +56,7 @@ News (reported by Claudio Beccari). .. Unicode uc/lc corrections now in greek-fontenc (polyglossia's ``xgreek-fixes.def`` has bugs). +1.9e 2015-11-27 Fix bug in lccode-setting loop (patch by Enrico Gregorio). ===== ============ ============================================================ diff --git a/Master/texmf-dist/doc/generic/babel-greek/README.html b/Master/texmf-dist/doc/generic/babel-greek/README.html index 7237a48f60a..c8fc8e3fa99 100644 --- a/Master/texmf-dist/doc/generic/babel-greek/README.html +++ b/Master/texmf-dist/doc/generic/babel-greek/README.html @@ -9,7 +9,7 @@ /* Minimal style sheet for the HTML output of Docutils. */ /* */ /* :Author: Günter Milde, based on html4css1.css by David Goodger */ -/* :Id: $Id: minimal.css 7893 2015-05-11 15:38:58Z milde $ */ +/* :Id: $Id: minimal.css 7916 2015-09-11 15:20:14Z milde $ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -161,8 +161,19 @@ dl.option-list > dt { font-weight: normal; } span.option { white-space: nowrap; } /* Footnotes and Citations */ +dl.footnote.superscript > dd {margin-left: 1em; } +dl.footnote.brackets > dd {margin-left: 2em; } dl > dt.label { font-weight: normal; } -dt.label > span.fn-backref { margin: 0.2em; } +a.footnote-reference.brackets:before, +dt.label > span.brackets:before { content: "["; } +a.footnote-reference.brackets:after, +dt.label > span.brackets:after { content: "]"; } +a.footnote-reference.superscript, +dl.footnote.superscript > dt.label { + vertical-align: super; + font-size: smaller; +} +dt.label > span.fn-backref { margin-left: 0.2em; } dt.label > span.fn-backref > a { font-style: italic; } /* Line Blocks */ @@ -555,9 +566,9 @@ version 1.3 of this license or any later version.

Abstract

Babel-greek is a contributed package providing support for the Greek language and script via the Babel system.

-

The file greek.ldf provides options for monotonic -(single-diacritic) and polytonic (multiple-diacritic) modes of -writing.

+

The file greek.ldf provides options for the monotonic +(single-diacritic), polytonic (multiple-diacritic) and ancient +orthography of the Greek language.

Since 2013-07-19, babel-greek supports also Unicode-aware TeX engines (XeTeX/LuaTeX).

@@ -674,6 +685,10 @@ This package is outdated and obsoleted by xgreek-fixes.def has bugs).

+

1.9e

+

2015-11-27

+

Fix bug in lccode-setting loop (patch by Enrico Gregorio).

+ diff --git a/Master/texmf-dist/doc/generic/babel-greek/babel-greek.pdf b/Master/texmf-dist/doc/generic/babel-greek/babel-greek.pdf index 3cf6b3ea3f8..2ef63c5d539 100644 Binary files a/Master/texmf-dist/doc/generic/babel-greek/babel-greek.pdf and b/Master/texmf-dist/doc/generic/babel-greek/babel-greek.pdf differ diff --git a/Master/texmf-dist/doc/generic/babel-greek/grsymb.pdf b/Master/texmf-dist/doc/generic/babel-greek/grsymb.pdf new file mode 100644 index 00000000000..8a5340135c4 Binary files /dev/null and b/Master/texmf-dist/doc/generic/babel-greek/grsymb.pdf differ diff --git a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.pdf b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.pdf index ef53262ad06..86d8132386c 100644 Binary files a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.pdf and b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.pdf differ diff --git a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.pdf b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.pdf index 7c24fe007d5..4b8a0a840e3 100644 Binary files a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.pdf and b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.pdf differ diff --git a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.tex b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.tex index 5a2df86cf50..405851c10df 100644 --- a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.tex +++ b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.tex @@ -108,19 +108,20 @@ The «hiatus» feature works with macro input: \selectlanguage{greek} % from teubner: άυλος/ΑΫΛΟΣ -\acctonos\textalpha\textupsilon λος $\mapsto$ -\MakeUppercase{\acctonos\textalpha\textupsilon λος}, -\'>\textalpha\textupsilon λος $\mapsto$ -\MakeUppercase{\'>\textalpha\textupsilon λος}, +\acctonos\textalpha\textupsilon\textlambda\textomicron\textfinalsigma{} +$\mapsto$ +\MakeUppercase{\acctonos\textalpha\textupsilon\textlambda\textomicron\textfinalsigma}, +\'>\textalpha\textupsilon\textlambda\textomicron\textfinalsigma{} $\mapsto$ +\MakeUppercase{\'>\textalpha\textupsilon\textlambda\textomicron\textfinalsigma}, % from http://diacritics.typo.cz/index.php?id=69 μάινα -> ΜΑΪΝΑ -m\acctonos\textalpha\textiota να $\mapsto$ -\MakeUppercase{m\acctonos\textalpha\textiota να}, +\textmu\acctonos\textalpha\textiota\textnu\textalpha{} $\mapsto$ +\MakeUppercase{\textmu\acctonos\textalpha\textiota\textnu\textalpha}, % from http://de.wikipedia.org/wiki/Neugriechische_Orthographie#Das_Trema % κέικ, ἀυπνία/αϋπνία \textkappa\acctonos\textepsilon\textiota\textkappa $\mapsto$ \MakeUppercase{\textkappa\acctonos\textepsilon\textiota\textkappa}, -\accpsili\textalpha\textupsilon πνία $\mapsto$ -\MakeUppercase{\accpsili\textalpha\textupsilon πνία}. +\accpsili\textalpha\textupsilon\textpi\textnu\'\textiota\textalpha{} $\mapsto$ +\MakeUppercase{\accpsili\textalpha\textupsilon\textpi\textnu\'\textiota\textalpha}. \selectlanguage{english} \subsection{Captions} 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 f4acdae4dba..8352d9ecbe1 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{1553} +% \CheckSum{1557} % % \iffalse % Tell the \LaTeX\ system who we are and write an entry on the @@ -37,7 +37,7 @@ %\ProvidesLanguage{greek} %\fi %\ProvidesFile{babel-greek.dtx} - [2015/09/04 v1.9d Greek support for the babel system] + [2015/09/04 v1.9e Greek support for the babel system] %\iffalse %% File `babel-greek.dtx' %% Greek language Definition File @@ -101,22 +101,24 @@ % \changes{greek-1.7a}{2013/09/13}{bugfix: remove spurious ``fi''.} % \changes{greek-1.7b}{2013/10/01}{bugfix: correct upcasing of babel strings % with Xe/LuaTeX.} -% \changes{greek-1.8}{2013/11/27}{Rename to ``babel-greek.dtx''. +% \changes{babel-greek-1.8}{2013/11/27}{Rename to ``babel-greek.dtx''. % Restore compatibility with Xe/LuaTeX in 8-bit and Unicode mode. % Load ``euenc.def'' if EU1 or EU2 font encoding is detected. % New TextCommands ``greekscript'' and ``ensuregreek''.} -% \changes{greek-1.8a}{2013/12/03}{Set `encodingdefault' in `greekscript' +% \changes{babel-greek-1.8a}{2013/12/03}{Set `encodingdefault' in `greekscript' % to fix Greek in footnotes etc. with document language Greek.} -% \changes{greek-1.9}{2014/07/20}{Added attribute for ancient Greek. +% \changes{babel-greek-1.9}{2014/07/20}{Added attribute for ancient Greek. % Load correct hyphenation patterns. Patch by Claudio Beccari.} -% \changes{greek-1.9b}{2014/09/18}{Remove spurious whitespace from +% \changes{babel-greek-1.9b}{2014/09/18}{Remove spurious whitespace from % `extrasgreek' definition (report Eike Schmidt). % Use named macros instead of non-standard short accent macros for % psili and dasia.} -% \changes{greek-1.9c}{2014/10/21}{Fix dummy hyphenation language names +% \changes{babel-greek-1.9c}{2014/10/21}{Fix dummy hyphenation language names % (report/patch Ulrike Fischer).} -% \changes{greek-1.9d}{2015/07/06}{uc-/lccode corrections from xgreek are now +% \changes{babel-greek-1.9d}{2015/07/06}{uc-/lccode corrections from xgreek are now % in greek-euenc.def (the polyglossia version has bugs).} +% \changes{babel-greek-1.9e}{2015/11/27}{Fix bug in lccode-setting loop +% (patch by Enrico Gregorio).} % % \title{Babel support for the Greek language} % \author{Apostolos Syropoulos, Günter Milde} @@ -1144,7 +1146,8 @@ % the LGR font encoding (which is the same in all language variants). % This means that multi-accented characters are regarded parts of a word % (and not non-word characters) also in monotonic spelling. -% +% \changes{babel-greek-1.9e}{2015/11/27}{Fix bug in lccode-setting loop +% (patch by Enrico Gregorio).} % \begin{macrocode} \addto\extrasgreek{% \babel@savevariable{\lccode`v}\lccode`v=`v% @@ -1153,9 +1156,11 @@ % ``high bit characters'': set in a loop and correct exceptions \@tempcnta=128% \@whilenum\@tempcnta<253\do{% - \babel@savevariable{\lccode\@tempcnta}\lccode\@tempcnta=\@tempcnta + \expandafter\babel@savevariable\expandafter{% + \expandafter\lccode\the\@tempcnta}% + \lccode\@tempcnta=\@tempcnta \advance\@tempcnta\@ne - }% + }% % Fix non-word characters: \lccode151=0% \lccode155=0% @@ -1165,7 +1170,7 @@ \lccode195=147% GREEK LETTER DIGAMMA \lccode219=240% GREEK CAPITAL LETTER IOTA WITH DIALYTIKA \lccode223=244% GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA - } + } \addto\extraspolutonikogreek{% % \l@greek=\bbl@polygreek diff --git a/Master/texmf-dist/source/generic/babel-greek/grsymb.dtx b/Master/texmf-dist/source/generic/babel-greek/grsymb.dtx new file mode 100644 index 00000000000..189ca4afe5c --- /dev/null +++ b/Master/texmf-dist/source/generic/babel-greek/grsymb.dtx @@ -0,0 +1,131 @@ +% \iffalse meta-comment +% +% Copyright 1989-2008 Johannes L. Braams and any individual authors +% listed elsewhere in this file. All rights reserved. +% +% This file is part of the Babel system. +% -------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2003/12/01 or later. +% +% This work has the LPPL maintenance status "maintained". +% +% The Current Maintainer of this work is Johannes Braams. +% +% The list of all files belonging to the Babel system is +% given in the file `manifest.bbl. See also `legal.bbl' for additional +% information. +% +% The list of derived (unpacked) files belonging to the distribution +% and covered by LPPL is defined by the unpacking scripts (with +% extension .ins) which are part of the distribution. +% \fi +%% \CheckSum{55} +% +%\iffalse +% +%% This is file `grsymb.sty' +%% (c) 1997-2005 Apostolos Syropoulos. +%% All rights reserved. +% You are allowed to modify this file as long the initial copyright notice +% appears in the modified file. +% +% Please report errors or suggestions for improvement to +% +% Apostolos Syropoulos +% 366, 28th October Str. +% GR-671 00 Xanthi, GREECE +% +% apostolo at platon.ee.duth.gr or apostolo at obelix.ee.duth.gr +% +%\fi +%\iffalse +% \begin{macrocode} +%<*driver> +\documentclass{ltxdoc} +\GetFileInfo{grsymb.drv} +\begin{document} + \DocInput{grsymb.dtx} +\end{document} +% +% \end{macrocode} +%\fi +% +% \title{Greek Symbols} +% \author{Apostolos Syropoulos\\ +% 366, 28th October Str.\\ +% GR-671 00 Xanthi, HELLAS\\ +% E-mail: \texttt{apostolo@platon.ee.duth.gr}} +% \date{1997/09/21} +% \maketitle +% +% \MakeShortVerb{|} +% \section{Introduction} +% +% There are certain symbols which were in use in ancient Greece and which +% are of use to scholars even today. These symbols are various forms of +% qoppa and stigma, and the letter digamma. These special symbols are +% provided by the \texttt{cb} fonts which are now the official fonts for +% the \texttt{greek} option of the \texttt{babel} package. Moreover, these +% fonts provide a few more symbols such as a symbol for Euro, etc. The `tao' +% symbol although is not a greek symbol, survives mainly for reasons of +% compatibility. This little package provides access commands for these +% symbols. The package can be used only in conjunction with the |greek| +% option of the |babel| package. +% +% \StopEventually +% +% \section{The Implementation} +% +% First comes the identification part. +% +% \begin{macrocode} +%<*package> +\ProvidesPackage{grsymb}[1997/09/21\space v1.0] +\typeout{Package: `grsymb' v1.0\space <1997/09/21> (A. Syropoulos)} +% \end{macrocode} +% +% Next we check to see if the |babel| package is loaded with at least +% the |greek| option. In case it isn't, we opt to produce an error message. +% \begin{macrocode} +\@ifpackagewith{babel}{greek}{}{% + \PackageError{grsymb}{% + `greek' option of the `babel'\MessageBreak + package hasn't been loaded}{% + The commands provided by this package\MessageBreak + are specially designed for greek language\MessageBreak + typesetting with the `babel' package. Load\MessageBreak + it with at least the `greek' option.}\relax + } +% \end{macrocode} +% Now, we proceed with the definitions of the various symbols. Please note +% that |\ddigamma| is intensionally spelled erroneously, in order to avoid +% conflicts with the command |\digamma| that is defined by the package +% |amssymb|. Although the tao symbol is not a greek symbol, it is included +% mainly for reasons of compatibility. +% \begin{macrocode} +\DeclareTextCommand{\Digamma}{LGR}{\char"C3\relax} +\DeclareTextCommand{\ddigamma}{LGR}{\char"93\relax} +\DeclareTextCommand{\tao}{LGR}{\char"01\relax} +\DeclareTextCommand{\Qoppa}{LGR}{\char"14\relax} +\DeclareTextCommand{\varqoppa}{LGR}{\char"13\relax} +\DeclareTextCommand{\Sampi}{LGR}{\char"1A\relax} +\DeclareTextCommand{\vardigamma}{LGR}{\char"07\relax} +\DeclareTextCommand{\Stigma}{LGR}{\char"08\relax} +\DeclareTextCommand{\VarQoppa}{LGR}{\char"15\relax} +\DeclareTextCommand{\euro}{LGR}{\char"18\relax} +\DeclareTextCommand{\permill}{LGR}{\char"19\relax} +% +% \end{macrocode} +% +% \section*{Dedication} +% I would like to dedicate this piece of work to my son +% \begin{center}Demetrios-Georgios.\end{center} +% \Finale +\endinput \ No newline at end of file diff --git a/Master/texmf-dist/tex/generic/babel-greek/greek.ldf b/Master/texmf-dist/tex/generic/babel-greek/greek.ldf index ac567cd99cc..0a2d8cda18f 100644 --- a/Master/texmf-dist/tex/generic/babel-greek/greek.ldf +++ b/Master/texmf-dist/tex/generic/babel-greek/greek.ldf @@ -32,7 +32,7 @@ %% and covered by LPPL is defined by the unpacking script (babel-greek.ins) %% which is part of the package. \ProvidesLanguage{greek} - [2015/09/04 v1.9d Greek support for the babel system] + [2015/09/04 v1.9e Greek support for the babel system] %% File `babel-greek.dtx' %% Greek language Definition File %% Copyright © 1997, 2005 Apostolos Syropoulos, Johannes Braams @@ -366,9 +366,11 @@ % ``high bit characters'': set in a loop and correct exceptions \@tempcnta=128% \@whilenum\@tempcnta<253\do{% - \babel@savevariable{\lccode\@tempcnta}\lccode\@tempcnta=\@tempcnta + \expandafter\babel@savevariable\expandafter{% + \expandafter\lccode\the\@tempcnta}% + \lccode\@tempcnta=\@tempcnta \advance\@tempcnta\@ne - }% + }% % Fix non-word characters: \lccode151=0% \lccode155=0% @@ -378,7 +380,7 @@ \lccode195=147% GREEK LETTER DIGAMMA \lccode219=240% GREEK CAPITAL LETTER IOTA WITH DIALYTIKA \lccode223=244% GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA - } + } \addto\extraspolutonikogreek{% % \l@greek=\bbl@polygreek diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index fb5d2202fd3..b99890b80cb 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -2261,7 +2261,7 @@ my $core_latex = "$Master/texmf-dist/tex/latex"; 'antomega' => 'latex', # requires interaction 'apa6e' => 'latex', # requires interaction 'asciilist' => 'latex', # requires interaction -# 'babel-russian' => 'xelatex', + 'babel-greek' => 'latex', # requires interaction 'babel-serbianc' => 'latex',# requires interaction 'beamersubframe' => 'latex',# requires interaction 'basque-book' => 'latex', # requires interaction -- cgit v1.2.3