From 6a057b80e722d16245808902ad41f9586a4d8a89 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 7 May 2013 23:09:57 +0000 Subject: lgrx (7may13) git-svn-id: svn://tug.org/texlive/trunk@30320 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/lgrx/8-bit-greek.txt | 206 +++ Master/texmf-dist/doc/latex/lgrx/README | 55 +- Master/texmf-dist/doc/latex/lgrx/README.html | 193 +-- .../texmf-dist/doc/latex/lgrx/alphabeta-test.pdf | Bin 246359 -> 252870 bytes .../texmf-dist/doc/latex/lgrx/alphabeta-test.tex | 149 +- .../texmf-dist/doc/latex/lgrx/alphabeta.sty.html | 354 ++--- Master/texmf-dist/doc/latex/lgrx/diacritics.pdf | Bin 0 -> 257523 bytes Master/texmf-dist/doc/latex/lgrx/diacritics.tex | 183 +++ Master/texmf-dist/doc/latex/lgrx/greek-unicode.pdf | Bin 217070 -> 212317 bytes Master/texmf-dist/doc/latex/lgrx/greek-unicode.tex | 183 +-- Master/texmf-dist/doc/latex/lgrx/greekhyperref.pdf | Bin 217254 -> 224351 bytes Master/texmf-dist/doc/latex/lgrx/greekhyperref.tex | 17 +- Master/texmf-dist/doc/latex/lgrx/lgrenc.dfu.html | 609 +++++---- Master/texmf-dist/doc/latex/lgrx/lgrx.pdf | Bin 234913 -> 0 bytes Master/texmf-dist/doc/latex/lgrx/lgrx.tex | 176 --- Master/texmf-dist/doc/latex/lgrx/lgrxenc-test.pdf | Bin 176179 -> 234392 bytes Master/texmf-dist/doc/latex/lgrx/lgrxenc-test.tex | 48 +- Master/texmf-dist/doc/latex/lgrx/lgrxenc.def.html | 1440 +++++++++++--------- Master/texmf-dist/doc/latex/lgrx/lgrxenc.pdf | Bin 248350 -> 0 bytes Master/texmf-dist/doc/latex/lgrx/lgrxenc.tex | 176 --- .../texmf-dist/doc/latex/lgrx/textalpha-test.pdf | Bin 223016 -> 176862 bytes .../texmf-dist/doc/latex/lgrx/textalpha-test.tex | 148 +- .../texmf-dist/doc/latex/lgrx/textalpha.sty.html | 210 +-- Master/texmf-dist/tex/latex/lgrx/alphabeta.sty | 303 ++-- Master/texmf-dist/tex/latex/lgrx/lgrenc.dfu | 558 ++++---- Master/texmf-dist/tex/latex/lgrx/lgrxenc.def | 1310 ++++++++++-------- Master/texmf-dist/tex/latex/lgrx/textalpha.sty | 163 ++- 27 files changed, 3488 insertions(+), 2993 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/lgrx/8-bit-greek.txt create mode 100644 Master/texmf-dist/doc/latex/lgrx/diacritics.pdf create mode 100644 Master/texmf-dist/doc/latex/lgrx/diacritics.tex delete mode 100644 Master/texmf-dist/doc/latex/lgrx/lgrx.pdf delete mode 100644 Master/texmf-dist/doc/latex/lgrx/lgrx.tex delete mode 100644 Master/texmf-dist/doc/latex/lgrx/lgrxenc.pdf delete mode 100644 Master/texmf-dist/doc/latex/lgrx/lgrxenc.tex diff --git a/Master/texmf-dist/doc/latex/lgrx/8-bit-greek.txt b/Master/texmf-dist/doc/latex/lgrx/8-bit-greek.txt new file mode 100644 index 00000000000..6c137f02a01 --- /dev/null +++ b/Master/texmf-dist/doc/latex/lgrx/8-bit-greek.txt @@ -0,0 +1,206 @@ +Greek support for 8-bit (La)TeX +******************************* + +LaTeX Internal Character Representations for Greek +================================================== + +State of the art +---------------- + +Greek LICRs are defined/used by the packages + +:lgrx: lgrxenc.def, lgrenc.dfu, +:hyperref: puenc.def, +:ucs: uni3.def, uni31.def, +:xunicode: xunicode.sty +:textgreek: textgreek.sty, + +Currently, + +* there are incompatibilities between the definitions of archaic characters + and variants. + +* Babel and the EU2 encoding (eu2enc.def) miss Greek LICRs. + +* Only lgrx and ucs define LICRs for the "Extended Greek" Unicode block. + +Proposals +--------- + +* Agree on a common set of `LaTeX Internal Character Representations` (LICR) + for Greek characters of the "Greek and Coptic" and the "Extended Greek" + Unicode blocks. + +* Update "participating" packages/projects to support the common Greek LICRs. + + The general rule should be to generate the common set but accept + compatibility and convenience aliases. + +* Use LICRs instead of LGR specific transliteration for representation of + Greek characters in + + :babel: "Babel strings" in greek.ldf + :greek-inputenc: currently translates to LGR-specific Latin transliteration + +* Document the LICRs for use in external "to-LaTeX converters" and + LaTeX-generating programs (recode, LyX, Docutils, pandoc, Python codecs, + ...) + +CTAN organization +================= + +With the Babel version 3.8b, came some changes to the file organization: + + Babel language files are "outsourced" and are located in a separate + directory ... + + ... + + - Fonts are not strictly part of a language, so they are best placed in + the corresponding TeX tree. This includes not only tfm, vf, ps1, otf, mf + files and the like, but also fd ones. + + - Font and input encodings are usually best placed in the corresponding + tree, too, but sometimes they belong more naturally to the babel style. + Note you may also need to define a LICR. + + -- http://mirrors.ctan.org/macros/latex/required/babel/base/CONTRIB + + +CB-Font definition files +------------------------ + +The *.fd files now in babel-contrib/greek/ set up the CB-Fonts as CM and LM +substitute. They could move to the cb-complete package. +http://mirrors.ctan.org/macros/latex/contrib/babel-contrib/greek/greek.fdd + +Encodings +--------- + +Greek input and font encodings can be used independent from babel. +Currently, http://www.ctan.org/tex-archive/language/greek/encodings +is a link to greek-inputenc/ while the LGR font encoding is defined in +babel-contrib/greek and lgrx. + +I propose to change "language/greek/encodings" to a directory with the +subdirectories "greek-inputenc" and "greek-fontenc" + +The new package "greek-fontenc" should contain the LGR font definition file +"lgrenc.def", documentation and tests, replacing both lgrenc.def from Babel +and lgrxenc.def from lgrx. +In future, it may also hold a comprehensive font encoding definition for LGI +and (if this ever comes to live) T7. + +"greek-inputenc" should be updated to use LICRs and to include +"lgrenc.dfu" now in lgrx. + +Related packages +================ + +See also http://www.ctan.org/tex-archive/language/greek + +LICR and encodings +------------------ + +Babel http://www.ctan.org/pkg/babel + Multilingual support for Plain TeX or LaTeX + + "Since version 3.9b, Babel uses contributed configuration files that + provide the detail of what has to be done for each language." + +Babel-Greek http://www.ctan.org/tex-archive/macros/latex/contrib/babel-contrib/greek + Greek language support for babel + +lgrx http://www.ctan.org/pkg/lgrx + Greek text with the LGR font encoding + +greek-inputenc + Macintosh Greek encoding and ISO 8859-7 definition files for use + with inputenc. + +xunicode http://www.ctan.org/pkg/xunicode + Generate Unicode characters from accented glyphs + +EUenc http://www.ctan.org/pkg/euenc + Font encoding definitions for unicode fonts loaded by LaTeX in X∃TeX + or LuaTeX. The package provides two encodings: — EU1, designed for + use with X∃TeX, which the fontspec uses for unicode fonts which require + no macro-level processing for accents, and — EU2, which provides the + same facilities for use with LuaTeX. + +hyperref http://www.ctan.org/pkg/hyperref + handle cross-referencing commands in LaTeX to produce hypertext + links in the document + + +ucs http://www.ctan.org/pkg/ucs + Extended UTF-8 input encoding support for LaTeX + +textgreek + Upright greek letters in text + + +Fonts in LGR encoding +--------------------- + +Only fonts available in T1 (vector) format are listed. + + +CB Fonts http://www.ctan.org/pkg/cbgreek-complete + Complete set of Greek fonts matching CM + +Kerkis http://www.ctan.org/pkg/kerkis + Sans-serif Greek fonts to match the URW Bookman + +dejavu http://www.ctan.org/pkg/dejavu + LaTeX support for the DejaVu fonts + +Epigrafica http://www.ctan.org/pkg/epigrafica + Epigrafica is forked from the development of the MgOpen font + Cosmetica, which is a similar design to Optima and includes Greek. + +GFS fonts http://www.ctan.org/pkg/gfs + Fonts from The Greek Font Society + (Antonis Tsolomitis, George D. Matthiopoulos) + +txfontsb http://www.ctan.org/pkg/txfontsb + Extensions to txfonts, using GNU Freefont + +grkfinst http://www.ctan.org/pkg/grkfinst + + plug-in for fontinst, for installing Greek Type 1 fonts + + +Others +------ + +teubner http://www.ctan.org/pkg/teubner + Philological typesetting of classical Greek + +hyphenation + hyphenation-greek http://www.ctan.org/pkg/hyphenation-greek + elhyphen http://www.ctan.org/pkg/elhyphen + + + +Developers +========== + +Apostolos Syropoulos no longer works on/for 8-bit LaTeX. + +==================================================== ===================== +Alexej Kryukov grkfinst +Antonis Tsolomitis gfs +Claudio Beccari teubner +Dimitrios Filippou inputenc, hyphenation +Günter Milde lgrx +Heiko Oberdiek hyperref +Javier Bezos babel +Leonard Michlmayr textgreek +Pavel Farář dejavu +Ross Moore xunicode +Will Robertson EUENC +Elie Roux EUENC +Khaled Hosny EUENC +Wolfgang Jeltsch ucs +==================================================== ===================== diff --git a/Master/texmf-dist/doc/latex/lgrx/README b/Master/texmf-dist/doc/latex/lgrx/README index 302cf95bc23..dc5ffe8d41f 100644 --- a/Master/texmf-dist/doc/latex/lgrx/README +++ b/Master/texmf-dist/doc/latex/lgrx/README @@ -18,17 +18,16 @@ Greek text with the LGR font encoding for both, monotonic and polytonic Greek, independent of the `babel` package. - The bundle is available from CTAN__ and included in TeXLive - 2012. Development takes place at the Sourceforge__. + The bundle is available from CTAN__ and included in + TeXLive 2012. -__ http://www.ctan.org/tex-archive/macros/latex/contrib/lgrx -__ http://milde.users.sourceforge.net/LGR/ + __ http://www.ctan.org/pkg/lgrx .. Note:: The TeXLive 2012 pre-release contains the Unicode definition file ``lgrenc.dfu`` in the documentation instead of the TEXPATH. To enable - `Greek Unicode support`_, update via `tlmgr` or place a copy in the + `utf-8 support for Greek`_, update via `tlmgr` or place a copy in the TEXPATH «by hand». See http://tug.org/pipermail/tex-live/2012-June/031757.html @@ -54,7 +53,8 @@ LaTeX files: Documentation and test documents: .. class:: run-in - :``_: user documentation, source ``__ + :``_: `Greek diacritics with standard accent macros` + source ``__ :``_: `Greek script in PDF metadata`, source ``__ :``_: `Greek Unicode with lgrenc.dfu`, @@ -82,7 +82,7 @@ it up with fontspec_. Beware, that you must not use the ``greek`` or polyglossia_ provides Greek language support for XeLaTeX/LuaLaTeX. If you go this way, you don't need the lgrx bundle. -\*T7 +T7 ~~~~ The [encguide]_ reserves the name T7 for a Greek `standard font encoding`. @@ -104,6 +104,14 @@ transliteration. This enables simple input with a Latin keyboard. Characters with diacritics are selected by ligature definitions in the font (see [greek-usage]_, [teubner-doc]_, [cbfonts]_). +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 explicite +language-switch is required. This problem can only be solved via a +font-encoding comprising Latin and Greek like the hypothetic T7_ or Unicode +(with XeTeX or LuaTeX). + \*OT7 ~~~~~ @@ -190,21 +198,21 @@ with (8-bit) LaTeX in Greek as well as multi-lingual documents. Comprehensive font encoding definition file ------------------------------------------- -``lgrxenc.def`` is an alternative to the rudimentary LGR encoding -definition file [#fdf]_ ``lgrenc.def`` which comes with babel_'s Greek -support. It defines macros for Greek characters the LGR font encoding that -select pre-composed glyphs if possible and places the diacritics according -to Greek typesetting rules else. Combined accents can be specified as -backslash + transliteration (``\~>a``) or iteratively (``\~\>{a}``). +``lgrxenc.def`` is an alternative to the rudimentary LGR encoding definition +file [#fdf]_ ``lgrenc.def`` which comes with babel_'s Greek support. It +defines LICR macros for Greek characters that select pre-composed glyphs if +possible and places the diacritics according to Greek typesetting rules +else. Combined accents can be specified as backslash + transliteration +(``\~>a``) or iteratively (``\~\>{a}``). For usage and documentation see the literal source lgrxenc.def.html_, the -user manual lgrx.pdf_, and the test document lgrxenc-test.pdf_. +user manual diacritics.pdf_, and the test document lgrxenc-test.pdf_. .. [#fdf] See [fntguide_, section 5] for a definition of `encoding definition files`. -Greek Unicode support ---------------------- +UTF-8 support for Greek +----------------------- ``lgrenc.dfu`` provides standards-compatible UTF-8 support for Greek based on the comprehensive font encoding definitions. It is compatible with @@ -214,13 +222,12 @@ hyperref_ enabling Greek characters in PDF metadata without the need for See the literal source lgrenc.dfu.html_ and the test document greek-unicode.pdf_. -Macros for Greek in text ------------------------- +Text macros for Greek symbols +----------------------------- -``textalpha.sty`` defines ``\textalpha``, ``\textbeta`` ... macros for Greek -letters in text that work in any font encoding and alias macros for -compatibility with existing packages. With this package, Unicode input of -Greek letters works in any font encoding, too. +``textalpha.sty`` makes the ``\textalpha``, ``\textbeta`` ... macros as well +as the ``\ensuregreek`` command aviable in any font encoding. With this +package, Unicode input of Greek letters works in any font encoding, too. .. _limitations: @@ -234,11 +241,11 @@ However, in any font encoding except LGR: See the literal source textalpha.sty.html_ and textalpha-test.pdf_ for details on usage, limitations, and recommended workarounds. -Generic macros for Greek letters +Generic macros for Greek symbols -------------------------------- ``alphabeta.sty`` allows you to use ``\alpha``, ``\beta``, ... in both, text -and math. For this, the math macros are redefined with the help of +and math mode. For this, the math macros are redefined with the help of ``\TextOrMath`` from the standard package fixltx2e_. See the literal source alphabeta.sty.html_ and the test document diff --git a/Master/texmf-dist/doc/latex/lgrx/README.html b/Master/texmf-dist/doc/latex/lgrx/README.html index 38dd3d0d176..dfc362d30e4 100644 --- a/Master/texmf-dist/doc/latex/lgrx/README.html +++ b/Master/texmf-dist/doc/latex/lgrx/README.html @@ -3,14 +3,14 @@ - + Greek text with the LGR font encoding