summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-09-19 22:29:32 +0000
committerKarl Berry <karl@freefriends.org>2014-09-19 22:29:32 +0000
commit64986eb304bbf89af01c834d4bb33d3aa61264db (patch)
tree50ee77bd61cb5bc50b27ddd5c382c509105abaab /Master
parent3b378d704d5d92df25314e52e0ce8cac217e9fd0 (diff)
babel-greek (19sep14)
git-svn-id: svn://tug.org/texlive/trunk@35210 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/README131
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/README.html985
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/babel-greek.pdfbin257429 -> 255769 bytes
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-greek.pdfbin183339 -> 232679 bytes
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-greek.tex54
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.pdfbin59808 -> 59729 bytes
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.tex12
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.pdfbin37819 -> 43586 bytes
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.tex10
-rw-r--r--Master/texmf-dist/source/generic/babel-greek/babel-greek.dtx107
-rw-r--r--Master/texmf-dist/tex/generic/babel-greek/greek.ldf65
11 files changed, 1211 insertions, 153 deletions
diff --git a/Master/texmf-dist/doc/generic/babel-greek/README b/Master/texmf-dist/doc/generic/babel-greek/README
index 3e4aa2ab90c..52a63590dd4 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/README
+++ b/Master/texmf-dist/doc/generic/babel-greek/README
@@ -1,7 +1,7 @@
babel-greek
***********
-Babel support for Greek
-=======================
+Babel support for the Greek language and script
+===============================================
:Copyright: © 1997 Apostolos Syropoulos, Claudio Beccari, Johannes Brahms,
© 2013 Günter Milde
@@ -17,7 +17,7 @@ In 1997, Apostolos Syropoulos added support for the Greek language to the
"babel" package. The file ``greek.ldf`` provides options for monotonic
(single-diacritic) and polytonic (multiple-diacritic) modes of writing.
-There is now experimental support for Unicode-aware TeX engines
+Since 2013-07-19, babel-greek supports also Unicode-aware TeX engines
(XeTeX/LuaTeX).
News
@@ -25,36 +25,65 @@ News
.. class:: borderless
-===== ========== ============================================================
-1.4 2013-05-17 New maintainer.
-.. The encoding definition file ``lgrenc.def`` moved to the
- greek-fontenc_ package.
-
-1.5 2013-06-21 bugfixes and cleanup,
-.. LICR macros in string definitions,
-.. LGR font encoding not used with XeTeX/LuaTeX,
-.. input "xgreek-fixes.def" from polyglossia_ with Xe/LuaTeX.
-1.5a 2013-07-02 Fix LaTeX bugs babel/3707, `babel/4303`_ and `babel/4305`_
-1.6 2013-07-19 Experimental support for XeTeX/LuaTeX.
-1.7 2013-09-09 CB-Fonts font definition files moved to CB-Fonts package.
-.. Do not auto-load euenc.def with XeTeX/LuaTeX.
-1.7a 2013-09-13 Fix bug `babel/4360`_: spurious ``\fi``.
-1.7b 2013-10-01 bugfix: correct upcasing of babel strings with Xe/LuaTeX.
-1.8 2013-12-02 Rename ``greek.dtx`` to ``babel-greek`` so that texdoc_
- shows the right documentation.
-.. Compatibility with Xe/LuaTeX in Unicode and 8-bit mode.
-1.8a 2013-12-03 Set ``\encodingdefault`` in ``\greekscript`` to fix
- Greek in footnotes etc. with document language Greek.
-1.9 2014-07-20 Added attribute for ancient Greek, load correct hyphenation
- patterns: Patch by Claudio Beccari. Bugfix for Makeuppercase
-
-===== ========== ============================================================
+===== ============ ============================================================
+1.4 2013-05-17 New maintainer.
+.. The encoding definition file ``lgrenc.def`` moved to the
+ greek-fontenc_ package.
+
+1.5 2013-06-21 bugfixes and cleanup,
+.. LICR macros in string definitions,
+.. LGR font encoding not used with XeTeX/LuaTeX,
+.. input "xgreek-fixes.def" from polyglossia_ with Xe/LuaTeX.
+1.5a 2013-07-02 Fix LaTeX bugs babel/3707, `babel/4303`_ and `babel/4305`_
+1.6 2013-07-19 Experimental support for XeTeX/LuaTeX.
+1.7 2013-09-09 CB-Fonts font definition files moved to CB-Fonts package.
+.. Do not auto-load euenc.def with XeTeX/LuaTeX.
+1.7a 2013-09-13 Fix bug `babel/4360`_: spurious ``\fi``.
+1.7b 2013-10-01 bugfix: correct upcasing of babel strings with Xe/LuaTeX.
+1.8 2013-12-02 Rename ``greek.dtx`` to ``babel-greek`` so that texdoc_
+ shows the right documentation.
+.. Compatibility with Xe/LuaTeX in Unicode and 8-bit mode.
+1.8a 2013-12-03 Set ``\encodingdefault`` in ``\greekscript`` to fix
+ Greek in footnotes etc. with document language Greek.
+1.9 2014-07-20 Added attribute for ancient Greek, load correct hyphenation
+ patterns: Patch by Claudio Beccari. Bugfix for Makeuppercase
+1.9a 2014-09-12 Remove duplicate code, documentation review.
+1.9b 2014-09-18 Remove spurious whitespace from "extrasgreek" definition.
+.. Use named macros instead of non-standard short macros
+ for psili and dasia in the string definitions.
+
+===== ============ ============================================================
.. _babel/4303: http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=babel/4303
.. _babel/4305: http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=babel/4305
.. _babel/4360: http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=babel/4360
+Files
+-----
+
+`<babel-greek.ins>`_; `<babel-greek.pdf>`_
+ Source of the language definition file ``greek.ldf`` for use with Babel_.
+`<athnum.dtx>`_; `<athnum.pdf>`_
+ Athenian Numerals.
+`<grmath.dtx>`_; `<grmath.pdf>`_
+ Greek log-like Operators.
+`<grsymb.dtx>`_; `<grsymb.pdf>`_
+ Macros for Greek symbols (obsoleted by the greek-fontenc_ package).
+
+`<test-greek.pdf>`_; `<test-greek.tex>`_
+ Tests and Examples for 8-bit TeX.
+`<test-unicode-greek.pdf>`_; `<test-unicode-greek.tex>`_
+ Tests and Examples for XeTeX/LuaTeX.
+`<test-unicode-lgr.pdf>`_; `<test-unicode-lgr.tex>`_
+ Tests and Examples for XeTeX/LuaTeX with LGR 8-bit fonts.
+
+`<usage.pdf>`_; `<usage.tex>`_
+ Description of the Latin transliteration for Greek defined by the
+ LGR font encoding.
+
+
+
Requirements
------------
@@ -85,7 +114,7 @@ Otherwise, make sure LaTeX can find the required files:
* Move all files ending in ``.ldf`` or ``.sty`` into a directory searched by
TeX.
-* To produce the documentation run the files ``usage.tex`` and all files
+* To produce the documentation, run the file ``usage.tex`` and all files
ending in ``.dtx`` through LaTeX.
Usage
@@ -97,8 +126,16 @@ Pass the "greek" option to babel::
For polytonic Greek, set the language attribute "polutoniko"::
+ \usepackage[greek]{babel}
\languageattribute{greek}{polutoniko}
+or ::
+
+ \usepackage[greek.polutoniko,english]{babel}
+
+Similarly, the attribute "ancient" selects the ancient Greek language
+variant.
+
With XeTeX/LuaTeX, load fontspec_ before babel_, so that babel-greek can
set up the Unicode font encoding for use with Greek, e.g. ::
@@ -111,7 +148,7 @@ For details see `<babel-greek.pdf>`_ and the babel_ documentation.
Literal input of Greek characters is possible with the greek-inputenc_
package or with XeTeX or LuaTeX. For the Latin transliteration provided by
-the LGR font encoding see `<usage.pdf>`_ and the example files provided with
+the LGR font encoding, see `<usage.pdf>`_ and the example files provided with
greek-fontenc_.
Greek text fonts
@@ -126,31 +163,55 @@ them). Examples for suitable fonts are the CM-unicode_ or the `Linux
Libertine`_ OpenType fonts as well as any system-wide installed OTF fonts
that support Greek (e.g. `Deja Vu`_).
-The LGR font encoding is the de-facto standard for typesetting Greek with
+The LGR `font encoding`_ is the de-facto standard for typesetting Greek with
8-bit LaTeX. Fonts in this encoding include the `CB fonts`_ (matching CM),
grtimes_ (Greek Times), Kerkis_ (matching URW Bookman), and the `GFS font
collection`_. Setup of these fonts as Greek variant to matching Latin fonts
is facilitated by the substitutefont_ package.
+LGR Latin Transliteration
+-------------------------
+
The LGR font encoding generates Greek characters via an ASCII
transliteration. This enables simple input with a Latin keyboard.
Characters with diacritics are selected by ligature definitions in the
font (see `<usage.pdf>`_).
-A major drawback of this transliteration is, that you cannot access Latin
-letters if LGR is the active font encoding (e.g. in documents or parts of
-documents given the `Babel` language ``greek`` or ``polutionikogreek``).
-This means that for every Latin-written word or acronym an explicit
+The following ASCII characters are converted to Greek symbols:
+
+= = = = = = = = = = = = = = = = = = = = = = = = =
+A B G D E Z H J I K L M N X O P R S T U F Q Y W
+Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ Φ Χ Ψ Ω
+a b g d e z h j i k l m n x o p r s c t u f q y w
+α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω
+= = = = = = = = = = = = = = = = = = = = = = = = =
+
+Accent symbols and punctuation:
+
+================= ===== == ====================== ======== ====
+tonos ``'`` ά semicolon ``;`` ·
+varia \` ὰ question mark ``?`` ;
+perispomeni ``~`` ᾶ left apostrophe \` \` ‘
+dasia ``<`` ἁ right apostrophe ``''`` ’
+psili ``>`` ἀ left quotation mark ``((`` »
+ypogegrammeni ``|`` ᾳ right quotation mark ``))`` »
+dialytika ``"`` ϊ zero width non-joiner v
+================= ===== == ====================== ======== ====
+
+A major drawback of the LGR transliteration is that you cannot access Latin
+letters and some symbols if LGR is the active font encoding (e.g. in
+documents or parts of documents given the `Babel` language ``greek``). This
+means that for every Latin-written word or acronym an explicit
language-switch is required. This problem can only be solved via a
font-encoding comprising both Latin and Greek like the hypothetical T7 or
Unicode (with XeTeX or LuaTeX).
-
.. References
----------
.. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt
.. _babel: http://www.ctan.org/pkg/babel
+.. _font encoding: http://mirror.ctan.org/macros/latex/doc/encguide.pdf
.. _fontspec: http://www.ctan.org/pkg/fontspec
.. _CB Fonts: http://www.ctan.org/pkg/cbgreek-complete
.. _CM-unicode: http://www.ctan.org/pkg/cm-unicode
diff --git a/Master/texmf-dist/doc/generic/babel-greek/README.html b/Master/texmf-dist/doc/generic/babel-greek/README.html
index 6fab0163d1f..a4064126572 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/README.html
+++ b/Master/texmf-dist/doc/generic/babel-greek/README.html
@@ -6,13 +6,717 @@
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>babel-greek</title>
<meta name="copyright" content="© 1997 Apostolos Syropoulos, Claudio Beccari, Johannes Brahms, © 2013 Günter Milde" />
-<link rel="stylesheet" href="../../../../../Code/Python/docutils-svn/docutils/docutils/writers/html4strict/html4css1.css" type="text/css" />
-<link rel="stylesheet" href="../../../../../Code/Python/docutils-svn/docutils/docutils/writers/html4strict/html4css2.css" type="text/css" />
+<style type="text/css">
+
+/*
+:Author: David Goodger (goodger@python.org)
+:Id: $Id: html4css1.css 7614 2013-02-21 15:55:51Z milde $
+:Copyright: This stylesheet has been placed in the public domain.
+
+Default cascading style sheet for the HTML output of Docutils.
+
+See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
+customize this style sheet.
+*/
+
+/* used to remove borders from tables and images */
+.borderless, table.borderless td, table.borderless th {
+ border: 0 }
+
+table.borderless td, table.borderless th {
+ /* Override padding for "table.docutils td" with "! important".
+ The right padding separates the table cells. */
+ padding: 0 0.5em 0 0 ! important }
+
+.first {
+ /* Override more specific margin styles with "! important". */
+ margin-top: 0 ! important }
+
+.last, .with-subtitle {
+ margin-bottom: 0 ! important }
+
+.hidden {
+ display: none }
+
+a.toc-backref {
+ text-decoration: none ;
+ color: black }
+
+blockquote.epigraph {
+ margin: 2em 5em ; }
+
+dl.docutils dd {
+ margin-bottom: 0.5em }
+
+object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
+ overflow: hidden;
+}
+
+/* Uncomment (and remove this text!) to get bold-faced definition list terms
+dl.docutils dt {
+ font-weight: bold }
+*/
+
+div.abstract {
+ margin: 2em 5em }
+
+div.abstract p.topic-title {
+ font-weight: bold ;
+ text-align: center }
+
+div.admonition, div.attention, div.caution, div.danger, div.error,
+div.hint, div.important, div.note, div.tip, div.warning {
+ margin: 2em ;
+ border: medium outset ;
+ padding: 1em }
+
+div.admonition p.admonition-title, div.hint p.admonition-title,
+div.important p.admonition-title, div.note p.admonition-title,
+div.tip p.admonition-title {
+ font-weight: bold ;
+ font-family: sans-serif }
+
+div.attention p.admonition-title, div.caution p.admonition-title,
+div.danger p.admonition-title, div.error p.admonition-title,
+div.warning p.admonition-title, .code .error {
+ color: red ;
+ font-weight: bold ;
+ font-family: sans-serif }
+
+/* Uncomment (and remove this text!) to get reduced vertical space in
+ compound paragraphs.
+div.compound .compound-first, div.compound .compound-middle {
+ margin-bottom: 0.5em }
+
+div.compound .compound-last, div.compound .compound-middle {
+ margin-top: 0.5em }
+*/
+
+div.dedication {
+ margin: 2em 5em ;
+ text-align: center ;
+ font-style: italic }
+
+div.dedication p.topic-title {
+ font-weight: bold ;
+ font-style: normal }
+
+div.figure {
+ margin-left: 2em ;
+ margin-right: 2em }
+
+div.footer, div.header {
+ clear: both;
+ font-size: smaller }
+
+div.line-block {
+ display: block ;
+ margin-top: 1em ;
+ margin-bottom: 1em }
+
+div.line-block div.line-block {
+ margin-top: 0 ;
+ margin-bottom: 0 ;
+ margin-left: 1.5em }
+
+div.sidebar {
+ margin: 0 0 0.5em 1em ;
+ border: medium outset ;
+ padding: 1em ;
+ background-color: #ffffee ;
+ width: 40% ;
+ float: right ;
+ clear: right }
+
+div.sidebar p.rubric {
+ font-family: sans-serif ;
+ font-size: medium }
+
+div.system-messages {
+ margin: 5em }
+
+div.system-messages h1 {
+ color: red }
+
+div.system-message {
+ border: medium outset ;
+ padding: 1em }
+
+div.system-message p.system-message-title {
+ color: red ;
+ font-weight: bold }
+
+div.topic {
+ margin: 2em }
+
+h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
+h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
+ margin-top: 0.4em }
+
+h1.title {
+ text-align: center }
+
+h2.subtitle {
+ text-align: center }
+
+hr.docutils {
+ width: 75% }
+
+img.align-left, .figure.align-left, object.align-left {
+ clear: left ;
+ float: left ;
+ margin-right: 1em }
+
+img.align-right, .figure.align-right, object.align-right {
+ clear: right ;
+ float: right ;
+ margin-left: 1em }
+
+img.align-center, .figure.align-center, object.align-center {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.align-left {
+ text-align: left }
+
+.align-center {
+ clear: both ;
+ text-align: center }
+
+.align-right {
+ text-align: right }
+
+/* reset inner alignment in figures */
+div.align-right {
+ text-align: inherit }
+
+/* div.align-center * { */
+/* text-align: left } */
+
+ol.simple, ul.simple {
+ margin-bottom: 1em }
+
+ol.arabic {
+ list-style: decimal }
+
+ol.loweralpha {
+ list-style: lower-alpha }
+
+ol.upperalpha {
+ list-style: upper-alpha }
+
+ol.lowerroman {
+ list-style: lower-roman }
+
+ol.upperroman {
+ list-style: upper-roman }
+
+p.attribution {
+ text-align: right ;
+ margin-left: 50% }
+
+p.caption {
+ font-style: italic }
+
+p.credits {
+ font-style: italic ;
+ font-size: smaller }
+
+p.label {
+ white-space: nowrap }
+
+p.rubric {
+ font-weight: bold ;
+ font-size: larger ;
+ color: maroon ;
+ text-align: center }
+
+p.sidebar-title {
+ font-family: sans-serif ;
+ font-weight: bold ;
+ font-size: larger }
+
+p.sidebar-subtitle {
+ font-family: sans-serif ;
+ font-weight: bold }
+
+p.topic-title {
+ font-weight: bold }
+
+pre.address {
+ margin-bottom: 0 ;
+ margin-top: 0 ;
+ font: inherit }
+
+pre.literal-block, pre.doctest-block, pre.math, pre.code {
+ margin-left: 2em ;
+ margin-right: 2em }
+
+pre.code .ln { color: grey; } /* line numbers */
+pre.code, code { background-color: #eeeeee }
+pre.code .comment, code .comment { color: #5C6576 }
+pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
+pre.code .literal.string, code .literal.string { color: #0C5404 }
+pre.code .name.builtin, code .name.builtin { color: #352B84 }
+pre.code .deleted, code .deleted { background-color: #DEB0A1}
+pre.code .inserted, code .inserted { background-color: #A3D289}
+
+span.classifier {
+ font-family: sans-serif ;
+ font-style: oblique }
+
+span.classifier-delimiter {
+ font-family: sans-serif ;
+ font-weight: bold }
+
+span.interpreted {
+ font-family: sans-serif }
+
+span.option {
+ white-space: nowrap }
+
+span.pre {
+ white-space: pre }
+
+span.problematic {
+ color: red }
+
+span.section-subtitle {
+ /* font-size relative to parent (h1..h6 element) */
+ font-size: 80% }
+
+table.citation {
+ border-left: solid 1px gray;
+ margin-left: 1px }
+
+table.docinfo {
+ margin: 2em 4em }
+
+table.docutils {
+ margin-top: 0.5em ;
+ margin-bottom: 0.5em }
+
+table.footnote {
+ border-left: solid 1px black;
+ margin-left: 1px }
+
+table.docutils td, table.docutils th,
+table.docinfo td, table.docinfo th {
+ padding-left: 0.5em ;
+ padding-right: 0.5em ;
+ vertical-align: top }
+
+table.docutils th.field-name, table.docinfo th.docinfo-name {
+ font-weight: bold ;
+ text-align: left ;
+ white-space: nowrap ;
+ padding-left: 0 }
+
+/* "booktabs" style (no vertical lines) */
+table.docutils.booktabs {
+ border: 0px;
+ border-top: 2px solid;
+ border-bottom: 2px solid;
+ border-collapse: collapse;
+}
+table.docutils.booktabs * {
+ border: 0px;
+}
+table.docutils.booktabs th {
+ border-bottom: thin solid;
+ text-align: left;
+}
+
+h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
+h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
+ font-size: 100% }
+
+ul.auto-toc {
+ list-style-type: none }
+
+</style>
+<style type="text/css">
+
+/* html4css2.css: Cascading style sheet for Docutils' html4strict writer. */
+/* */
+/* :Author: Günter Milde */
+/* :Copyright: © 2009 Günter Milde. */
+/* Released without warranties or conditions of any kind */
+/* under the terms of the Apache License, Version 2.0 */
+/* http://www.apache.org/licenses/LICENSE-2.0 */
+/* */
+/* This stylesheet supplements the Docutils standard style 'html4css1.css'. */
+/* It uses CSS 2.1 elements (supported by up-to-date versions of popular */
+/* browsers). */
+
+/* General rules */
+/* ============= */
+
+body {
+ padding: 0 5%;
+ margin: 8px 0;
+ line-height:1.3;
+ /* http://ilovetypography.com/2008/02/28/a-guide-to-web-typography/
+ recommends "line-spacing that’s at least 140% of your text size" */
+ counter-reset: table;
+ /* counter-reset: figure; */
+}
+
+/* avoid long lines --> better reading */
+/* OTOH: lines should not be too short because of missing hyphenation, */
+div.document {
+ max-width: 45em;
+ margin: auto;
+}
+
+/* separate items except for compact lists */
+dl > dd {
+ margin-bottom: 1em;
+}
+.compact li, .compact p, .compact ul, .compact ol
+dl.simple > dd, .simple li, .simple p, .simple ul, .simple ol {
+ margin-top: 0;
+ margin-bottom: 0;
+/* background: magenta; */
+}
+dl.simple, dl.compact, dl.simple > dd, dl.compact > dd {
+ margin-top: 0;
+ margin-bottom: 0;
+/* background: lightgreen; */
+}
+
+/* space around paragraphs */
+dl > dd p:first-child, td > p {
+ margin: 0;
+}
+
+/* Sidebar */
+/* ------- */
+
+div.sidebar {
+ margin-right: -5%;
+}
+
+/* Special definition lists */
+/* ======================== */
+
+/* bold definition term on the same line as the label */
+dl.field-list > dt, dl.option-list > dt, dl.docinfo > dt,
+dl.footnote > dt, dl.citation > dt, dl.description > dt {
+ clear: left;
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 0.5em;
+ font-weight: bold;
+}
+/* except for these */
+dl.option-list > dt, dl.footnote > dt {
+ font-weight: normal;
+}
+
+
+
+/* Field Lists */
+/* ----------- */
+
+/* field names followed by a colon */
+dl.field-list > dt:after, dl.docinfo > dt:after {
+ content: ":";
+}
+
+/* Offset for field content (corresponds to the --field-name-limit option) */
+dl.field-list > dd {
+ margin-left: 9em; /* ca. 14 chars in the test examples */
+ padding-left: 0.5em;
+}
+
+/* start field-body on a new line after long field names */
+dl.field-list > dd p {
+ width: 100%;
+/* display: inline-block; */
+/* background: yellow; */
+}
+
+dl.field-list > dd > p:first-child,
+/* dl.field-list > dd > ol:first-child, */
+/* dl.field-list > dd > ul:first-child, */
+dl.field-list > dd > dl:first-child {
+ display: inline-block;
+}
+
+/* field-list variants:: */
+
+/* example for custom field-name width */
+dl.field-list.narrow > dd {
+ margin-left: 5em;
+}
+
+/* start field-body on same line after long field names */
+dl.field-list.run-in > dd p {
+ display: block;
+}
+
+/* wrap or truncate long field names */
+dl.field-list.fix-labelwidth > dt {
+ width: 8em; /* set to dl.field-list > dd margin-left - padding-left */
+ overflow: hidden;
+}
+dl.field-list.fix-labelwidth > dd:after {
+ /* a "stopper" to prevent next dd floating up too far */
+ content: '';
+ display: block;
+ clear: left;
+}
+
+/* docinfo */
+
+dl.docinfo > dd {
+ margin-left: 8em;
+/* margin-bottom: 0.5em; */
+}
+
+
+/* option list */
+
+dl.option-list {
+ margin-left: 1em;
+ padding-left: 0;
+}
+
+dl.option-list > dd {
+ margin-left: 8em;
+ /* margin-bottom: 0.5em; */
+}
+
+/* start description on a new line after long options */
+dl.option-list > dd p {
+ width: 100%;
+ display: inline-block;
+}
+
+/* footnotes */
+
+a.footnote-reference, a.fn-backref {
+ text-decoration: inherit; /* do not underline footnote links */
+}
+
+dl.footnote {
+ /* line on the left */
+ padding-left: 1ex;
+ border-left: solid;
+ border-left-width: thin;
+ /* border-color: black; */
+}
+
+/* paragraph on same line as backrefs */
+dd > em {
+/* background: green; */
+ float: left;
+ margin-right: 1ex
+}
+
+
+/*
+Ordered List (Enumeration)
+--------------------------
+
+Use counters to replace the deprecated start attribute. Make sure the
+resulting list resembles the list-style 'outside' with a hanging indent.
+*/
+
+/* New ordered list: reset counter, suppress the default label */
+ol, ol.arabic, ol.loweralpha, ol.upperalpha,
+ol.lowerroman, ol.upperroman {
+ counter-reset: item;
+ list-style: none
+}
+
+/* Set the negative indent of the list label as feature of the list item */
+ol > li {
+ text-indent: -40px; /* Mozillas default indent */
+}
+/* reset for child elements */
+ol > li > * {
+ text-indent: 0px;
+ text-indent: 0;
+ margin-top: 0;
+ /* background: lightgreen; */
+}
+
+/* Label */
+ol > li:before {
+ /* increment and typeset counter(s), */
+ counter-increment: item;
+ content: counter(item) ".";
+ /* display next to the content (aligned top-right), */
+ display: inline-block;
+ text-align: right;
+ vertical-align: top;
+ /* sum must match ol>li {text-indent:} (40px is Mozillas default) */
+ width: 35px;
+ padding-right: 5px;
+/* background: yellow; */
+}
+
+/* The list item's first line starts next to the label, without indent */
+ol > li > p:first-child,
+ol > li > ol:first-child,
+ol > li > ul:first-child,
+ol > li > dl:first-child {
+ display: inline-block;
+ /* background: lightblue; */
+}
+
+/* default separator variants */
+ol.loweralpha > li:before {
+ content: counter(item, lower-alpha) ")";
+}
+ol.upperalpha > li:before {
+ content: counter(item, upper-alpha) ".";
+}
+ol.lowerroman > li:before {
+ content: "(" counter(item, lower-roman) ")";
+}
+ol.upperroman > li:before {
+ content: counter(item, upper-roman) ")";
+}
+/* nested counters (1, 1.1, 1.1.1, etc) */
+/* nested enumerated lists "inherit" the class attribute, other lists not */
+ol.nested > li:before, ol.nested ol > li:before {
+ content: counters(item, ".") " ";
+}
+
+/* lists nested in definition list */
+
+dd > ul, dd > ol {
+ padding-left: 0pt;
+}
+
+/* TODO: prefix, suffix? */
+
+/* smaller font for super- and subscripts */
+/* sub, sup {font-size: 70%;} */ /* Mozilla default is `smaller` */
+
+
+/* Tables */
+/* ====== */
+
+/* margins and borders for "normal" tables */
+table {
+/* background: magenta; */
+ margin-top: 1em ;
+ margin-bottom: 1em;
+/* border-style: outset; */
+ border-style: solid;
+ border-color: silver;
+ border-width: thin;
+ border-collapse: collapse;
+}
+blockquote > table {
+ margin-top: 0em ;
+ margin-bottom: 0em;
+}
+
+td, th {
+ border-style: solid;
+ border-width: thin;
+ border-color: silver;
+ /* text-align: left; */
+ padding: 0 1ex;
+}
+
+td > p:first-child, th > p:first-child {
+ margin-top: 0;
+}
+td > p, th > p {
+ margin-bottom: 0;
+}
+
+/* no borders for "borderless" tables */
+table.borderless, table.borderless * {
+ border-style: none;
+}
+
+/* "booktabs" style (no vertical lines) */
+table.booktabs {
+ border: 0;
+ border-top: 2px solid;
+ border-bottom: 2px solid;
+ border-collapse: collapse;
+}
+
+table.booktabs * {
+ border: 0;
+}
+table.booktabs th {
+ border-bottom: thin solid;
+ text-align: left;
+}
+
+table > caption {
+ text-align: left;
+ margin-bottom: 0.25em
+/* padding: 2em 0 1em 0; */
+}
+
+/* numbered tables*/
+table.numbered > caption:before {
+ counter-increment: table; /* defined/re-set in body */
+ content: "Table " counter(table) ": ";
+ font-weight: bold;
+}
+
+
+/* literal text
+ ------------
+*/
+/* whitespace and wrapping in inline literals */
+/* possible values: normal, nowrap, pre, pre-wrap, pre-line */
+tt.literal {
+ white-space: pre-wrap;
+}
+
+/* /* compensate for initial line-break (which is literal with XHTML 1.1) */ */
+/* pre.literal-block, pre.doctest-block { */
+/* margin-top: 0em ; */
+/* } */
+
+/* Table of Contents */
+
+/* don't indent like a topic */
+div.topic.contents {
+ margin: 0;
+}
+/* div.topic.contents ul { */
+/* list-style: none; */
+/* } */
+
+div.topic.contents a {
+ text-decoration: none; /* no underline for links */
+}
+
+/* section numbers */
+
+span.sectnum {
+ padding-right: 1ex;
+}
+
+/* admonitions */
+
+/* no padding for top and bottom */
+div.admonition, div.attention, div.caution, div.danger, div.error,
+div.hint, div.important, div.note, div.tip, div.warning {
+ padding: 0px 1em }
+
+</style>
</head>
<body>
<div class="document" id="babel-greek">
<h1 class="title">babel-greek</h1>
-<h2 class="subtitle" id="babel-support-for-greek">Babel support for Greek</h2>
+<h2 class="subtitle" id="babel-support-for-the-greek-language-and-script">Babel support for the Greek language and script</h2>
<dl class="docinfo simple">
<dt class="copyright">Copyright</dt>
@@ -32,15 +736,15 @@ Greek language and script via the <a class="reference external" href="http://www
<p>In 1997, Apostolos Syropoulos added support for the Greek language to the
“babel” package. The file <tt class="literal">greek.ldf</tt> provides options for monotonic
(single-diacritic) and polytonic (multiple-diacritic) modes of writing.</p>
-<p>There is now experimental support for Unicode-aware TeX engines
+<p>Since 2013-07-19, babel-greek supports also Unicode-aware TeX engines
(XeTeX/LuaTeX).</p>
<div class="section" id="news">
<h1>News</h1>
<table class="borderless">
<colgroup>
-<col width="7%" />
-<col width="13%" />
-<col width="80%" />
+<col width="6%" />
+<col width="16%" />
+<col width="78%" />
</colgroup>
<tbody>
<tr><td><p>1.4</p></td>
@@ -117,9 +821,53 @@ Greek in footnotes etc. with document language Greek.</p></td>
<td><p>Added attribute for ancient Greek, load correct hyphenation
patterns: Patch by Claudio Beccari. Bugfix for Makeuppercase</p></td>
</tr>
+<tr><td><p>1.9a</p></td>
+<td><p>2014-09-12</p></td>
+<td><p>Remove duplicate code, documentation review.</p></td>
+</tr>
+<tr><td><p>1.9b</p></td>
+<td><p>2014-09-18</p></td>
+<td><p>Remove spurious whitespace from “extrasgreek” definition.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td>&nbsp;</td>
+<td><p>Use named macros instead of non-standard short macros
+for psili and dasia in the string definitions.</p></td>
+</tr>
</tbody>
</table>
</div>
+<div class="section" id="files">
+<h1>Files</h1>
+<dl class="docutils">
+<dt><a class="reference external" href="babel-greek.ins">babel-greek.ins</a>; <a class="reference external" href="babel-greek.pdf">babel-greek.pdf</a></dt>
+<dd><p>Source of the language definition file <tt class="literal">greek.ldf</tt> for use with <a class="reference external" href="http://www.ctan.org/pkg/babel">Babel</a>.</p>
+</dd>
+<dt><a class="reference external" href="athnum.dtx">athnum.dtx</a>; <a class="reference external" href="athnum.pdf">athnum.pdf</a></dt>
+<dd><p>Athenian Numerals.</p>
+</dd>
+<dt><a class="reference external" href="grmath.dtx">grmath.dtx</a>; <a class="reference external" href="grmath.pdf">grmath.pdf</a></dt>
+<dd><p>Greek log-like Operators.</p>
+</dd>
+<dt><a class="reference external" href="grsymb.dtx">grsymb.dtx</a>; <a class="reference external" href="grsymb.pdf">grsymb.pdf</a></dt>
+<dd><p>Macros for Greek symbols (obsoleted by the <a class="reference external" href="http://www.ctan.org/pkg/greek-fontenc">greek-fontenc</a> package).</p>
+</dd>
+<dt><a class="reference external" href="test-greek.pdf">test-greek.pdf</a>; <a class="reference external" href="test-greek.tex">test-greek.tex</a></dt>
+<dd><p>Tests and Examples for 8-bit TeX.</p>
+</dd>
+<dt><a class="reference external" href="test-unicode-greek.pdf">test-unicode-greek.pdf</a>; <a class="reference external" href="test-unicode-greek.tex">test-unicode-greek.tex</a></dt>
+<dd><p>Tests and Examples for XeTeX/LuaTeX.</p>
+</dd>
+<dt><a class="reference external" href="test-unicode-lgr.pdf">test-unicode-lgr.pdf</a>; <a class="reference external" href="test-unicode-lgr.tex">test-unicode-lgr.tex</a></dt>
+<dd><p>Tests and Examples for XeTeX/LuaTeX with LGR 8-bit fonts.</p>
+</dd>
+<dt><a class="reference external" href="usage.pdf">usage.pdf</a>; <a class="reference external" href="usage.tex">usage.tex</a></dt>
+<dd><p>Description of the Latin transliteration for Greek defined by the
+LGR font encoding.</p>
+</dd>
+</dl>
+</div>
<div class="section" id="requirements">
<h1>Requirements</h1>
<p>The “babel-greek” package requires the <a class="reference external" href="http://www.ctan.org/pkg/babel">babel</a> base package and parts of the
@@ -140,7 +888,7 @@ manager.</p>
<li><p>Run <tt class="literal">tex</tt> or <tt class="literal">latex</tt> on the batch file <tt class="literal"><span class="pre">babel-greek.ins</span></tt>.</p></li>
<li><p>Move all files ending in <tt class="literal">.ldf</tt> or <tt class="literal">.sty</tt> into a directory searched by
TeX.</p></li>
-<li><p>To produce the documentation run the files <tt class="literal">usage.tex</tt> and all files
+<li><p>To produce the documentation, run the file <tt class="literal">usage.tex</tt> and all files
ending in <tt class="literal">.dtx</tt> through LaTeX.</p></li>
</ul>
</div>
@@ -150,8 +898,14 @@ ending in <tt class="literal">.dtx</tt> through LaTeX.</p></li>
<pre class="literal-block">\usepackage[greek]{babel}
</pre>
<p>For polytonic Greek, set the language attribute “polutoniko”:</p>
-<pre class="literal-block">\languageattribute{greek}{polutoniko}
+<pre class="literal-block">\usepackage[greek]{babel}
+\languageattribute{greek}{polutoniko}
+</pre>
+<p>or</p>
+<pre class="literal-block">\usepackage[greek.polutoniko,english]{babel}
</pre>
+<p>Similarly, the attribute “ancient” selects the ancient Greek language
+variant.</p>
<p>With XeTeX/LuaTeX, load <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> before <a class="reference external" href="http://www.ctan.org/pkg/babel">babel</a>, so that babel-greek can
set up the Unicode font encoding for use with Greek, e.g.</p>
<pre class="literal-block">\usepackage{fontspec}
@@ -162,7 +916,7 @@ set up the Unicode font encoding for use with Greek, e.g.</p>
<p>For details see <a class="reference external" href="babel-greek.pdf">babel-greek.pdf</a> and the <a class="reference external" href="http://www.ctan.org/pkg/babel">babel</a> documentation.</p>
<p>Literal input of Greek characters is possible with the <a class="reference external" href="http://www.ctan.org/pkg/greek-inputenc">greek-inputenc</a>
package or with XeTeX or LuaTeX. For the Latin transliteration provided by
-the LGR font encoding see <a class="reference external" href="usage.pdf">usage.pdf</a> and the example files provided with
+the LGR font encoding, see <a class="reference external" href="usage.pdf">usage.pdf</a> and the example files provided with
<a class="reference external" href="http://www.ctan.org/pkg/greek-fontenc">greek-fontenc</a>.</p>
</div>
<div class="section" id="greek-text-fonts">
@@ -174,19 +928,220 @@ font contains the required glyphs (the default Latin Modern fonts miss
them). Examples for suitable fonts are the <a class="reference external" href="http://www.ctan.org/pkg/cm-unicode">CM-unicode</a> or the <a class="reference external" href="http://www.ctan.org/pkg/libertine">Linux
Libertine</a> OpenType fonts as well as any system-wide installed OTF fonts
that support Greek (e.g. <a class="reference external" href="http://dejavu-fonts.org">Deja Vu</a>).</p>
-<p>The LGR font encoding is the de-facto standard for typesetting Greek with
+<p>The LGR <a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/encguide.pdf">font encoding</a> is the de-facto standard for typesetting Greek with
8-bit LaTeX. Fonts in this encoding include the <a class="reference external" href="http://www.ctan.org/pkg/cbgreek-complete">CB fonts</a> (matching CM),
<a class="reference external" href="http://www.ctan.org/pkg/grtimes">grtimes</a> (Greek Times), <a class="reference external" href="http://www.ctan.org/pkg/kerkis">Kerkis</a> (matching URW Bookman), and the <a class="reference external" href="http://www.ctan.org/pkg/gfs">GFS font
collection</a>. Setup of these fonts as Greek variant to matching Latin fonts
is facilitated by the <a class="reference external" href="http://www.ctan.org/pkg/substitutefont">substitutefont</a> package.</p>
+</div>
+<div class="section" id="lgr-latin-transliteration">
+<h1>LGR Latin Transliteration</h1>
<p>The LGR font encoding generates Greek characters via an ASCII
transliteration. This enables simple input with a Latin keyboard.
Characters with diacritics are selected by ligature definitions in the
font (see <a class="reference external" href="usage.pdf">usage.pdf</a>).</p>
-<p>A major drawback of this transliteration is, that you cannot access Latin
-letters if LGR is the active font encoding (e.g. in documents or parts of
-documents given the <cite>Babel</cite> language <tt class="literal">greek</tt> or <tt class="literal">polutionikogreek</tt>).
-This means that for every Latin-written word or acronym an explicit
+<p>The following ASCII characters are converted to Greek symbols:</p>
+<table>
+<colgroup>
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+<col width="4%" />
+</colgroup>
+<tbody>
+<tr><td><p>A</p></td>
+<td><p>B</p></td>
+<td><p>G</p></td>
+<td><p>D</p></td>
+<td><p>E</p></td>
+<td><p>Z</p></td>
+<td><p>H</p></td>
+<td><p>J</p></td>
+<td><p>I</p></td>
+<td><p>K</p></td>
+<td><p>L</p></td>
+<td><p>M</p></td>
+<td><p>N</p></td>
+<td><p>X</p></td>
+<td><p>O</p></td>
+<td><p>P</p></td>
+<td><p>R</p></td>
+<td><p>S</p></td>
+<td>&nbsp;</td>
+<td><p>T</p></td>
+<td><p>U</p></td>
+<td><p>F</p></td>
+<td><p>Q</p></td>
+<td><p>Y</p></td>
+<td><p>W</p></td>
+</tr>
+<tr><td><p>Α</p></td>
+<td><p>Β</p></td>
+<td><p>Γ</p></td>
+<td><p>Δ</p></td>
+<td><p>Ε</p></td>
+<td><p>Ζ</p></td>
+<td><p>Η</p></td>
+<td><p>Θ</p></td>
+<td><p>Ι</p></td>
+<td><p>Κ</p></td>
+<td><p>Λ</p></td>
+<td><p>Μ</p></td>
+<td><p>Ν</p></td>
+<td><p>Ξ</p></td>
+<td><p>Ο</p></td>
+<td><p>Π</p></td>
+<td><p>Ρ</p></td>
+<td><p>Σ</p></td>
+<td>&nbsp;</td>
+<td><p>Τ</p></td>
+<td><p>Υ</p></td>
+<td><p>Φ</p></td>
+<td><p>Χ</p></td>
+<td><p>Ψ</p></td>
+<td><p>Ω</p></td>
+</tr>
+<tr><td><p>a</p></td>
+<td><p>b</p></td>
+<td><p>g</p></td>
+<td><p>d</p></td>
+<td><p>e</p></td>
+<td><p>z</p></td>
+<td><p>h</p></td>
+<td><p>j</p></td>
+<td><p>i</p></td>
+<td><p>k</p></td>
+<td><p>l</p></td>
+<td><p>m</p></td>
+<td><p>n</p></td>
+<td><p>x</p></td>
+<td><p>o</p></td>
+<td><p>p</p></td>
+<td><p>r</p></td>
+<td><p>s</p></td>
+<td><p>c</p></td>
+<td><p>t</p></td>
+<td><p>u</p></td>
+<td><p>f</p></td>
+<td><p>q</p></td>
+<td><p>y</p></td>
+<td><p>w</p></td>
+</tr>
+<tr><td><p>α</p></td>
+<td><p>β</p></td>
+<td><p>γ</p></td>
+<td><p>δ</p></td>
+<td><p>ε</p></td>
+<td><p>ζ</p></td>
+<td><p>η</p></td>
+<td><p>θ</p></td>
+<td><p>ι</p></td>
+<td><p>κ</p></td>
+<td><p>λ</p></td>
+<td><p>μ</p></td>
+<td><p>ν</p></td>
+<td><p>ξ</p></td>
+<td><p>ο</p></td>
+<td><p>π</p></td>
+<td><p>ρ</p></td>
+<td><p>σ</p></td>
+<td><p>ς</p></td>
+<td><p>τ</p></td>
+<td><p>υ</p></td>
+<td><p>φ</p></td>
+<td><p>χ</p></td>
+<td><p>ψ</p></td>
+<td><p>ω</p></td>
+</tr>
+</tbody>
+</table>
+<p>Accent symbols and punctuation:</p>
+<table>
+<colgroup>
+<col width="29%" />
+<col width="9%" />
+<col width="3%" />
+<col width="38%" />
+<col width="14%" />
+<col width="7%" />
+</colgroup>
+<tbody>
+<tr><td><p>tonos</p></td>
+<td><p><tt class="literal">'</tt></p></td>
+<td><p>ά</p></td>
+<td><p>semicolon</p></td>
+<td><p><tt class="literal">;</tt></p></td>
+<td><p>·</p></td>
+</tr>
+<tr><td><p>varia</p></td>
+<td><p>`</p></td>
+<td><p>ὰ</p></td>
+<td><p>question mark</p></td>
+<td><p><tt class="literal">?</tt></p></td>
+<td><p>;</p></td>
+</tr>
+<tr><td><p>perispomeni</p></td>
+<td><p><tt class="literal">~</tt></p></td>
+<td><p>ᾶ</p></td>
+<td><p>left apostrophe</p></td>
+<td><p>` `</p></td>
+<td><p>‘</p></td>
+</tr>
+<tr><td><p>dasia</p></td>
+<td><p><tt class="literal">&lt;</tt></p></td>
+<td><p>ἁ</p></td>
+<td><p>right apostrophe</p></td>
+<td><p><tt class="literal">''</tt></p></td>
+<td><p>’</p></td>
+</tr>
+<tr><td><p>psili</p></td>
+<td><p><tt class="literal">&gt;</tt></p></td>
+<td><p>ἀ</p></td>
+<td><p>left quotation mark</p></td>
+<td><p><tt class="literal">((</tt></p></td>
+<td><p>»</p></td>
+</tr>
+<tr><td><p>ypogegrammeni</p></td>
+<td><p><tt class="literal">|</tt></p></td>
+<td><p>ᾳ</p></td>
+<td><p>right quotation mark</p></td>
+<td><p><tt class="literal">))</tt></p></td>
+<td><p>»</p></td>
+</tr>
+<tr><td><p>dialytika</p></td>
+<td><p><tt class="literal">&quot;</tt></p></td>
+<td><p>ϊ</p></td>
+<td><p>zero width non-joiner</p></td>
+<td><p>v</p></td>
+<td>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+<p>A major drawback of the LGR transliteration is that you cannot access Latin
+letters and some symbols if LGR is the active font encoding (e.g. in
+documents or parts of documents given the <cite>Babel</cite> language <tt class="literal">greek</tt>). This
+means that for every Latin-written word or acronym an explicit
language-switch is required. This problem can only be solved via a
font-encoding comprising both Latin and Greek like the hypothetical T7 or
Unicode (with XeTeX or LuaTeX).</p>
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 85117e5d24f..7ac17ee3ded 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/babel-greek.pdf
+++ b/Master/texmf-dist/doc/generic/babel-greek/babel-greek.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/babel-greek/test-greek.pdf b/Master/texmf-dist/doc/generic/babel-greek/test-greek.pdf
index 0a54e6db66b..08d7d645111 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/test-greek.pdf
+++ b/Master/texmf-dist/doc/generic/babel-greek/test-greek.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/babel-greek/test-greek.tex b/Master/texmf-dist/doc/generic/babel-greek/test-greek.tex
index fd837430b08..ceeb1c58860 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/test-greek.tex
+++ b/Master/texmf-dist/doc/generic/babel-greek/test-greek.tex
@@ -1,3 +1,4 @@
+
\documentclass[a4paper]{article}
\usepackage[LGR,T1]{fontenc}
@@ -36,7 +37,7 @@
% Obsolete: used instead of `greek', kept for backwards compatibility:
% \usepackage[polutonikogreek,english]{babel}
-% For backwards compatibility, you can also use
+% For backwards compatibility, you can also use
% \selectlanguage{polutonikogreek} instead of \selectlanguage{greek} etc.
% if the (modern) polytonic Greek language variant is selected.
@@ -52,7 +53,10 @@
\begin{document}
-\section*{Test the Greek support for Babel}
+\title{Test the Greek support for Babel}
+\author{Günter Milde}
+\date{2014/09/02}
+\maketitle
The babel option ``greek'' activates the support for the Greek language
defined in the file ``greek.ldf'' (source ``greek.dtx'').
@@ -63,19 +67,27 @@ The declaration \verb|\selectlanguage| switches between languages.
\begin{quote}
\selectlanguage{greek}
- Τί φήις; Ἱδὼν ἐνθέδε παῖδ’ ἐλευθέραν
+ Τί φήις; Ἱδὼν ἐνθέδε παῖδ’ ἐλευθέραν
τὰς πλησίον Νύμφας στεφανοῦσαν, Σώστρατε,
- ἐρῶν άπῆλθες εὐθύς;
+ ἐρῶν άπῆλθες εὐθύς;
\end{quote}
The macro \verb|\foreignlanguage| sets its second argument in the specified
-language. This is intended for short text parts like
+language. This is intended for short text parts or single words like
\foreignlanguage{greek}{Βιβλιοθήκη}.
+There should be no inserted space before or after the language switch (may
+happen if there are unescaped linebreaks in the font or language definitions):
+
+\begin{quote}
+ Change script with \verb|ensuregreek|: |\ensuregreek{do\~ulos}|. Change
+ language with \verb|\foreignlanguage|: |\foreignlanguage{greek}{do\~ulos}|.
+\end{quote}
+
\section{Font Encoding}
In Greek text parts, the font encoding is automatically set to LGR if an
-8-bit TeX engine is used. (See test-unicode-greek.tex for usage of
+8-bit TeX engine is used. (See \url{test-unicode-greek.tex} for usage of
babel-greek with XeTeX or LuaTeX.)
LGR has Greek characters in the slots reserved in a TeX \emph{standard text
@@ -88,9 +100,11 @@ The Babel core defines the declaration \verb|\latintext| and the command
argument using this encoding.
Switching to a font encoding supporting the Greek script is possible without
-switching the Babel language using the declarations \verb|\greekscript| or
-\verb|\greektext| (always LGR) and the macros \verb|\ensuregreek| or
-\verb|\textgreek|. These commands do not start a new paragraph:
+switching the Babel language using the declarations \verb|\greekscript| (no
+switch if the current encoding supports Greek script (e.g. the Unicode font
+encodings EU1, EU2)) or \verb|\greektext| (always switch to LGR) and the
+corresponding macros \verb|\ensuregreek| or \verb|\textgreek|. These
+commands do not start a new paragraph:
\greekscript Φίλων τοῦ \textlatin{TeX} (ΕΦΤ) --
\latintext Friends (\ensuregreek{F\'ilwn}) of TeX.
@@ -161,6 +175,28 @@ k\'eik, $\mapsto$ \MakeUppercase{k\'eik}
There are several alternative styles for the capitalized sub-iota.
+In order to let the Up/Downcasing work also with the Latin transcription
+defined by the LGR font encoding, ``babel-greek'' also defines lc/uccodes
+for non-standard assignments:
+
+\selectlanguage{greek}
+', ", `, >, <, | $\mapsto$ \MakeUppercase{', ", `, >, <, |}
+\selectlanguage{english}
+
+The uppercase of the zero-width space at the place of ``v`` is the
+Dasia-Oxia accent (\ensuregreek{\MakeUppercase{v}}), the glyph at the
+position of ``V``. However, the uccode of v is not changed (any more):
+
+\begin{quotation}
+ greek-1.3i 2000/10/02: uc code of `v' is switched to V
+ so that mixed text appears correctly in headers.
+\end{quotation}
+
+Use \verb+\textcompwordmark+:
+not \foreignlanguage{greek}{avu $\mapsto$ \MakeUppercase{avu}} but
+\foreignlanguage{greek}{a\textcompwordmark u
+$\mapsto$ \MakeUppercase{a\textcompwordmark u}}
+
The following subsections test MakeUppercase and MakeLowercase with all
characters defined in lgrenc.dfu:
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 fa977e2bf0c..56057149e3d 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.pdf
+++ b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.tex b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.tex
index 65f6e606338..bf33940e5cc 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.tex
+++ b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.tex
@@ -10,7 +10,7 @@
% \setmainfont{Droid Serif} % only monotonic Greek (subset of Greek and Coptic)
\usepackage[greek,english]{babel}
-% \languageattribute{greek}{polutoniko}
+\languageattribute{greek}{polutoniko}
\languageattribute{greek}{ancient}
\message{greek-euenc ist}
@@ -21,8 +21,10 @@
\begin{document}
-
-\section*{Greek support for Babel with XeTeX/LuaTeX}
+\title{Greek support for Babel with XeTeX/LuaTeX}
+\author{Günter Milde}
+\date{2014/09/02}
+\maketitle
The babel option «greek» activates the support for the Greek language
defined in the file «greek.ldf» (source «greek.dtx»).
@@ -39,9 +41,9 @@ The declaration \verb|\selectlanguage| switches between languages.
\begin{quote}
\selectlanguage{greek}
- Τί φήις; Ἱδὼν ἐνθέδε παῖδ’ ἐλευθέραν
+ Τί φήις; Ἱδὼν ἐνθέδε παῖδ’ ἐλευθέραν
τὰς πλησίον Νύμφας στεφανοῦσαν, Σώστρατε,
- ἐρῶν άπῆλθες εὐθύς;
+ ἐρῶν άπῆλθες εὐθύς;
\end{quote}
The command \verb|\foreignlanguage| sets its second argument in the language
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 1c25d9e249f..10371f15172 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.pdf
+++ b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.pdf
Binary files 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 95f85ceb733..b9924fd60e4 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
@@ -14,14 +14,16 @@
% \languageattribute{greek}{ancient}
% use LGR (8-bit CB-fonts) instead of Unicode fonts for Greek:
+% Alternatives:
% \renewcommand*{\greekscript}{\fontencoding{LGR}\selectfont}
\addto{\extrasgreek}{\greektext}
-
\begin{document}
-
-\section*{XeTeX/LuaTeX with LGR fonts}
+\title{XeTeX/LuaTeX with LGR fonts}
+\author{Günter Milde}
+\date{2014/09/02}
+\maketitle
The babel option «greek» activates the support for the Greek language
defined in the file «greek.ldf» (source «greek.dtx»).
@@ -51,7 +53,7 @@ Latin transliteration or LICR macros:
The macro \verb|\foreignlanguage| sets its second argument in the specified
language. This is intended for short text parts like
-\foreignlanguage{greek}{Βιβλιοθήκη}.
+\foreignlanguage{greek}{Biblioj'hkh}.
\section{Font Encoding}
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 e3ccbf74ec0..bf6e926da4e 100644
--- a/Master/texmf-dist/source/generic/babel-greek/babel-greek.dtx
+++ b/Master/texmf-dist/source/generic/babel-greek/babel-greek.dtx
@@ -37,7 +37,7 @@
%<code>\ProvidesLanguage{greek}
%\fi
%\ProvidesFile{babel-greek.dtx}
- [2014/07/20 v1.9 Greek support for the babel system]
+ [2014/09/18 v1.9b Greek support for the babel system]
%\iffalse
%% File `babel-greek.dtx'
%% Greek language Definition File
@@ -50,7 +50,7 @@
% code for the greek language definition file. The original
% version of this file was written by Apostolos Syropoulos.
% It was then enhanced by adding code from kdgreek.sty from David
-% Kastrup <dak@neuroinformatik.ruhr-uni-bochum.de> with his
+% Kastrup <dak@gnu.org> with his
% consent.
%<*filedriver>
\documentclass{ltxdoc}
@@ -58,9 +58,7 @@
\usepackage[utf8]{inputenc}
\usepackage{hyperref,bookmark}
\hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue,citecolor=black}
-\newcommand*{\TeXhax}{\TeX hax}
\newcommand*{\babel}{\textsf{babel}}
-\newcommand*{\langvar}{$\langle \mathit lang \rangle$}
\newcommand*{\note}[1]{}
\newcommand*{\Lopt}[1]{\textsf{#1}}
\newcommand*{\file}[1]{\texttt{#1}}
@@ -111,6 +109,10 @@
% to fix Greek in footnotes etc. with document language Greek.}
% \changes{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
+% `extrasgreek' definition (report Eike Schmidt).
+% Use named macros instead of non-standard short accent macros for
+% psili and dasia.}
%
% \title{Babel support for the Greek language}
% \author{Apostolos Syropoulos, Günter Milde}
@@ -121,24 +123,22 @@
% system. See the \href{README.html}{README} file for an overwiew of the
% \pkg{babel-greek} package and links to requirements and related packages.
%
-% The file \file{\filename}\footnote{The file described in this
-% section has version number \fileversion\ and was last revised on
-% \filedate. The original author is Apostolos Syropoulos
-% (\texttt{apostolo@platon.ee.duth.gr}), code from
-% \file{kdgreek.sty} by David Kastrup
-% \texttt{dak@neuroinformatik.ruhr-uni-bochum.de} was used to
-% enhance the support for typesetting greek texts.} defines all the
-% language definition macros for the Greek language, i.e.,
-% as it is used today with only one accent, and the attribute
-% \Lopt{polutoniko} for typesetting greek text with all accents
-% (classical and polytonic Greek).
+% The file \file{\filename}%
+% \footnote{
+% The file described in this section has version number \fileversion\
+% and was last revised on \filedate.
+% The original author is Apostolos Syropoulos, code from \file{kdgreek.sty}
+% by David Kastrup was used.}
+% is the literate source for the Babel language definition file
+% \file{greek.ldf}.
%
% \section{Requirements}
%
% Typesetting Greek with Babel requires (of course) the
% \href{http://www.ctan.org/pkg/babel}{Babel core}, support for Greek font
% encodings (\href{http://www.ctan.org/pkg/greek-fontenc}{greek-fontenc})
-% and a font supporting the Greek script.
+% and a \href{README.html#greek-text-fonts}{text font supporting the
+% Greek script}.
%
% The \href{http://www.ctan.org/pkg/cbgreek-complete}{CB Greek fonts}
% created by \textsc{Claudio Beccari}\footnote{Apostolos Syropoulos
@@ -182,7 +182,7 @@
%
% Both attributes may also be used as modifiers as in
% \begin{verbatim}
-% \usepackage[greek.polytoniko,english]{babel}
+% \usepackage[greek.polutoniko,english]{babel}
% \end{verbatim}
% and similarly
% \begin{verbatim}
@@ -343,7 +343,7 @@
% When the option \Lopt{polutonikogreek} was used, redefine
% |\CurrentOption| to prevent problems later on.
% \begin{macrocode}
-\gdef\CurrentOption{greek}%
+\gdef\CurrentOption{greek}
% \end{macrocode}
%
% Hyphenation patterns:
@@ -369,7 +369,7 @@
% \end{macrocode}
% The |\extrasgreek| macro is called when switching the language to Greek.
% We collect code for polytonic and ancient greek in the macros
-% |extraspolutonikogreek| and |extrasancientgreek| and it later to
+% |extraspolutonikogreek| and |extrasancientgreek| and add it later to
% |extrasgreek|.
% \begin{macrocode}
\addto\extrasgreek{\let\l@greek\bbl@monogreek\relax}
@@ -413,7 +413,7 @@
\bbl@declare@ttribute{greek}{ancient}{%
% \end{macrocode}
% This attribute adds the expansion of |\extraspolutonikogreek| and
-% |\extrasancientgreek| to |\extrasgreek| to set up support for
+% |\extrasancientgreek| to |\extrasgreek| to set up support for
% multi-accented characters and ancient hyphenation patterns.
% Auto-strings (captions) are specific to ancient Greek while |\today|
% uses modern polytonic month names (as there existed incompatible
@@ -510,7 +510,7 @@
% EU1 and EU2 so that |\latintext| under XeTeX/LuaTeX does not prevent the
% use of Unicode fonts.
% \begin{macrocode}
-\AtBeginDocument{
+\AtBeginDocument{%
\@ifl@aded{def}{eu1enc}{\xdef\latinencoding{EU1}}{}% XeTeX
\@ifl@aded{def}{eu2enc}{\xdef\latinencoding{EU2}}{}% LuaTeX
}
@@ -616,8 +616,8 @@
%
% \section{Definitions for the Greek language}
%
-% The next step consists in defining commands to switch to (and
-% from) the Greek language.
+% The next step consists in defining commands to switch to (and
+% from) the Greek language.
%
% \begin{macro}{\greekhyphenmins}
% This macro is used to store the correct values of the hyphenation
@@ -702,15 +702,15 @@
% \begin{macrocode}
\let\captionspolutonikogreek\captionsgreek
\addto\captionspolutonikogreek{%
- \def\refname{\>\textAlpha\textnu\textalpha
+ \def\refname{\accpsili\textAlpha\textnu\textalpha
\textphi\textomicron\textrho\accvaria\textepsilon\textfinalsigma}%
- \def\indexname{\textEpsilon\<\textupsilon\textrho\textepsilon
+ \def\indexname{\textEpsilon\accdasia\textupsilon\textrho\textepsilon
\texttau\acctonos\texteta\textrho\textiota\textomicron}%
\def\figurename{\textSigma\textchi\accperispomeni\texteta\textmu\textalpha}%
\def\headtoname{\textPi\textrho\accvaria\textomicron\textfinalsigma}%
\def\alsoname{\textbeta\textlambda\acctonos\textepsilon\textpi\textepsilon{}
- \>\textepsilon\textpi\acctonos\textiota\textsigma\texteta\textfinalsigma}%
- \def\proofname{\>\textAlpha\textpi\acctonos\textomicron
+ \accpsili\textepsilon\textpi\acctonos\textiota\textsigma\texteta\textfinalsigma}%
+ \def\proofname{\accpsili\textAlpha\textpi\acctonos\textomicron
\textdelta\textepsilon\textiota\textxi\texteta}%
}
% \end{macrocode}
@@ -729,7 +729,7 @@
\addto\captionsancientgreek{%
\def\prefacename{\textPi\textrho\textomicron\textomicron\acctonos\textiota\textmu
\textiota\textomicron\textnu}%
- \def\refname{\>\textAlpha\textnu\textalpha\textphi\textomicron\textrho
+ \def\refname{\accpsili\textAlpha\textnu\textalpha\textphi\textomicron\textrho
\textalpha\accvaria\textiota}%
\def\abstractname{\textPi\textepsilon\textrho\acctonos\textiota\textlambda\texteta
\textpsi\textiota\textvarsigma}%
@@ -747,7 +747,7 @@
\def\listtablename{\textKappa\textalpha\texttau\acctonos\textalpha\textlambda
\textomicron\textgamma\textomicron\textvarsigma{}
\textpi\textiota\textnu\acctonos\textalpha\textkappa\textomega\textnu}%
- \def\indexname{\textEpsilon\<\textupsilon\textrho\textepsilon\texttau
+ \def\indexname{\textEpsilon\accdasia\textupsilon\textrho\textepsilon\texttau
\acctonos\texteta\textrho\textiota\textomicron\textnu}%
\def\figurename{\textSigma\textchi\accperispomeni\texteta\textmu\textalpha}%
\def\tablename{\textPi\acctonos\textiota\textnu\textalpha\textxi}%
@@ -758,10 +758,10 @@
\textomicron\acctonos\textiota\texteta\textsigma\textiota\textvarsigma}%
\def\headtoname{\textPi\textrho\accvaria\textomicron\textvarsigma}%
\def\pagename{\textSigma\textepsilon\textlambda\accvaria\textiota\textvarsigma}%
- \def\seename{\<`\textomicron\textrho\textalpha}%
- \def\alsoname{\<`\textomicron\textrho\textalpha{} \<\textomega\textsigma
+ \def\seename{\accdasiavaria\textomicron\textrho\textalpha}%
+ \def\alsoname{\accdasiavaria\textomicron\textrho\textalpha{} \accdasia\textomega\textsigma
\textalpha\acctonos\textupsilon\texttau\textomega\textvarsigma}%
- \def\proofname{\>\textAlpha\textpi\acctonos\textomicron\textdelta\textepsilon
+ \def\proofname{\accpsili\textAlpha\textpi\acctonos\textomicron\textdelta\textepsilon
\textiota\textxi\textiota\textvarsigma}%
\def\glossaryname{\textGamma\textlambda\textomega\textsigma\textsigma
\acctonos\textalpha\textrho\textiota\textomicron\textnu}%
@@ -824,24 +824,24 @@
% \begin{macrocode}
\def\gr@c@month{%
\ifcase\month\or
- \>\textIota\textalpha\textnu\textomicron\textupsilon\textalpha
+ \accpsili\textIota\textalpha\textnu\textomicron\textupsilon\textalpha
\textrho\acctonos\textiota\textomicron\textupsilon \or
\textPhi\textepsilon\textbeta\textrho\textomicron\textupsilon
\textalpha\textrho\acctonos\textiota\textomicron\textupsilon \or
\textMu\textalpha\textrho\texttau\acctonos\textiota\textomicron
\textupsilon \or
- \>\textAlpha\textpi\textrho\textiota\textlambda
+ \accpsili\textAlpha\textpi\textrho\textiota\textlambda
\acctonos\textiota\textomicron\textupsilon \or
\textMu\textalpha\"'\textiota\textomicron\textupsilon \or
- \>\textIota\textomicron\textupsilon\textnu
+ \accpsili\textIota\textomicron\textupsilon\textnu
\acctonos\textiota\textomicron\textupsilon \or
- \>\textIota\textomicron\textupsilon\textlambda
+ \accpsili\textIota\textomicron\textupsilon\textlambda
\acctonos\textiota\textomicron\textupsilon \or
- \textAlpha\>\textupsilon\textgamma\textomicron\acctonos
+ \textAlpha\accpsili\textupsilon\textgamma\textomicron\acctonos
\textupsilon\textsigma\texttau\textomicron\textupsilon \or
\textSigma\textepsilon\textpi\texttau\textepsilon\textmu\textbeta
\textrho\acctonos\textiota\textomicron\textupsilon \or
- \>\textOmicron\textkappa\texttau\textomega\textbeta
+ \accpsili\textOmicron\textkappa\texttau\textomega\textbeta
\textrho\acctonos\textiota\textomicron\textupsilon \or
\textNu\textomicron\textepsilon\textmu\textbeta
\textrho\acctonos\textiota\textomicron\textupsilon \or
@@ -1090,7 +1090,7 @@
% define ligatures for characters with diacritics. In order for this to
% work, some characters need to be considered as letters. These
% characters are |<|, |>|, |~|, |`|, |'|, |"| and
-% \verb=|=. Therefore their |\lccode| is changed when Greek is in
+% \verb=|=. Therefore, their |\lccode| is changed when Greek is in
% effect. In order to let |\uppercase| give correct results, the
% |\uccode| of these characters is set to a non-existing character
% to make them disappear. Of course not all characters are needed
@@ -1116,8 +1116,8 @@
\@ifl@aded{def}{lgrenc}{%
\begingroup
\@ifundefined{active@char\string!}{}{\catcode`!=12\relax}
- \catcode`\~=12
- \lccode`\!=`\~
+ \catcode`\~=12%
+ \lccode`\!=`\~%
\lowercase{\def\x{\endgroup
\def\greek@tilde{!}}\x}
% \end{macrocode}
@@ -1155,20 +1155,20 @@
\babel@savevariable{\lccode`\'}\lccode`\'=`\'%
\babel@savevariable{\lccode`\"}\lccode`\"=`\"%
% ``high bit characters'': set in a loop and correct exceptions
- \@tempcnta=128
+ \@tempcnta=128%
\@whilenum\@tempcnta<253\do{%
\babel@savevariable{\lccode\@tempcnta}\lccode\@tempcnta=\@tempcnta
\advance\@tempcnta\@ne
- }
+ }%
% Fix non-word characters:
- \lccode151=0
- \lccode155=0
- \lccode159=0
- \lccode199=0
+ \lccode151=0%
+ \lccode155=0%
+ \lccode159=0%
+ \lccode199=0%
% Fix capital letters:
- \lccode195=147 % GREEK LETTER DIGAMMA
- \lccode219=240 % GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
- \lccode223=244 % GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
+ \lccode195=147% GREEK LETTER DIGAMMA
+ \lccode219=240% GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
+ \lccode223=244% GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
}
\addto\extraspolutonikogreek{%
@@ -1177,7 +1177,7 @@
\babel@savevariable{\lccode`\>}\lccode`\>=`\>%
\babel@savevariable{\lccode`\~}\lccode`\~=`\~%
\babel@savevariable{\lccode`\|}\lccode`\|=`\|%
- \babel@savevariable{\lccode`\`}\lccode`\`=`\`
+ \babel@savevariable{\lccode`\`}\lccode`\`=`\`%
}
% \end{macrocode}
% And in order to get rid of all accents and breathings when a
@@ -1203,13 +1203,14 @@
% \begin{macrocode}
\addto\extrasgreek{%
\babel@savevariable{\uccode`\"}\uccode`\"=`\"%
- \babel@savevariable{\uccode`\'}\uccode`\'=159} %% 159 == ^^9f
+ \babel@savevariable{\uccode`\'}\uccode`\'=159% 159 == ^^9f
+ }
\addto\extraspolutonikogreek{%
\babel@savevariable{\uccode`\~}\uccode`\~=159%
\babel@savevariable{\uccode`\>}\uccode`\>=159%
\babel@savevariable{\uccode`\<}\uccode`\<=159%
\babel@savevariable{\uccode`\|}\uccode`\|=`\|%
- \babel@savevariable{\uccode`\`}\uccode`\`=159
+ \babel@savevariable{\uccode`\`}\uccode`\`=159%
}
% \end{macrocode}
% For this to work we make the character |^^9f| a shorthand that
diff --git a/Master/texmf-dist/tex/generic/babel-greek/greek.ldf b/Master/texmf-dist/tex/generic/babel-greek/greek.ldf
index 3c2c61da730..7771aeaf4f6 100644
--- a/Master/texmf-dist/tex/generic/babel-greek/greek.ldf
+++ b/Master/texmf-dist/tex/generic/babel-greek/greek.ldf
@@ -32,14 +32,14 @@
%% and covered by LPPL is defined by the unpacking script (babel-greek.ins)
%% which is part of the package.
\ProvidesLanguage{greek}
- [2014/07/20 v1.9 Greek support for the babel system]
+ [2014/09/18 v1.9b Greek support for the babel system]
%% File `babel-greek.dtx'
%% Greek language Definition File
%% Copyright © 1997, 2005 Apostolos Syropoulos, Johannes Braams
%% Copyright © 2013-2014 Günter Milde
%% Please report errors to: Günter Milde <milde@users.sf.net>
\LdfInit\CurrentOption{captions\CurrentOption}
-\gdef\CurrentOption{greek}%
+\gdef\CurrentOption{greek}
\ifx\l@greek\@undefined
\@nopatterns{greek}
\adddialect\l@greek 0\fi
@@ -99,7 +99,7 @@
\def\encodingdefault{\greekfontencoding}}
\ProvideTextCommandDefault{\ensuregreek}[1]{%
\leavevmode{\greekscript #1}}
-\AtBeginDocument{
+\AtBeginDocument{%
\@ifl@aded{def}{eu1enc}{\xdef\latinencoding{EU1}}{}% XeTeX
\@ifl@aded{def}{eu2enc}{\xdef\latinencoding{EU2}}{}% LuaTeX
}
@@ -169,22 +169,22 @@
}
\let\captionspolutonikogreek\captionsgreek
\addto\captionspolutonikogreek{%
- \def\refname{\>\textAlpha\textnu\textalpha
+ \def\refname{\accpsili\textAlpha\textnu\textalpha
\textphi\textomicron\textrho\accvaria\textepsilon\textfinalsigma}%
- \def\indexname{\textEpsilon\<\textupsilon\textrho\textepsilon
+ \def\indexname{\textEpsilon\accdasia\textupsilon\textrho\textepsilon
\texttau\acctonos\texteta\textrho\textiota\textomicron}%
\def\figurename{\textSigma\textchi\accperispomeni\texteta\textmu\textalpha}%
\def\headtoname{\textPi\textrho\accvaria\textomicron\textfinalsigma}%
\def\alsoname{\textbeta\textlambda\acctonos\textepsilon\textpi\textepsilon{}
- \>\textepsilon\textpi\acctonos\textiota\textsigma\texteta\textfinalsigma}%
- \def\proofname{\>\textAlpha\textpi\acctonos\textomicron
+ \accpsili\textepsilon\textpi\acctonos\textiota\textsigma\texteta\textfinalsigma}%
+ \def\proofname{\accpsili\textAlpha\textpi\acctonos\textomicron
\textdelta\textepsilon\textiota\textxi\texteta}%
}
\let\captionsancientgreek\captionsgreek
\addto\captionsancientgreek{%
\def\prefacename{\textPi\textrho\textomicron\textomicron\acctonos\textiota\textmu
\textiota\textomicron\textnu}%
- \def\refname{\>\textAlpha\textnu\textalpha\textphi\textomicron\textrho
+ \def\refname{\accpsili\textAlpha\textnu\textalpha\textphi\textomicron\textrho
\textalpha\accvaria\textiota}%
\def\abstractname{\textPi\textepsilon\textrho\acctonos\textiota\textlambda\texteta
\textpsi\textiota\textvarsigma}%
@@ -202,7 +202,7 @@
\def\listtablename{\textKappa\textalpha\texttau\acctonos\textalpha\textlambda
\textomicron\textgamma\textomicron\textvarsigma{}
\textpi\textiota\textnu\acctonos\textalpha\textkappa\textomega\textnu}%
- \def\indexname{\textEpsilon\<\textupsilon\textrho\textepsilon\texttau
+ \def\indexname{\textEpsilon\accdasia\textupsilon\textrho\textepsilon\texttau
\acctonos\texteta\textrho\textiota\textomicron\textnu}%
\def\figurename{\textSigma\textchi\accperispomeni\texteta\textmu\textalpha}%
\def\tablename{\textPi\acctonos\textiota\textnu\textalpha\textxi}%
@@ -213,10 +213,10 @@
\textomicron\acctonos\textiota\texteta\textsigma\textiota\textvarsigma}%
\def\headtoname{\textPi\textrho\accvaria\textomicron\textvarsigma}%
\def\pagename{\textSigma\textepsilon\textlambda\accvaria\textiota\textvarsigma}%
- \def\seename{\<`\textomicron\textrho\textalpha}%
- \def\alsoname{\<`\textomicron\textrho\textalpha{} \<\textomega\textsigma
+ \def\seename{\accdasiavaria\textomicron\textrho\textalpha}%
+ \def\alsoname{\accdasiavaria\textomicron\textrho\textalpha{} \accdasia\textomega\textsigma
\textalpha\acctonos\textupsilon\texttau\textomega\textvarsigma}%
- \def\proofname{\>\textAlpha\textpi\acctonos\textomicron\textdelta\textepsilon
+ \def\proofname{\accpsili\textAlpha\textpi\acctonos\textomicron\textdelta\textepsilon
\textiota\textxi\textiota\textvarsigma}%
\def\glossaryname{\textGamma\textlambda\textomega\textsigma\textsigma
\acctonos\textalpha\textrho\textiota\textomicron\textnu}%
@@ -251,24 +251,24 @@
\def\today{\number\day \space \gr@month\space \number\year}}
\def\gr@c@month{%
\ifcase\month\or
- \>\textIota\textalpha\textnu\textomicron\textupsilon\textalpha
+ \accpsili\textIota\textalpha\textnu\textomicron\textupsilon\textalpha
\textrho\acctonos\textiota\textomicron\textupsilon \or
\textPhi\textepsilon\textbeta\textrho\textomicron\textupsilon
\textalpha\textrho\acctonos\textiota\textomicron\textupsilon \or
\textMu\textalpha\textrho\texttau\acctonos\textiota\textomicron
\textupsilon \or
- \>\textAlpha\textpi\textrho\textiota\textlambda
+ \accpsili\textAlpha\textpi\textrho\textiota\textlambda
\acctonos\textiota\textomicron\textupsilon \or
\textMu\textalpha\"'\textiota\textomicron\textupsilon \or
- \>\textIota\textomicron\textupsilon\textnu
+ \accpsili\textIota\textomicron\textupsilon\textnu
\acctonos\textiota\textomicron\textupsilon \or
- \>\textIota\textomicron\textupsilon\textlambda
+ \accpsili\textIota\textomicron\textupsilon\textlambda
\acctonos\textiota\textomicron\textupsilon \or
- \textAlpha\>\textupsilon\textgamma\textomicron\acctonos
+ \textAlpha\accpsili\textupsilon\textgamma\textomicron\acctonos
\textupsilon\textsigma\texttau\textomicron\textupsilon \or
\textSigma\textepsilon\textpi\texttau\textepsilon\textmu\textbeta
\textrho\acctonos\textiota\textomicron\textupsilon \or
- \>\textOmicron\textkappa\texttau\textomega\textbeta
+ \accpsili\textOmicron\textkappa\texttau\textomega\textbeta
\textrho\acctonos\textiota\textomicron\textupsilon \or
\textNu\textomicron\textepsilon\textmu\textbeta
\textrho\acctonos\textiota\textomicron\textupsilon \or
@@ -362,8 +362,8 @@
\@ifl@aded{def}{lgrenc}{%
\begingroup
\@ifundefined{active@char\string!}{}{\catcode`!=12\relax}
- \catcode`\~=12
- \lccode`\!=`\~
+ \catcode`\~=12%
+ \lccode`\!=`\~%
\lowercase{\def\x{\endgroup
\def\greek@tilde{!}}\x}
\addto\extrasgreek{%
@@ -371,20 +371,20 @@
\babel@savevariable{\lccode`\'}\lccode`\'=`\'%
\babel@savevariable{\lccode`\"}\lccode`\"=`\"%
% ``high bit characters'': set in a loop and correct exceptions
- \@tempcnta=128
+ \@tempcnta=128%
\@whilenum\@tempcnta<253\do{%
\babel@savevariable{\lccode\@tempcnta}\lccode\@tempcnta=\@tempcnta
\advance\@tempcnta\@ne
- }
+ }%
% Fix non-word characters:
- \lccode151=0
- \lccode155=0
- \lccode159=0
- \lccode199=0
+ \lccode151=0%
+ \lccode155=0%
+ \lccode159=0%
+ \lccode199=0%
% Fix capital letters:
- \lccode195=147 % GREEK LETTER DIGAMMA
- \lccode219=240 % GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
- \lccode223=244 % GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
+ \lccode195=147% GREEK LETTER DIGAMMA
+ \lccode219=240% GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
+ \lccode223=244% GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
}
\addto\extraspolutonikogreek{%
@@ -393,17 +393,18 @@
\babel@savevariable{\lccode`\>}\lccode`\>=`\>%
\babel@savevariable{\lccode`\~}\lccode`\~=`\~%
\babel@savevariable{\lccode`\|}\lccode`\|=`\|%
- \babel@savevariable{\lccode`\`}\lccode`\`=`\`
+ \babel@savevariable{\lccode`\`}\lccode`\`=`\`%
}
\addto\extrasgreek{%
\babel@savevariable{\uccode`\"}\uccode`\"=`\"%
- \babel@savevariable{\uccode`\'}\uccode`\'=159} %% 159 == ^^9f
+ \babel@savevariable{\uccode`\'}\uccode`\'=159% 159 == ^^9f
+ }
\addto\extraspolutonikogreek{%
\babel@savevariable{\uccode`\~}\uccode`\~=159%
\babel@savevariable{\uccode`\>}\uccode`\>=159%
\babel@savevariable{\uccode`\<}\uccode`\<=159%
\babel@savevariable{\uccode`\|}\uccode`\|=`\|%
- \babel@savevariable{\uccode`\`}\uccode`\`=159
+ \babel@savevariable{\uccode`\`}\uccode`\`=159%
}
\@tempcnta=\lccode`\~
\lccode`\~=159