From 7b6f2d40e5ceee3427a6050b2f6b159fd03b002a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 7 Dec 2015 22:21:30 +0000 Subject: greek-fontenc (7dec15) git-svn-id: svn://tug.org/texlive/trunk@39040 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/greek-fontenc/README | 7 +- .../texmf-dist/doc/latex/greek-fontenc/README.html | 41 +- .../doc/latex/greek-fontenc/alphabeta-doc.pdf | Bin 431227 -> 430893 bytes .../doc/latex/greek-fontenc/diacritics.pdf | Bin 307647 -> 307868 bytes .../doc/latex/greek-fontenc/greekhyperref.pdf | Bin 221577 -> 220613 bytes .../doc/latex/greek-fontenc/lgrenc-test.pdf | Bin 307368 -> 307300 bytes .../doc/latex/greek-fontenc/lgrenc.def.html | 25 +- .../latex/greek-fontenc/test-active-semicolon.pdf | Bin 61231 -> 61231 bytes .../doc/latex/greek-fontenc/test-nameclashes.pdf | Bin 129449 -> 130123 bytes .../doc/latex/greek-fontenc/textalpha-doc.html | 1137 -------------------- .../doc/latex/greek-fontenc/textalpha-doc.pdf | Bin 470826 -> 471158 bytes 11 files changed, 53 insertions(+), 1157 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.html (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README b/Master/texmf-dist/doc/latex/greek-fontenc/README index ac269077d6e..9d7277ad53a 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/README +++ b/Master/texmf-dist/doc/latex/greek-fontenc/README @@ -61,11 +61,14 @@ News (from Apostolos Syropoulos’ xgreek_) in greek-euenc_, .. Do not convert ``\ypogegrammeni`` to ``\prosgegrammeni`` with ``\MakeUppercase``. +0.13.1 2015-12-07 Fix `rho with dasia bug`__ in lgrenc.def (Linus Romer). ====== =========== ========================================================== +__ http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and-also-psili-problem-with-accent-and-lgr-encodin + TeX files -=========== +========= ``_ `Common Greek font encoding definitions `_. @@ -467,7 +470,7 @@ as-is). http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt -.. _PyLit: http://repo.or.cz/pylit.git +.. _PyLit: http://pypi.python.org/pypi/pylit .. _reStructuredText: http://docutils.sourceforge.net/rst.html .. _Docutils: http://docutils.sourceforge.net/rst.html .. _TDS: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README.html b/Master/texmf-dist/doc/latex/greek-fontenc/README.html index d186fdc698b..48a3dbe087b 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/README.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/README.html @@ -10,7 +10,7 @@ /* Minimal style sheet for the HTML output of Docutils. */ /* */ /* :Author: Günter Milde, based on html4css1.css by David Goodger */ -/* :Id: $Id: minimal.css 7893 2015-05-11 15:38:58Z milde $ */ +/* :Id: $Id: minimal.css 7916 2015-09-11 15:20:14Z milde $ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -162,8 +162,19 @@ dl.option-list > dt { font-weight: normal; } span.option { white-space: nowrap; } /* Footnotes and Citations */ +dl.footnote.superscript > dd {margin-left: 1em; } +dl.footnote.brackets > dd {margin-left: 2em; } dl > dt.label { font-weight: normal; } -dt.label > span.fn-backref { margin: 0.2em; } +a.footnote-reference.brackets:before, +dt.label > span.brackets:before { content: "["; } +a.footnote-reference.brackets:after, +dt.label > span.brackets:after { content: "]"; } +a.footnote-reference.superscript, +dl.footnote.superscript > dt.label { + vertical-align: super; + font-size: smaller; +} +dt.label > span.fn-backref { margin-left: 0.2em; } dt.label > span.fn-backref > a { font-style: italic; } /* Line Blocks */ @@ -682,6 +693,10 @@ Documentation update.

Do not convert \ypogegrammeni to \prosgegrammeni with \MakeUppercase.

+

0.13.1

+

2015-12-07

+

Fix rho with dasia bug in lgrenc.def (Linus Romer).

+ @@ -714,7 +729,7 @@ independent of font encoding and TeX engine.

Requires euenc.

-

Literate source files were converted with PyLit to reStructuredText and +

Literate source files were converted with PyLit to reStructuredText and with Docutils to the HTML documentation.

@@ -797,7 +812,7 @@ hyphenation and other localizations (see \usepackage[LGR,T1]{fontenc}

Note that without textalpha or alphabeta, Greek text macros work -only if the current font encoding supports Greek. See [fntguide] for +only if the current font encoding supports Greek. See [fntguide] for details and lgrenc-test.tex for an example.

  • It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding @@ -820,7 +835,7 @@ Greek letters and symbols are also defined in the Unicode-based font encodings EU1 , EU2 and PU (hyperref).

    T7

    -

    The [encguide] reserves the name T7 for a Greek standard font encoding. +

    The [encguide] reserves the name T7 for a Greek standard font encoding. However, up to now, there is no agreement on an implementation because the restrictions for general text encodings are too severe for typesetting polytonic Greek.

    @@ -837,7 +852,7 @@ is facilitated by the [greek-usage], [teubner-doc], [cbfonts]).

    +font (see [greek-usage], [teubner-doc], [cbfonts]).

    A major drawback of the 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). @@ -849,7 +864,7 @@ Unicode (with XeTeX or LuaTeX).

    LGI

    The ‘Ibycus’ fonts from the package ibygrk implement an alternative -transliteration scheme (also explained in [babel-patch]). +transliteration scheme (also explained in [babel-patch]). It is currently not supported by greek-fontenc.

    The font encoding file lgienc.def from ibycus-babel provides a basic setup (without any LICR macros or composite definitions).

    @@ -1026,30 +1041,30 @@ from the uc Greek text in “LICR encoding” to a PDF-string (utf-8 encoded input is used as-is).

    -
    [fntguide]
    +
    fntguide

    LaTeX3 Project Team, LaTeX2ε font selection, 2005. http://mirror.ctan.org/macros/latex/doc/fntguide.pdf

    -
    [encguide]
    +
    encguide

    Frank Mittelbach, Robin Fairbairns, Werner Lemberg, LaTeX3 Project Team, LaTeX font encodings, 2006. http://mirror.ctan.org/macros/latex/doc/encguide.pdf

    -
    [greek-usage]
    +
    greek-usage

    Apostolos Syropoulos, Writing Greek with the greek option of the babel package, 1997. http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/babel/greek-usage.pdf

    -
    [cbfonts]
    +
    cbfonts

    Claudio Beccari, The CB Greek fonts, Εὔτυπον, τεῦχος № 21, 2008. http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf

    -
    [teubner-doc]
    +
    teubner-doc

    Claudio Beccari, teubner.sty An extension to the greek option of the babel package, 2011. http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf

    -
    [babel-patch]
    +
    babel-patch

    Werner Lemberg, Unicode support for the Greek LGR encoding Εὔτυπον, τεῦχος № 20, 2008. http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf

    diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf index 4e8295c0557..0ac312c898e 100644 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf and b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf index 4690e1f9418..fb28f97702a 100644 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf and b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf index da5e32998ba..643447168f0 100644 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf and b/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf index d04afdcb943..404c82491f0 100644 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf and b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html index 0cf32536e55..b9fa1b656d6 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html @@ -9,7 +9,7 @@ /* Minimal style sheet for the HTML output of Docutils. */ /* */ /* :Author: Günter Milde, based on html4css1.css by David Goodger */ -/* :Id: $Id: minimal.css 7893 2015-05-11 15:38:58Z milde $ */ +/* :Id: $Id: minimal.css 7916 2015-09-11 15:20:14Z milde $ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -161,8 +161,19 @@ dl.option-list > dt { font-weight: normal; } span.option { white-space: nowrap; } /* Footnotes and Citations */ +dl.footnote.superscript > dd {margin-left: 1em; } +dl.footnote.brackets > dd {margin-left: 2em; } dl > dt.label { font-weight: normal; } -dt.label > span.fn-backref { margin: 0.2em; } +a.footnote-reference.brackets:before, +dt.label > span.brackets:before { content: "["; } +a.footnote-reference.brackets:after, +dt.label > span.brackets:after { content: "]"; } +a.footnote-reference.superscript, +dl.footnote.superscript > dt.label { + vertical-align: super; + font-size: smaller; +} +dt.label > span.fn-backref { margin-left: 0.2em; } dt.label > span.fn-backref > a { font-style: italic; } /* Line Blocks */ @@ -728,6 +739,10 @@ package.

    2015-08-04

    Support for symbol variants.

    +

    0.13.1

    +

    2015-12-07

    +

    Fix rho with dasia bug (Linus Romer).

    +
    @@ -766,7 +781,7 @@ anyway.

    Identification

    \ProvidesFile{lgrenc.def}
    -[2015/08/08 v0.13 LGR Greek font encoding definitions]
    +[2015/12/07 v0.13.1 LGR Greek font encoding definitions]
     % Copyright © 2010 Günter Milde
     % This file is part of the "greek-fontenc" package.
     % It may be distributed and/or modified under the
    @@ -1264,8 +1279,8 @@ definitions.

    \DeclareTextComposite{\accdasiaoxia}{LGR}{\textomicron}{237} \DeclareTextComposite{\accpsilioxia}{LGR}{\textomicron}{238} \DeclareTextComposite{\accpsilivaria}{LGR}{\textomicron}{239} -\DeclareTextComposite{\accdasia}{LGR}{r}{251} -\DeclareTextComposite{\accpsili}{LGR}{r}{252}
    +\DeclareTextComposite{\accdasia}{LGR}{\textrho}{251} +\DeclareTextComposite{\accpsili}{LGR}{\textrho}{252}

    Capital letters with diacritics

    diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf index af13a37bbc6..5c8658630cd 100644 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf and b/Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.pdf index 0e68cf6d5eb..e7ef112d3bd 100644 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.pdf and b/Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.html b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.html deleted file mode 100644 index aa488357e4a..00000000000 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.html +++ /dev/null @@ -1,1137 +0,0 @@ - - - - - - - - - - -
    - - -

    documentclass{article} -usepackage{parskip} -usepackage{booktabs}

    -

    usepackage{lmodern} -usepackage{textcomp} -usepackage[LGR,T1]{fontenc}

    -

    % UTF8 input encoding for pdfTeX or LuaTeX in 8-bit compatibility mode: -% (XeTeX in compatibility mode would require xetex-inputenc.sty, which is not -% not at CTAN but on https://github.com/wspr/xetex-inputenc) -usepackage[utf8]{luainputenc}

    -

    usepackage[pdfencoding=auto,colorlinks=true]{hyperref} -usepackage{bookmark} -% hyperrefs PU encoding supports Greek LICR macros -DeclareTextCommand{ensuregreek}{PU}[1]{#1}

    -
    -
    usepackage[normalize-symbols, % comment option out to test error reporting
    -
    -

    keep-semicolon%

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 21)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    ]{textalpha}

    -
    -
    -

    begin{document}

    -

    title{The emph{textalpha} package} -author{Günter Milde} -maketitle

    -

    abstract{noindent -The emph{textalpha} package enables the use of Greek characters -in text independent of font encoding or TeX engine. Input is possible via -text commands (verb|textalpha| ldots -verb|textOmega|) or Unicode literalsfootnote{% -Requires emph{href{http://www.ctan.org/pkg/greek-inputenc}{greek-inputenc}} -or XeTeX/LuaTeX.}. -} -tableofcontents

    -

    section{Usage}

    -

    Load this package in the preamble of your document with -begin{verbatim}

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 43)

    -

    Unexpected indentation.

    -
    -
    -

    usepackage{textalpha}

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 44)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    end{verbatim} -eventually with options texttt{normalize-symbols} and/or -texttt{keep-semicolon} -.

    -

    If emph{textalpha} is loaded after the setup of Unicode fonts with the -href{http://www.ctan.org/pkg/fontspec}{emph{fontspec}} package under -LuaTeX and XeTeX, it provides a compatible interface for Greek in text mode.

    -

    See the source of this document url{textalpha-doc.tex} for a setup and -usage example, the literate source of the package -href{textalpha.sty.html}{textalpha.sty} for the implementation, and -href{greek-euenc-doc.pdf}{greek-euenc-doc.pdf} for -emph{Font setup for Greek with XeTeX/LuaTeX}.

    -

    subsection{option texttt{normalize-symbols}}

    -

    Mathematical notation uses variant shapes of some Greek letters as -additional symbols. There are separate code points for the symbol variants -in Unicode but not in the LGR font encoding used for Greek in 8-bit TeX. -TeX supports some of the variant shape symbols in mathematical mode -($theta|vartheta, phi|varphi, pi|varpi, rho|varrho, -epsilon|varepsilon$).

    -

    The variations have no syntactic meaning in Greek text and text fonts may -use the variant shapes in place of the “regular” ones as a stylistic choice. -However, some Greek texts in Unicode encoding use these GREEK -… SYMBOL characters in place of the corresponding GREEK LETTER … -characters.

    -

    The texttt{normalize-symbols} option merges letters and symbols to Greek -letters. This way, text copied from external sources can be compiled without -errors even if it contains GREEK SYMBOL characters in place of GREEK LETTERS: -begin{quote}

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 80)

    -

    Unexpected indentation.

    -
    -
    -

    This text uses both variants for beta (β|ϐ), theta (θ|ϑ), phi (φ|ϕ), pi -(π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon (ε|ϵ) in the LaTeX -source.

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 83)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    end{quote}

    -

    textbf{Attention}: Do not use this option in cases where the distinction -between the symbol variants may be important (e.g. in a mathematical or -scientific context). Try the emph{alphabeta} package with the -respective characters in math mode or use XeTeX/LuaTeX with Unicode fonts in -these cases.

    -

    This option is ignored with Unicode fonts.

    -

    subsection{texttt{keep-semicolon}}

    -

    LGR is no ``standard font encoding”. Latin characters and some other ASCII -symbols are mapped to Greek ``equivalents” if LGR is the active font -encoding. (See -href{http://mirrors.ctan.org/macros/latex/contrib/babel-contrib/greek/usage.pdf}{usage.pdf} -for a description of this Latin-Greek transliteration.)

    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 95); backlink

    -

    Inline literal start-string without end-string.

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 95); backlink

    -

    Inline literal start-string without end-string.

    -
    -

    Special care is required with the question mark characters: -begin{itemize}

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 103)

    -

    Unexpected indentation.

    -
    -
    -
    -
    item The LGR font encoding uses the Latin question mark as input for the
    -

    emph{erotimatiko} and maps the semicolon to a middle dot (emph{ano -teleia}).

    -
    -
    item The Unicode standard provides the code point 037E GREEK QUESTION MARK
    -

    but says character 003B SEMICOLON and not 037E is the preferred -character for a `Greek question mark’ (erotimatiko),

    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 107); backlink

    -

    Inline interpreted text or phrase reference start-string without end-string.

    -
    -
    -
    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 109)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    end{itemize} -As a result, only the deprecated character 037E GREEK QUESTION MARK works -with both, Xe/LuaTeX and 8-bit TeX.

    -

    The verb|textsemicolon| command inserts an emph{erotimatiko} in LGR and a -semicolon else (i.e. always a character that looks like a semicolon): -begin{quote}

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 116)

    -

    Unexpected indentation.

    -
    -
    -

    Latin (T1) atextsemicolon{} b, -Greek (LGR) ensuregreek{atextsemicolon{} b}

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 118)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    end{quote}

    -

    With the texttt{keep-semicolon} option, character 003B SEMICOLON can be used -for the emph{erotimatiko} also with LGR encoded fonts:

    -

    begin{center} -begin{tabular}{lll}

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 125)

    -

    Unexpected indentation.

    -
    -
    -

    Latin (T1) & Greek (LGR) & question mark character \ -midrule -Τί φήις; & ensuregreek{Τί φήις;} & 037E GREEK QUESTION MARK \ -Τί φήις; & ensuregreek{Τί φήις;} & 003B SEMICOLON \ -Τί φήις? & ensuregreek{Τί φήις?} & 003F QUESTION MARK \

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 130)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    end{tabular} -end{center}

    -

    This option is ignored with Unicode fonts.

    -

    section{Limitations label{sec:limitations}}

    -

    Because the internal font encoding switch interferes with other work behind -the scenes, kerning, diacritics and up/down-casing show problems if Greek -letters are used without explicit change of the font encoding.

    -

    These problems can be avoided by use of emph{babel} and the correct -language setting (greek), an explicit font encoding switch (e.g. -wrapping the Greek text in verb|ensuregreek|% -footnote{The texttt{textbackslash ensuregreek} macro ensures the argument

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 146)

    -

    Unexpected indentation.

    -
    -
    -

    is set in a font encoding supporting Greek. -% This can be used to fix these -% problems without adverse side-effects if the active font encoding is -% already LGR or Unicode. -},

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 151)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    or XeTeX/LuaTeX with Unicode fonts.

    -

    subsection{Diacritics}

    -

    Composition of diacritics (like verb|accdasiaacctonos| or verb|<’|) -fails in other font encodings. Long names (like \verb|accdasiaoxia|) work.

    -

    With LGR, pre-composed glyphs are chosen if available. In other font -encodings, accent macros do not select pre-composed characters. (The -difference is a sub-optimal placement of the accent and becomes obvious if -you drag-and-drop text from the PDF version of this document.):

    -
    -
    begin{quote}
    -

    ensuregreek{<’a accdasiaacctonos a accdasiaoxia a -accdasiaoxiatextalpha} (LGR) vs. accdasiaoxiatextalpha{} (T1).

    -
    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 167)

    -

    Definition list ends without a blank line; unexpected unindent.

    -
    -

    end{quote}

    -

    According to Greek typographical tradition, diacritics (except the -dialytika) are placed before capital letters in Titlecase and dropped in -UPPERCASE: -% -begin{quote}

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 174)

    -

    Unexpected indentation.

    -
    -
    -
    -
    ensuregreek{%
    -

    <{textalpha} >{textepsilon} “’{textiota} `>texteta{} -‘<{textomicron} ~<{textupsilon} ~>{textomega} -quad -<{textAlpha} >{textEpsilon} “{textIota} `>textEta{} -‘<{textOmicron} ~<{textUpsilon} ~>{textOmega} -quad -MakeUppercase{%

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 182)

    -

    Unexpected indentation.

    -
    -
    -

    <{textalpha} >{textepsilon} “’{textiota} `>texteta{} -‘<{textomicron} ~<{textupsilon} ~>{textomega}

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 184)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    }

    -
    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 185)

    -

    Definition list ends without a blank line; unexpected unindent.

    -
    -

    }

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 186)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    end{quote} -% -This fails for accent macros if the active font encoding is not LGR or -Unicode. Pre-composed literal Unicode characters are handled correctly: -begin{quote}

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 191)

    -

    Unexpected indentation.

    -
    -
    -

    ensuregreek{‘textAlpha/Ά} (LICR/Unicode in LGR) vs. -‘textAlpha/Ά (LICR/Unicode in T1).

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 193)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    end{quote}

    -

    The dialytika marks a emph{hiatus} (break-up of a diphthong). It must be -present in UPPERCASE even where it is redundant in lowercase (the hiatus can -also be marked by an accent on the first character of a diphthong). The -auto-hiatus feature works in LGR and Unicode font encodings only: -begin{quote}

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 200)

    -

    Unexpected indentation.

    -
    -
    -

    acctonostextalphatextupsilon{}, acctonostextepsilontextiota{} $mapsto$ -MakeUppercase{ensuregreek{

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 202)

    -

    Unexpected indentation.

    -
    -
    -

    acctonostextalphatextupsilon{}, acctonostextepsilontextiota{}

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 203)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    }} (LGR) vs. -MakeUppercase{

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 205)

    -

    Unexpected indentation.

    -
    -
    -

    acctonostextalphatextupsilon{}, acctonostextepsilontextiota{}%

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 206)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    } (T1)

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 207)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    end{quote}

    -

    Currently, the second vowel of the diphthong must be given as macro, not -Unicode literal if the auto-hiatus feature should work: -begin{quote} -ensuregreek{ἀtextupsilon{}πνία} $mapsto$ -ensuregreek{MakeUppercase{ensuregreek{ἀtextupsilon{}πνία}}} (LGR) vs. -ensuregreek{MakeUppercase{ensuregreek{ἀυπνία}}} (T1). -end{quote}

    -

    subsection{Kerning}

    -

    No kerning occurs between Greek characters in non-Greek text due to the -internal font encoding switch: compare -ensuregreek{textAlphatextUpsilontextAlpha} (LGR) to -textAlphatextUpsilontextAlpha (T1).

    -

    Compiling with LuaTeX provides kerning also over font encoding boundaries.

    -

    section{Test and Examples}

    -

    subsection{Greek alphabet}

    -

    Greek letters via Latin transcription in LGR font encoding:

    -
    -
    begin{quote}
    -

    ensuregreek{A B G D E Z H J I K L M N X O P R S T U F Q Y W}\ -ensuregreek{a b g d e z h j i k l m n x o p r sv c t u f q y w}

    -
    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 235)

    -

    Definition list ends without a blank line; unexpected unindent.

    -
    -

    end{quote}

    -

    Greek letters via default macros in other font encoding (here T1):

    -
    -
    begin{quote}
    -

    textAlpha{} textBeta{} textGamma{} textDelta{} textEpsilon{} -textZeta{} textEta{} textTheta{} textIota{} textKappa{} -textLambda{} textMu{} textNu{} textXi{} textOmicron{} textPi{} -textRho{} textSigma{} textTau{} textUpsilon{} textPhi{} -textChi{} textPsi{} textOmega{} -\ -textalpha{} textbeta{} textgamma{} textdelta{} textepsilon{} -textzeta{} texteta{} texttheta{} textiota{} textkappa{} -textlambda{} textmu{} textnu{} textxi{} textomicron{} textpi{} -textrho{} textsigma{} textvarsigma{} texttau{} textupsilon{} -textphi{} textchi{} textpsi{} textomega{}

    -
    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 251)

    -

    Definition list ends without a blank line; unexpected unindent.

    -
    -

    end{quote}

    -

    Archaic Greek letters and Greek punctuation

    -
    -
    begin{quote}
    -

    textDigamma -textanoteleia -textQoppa -textSampi -textStigma -textnumeralsigngreek -texterotimatiko -\ -textdigamma -textkoppa -textqoppa -textsampi -textstigma -textnumeralsignlowergreek -textvarstigma

    -
    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 271)

    -

    Definition list ends without a blank line; unexpected unindent.

    -
    -

    end{quote}

    -

    Diacritics

    -
    -
    begin{quote}
    -

    Symbol macros:% -footnote{Composite diacritics require wrapping in -texttt{textbackslash ensuregreek}.} -“{} ‘{} `{} ~{} <{} >{} u{} ={} -ensuregreek{“~{} “’{} “`{} <~{} <`{} <’{} >~{} >’{} >`{}}

    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 276); backlink

    -

    Inline interpreted text or phrase reference start-string without end-string.

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 276); backlink

    -

    Inline interpreted text or phrase reference start-string without end-string.

    -
    -

    Named macros: -accdialytika{} -acctonos{} -accvaria{} -accperispomeni{} -accdasia{} -accpsili{} -ypogegrammeni{} -prosgegrammeni{} -% -accdialytikaperispomeni{} -accdialytikatonos{} -accdialytikavaria{} -accdasiaperispomeni{} -accdasiavaria{} -accdasiaoxia{} -accpsiliperispomeni{} -accpsilioxia{} -accpsilivaria{} -% -accinvertedbrevebelow{} % == textsubarch{} -accbrevebelow{}

    -
    -
    -

    end{quote}

    -

    Accent macros can start with verb|a| instead of verb|| when the -short form is redefined, e.,g. inside a emph{tabbing} environment. -This also works for the new-defined Dasia and Psili shortcuts: -begin{quote}

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 312)

    -

    Unexpected indentation.

    -
    -
    -
    -
    begin{tabbing}
    -

    COL1quad = COL2quad = COL3quad = COL4quad \ -COL1 > > COL3 \ -Viele > Gra”uss e -> greekscript a<textalpha{} -> greekscript a>textomega

    -
    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 318)

    -

    Definition list ends without a blank line; unexpected unindent.

    -
    -

    end{tabbing}

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 319)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    end{quote}

    -

    subsection{Greek Unicode characters in non-Greek text}

    -

    With the emph{textalpha} package, -href{http://www.ctan.org/pkg/greek-inputenc}{greek-inputenc} and input -encoding texttt{utf8}, Greek Unicode characters can be used in text with -any font encoding. See Tables ref{tab:greek-and-coptic} and -ref{tab:greek-extended}.

    -

    Kerning is preserved if the font encoding is LGR: ensuregreek{AΫA}

    -

    begin{table}[tbp] -centerline{ -begin{tabular}{rrrrrrrrrrrrrrrrr} -toprule

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 336)

    -

    Unexpected indentation.

    -
    -
    -

    & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & C & D & E & F\

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 337)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    midrule -370 & * & * & * & * & ʹ & ͵ & * & * & & & ͺ & * & * & * & ; & \ -380 & & & & & ΄ & ΅ & Ά & · & Έ & Ή & Ί & & Ό & & Ύ & Ώ\ -390 & ΐ & Α & Β & Γ & Δ & Ε & Ζ & Η & Θ & Ι & Κ & Λ & Μ & Ν & Ξ & Ο\ -3A0 & Π & Ρ & & Σ & Τ & Υ & Φ & Χ & Ψ & Ω & Ϊ & Ϋ & ά & έ & ή & ί\ -3B0 & ΰ & α & β & γ & δ & ε & ζ & η & θ & ι & κ & λ & μ & ν & ξ & ο\ -3C0 & π & ρ & ς & σ & τ & υ & φ & χ & ψ & ω & ϊ & ϋ & ό & ύ & ώ & \ -3D0 & * & * & * & * & * & * & * & * & Ϙ & ϙ & Ϛ & ϛ & Ϝ & ϝ & * & ϟ\ -3E0 & Ϡ & ϡ & * & * & * & * & * & * & * & * & * & * & * & * & * & *\ -3F0 & * & * & * & * & * & * & * & * & * & * & * & * & * & * & * & *\ -bottomrule -end{tabular} -} % end centerline -caption{Greek and Coptic Unicode Block, input as literal Unicode

    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 337); backlink

    -

    Inline emphasis start-string without end-string.

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 337); backlink

    -

    Inline emphasis start-string without end-string.

    -
    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 351)

    -

    Unexpected indentation.

    -
    -
    -

    characters in T1 font encoding (legend: * glyph missing in LGR).}

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 352)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    label{tab:greek-and-coptic} -end{table}

    -

    begin{table}[tbp] -centerline{ -begin{tabular}{rrrrrrrrrrrrrrrrr} -toprule

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 360)

    -

    Unexpected indentation.

    -
    -
    -

    & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & C & D & E & F\

    -
    -
    -

    System Message: WARNING/2 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 361)

    -

    Block quote ends without a blank line; unexpected unindent.

    -
    -

    midrule -1F00 & ἀ & ἁ & ἂ & ἃ & ἄ & ἅ & ἆ & ἇ & Ἀ & Ἁ & Ἂ & Ἃ & Ἄ & Ἅ & Ἆ & Ἇ\ -1F10 & ἐ & ἑ & ἒ & ἓ & ἔ & ἕ & & & Ἐ & Ἑ & Ἒ & Ἓ & Ἔ & Ἕ & & \ -1F20 & ἠ & ἡ & ἢ & ἣ & ἤ & ἥ & ἦ & ἧ & Ἠ & Ἡ & Ἢ & Ἣ & Ἤ & Ἥ & Ἦ & Ἧ\ -1F30 & ἰ & ἱ & ἲ & ἳ & ἴ & ἵ & ἶ & ἷ & Ἰ & Ἱ & Ἲ & Ἳ & Ἴ & Ἵ & Ἶ & Ἷ\ -1F40 & ὀ & ὁ & ὂ & ὃ & ὄ & ὅ & & & Ὀ & Ὁ & Ὂ & Ὃ & Ὄ & Ὅ & & \ -1F50 & ὐ & ὑ & ὒ & ὓ & ὔ & ὕ & ὖ & ὗ & & Ὑ & & Ὓ & & Ὕ & & Ὗ\ -1F60 & ὠ & ὡ & ὢ & ὣ & ὤ & ὥ & ὦ & ὧ & Ὠ & Ὡ & Ὢ & Ὣ & Ὤ & Ὥ & Ὦ & Ὧ\ -1F70 & ὰ & ά & ὲ & έ & ὴ & ή & ὶ & ί & ὸ & ό & ὺ & ύ & ὼ & ώ & & \ -1F80 & ᾀ & ᾁ & ᾂ & ᾃ & ᾄ & ᾅ & ᾆ & ᾇ & ᾈ & ᾉ & ᾊ & ᾋ & ᾌ & ᾍ & ᾎ & ᾏ\ -1F90 & ᾐ & ᾑ & ᾒ & ᾓ & ᾔ & ᾕ & ᾖ & ᾗ & ᾘ & ᾙ & ᾚ & ᾛ & ᾜ & ᾝ & ᾞ & ᾟ\ -1FA0 & ᾠ & ᾡ & ᾢ & ᾣ & ᾤ & ᾥ & ᾦ & ᾧ & ᾨ & ᾩ & ᾪ & ᾫ & ᾬ & ᾭ & ᾮ & ᾯ\ -1FB0 & ᾰ & ᾱ & ᾲ & ᾳ & ᾴ & & ᾶ & ᾷ & Ᾰ & Ᾱ & Ὰ & Ά & ᾼ & ᾽ & ι & ᾿\ -1FC0 & ῀ & ῁ & ῂ & ῃ & ῄ & & ῆ & ῇ & Ὲ & Έ & Ὴ & Ή & ῌ & ῍ & ῎ & ῏\ -1FD0 & ῐ & ῑ & ῒ & ΐ & & & ῖ & ῗ & Ῐ & Ῑ & Ὶ & Ί & & ῝ & ῞ & ῟\ -1FE0 & ῠ & ῡ & ῢ & ΰ & ῤ & ῥ & ῦ & ῧ & Ῠ & Ῡ & Ὺ & Ύ & Ῥ & ῭ & ΅ & `\ -1FF0 & & & ῲ & ῳ & ῴ & & ῶ & ῷ & Ὸ & Ό & Ὼ & Ώ & ῼ & ´ & ῾ & \ -bottomrule -end{tabular} -} % end centerline -caption{Greek Extended Unicode Block, input as literal Unicode -characters in T1 font encoding.} -label{tab:greek-extended} -end{table}

    -

    Combined Diacritics work ᾅ, diacritics (except diaeresis) are dropped with -MakeUppercase (μαΐστρος $mapsto$ MakeUppercase{μαΐστρος}).

    -

    subsection{PDF strings}

    -

    With emph{textalpha} and -emph{href{http://www.ctan.org/pkg/greek-inputenc}{greek-inputenc}}, there -are two options to get Greek letters in PDF strings: LICR macros and literal -Unicode input.

    -
    -
    subsubsection{textlambdatextomicrontextgammatextomicrontextvarsigma{},
    -

    λογος and ensuregreek{logos}}

    -
    -
    -

    The subsection title above uses: LICR macros, Unicode input and the LGR -transcription for the Greek word ensuregreek{logos}. Check the table of -contents in the PDF viewer: LICR macros and Unicode literals work fine, the -Latin transcription remains Latin in the PDF metadata.

    -

    end{document}

    -
    -

    Docutils System Messages

    -
    -

    System Message: ERROR/3 (/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex, line 156); backlink

    -

    Undefined substitution referenced: ") fails in other font encodings. Long names (like verb".

    -
    -
    -
    - - diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf index 04bd33771f3..779d909a05a 100644 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf and b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf differ -- cgit v1.2.3