diff options
author | Karl Berry <karl@freefriends.org> | 2014-09-19 22:29:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-09-19 22:29:32 +0000 |
commit | 64986eb304bbf89af01c834d4bb33d3aa61264db (patch) | |
tree | 50ee77bd61cb5bc50b27ddd5c382c509105abaab /Master/texmf-dist/doc/generic/babel-greek/README | |
parent | 3b378d704d5d92df25314e52e0ce8cac217e9fd0 (diff) |
babel-greek (19sep14)
git-svn-id: svn://tug.org/texlive/trunk@35210 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/babel-greek/README')
-rw-r--r-- | Master/texmf-dist/doc/generic/babel-greek/README | 131 |
1 files changed, 96 insertions, 35 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 |