diff options
author | Karl Berry <karl@freefriends.org> | 2019-07-11 21:00:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-07-11 21:00:51 +0000 |
commit | a6d3e6497bea05af6a7cfb51fefebdd46905125e (patch) | |
tree | 3b053ff7fc9892523585f75381d407bcd78d54e5 /Master/texmf-dist/doc | |
parent | 5938928a64aa39f0ba3e6219efaa13bea35eba4c (diff) |
greek-inputenc (11jul19)
git-svn-id: svn://tug.org/texlive/trunk@51612 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/README | 24 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/README.html | 135 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8-minimal.pdf | bin | 0 -> 279760 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8-minimal.tex | 434 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.pdf | bin | 369747 -> 329701 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.tex | 18 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/inputenc-iso-8859-7.pdf | bin | 0 -> 200825 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/inputenc-iso-8859-7.tex | 84 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/lgrenc.dfu.html | 142 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/test-iso-8859-7.pdf | bin | 25763 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/test-iso-8859-7.tex | 8 |
11 files changed, 705 insertions, 140 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/README b/Master/texmf-dist/doc/latex/greek-inputenc/README index cf0f3a141db..0e78de83f77 100644 --- a/Master/texmf-dist/doc/latex/greek-inputenc/README +++ b/Master/texmf-dist/doc/latex/greek-inputenc/README @@ -4,7 +4,7 @@ Greek input encoding definition files ************************************* :Author: Apostolos Syropoulos, Dimitrios Filippou, Günter Milde -:Date: 2015-08-07 +:Date: 2019-07-11 :Copyright: © 1999 Dimitrios Filippou, © 2000 Apostolos Syropoulos, © 2013 Günter Milde <milde@users.sf.net> @@ -32,7 +32,11 @@ News 1.5.1 2015-06-04 Fix definition of spacing diacritical characters in utf8.dfu. 1.6 2015-08-05 Fix output of accented characters with "textalpha" if the current font encoding is not LGR (wrap in \ensuregreek), - .. Map GREEK ... SYMBOL characters. +.. Map GREEK ... SYMBOL characters. +1.7 2019-07-11 Use LICR macros instead of transliteration and remove + ``\textbullet`` substitution character from iso-8859-7.def. + (Missing characters will now result in the standard + ``inputenc`` error message.) ===== ============ ============================================================= @@ -51,16 +55,16 @@ Files `<iso-8859-7.def>`_ Greek input encoding file for `ISO 8859-7`_ by Apostolos Syropoulos. - [#transliteration]_ `<macgreek.def>`_ Greek input encoding file for Macintosh (ELOT 823) by Dimitrios Filippou. [#transliteration]_ Test examples and output: - :utf-8: `<greek-utf8.tex>`_, `<greek-utf8.pdf>`_ (comprehensive example) - :iso 8859-7: `<test-iso-8859-7.tex>`_, `<test-iso-8859-7.pdf>`_ (basic test) - + :utf-8: `<greek-utf8.tex>`_, `<greek-utf8.pdf>`_ + (comprehensive example) + :iso 8859-7: `<inputenc-iso-8859-7.tex>`_, `<inputenc-iso-8859-7.pdf>`_ + (basic test) .. [#transliteration] Currently, these files translate to a Latin transcription particular to the LGR font encoding. Drawbacks include: @@ -127,6 +131,8 @@ Special care is also required with the **question mark characters**: As a result, only the deprecated character ``037E GREEK QUESTION MARK`` works with both, Xe/LuaTeX and 8-bit TeX. +Alternatively, the `textalpha` and `alphabeta` packages from greek-fontenc_ +can be loaded with the "keep-semicolon_" option. .. References ========== @@ -134,7 +140,7 @@ works with both, Xe/LuaTeX and 8-bit TeX. .. _ISO 8859-7: http://en.wikipedia.org/wiki/ISO/IEC_8859-7 .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt -.. _PyLit: http://pylit.berlios.de +.. _PyLit: http://repo.or.cz/pylit.git .. _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 @@ -146,4 +152,6 @@ works with both, Xe/LuaTeX and 8-bit TeX. .. _ibycus-babel: http://www.ctan.org/pkg/ibycus-babel .. _inputenc: http://www.ctan.org/pkg/inputenc .. _lgrx: http://www.ctan.org/pkg/lgrx -.. _usage.pdf: http://mirrors.ctan.org/macros/latex/contrib/babel-contrib/greek/usage.pdf +.. _usage.pdf: http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf +.. _keep-semicolon: + http://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html#keep-semicolon diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/README.html b/Master/texmf-dist/doc/latex/greek-inputenc/README.html index 11e2c57d5f5..c2830e89718 100644 --- a/Master/texmf-dist/doc/latex/greek-inputenc/README.html +++ b/Master/texmf-dist/doc/latex/greek-inputenc/README.html @@ -1,16 +1,19 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.13: http://docutils.sourceforge.net/" /> +<meta charset="utf-8"/> +<meta name="generator" content="Docutils 0.15b.dev: http://docutils.sourceforge.net/" /> <title>greek-inputenc</title> <meta name="author" content="Apostolos Syropoulos, Dimitrios Filippou, Günter Milde" /> +<meta name="dcterms.date" content="2019-07-11" /> +<meta name="dcterms.rights" content="© 1999 Dimitrios Filippou, © 2000 Apostolos Syropoulos, © 2013 Günter Milde <milde@users.sf.net>" /> +<link rel="schema.dcterms" href="http://purl.org/dc/terms/"> <style type="text/css"> /* 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$ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -29,10 +32,13 @@ /* .. _CSS2.1: http://www.w3.org/TR/CSS2 */ /* .. _validates: http://jigsaw.w3.org/css-validator/validator$link */ -/* Figure/table alignment */ -.align-left { text-align: left; } -.align-right { text-align: right; } -.align-center { clear: both; text-align: center;} +/* alignment of text and inline objects inside block objects*/ +.align-left { text-align: left; } +.align-right { text-align: right; } +.align-center { clear: both; text-align: center; } +.align-top { vertical-align: top; } +.align-middle { vertical-align: middle; } +.align-bottom { vertical-align: bottom; } /* titles */ h1.title, p.subtitle { @@ -100,9 +106,10 @@ dl.simple > dd, dl.compact > dd { /* Table of Contents */ div.topic.contents { margin: 0; } -ul.auto-toc { +div.topic.contents ul { list-style-type: none; - padding-left: 1.5em; } + padding-left: 1.5em; +} /* Enumerated Lists */ ol.arabic { list-style: decimal } @@ -162,8 +169,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 */ @@ -174,28 +192,34 @@ div.line-block div.line-block { margin-left: 40px; } -/* Images and Figures */ -img.align-left, +/* Figures, Images, and Tables */ .figure.align-left, -object.align-left { - display: block; +img.align-left, +object.align-left, +table.align-left { margin-right: auto; } -img.align-center, .figure.align-center, +img.align-center, object.align-center { + margin-left: auto; + margin-right: auto; display: block; +} +table.align-center { margin-left: auto; margin-right: auto; } -img.align-right, .figure.align-right, -object.align-right { - display: block; +img.align-right, +object.align-right, +table.align-right { margin-left: auto; } -/* reset inner alignment in figures */ -div.align-right { text-align: inherit } +/* reset inner alignment in figures and tables */ +/* div.align-left, div.align-center, div.align-right, */ +table.align-left, table.align-center, table.align-right +{ text-align: inherit } /* Admonitions and System Messages */ div.admonition, @@ -216,13 +240,14 @@ div.sidebar { } /* Text Blocks */ +blockquote, div.topic, pre.literal-block, pre.doctest-block, pre.math, pre.code { - margin-right: 40px; - margin-left: 40px; + margin-left: 1.5em; + margin-right: 1.5em } pre.code .ln { color: gray; } /* line numbers */ @@ -255,7 +280,7 @@ table.borderless td, table.borderless th { /* Rules for easy reading and pre-defined style variants. */ /* */ /* :Author: Günter Milde, based on html4css1.css by David Goodger */ -/* :Id: $Id: plain.css 7893 2015-05-11 15:38:58Z milde $ */ +/* :Id: $Id$ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -275,8 +300,8 @@ table.borderless td, table.borderless th { /* "page layout" */ body { - padding: 0 5%; - margin: 8px 0; + margin: 0; + background-color: #dbdbdb; } div.document { line-height:1.3; @@ -285,7 +310,9 @@ div.document { /* avoid long lines --> better reading */ /* OTOH: lines should not be too short because of missing hyphenation, */ max-width: 50em; + padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */ margin: auto; + background-color: white; } /* Sections */ @@ -319,9 +346,9 @@ dl > dd { /* Definition Lists */ -dl > dd p:first-child { margin-top: 0; } +dl > dd > p:first-child { margin-top: 0; } /* :last-child is not part of CSS 2.1 (introduced in CSS 3) */ -/* dl > dd p:last-child { margin-bottom: 0; } */ +dl > dd > p:last-child { margin-bottom: 0; } /* lists nested in definition lists */ /* :only-child is not part of CSS 2.1 (introduced in CSS 3) */ @@ -377,19 +404,9 @@ span.fn-backref { /* ============ */ /* Literal Blocks */ -pre.literal-block, pre.doctest-block, -pre.math, pre.code { - margin-left: 1.5em; - margin-right: 1.5em -} /* Block Quotes */ -blockquote, -div.topic { - margin-left: 1.5em; - margin-right: 1.5em -} blockquote > table, div.topic > table { margin-top: 0; @@ -406,6 +423,8 @@ div.topic p.attribution { /* th { vertical-align: bottom; } */ +table tr { text-align: left; } + /* "booktabs" style (no vertical lines) */ table.booktabs { border: 0; @@ -418,7 +437,6 @@ table.booktabs * { } table.booktabs th { border-bottom: thin solid; - text-align: left; } /* numbered tables (counter defined in div.document) */ @@ -448,16 +466,20 @@ dl.footnote { /* ~~~~~~~~~~~~~ */ /* Images and Figures */ -img.align-left, + +/* let content flow to the side of aligned images and figures */ .figure.align-left, +img.align-left, object.align-left { + display: block; clear: left; float: left; margin-right: 1em } -img.align-right, .figure.align-right, +img.align-right, object.align-right { + display: block; clear: right; float: right; margin-left: 1em @@ -479,6 +501,7 @@ div.sidebar { /* Code */ +pre.code { padding: 0.7ex } pre.code, code { background-color: #eeeeee } pre.code .ln { color: gray; } /* line numbers */ /* basic highlighting: for a complete scheme, see */ @@ -540,13 +563,12 @@ a { text-decoration: none; } <body> <div class="document" id="greek-inputenc"> <h1 class="title">greek-inputenc</h1> - <p class="subtitle" id="greek-input-encoding-definition-files">Greek input encoding definition files</p> <dl class="docinfo simple"> <dt class="author">Author</dt> <dd class="author"><p>Apostolos Syropoulos, Dimitrios Filippou, Günter Milde</p></dd> <dt class="date">Date</dt> -<dd class="date">2015-08-07</dd> +<dd class="date">2019-07-11</dd> <dt class="copyright">Copyright</dt> <dd class="copyright">© 1999 Dimitrios Filippou, © 2000 Apostolos Syropoulos, @@ -621,6 +643,13 @@ current font encoding is not LGR (wrap in ensuregreek),</p></td> <td></td> <td><p>Map GREEK … SYMBOL characters.</p></td> </tr> +<tr><td><p>1.7</p></td> +<td><p>2019-07-11</p></td> +<td><p>Use LICR macros instead of transliteration and remove +<span class="docutils literal">\textbullet</span> substitution character from iso-8859-7.def. +(Missing characters will now result in the standard +<span class="docutils literal">inputenc</span> error message.)</p></td> +</tr> </tbody> </table> </div> @@ -632,30 +661,30 @@ current font encoding is not LGR (wrap in ensuregreek),</p></td> symbols present in the LGR encoding.</p> <p>This file requires <span class="docutils literal">lgrenc.def</span> version 0.8.2 or newer from the <a class="reference external" href="http://www.ctan.org/pkg/greek-fontenc">greek-fontenc</a> package.</p> -<p>The literate source was converted with <a class="reference external" href="http://pylit.berlios.de">PyLit</a> to <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> and +<p>The literate source was converted with <a class="reference external" href="http://repo.or.cz/pylit.git">PyLit</a> to <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> and with <a class="reference external" href="http://docutils.sourceforge.net/rst.html">Docutils</a> to <a class="reference external" href="lgrenc.dfu.html">lgrenc.dfu.html</a>.</p> </dd> <dt><a class="reference external" href="iso-8859-7.def">iso-8859-7.def</a></dt> -<dd><p>Greek input encoding file for <a class="reference external" href="http://en.wikipedia.org/wiki/ISO/IEC_8859-7">ISO 8859-7</a> by Apostolos Syropoulos. -<a class="footnote-reference" href="#transliteration" id="id1">[1]</a></p> +<dd><p>Greek input encoding file for <a class="reference external" href="http://en.wikipedia.org/wiki/ISO/IEC_8859-7">ISO 8859-7</a> by Apostolos Syropoulos.</p> </dd> <dt><a class="reference external" href="macgreek.def">macgreek.def</a></dt> -<dd><p>Greek input encoding file for Macintosh (ELOT 823) by Dimitrios Filippou. -<a class="footnote-reference" href="#transliteration" id="id2">[1]</a></p> +<dd><p>Greek input encoding file for Macintosh (ELOT 823) by Dimitrios Filippou.<a class="footnote-reference superscript" href="#transliteration" id="id1">1</a></p> </dd> <dt>Test examples and output:</dt> <dd><dl class="field-list simple"> <dt>utf-8</dt> -<dd><p><a class="reference external" href="greek-utf8.tex">greek-utf8.tex</a>, <a class="reference external" href="greek-utf8.pdf">greek-utf8.pdf</a> (comprehensive example)</p> +<dd><p><a class="reference external" href="greek-utf8.tex">greek-utf8.tex</a>, <a class="reference external" href="greek-utf8.pdf">greek-utf8.pdf</a> +(comprehensive example)</p> </dd> <dt>iso 8859-7</dt> -<dd><p><a class="reference external" href="test-iso-8859-7.tex">test-iso-8859-7.tex</a>, <a class="reference external" href="test-iso-8859-7.pdf">test-iso-8859-7.pdf</a> (basic test)</p> +<dd><p><a class="reference external" href="inputenc-iso-8859-7.tex">inputenc-iso-8859-7.tex</a>, <a class="reference external" href="inputenc-iso-8859-7.pdf">inputenc-iso-8859-7.pdf</a> +(basic test)</p> </dd> </dl> </dd> </dl> -<dl class="footnote"> -<dt class="label" id="transliteration">[1]<span class="fn-backref">(<a href="#id1">1</a>,<a href="#id2">2</a>)</span></dt> +<dl class="footnote superscript"> +<dt class="label" id="transliteration"><span class="superscript"><a class="fn-backref" href="#id1">1</a></span></dt> <dd><p>Currently, these files translate to a Latin transcription particular to the LGR font encoding. Drawbacks include: Latin characters in PDF strings (<a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> bookmarks and TOC sidebar, cf. @@ -693,7 +722,7 @@ specify the LGR font encoding with <a class="reference external" href="http://ww <h2>Warning</h2> <p>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 <a class="reference external" href="http://mirrors.ctan.org/macros/latex/contrib/babel-contrib/greek/usage.pdf">usage.pdf</a> for a description of this Latin-Greek transliteration.)</p> +(See <a class="reference external" href="http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf">usage.pdf</a> for a description of this Latin-Greek transliteration.)</p> <p>This means you need an explicit font-encoding switch for Latin words and abbreviations in Greek text, e.g., not <span class="docutils literal"><span class="pre">\foreignlanguage{greek}{((ηία</span> αντίσταση <span class="pre">750-kΩ))}</span></span> @@ -707,6 +736,8 @@ Latin question mark is mapped to the erotimatiko.</p></li> </ul> <p>As a result, only the deprecated character <span class="docutils literal">037E GREEK QUESTION MARK</span> works with both, Xe/LuaTeX and 8-bit TeX.</p> +<p>Alternatively, the <cite>textalpha</cite> and <cite>alphabeta</cite> packages from <a class="reference external" href="http://www.ctan.org/pkg/greek-fontenc">greek-fontenc</a> +can be loaded with the “<a class="reference external" href="http://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html#keep-semicolon">keep-semicolon</a>” option.</p> <!-- References ========== --> </div> diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8-minimal.pdf b/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8-minimal.pdf Binary files differnew file mode 100644 index 00000000000..0f98820e984 --- /dev/null +++ b/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8-minimal.pdf diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8-minimal.tex b/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8-minimal.tex new file mode 100644 index 00000000000..f1cf51add53 --- /dev/null +++ b/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8-minimal.tex @@ -0,0 +1,434 @@ +\documentclass[a4paper]{article} +\usepackage[LGR,T1]{fontenc} +\usepackage[utf8]{inputenc} +% \usepackage{textalpha} +% \usepackage{alphabeta} +\usepackage{textcomp} +\usepackage[colorlinks]{hyperref} +\usepackage{bookmark} +% \usepackage{parskip} +\usepackage{booktabs} + +\usepackage{lmodern} +% \usepackage{kerkis} +% \usepackage{gfsdidot} + +% Greek utf8 definitions work with and without "Babel", +% with monotonic, polytonic, and ancient Greek variants. +% However, this document uses babel language switches, so it requires Babel: +\usepackage[greek,english]{babel} +% \languageattribute{greek}{polutoniko} +% \languageattribute{greek}{ancient} + +\begin{document} + +\section*{Greek Unicode with 8-bit TeX and \emph{inputenc}} + +\begin{abstract} + Small test of Unicode input for Greek letters. +\end{abstract} + +Without the "textalpha" or "alphabeta" packages, Greek Unicode characters +must be wrapped in \verb+\ensuregreek{}+, \verb+\textgreek{}+, or\\ +\verb+\foreignlanguage{greek}{}+ or follow the declarations +\verb+\greekscript+, \verb+\greektext+, or \verb+\setlanguage{greek}+ to set +the correct font encoding (LGR). + +\begin{quote} + \greekscript + Τί φήις; Ἱδὼν ἐνθέδε παῖδ’ ἐλευθέραν + τὰς πλησίον Νύμφας στεφανοῦσαν, Σώστρατε, + ἐρῶν άπῆλθες εὐθύς; +\end{quote} + +The MIKRO SIGN and OHM SIGN characters are set up by textcomp for +any font encoding: +\begin{quote} + With a a 50\,kΩ resistor, the current is 20\,µA. +\end{quote} +However, if the similar looking Greek Unicode characters are used, LGR is +required for GREEK CAPITAL LETTER OMEGA. On the other hand, GREEK SMALL +LETTER MU works in any font encoding because it translates to +\verb+\textmu+, the LICR also used by textcomp for the MICRO SIGN. +\begin{quote} + With a a 50\,k\ensuregreek{Ω} resistor, the current is 20\,μA. +\end{quote} + + +\section{Warning: unsafe ASCII input} + +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/language/babel/contrib/greek/usage.pdf}{usage.pdf} +for a description of this Latin-Greek transliteration.) + +This means you need an explicit language and/or font-encoding switch for +Latin words and abbreviations in Greek text, e.g., not +\foreignlanguage{greek}{((ηία αντίσταση 750-kΩ))} but +\foreignlanguage{greek}{((ηία αντίσταση 750-\textlatin{k}Ω))} + +Special care is also required with the question mark characters: +\begin{itemize} + \item The Unicode standard says: ``character 003B SEMICOLON, and not + 037E GREEK QUESTION MARK, is the preferred character for a `Greek + question mark' (erotimatiko)'', + \item The LGR font encoding maps a SEMICOLON to a middle dot (ano teleia), + while the Latin question mark ``?'' is mapped to the erotimatiko. +\end{itemize} +As a result, only the deprecated character 037E GREEK QUESTION MARK works +with both, Xe/LuaTeX and 8-bit TeX. + +With the \emph{textalpha} package's ``keep-semicolon'' option, the +SEMICOLON character can be used for the erotimatiko also with LGR encoded +fonts. + + +\section{Supported Characters} + +Unicode definitions exist for all non-ASCII characters that can be rendered +with an LGR-encoded font. + + +\subsection{Greek and Coptic} + +\greekscript +\begin{tabular}{rrrrrrrrrrrrrrrrr} +\toprule + & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & \textlatin C & D & E & F\\ +\midrule +\textlatin{370} & * & * & * & * & ʹ & ͵ & * & * & & & ͺ & * & * & * & ; & \\ +\textlatin{380} & & & & & ΄ & ΅ & Ά & · & Έ & Ή & Ί & & Ό & & Ύ & Ώ\\ +\textlatin{390} & ΐ & Α & Β & Γ & Δ & Ε & Ζ & Η & Θ & Ι & Κ & Λ & Μ & Ν & Ξ & Ο\\ +\textlatin{3A0} & Π & Ρ & & Σ & Τ & Υ & Φ & Χ & Ψ & Ω & Ϊ & Ϋ & ά & έ & ή & ί\\ +\textlatin{3B0} & ΰ & α & β & γ & δ & ε & ζ & η & θ & ι & κ & λ & μ & ν & ξ & ο\\ +\textlatin{3C0} & π & ρ & ς & σ & τ & υ & φ & χ & ψ & ω & ϊ & ϋ & ό & ύ & ώ & \\ +\textlatin{3D0} & * & * & * & * & * & * & * & * & Ϙ & ϙ & Ϛ & ϛ & Ϝ & ϝ & * & ϟ\\ +\textlatin{3E0} & Ϡ & ϡ & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\ +\textlatin{3F0} & * & * & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\ +\bottomrule +\end{tabular} +\latintext + +\noindent +legend: * glyph missing in LGR, [space] Unicode point not defined + + +\subsection{Greek Extended} + +\greekscript +\begin{tabular}{rrrrrrrrrrrrrrrrr} +\toprule + & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & \textlatin C & D & E & F\\ +\midrule +\textlatin{1F00} & ἀ & ἁ & ἂ & ἃ & ἄ & ἅ & ἆ & ἇ & Ἀ & Ἁ & Ἂ & Ἃ & Ἄ & Ἅ & Ἆ & Ἇ\\ +\textlatin{1F10} & ἐ & ἑ & ἒ & ἓ & ἔ & ἕ & & & Ἐ & Ἑ & Ἒ & Ἓ & Ἔ & Ἕ & & \\ +\textlatin{1F20} & ἠ & ἡ & ἢ & ἣ & ἤ & ἥ & ἦ & ἧ & Ἠ & Ἡ & Ἢ & Ἣ & Ἤ & Ἥ & Ἦ & Ἧ\\ +\textlatin{1F30} & ἰ & ἱ & ἲ & ἳ & ἴ & ἵ & ἶ & ἷ & Ἰ & Ἱ & Ἲ & Ἳ & Ἴ & Ἵ & Ἶ & Ἷ\\ +\textlatin{1F40} & ὀ & ὁ & ὂ & ὃ & ὄ & ὅ & & & Ὀ & Ὁ & Ὂ & Ὃ & Ὄ & Ὅ & & \\ +\textlatin{1F50} & ὐ & ὑ & ὒ & ὓ & ὔ & ὕ & ὖ & ὗ & & Ὑ & & Ὓ & & Ὕ & & Ὗ\\ +\textlatin{1F60} & ὠ & ὡ & ὢ & ὣ & ὤ & ὥ & ὦ & ὧ & Ὠ & Ὡ & Ὢ & Ὣ & Ὤ & Ὥ & Ὦ & Ὧ\\ +\textlatin{1F70} & ὰ & ά & ὲ & έ & ὴ & ή & ὶ & ί & ὸ & ό & ὺ & ύ & ὼ & ώ & & \\ +\textlatin{1F80} & ᾀ & ᾁ & ᾂ & ᾃ & ᾄ & ᾅ & ᾆ & ᾇ & ᾈ & ᾉ & ᾊ & ᾋ & ᾌ & ᾍ & ᾎ & ᾏ\\ +\textlatin{1F90} & ᾐ & ᾑ & ᾒ & ᾓ & ᾔ & ᾕ & ᾖ & ᾗ & ᾘ & ᾙ & ᾚ & ᾛ & ᾜ & ᾝ & ᾞ & ᾟ\\ +\textlatin{1FA0} & ᾠ & ᾡ & ᾢ & ᾣ & ᾤ & ᾥ & ᾦ & ᾧ & ᾨ & ᾩ & ᾪ & ᾫ & ᾬ & ᾭ & ᾮ & ᾯ\\ +\textlatin{1FB0} & ᾰ & ᾱ & ᾲ & ᾳ & ᾴ & & ᾶ & ᾷ & Ᾰ & Ᾱ & Ὰ & Ά & ᾼ & ᾽ & ι & ᾿\\ +\textlatin{1FC0} & ῀ & ῁ & ῂ & ῃ & ῄ & & ῆ & ῇ & Ὲ & Έ & Ὴ & Ή & ῌ & ῍ & ῎ & ῏\\ +\textlatin{1FD0} & ῐ & ῑ & ῒ & ΐ & & & ῖ & ῗ & Ῐ & Ῑ & Ὶ & Ί & & ῝ & ῞ & ῟\\ +\textlatin{1FE0} & ῠ & ῡ & ῢ & ΰ & ῤ & ῥ & ῦ & ῧ & Ῠ & Ῡ & Ὺ & Ύ & Ῥ & ῭ & ΅ & `\\ +\textlatin{1FF0} & & & ῲ & ῳ & ῴ & & ῶ & ῷ & Ὸ & Ό & Ὼ & Ώ & ῼ & ´ & ῾ & \\ +\bottomrule +\end{tabular} +\latintext + +\subsection{Other Unicode Blocks} + +\begin{description} + +\item [Latin-1 Supplement]: \ensuregreek{¨ « ¯ ´ · »} +\item [IPA Extensions]: \ensuregreek{ə} LATIN SMALL LETTER SCHWA +\item [Spacing Modifier Letters]: + \ensuregreek{˘a} (here followed by letter alpha) +\item [General Punctuation]: + \ensuregreek{– — ‘ ’ ‰} ZWNJ (zero width no joiner, prevents kerning + and ligatures, e.g. \ensuregreek{AU} vs. \ensuregreek{AU} and + \ensuregreek{'a} vs. \ensuregreek{'a}) +\item [Currency Symbols]: \ensuregreek{€} +\item [Letter-like Symbols]: Ω % OHM SIGN, preferred representation is 03A9 +\item [Ancient Greek Numbers]: \ensuregreek{ + 𐅄 % \textPiDelta{} % GREEK ACROPHONIC ATTIC FIFTY + 𐅅 % \textPiEta{} % GREEK ACROPHONIC ATTIC FIVE HUNDRED + 𐅆 % \textPiChi{} % GREEK ACROPHONIC ATTIC FIVE THOUSAND + 𐅇 % \textPiMu{} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND + } +\end{description} + +\newpage + +\section{Test up/downcasing} + +Capital Greek letters have diacritics (except the dialytika) to the left +(instead of above) and drop them in uppercase, e.g. +\foreignlanguage{greek}{μαΐστρος $\mapsto$ \MakeUppercase{μαΐστρος}}. + +Tonos and dasia on the first vowel of a diphthong (\ensuregreek{άι, άυ, έι}) +imply a \emph{hiatus}. A dialytika must be placed on the second +vowel if they are dropped (\ensuregreek{\MakeUppercase{\'ai, \'au, \'ei}}). + +The auto-hiatus feature in lgrxenc.def works with the Latin +transcription and with character-macros (% +\ensuregreek{\MakeUppercase{% + \'ai, + \'\textalpha \textupsilon, + \'\textepsilon \textiota +}}) +and also if the first character is wrapped in \verb+\ensuregreek+ (as done by +the lgrenc.dfu definition for accented characters) or a literal Unicode +character +(\ensuregreek{\MakeUppercase{% + \ensuregreek{\'\textalpha}\textiota, + ά\textupsilon, + ά\textiota +}}) +but not if the second character of the diphthong is a Unicode literal +(\ensuregreek{\MakeUppercase{% + \'\textalpha ι, + άυ, + \'\textepsilon ι +}}). + +Therefore, the diaresis is missing in the following examples: +\ensuregreek{άυλος $\mapsto$ \MakeUppercase{άυλος}, + ἄυλος $\mapsto$ \MakeUppercase{ἄυλος}, + μάινα $\mapsto$ \MakeUppercase{μάινα}, + κέικ, $\mapsto$ \MakeUppercase{κέικ}, + ἀυπνία $\mapsto$ \MakeUppercase{ἀυπνία}}. + +Fixing this shortcoming requires knowledge of what +\verb+\LGR@ifnextchar+ ``sees'' when the next character is an upcased +Unicode literal. + +As an ugly workaround, use \verb+\textiota+ resp. \verb+\textupsilon+ +for the character that should get the diaresis: +\ensuregreek{ἀ\textupsilon{}πνία $\mapsto$ \MakeUppercase{ἀ\textupsilon{}πνία}}. + + + +The following subsections test MakeUppercase and MakeLowercase with all +characters defined in lgrenc.dfu: + +\subsection{Greek and Coptic} + +\newcommand{\GreekAndCoptic}{ʹ͵ͺ; ΄ ΅Ά·ΈΉΊΌΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫϘϚϜϠ} +\newcommand{\greekandcoptic}{άέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώϙϛϝϟϡ} + +Characters of the Greek and Coptic Unicode Block: +\begin{quote} + \selectlanguage{greek} + \GreekAndCoptic\\ + \greekandcoptic +\end{quote} +MakeUppercase: +\begin{quote} + \selectlanguage{greek} + \MakeUppercase{\GreekAndCoptic}\\ + \MakeUppercase{\greekandcoptic} +\end{quote} +Letters and ypogegrammeni upcased, tonos dropped, dialytika kept. + +There is no capital Koppa in LGR, therefore \ensuregreek{ϟ} is left unchanged +with MakeUppercase. + + +MakeLowercase: + +\begin{quote} + \selectlanguage{greek} + \MakeLowercase{\GreekAndCoptic}\\ + \MakeLowercase{\greekandcoptic} +\end{quote} + +The lowercase of \ensuregreek{Σ} is the «auto-sigma» (\verb+\textautosigma+): +\ensuregreek{ΣΣ $\mapsto$ \MakeLowercase{ΣΣ}}. Add a ZWNJ or use the +\verb+\noboundary+ macro to prevent conversion to final sigma: +\ensuregreek{\MakeLowercase{ΣΣ}}. The lowercase of GREEK LETTER STIGMA +\ensuregreek{Ϛ} is \ensuregreek{\MakeLowercase{Ϛ}}. + + +\subsection{Greek extended} + +MakeUppercase: + +\selectlanguage{greek} + +\MakeUppercase{ ἀ ἁ ἂ ἃ ἄ ἅ ἆ ἇ Ἀ Ἁ Ἂ Ἃ Ἄ Ἅ Ἆ Ἇ }\\ +\MakeUppercase{ ἐ ἑ ἒ ἓ ἔ ἕ Ἐ Ἑ Ἒ Ἓ Ἔ Ἕ }\\ +\MakeUppercase{ ἠ ἡ ἢ ἣ ἤ ἥ ἦ ἧ Ἠ Ἡ Ἢ Ἣ Ἤ Ἥ Ἦ Ἧ }\\ +\MakeUppercase{ ἰ ἱ ἲ ἳ ἴ ἵ ἶ ἷ Ἰ Ἱ Ἲ Ἳ Ἴ Ἵ Ἶ Ἷ }\\ +\MakeUppercase{ ὀ ὁ ὂ ὃ ὄ ὅ Ὀ Ὁ Ὂ Ὃ Ὄ Ὅ }\\ +\MakeUppercase{ ὐ ὑ ὒ ὓ ὔ ὕ ὖ ὗ Ὑ Ὓ Ὕ Ὗ }\\ +\MakeUppercase{ ὠ ὡ ὢ ὣ ὤ ὥ ὦ ὧ Ὠ Ὡ Ὢ Ὣ Ὤ Ὥ Ὦ Ὧ }\\ +\MakeUppercase{ ὰ ά ὲ έ ὴ ή ὶ ί ὸ ό ὺ ύ ὼ ώ }\\ +\MakeUppercase{ ᾀ ᾁ ᾂ ᾃ ᾄ ᾅ ᾆ ᾇ ᾈ ᾉ ᾊ ᾋ ᾌ ᾍ ᾎ ᾏ }\\ +\MakeUppercase{ ᾐ ᾑ ᾒ ᾓ ᾔ ᾕ ᾖ ᾗ ᾘ ᾙ ᾚ ᾛ ᾜ ᾝ ᾞ ᾟ }\\ +\MakeUppercase{ ᾠ ᾡ ᾢ ᾣ ᾤ ᾥ ᾦ ᾧ ᾨ ᾩ ᾪ ᾫ ᾬ ᾭ ᾮ ᾯ }\\ +\MakeUppercase{ ᾰ ᾱ ᾲ ᾳ ᾴ ᾶ ᾷ Ᾰ Ᾱ Ὰ Ά ᾼ ᾽ ι ᾿ }\\ +\MakeUppercase{ ῀ ῁ ῂ ῃ ῄ ῆ ῇ Ὲ Έ Ὴ Ή ῌ ῍ ῎ ῏ }\\ +\MakeUppercase{ ῐ ῑ ῒ ΐ ῖ ῗ Ῐ Ῑ Ὶ Ί ῝ ῞ ῟ }\\ +\MakeUppercase{ ῠ ῡ ῢ ΰ ῤ ῥ ῦ ῧ Ῠ Ῡ Ὺ Ύ Ῥ ῭ ΅ ` }\\ +\MakeUppercase{ ῲ ῳ ῴ ῶ ῷ Ὸ Ό Ὼ Ώ ῼ ´ ῾ } +\selectlanguage{english} + +MakeLowercase: + +\selectlanguage{greek} +\MakeLowercase{ ἀ ἁ ἂ ἃ ἄ ἅ ἆ ἇ Ἀ Ἁ Ἂ Ἃ Ἄ Ἅ Ἆ Ἇ }\\ +\MakeLowercase{ ἐ ἑ ἒ ἓ ἔ ἕ Ἐ Ἑ Ἒ Ἓ Ἔ Ἕ }\\ +\MakeLowercase{ ἠ ἡ ἢ ἣ ἤ ἥ ἦ ἧ Ἠ Ἡ Ἢ Ἣ Ἤ Ἥ Ἦ Ἧ }\\ +\MakeLowercase{ ἰ ἱ ἲ ἳ ἴ ἵ ἶ ἷ Ἰ Ἱ Ἲ Ἳ Ἴ Ἵ Ἶ Ἷ }\\ +\MakeLowercase{ ὀ ὁ ὂ ὃ ὄ ὅ Ὀ Ὁ Ὂ Ὃ Ὄ Ὅ }\\ +\MakeLowercase{ ὐ ὑ ὒ ὓ ὔ ὕ ὖ ὗ Ὑ Ὓ Ὕ Ὗ }\\ +\MakeLowercase{ ὠ ὡ ὢ ὣ ὤ ὥ ὦ ὧ Ὠ Ὡ Ὢ Ὣ Ὤ Ὥ Ὦ Ὧ }\\ +\MakeLowercase{ ὰ ά ὲ έ ὴ ή ὶ ί ὸ ό ὺ ύ ὼ ώ }\\ +\MakeLowercase{ ᾀ ᾁ ᾂ ᾃ ᾄ ᾅ ᾆ ᾇ ᾈ ᾉ ᾊ ᾋ ᾌ ᾍ ᾎ ᾏ }\\ +\MakeLowercase{ ᾐ ᾑ ᾒ ᾓ ᾔ ᾕ ᾖ ᾗ ᾘ ᾙ ᾚ ᾛ ᾜ ᾝ ᾞ ᾟ }\\ +\MakeLowercase{ ᾠ ᾡ ᾢ ᾣ ᾤ ᾥ ᾦ ᾧ ᾨ ᾩ ᾪ ᾫ ᾬ ᾭ ᾮ ᾯ }\\ +\MakeLowercase{ ᾰ ᾱ ᾲ ᾳ ᾴ ᾶ ᾷ Ᾰ Ᾱ Ὰ Ά ᾼ ᾽ ι ᾿ }\\ +\MakeLowercase{ ῀ ῁ ῂ ῃ ῄ ῆ ῇ Ὲ Έ Ὴ Ή ῌ ῍ ῎ ῏ }\\ +\MakeLowercase{ ῐ ῑ ῒ ΐ ῖ ῗ Ῐ Ῑ Ὶ Ί ῝ ῞ ῟ }\\ +\MakeLowercase{ ῠ ῡ ῢ ΰ ῤ ῥ ῦ ῧ Ῠ Ῡ Ὺ Ύ Ῥ ῭ ΅ ` }\\ +\MakeLowercase{ ῲ ῳ ῴ ῶ ῷ Ὸ Ό Ὼ Ώ ῼ ´ ῾ } + +\textlatin{Test the iota subscript:} +\textAlpha\prosgegrammeni ᾼ Α\prosgegrammeni ᾈ Ἀ\prosgegrammeni +\MakeLowercase{\textAlpha\prosgegrammeni ᾼ Α\prosgegrammeni ᾈ + Ἀ\prosgegrammeni} + +\textAlpha\ypogegrammeni ᾼ Α\ypogegrammeni ᾈ Ἀ\ypogegrammeni +\MakeLowercase{\textAlpha\ypogegrammeni ᾼ Α\ypogegrammeni ᾈ + Ἀ\ypogegrammeni} +\MakeUppercase{\textAlpha\ypogegrammeni ᾼ Α\ypogegrammeni ᾈ + Ἀ\ypogegrammeni} + +\selectlanguage{english} + + +\subsection{Other Unicode Blocks} + +MakeUppercase does not change non-letter symbols and the letter shwa +(there is a capital Cyrillic schwa in T2A encoded fonts): +\begin{quote} + \greekscript + \MakeUppercase{¨ « ¯ ´ · »} + \MakeUppercase{ə} + \MakeUppercase{˘a} + \MakeUppercase{– — ‘ ’ ‰ au} + \MakeUppercase{€} + % \MakeUppercase{Ω} + \MakeUppercase{ + 𐅄 % GREEK ACROPHONIC ATTIC FIFTY + 𐅅 % GREEK ACROPHONIC ATTIC FIVE HUNDRED + 𐅆 % GREEK ACROPHONIC ATTIC FIVE THOUSAND + 𐅇 % GREEK ACROPHONIC ATTIC FIFTY THOUSAND + } +\end{quote} +MakeLowercase does not change non-letter symbols either: +\begin{quote} + \greekscript + \MakeLowercase{¨ « ¯ ´ · »} + \MakeLowercase{ə} + \MakeLowercase{˘A} + \MakeLowercase{– — ‘ ’ ‰ AU} + \MakeLowercase{€} + % \MakeLowercase{Ω} + \MakeLowercase{ + 𐅄 % GREEK ACROPHONIC ATTIC FIFTY + 𐅅 % GREEK ACROPHONIC ATTIC FIVE HUNDRED + 𐅆 % GREEK ACROPHONIC ATTIC FIVE THOUSAND + 𐅇 % GREEK ACROPHONIC ATTIC FIFTY THOUSAND + } +\end{quote} + +\section{Test kerning/ligatures} + + +check for kerning and unwanted ligatures: + +\begin{quote} + \greekscript + +Αἀα Αἁα Αἂα Αἃα Αἄα Αἅα Αἆα Αἇα ΑἈα ΑἉα ΑἊα ΑἋα ΑἌα ΑἍα ΑἎα ΑἏα + +Αἐα Αἑα Αἒα Αἓα Αἔα Αἕα ΑἘα ΑἙα ΑἚα ΑἛα ΑἜα ΑἝα + +Αἠα Αἡα Αἢα Αἣα Αἤα Αἥα Αἦα Αἧα ΑἨα ΑἩα ΑἪα ΑἫα ΑἬα ΑἭα ΑἮα ΑἯα + +Αἰα Αἱα Αἲα Αἳα Αἴα Αἵα Αἶα Αἷα ΑἸα ΑἹα ΑἺα ΑἻα ΑἼα ΑἽα ΑἾα ΑἿα + +Αὀα Αὁα Αὂα Αὃα Αὄα Αὅα ΑὈα ΑὉα ΑὊα ΑὋα ΑὌα ΑὍα + +Αὐα Αὑα Αὒα Αὓα Αὔα Αὕα Αὖα Αὗα ΑὙα ΑὛα ΑὝα ΑὟα + +Αὠα Αὡα Αὢα Αὣα Αὤα Αὥα Αὦα Αὧα ΑὨα ΑὩα ΑὪα ΑὫα ΑὬα ΑὭα ΑὮα ΑὯα + +Αὰα Αάα Αὲα Αέα Αὴα Αήα Αὶα Αία Αὸα Αόα Αὺα Αύα Αὼα Αώα + +Αᾀα Αᾁα Αᾂα Αᾃα Αᾄα Αᾅα Αᾆα Αᾇα Αᾈα Αᾉα Αᾊα Αᾋα Αᾌα Αᾍα Αᾎα Αᾏα + +Αᾐα Αᾑα Αᾒα Αᾓα Αᾔα Αᾕα Αᾖα Αᾗα Αᾘα Αᾙα Αᾚα Αᾛα Αᾜα Αᾝα Αᾞα Αᾟα + +Αᾠα Αᾡα Αᾢα Αᾣα Αᾤα Αᾥα Αᾦα Αᾧα Αᾨα Αᾩα Αᾪα Αᾫα Αᾬα Αᾭα Αᾮα Αᾯα + +Αᾰα Αᾱα Αᾲα Αᾳα Αᾴα Αᾶα Αᾷα ΑᾸα ΑᾹα ΑᾺα ΑΆα Αᾼα Α᾽α Αια Α᾿α + +Α῀α Α῁α Αῂα Αῃα Αῄα Αῆα Αῇα ΑῈα ΑΈα ΑῊα ΑΉα Αῌα Α῍α Α῎α Α῏α + +Αῐα Αῑα Αῒα Αΐα Αῖα Αῗα ΑῘα ΑῙα ΑῚα ΑΊα Α῝α Α῞α Α῟α + +Αῠα Αῡα Αῢα Αΰα Αῤα Αῥα Αῦα Αῧα ΑῨα ΑῩα ΑῪα ΑΎα ΑῬα Α῭α Α΅α Α`α + +Αῲα Αῳα Αῴα Αῶα Αῷα ΑῸα ΑΌα ΑῺα ΑΏα Αῼα Α´α Α῾α + +\end{quote} + +\end{document} + + +Problems with text-extraction from PDF with Kerkis: + + 0 1 2 3 4 5 6 7 8 9 A B C D E F +370 * * * * ΄ ͵ * * ι * * * ; +380 ΄ ΅ ΄Α ΄Ε ΄Η ΄Ι ΄Ο ΄Υ ΄Ω +390 ΐ Α Β Γ ∆ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο +3Α0 Π Ρ Σ Τ Υ Φ Χ Ψ Ω Ϊ Ϋ ά έ ή ί +3Β0 ΰ α ϐ γ δ ε Ϲ η ϑ ι κ λ µ ν ξ ο +3῝0 π ϱ ς σ τ υ ϕ χ ψ ω ϊ ϋ ό ύ ώ +3∆0 * * * * * * * * Ϟ Ϝ ϝ Ϝ ϝ * ϟ +3Ε0 ϡ * * * * * * * * * * * * * * +3Φ0 * * * * * * * * * * * * * * * * + + +0387 GREEK ANO TELEIA missing +03B6 zeta replaced by 03F9 GREEK CAPITAL LUNATE SIGMA SYMBOL +03B8 GREEK SMALL LETTER THETA replaced by 03D1 GREEK THETA SYMBOL +03C1 GREEK SMALL LETTER RHO replaced by 03F1 GREEK RHO SYMBOL +03C6 GREEK SMALL LETTER PHI replaced by 03D5 GREEK PHI SYMBOL + + +and GFS Didot: + + 0 1 2 3 4 5 6 7 8 9 A B C D E F +370 * * * * ´ ͵ * * ι * * * ; +380 ´ ῆ Α + ´ ´ ´Ε ´Η ´Ι ´Ο ´Υ ´Ω +390 ῆ ´ι Α Β Γ ∆ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο +3Α0 Π Ρ Σ Τ Υ Φ Χ Ψ Ω ῆ + Ι ῆ + Υ ά έ ή ί +3Β0 ῆ ´υ α β γ δ ε ζ η ϑ ι κ λ μ ν ξ ο + 3῝0 π ρ ς σ τ υ φ χ ψ ω ι + ῆ υ + ῆ ό ύ ώ +3∆0 * * * * * * * * Ϛ Ϝ Ϝ * Ϟ +3Ε0 * * * * * * * * * * * * * * +3Φ0 * * * * * * * * * * * * * * * * diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.pdf b/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.pdf Binary files differindex d0ba64493b0..60ed5862287 100644 --- a/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.pdf +++ b/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.pdf diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.tex b/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.tex index 959c5b1bcc4..e5c454e8f81 100644 --- a/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.tex +++ b/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.tex @@ -1,4 +1,4 @@ -\documentclass[a4paper]{article} +\documentclass[a4paper]{scrartcl} \usepackage{cmap} % fix search and cut-and-paste in Acrobat Reader \usepackage[LGR,T1]{fontenc} \usepackage[utf8]{inputenc} @@ -27,10 +27,12 @@ \author{Günter Milde} \maketitle -\abstract{ The definitions in \texttt{lgrenc.dfu} provide UTF-8 support for +\begin{abstract} +The definitions in \texttt{lgrenc.dfu} provide UTF-8 support for the Greek script based on \emph{inputenc} and the \emph{LaTeX internal character representation} macros (LICRs) defined in the \emph{greek-fontenc} package. +\end{abstract} \section{Requirements} @@ -137,7 +139,7 @@ Greek Unicode literals can also be used in math mode: 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} +\href{http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf}{usage.pdf} for a description of this Latin-Greek transliteration.) This means you need an explicit language and/or font-encoding switch for @@ -176,7 +178,6 @@ with an LGR-encoded font. \subsection{Greek and Coptic} -\centerline{ \begin{tabular}{rrrrrrrrrrrrrrrrr} \toprule & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & \textlatin C & D & E & F\\ @@ -192,14 +193,13 @@ with an LGR-encoded font. \textlatin{3F0} & * & * & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\ \bottomrule \end{tabular} -} % end centerline -\noindent + + \noindent legend: * glyph missing in LGR, [space] Unicode point not defined \subsection{Greek Extended} -\centerline{ \begin{tabular}{rrrrrrrrrrrrrrrrr} \toprule & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & \textlatin C & D & E & F\\ @@ -222,7 +222,7 @@ legend: * glyph missing in LGR, [space] Unicode point not defined \textlatin{1FF0} & & & ῲ & ῳ & ῴ & & ῶ & ῷ & Ὸ & Ό & Ὼ & Ώ & ῼ & ´ & ῾ & \\ \bottomrule \end{tabular} -} % end centerline + \subsection{Other Unicode Blocks} @@ -401,7 +401,7 @@ MakeUppercase does not change non-letter symbols and the letter shwa: 𐅇 % GREEK ACROPHONIC ATTIC FIFTY THOUSAND } \end{quote} -MakeLowercase does not change non-letter symbols, too: +MakeLowercase does not change non-letter symbols, either: \begin{quote} \greekscript \MakeLowercase{¨ « ¯ ´ · »} diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/inputenc-iso-8859-7.pdf b/Master/texmf-dist/doc/latex/greek-inputenc/inputenc-iso-8859-7.pdf Binary files differnew file mode 100644 index 00000000000..2e1ecf49464 --- /dev/null +++ b/Master/texmf-dist/doc/latex/greek-inputenc/inputenc-iso-8859-7.pdf diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/inputenc-iso-8859-7.tex b/Master/texmf-dist/doc/latex/greek-inputenc/inputenc-iso-8859-7.tex new file mode 100644 index 00000000000..bf45f09ec14 --- /dev/null +++ b/Master/texmf-dist/doc/latex/greek-inputenc/inputenc-iso-8859-7.tex @@ -0,0 +1,84 @@ +%% LyX 2.4.0dev created this file. For more info, see https://www.lyx.org/. +%% Do not edit unless you really know what you are doing. +\documentclass[greek,english]{article} +\usepackage{lmodern} +\usepackage[LGR,T1]{fontenc} +\usepackage[iso-8859-7]{inputenc} +\usepackage{textcomp} +\usepackage{babel} +\usepackage{xfrac} +\usepackage{textalpha} + +\newcommand{\nd}{\textlatin{\sfrac{n}{d}}} + +\newcommand{\topic}{\medskip\noindent} + +\begin{document} + +\subsection*{Input encoding ISO 8859-7} + +Greek: + +... 0 1 2 3 4 5 6 7 8 9 A B C D E F + +A: \foreignlanguage{greek}{\textlatin{\small NBSP} \nd{} + \textlatin{\small SHY} \nd{} } + +B: \foreignlanguage{greek}{ + } + +C: \foreignlanguage{greek}{ } + +D: \foreignlanguage{greek}{ \nd{} } + +E: \foreignlanguage{greek}{ } + +F: \foreignlanguage{greek}{ \nd} + + +\topic English (with package `textalpha'): + +... 0 1 2 3 4 5 6 7 8 9 A B C D E F + +A: {\textlatin{\small NBSP} \nd{} + \textlatin{\small SHY} \nd{} } + +B: { + } + +C: { } + +D: { \nd{} } + +E: { } + +F: { \nd} + +\topic +{\footnotesize +Legend: + +SHY: Soft Hyphen + +NBSP: No Break Space + +\nd: not defined in LGR font encoding +} + + +\subsubsection*{Test No Break Space and Soft Hyphen} + +\begin{description} + +\item[|] \hfill $\leftarrow$ margins $\rightarrow$ \hfill | +\item[NBSP:] + \begin{flushleft} (flush left) NoBreakSpace NoBreakSpace + NoBreakSpace NoBreakSpace NoBreakSpace + \end{flushleft} + +\item[SHY:] \ldots{} SoftHyphen SoftHyphen SoftHyphen + SoftHyphen SoftHyphen SoftHyphen +\item[|] \hfill $\leftarrow$ margins $\rightarrow$ \hfill | +\end{description} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/lgrenc.dfu.html b/Master/texmf-dist/doc/latex/greek-inputenc/lgrenc.dfu.html index c228ea8c377..142eb93ce98 100644 --- a/Master/texmf-dist/doc/latex/greek-inputenc/lgrenc.dfu.html +++ b/Master/texmf-dist/doc/latex/greek-inputenc/lgrenc.dfu.html @@ -1,15 +1,17 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.13: http://docutils.sourceforge.net/" /> +<meta charset="utf-8"/> +<meta name="generator" content="Docutils 0.15b.dev: http://docutils.sourceforge.net/" /> <title>lgrenc.dfu</title> +<meta name="dcterms.rights" content="© 2010 Günter Milde" /> +<link rel="schema.dcterms" href="http://purl.org/dc/terms/"> <style type="text/css"> /* 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$ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -28,10 +30,13 @@ /* .. _CSS2.1: http://www.w3.org/TR/CSS2 */ /* .. _validates: http://jigsaw.w3.org/css-validator/validator$link */ -/* Figure/table alignment */ -.align-left { text-align: left; } -.align-right { text-align: right; } -.align-center { clear: both; text-align: center;} +/* alignment of text and inline objects inside block objects*/ +.align-left { text-align: left; } +.align-right { text-align: right; } +.align-center { clear: both; text-align: center; } +.align-top { vertical-align: top; } +.align-middle { vertical-align: middle; } +.align-bottom { vertical-align: bottom; } /* titles */ h1.title, p.subtitle { @@ -99,9 +104,10 @@ dl.simple > dd, dl.compact > dd { /* Table of Contents */ div.topic.contents { margin: 0; } -ul.auto-toc { +div.topic.contents ul { list-style-type: none; - padding-left: 1.5em; } + padding-left: 1.5em; +} /* Enumerated Lists */ ol.arabic { list-style: decimal } @@ -161,8 +167,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 */ @@ -173,28 +190,34 @@ div.line-block div.line-block { margin-left: 40px; } -/* Images and Figures */ -img.align-left, +/* Figures, Images, and Tables */ .figure.align-left, -object.align-left { - display: block; +img.align-left, +object.align-left, +table.align-left { margin-right: auto; } -img.align-center, .figure.align-center, +img.align-center, object.align-center { + margin-left: auto; + margin-right: auto; display: block; +} +table.align-center { margin-left: auto; margin-right: auto; } -img.align-right, .figure.align-right, -object.align-right { - display: block; +img.align-right, +object.align-right, +table.align-right { margin-left: auto; } -/* reset inner alignment in figures */ -div.align-right { text-align: inherit } +/* reset inner alignment in figures and tables */ +/* div.align-left, div.align-center, div.align-right, */ +table.align-left, table.align-center, table.align-right +{ text-align: inherit } /* Admonitions and System Messages */ div.admonition, @@ -215,13 +238,14 @@ div.sidebar { } /* Text Blocks */ +blockquote, div.topic, pre.literal-block, pre.doctest-block, pre.math, pre.code { - margin-right: 40px; - margin-left: 40px; + margin-left: 1.5em; + margin-right: 1.5em } pre.code .ln { color: gray; } /* line numbers */ @@ -254,7 +278,7 @@ table.borderless td, table.borderless th { /* Rules for easy reading and pre-defined style variants. */ /* */ /* :Author: Günter Milde, based on html4css1.css by David Goodger */ -/* :Id: $Id: plain.css 7893 2015-05-11 15:38:58Z milde $ */ +/* :Id: $Id$ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -274,8 +298,8 @@ table.borderless td, table.borderless th { /* "page layout" */ body { - padding: 0 5%; - margin: 8px 0; + margin: 0; + background-color: #dbdbdb; } div.document { line-height:1.3; @@ -284,7 +308,9 @@ div.document { /* avoid long lines --> better reading */ /* OTOH: lines should not be too short because of missing hyphenation, */ max-width: 50em; + padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */ margin: auto; + background-color: white; } /* Sections */ @@ -318,9 +344,9 @@ dl > dd { /* Definition Lists */ -dl > dd p:first-child { margin-top: 0; } +dl > dd > p:first-child { margin-top: 0; } /* :last-child is not part of CSS 2.1 (introduced in CSS 3) */ -/* dl > dd p:last-child { margin-bottom: 0; } */ +dl > dd > p:last-child { margin-bottom: 0; } /* lists nested in definition lists */ /* :only-child is not part of CSS 2.1 (introduced in CSS 3) */ @@ -376,19 +402,9 @@ span.fn-backref { /* ============ */ /* Literal Blocks */ -pre.literal-block, pre.doctest-block, -pre.math, pre.code { - margin-left: 1.5em; - margin-right: 1.5em -} /* Block Quotes */ -blockquote, -div.topic { - margin-left: 1.5em; - margin-right: 1.5em -} blockquote > table, div.topic > table { margin-top: 0; @@ -405,6 +421,8 @@ div.topic p.attribution { /* th { vertical-align: bottom; } */ +table tr { text-align: left; } + /* "booktabs" style (no vertical lines) */ table.booktabs { border: 0; @@ -417,7 +435,6 @@ table.booktabs * { } table.booktabs th { border-bottom: thin solid; - text-align: left; } /* numbered tables (counter defined in div.document) */ @@ -447,16 +464,20 @@ dl.footnote { /* ~~~~~~~~~~~~~ */ /* Images and Figures */ -img.align-left, + +/* let content flow to the side of aligned images and figures */ .figure.align-left, +img.align-left, object.align-left { + display: block; clear: left; float: left; margin-right: 1em } -img.align-right, .figure.align-right, +img.align-right, object.align-right { + display: block; clear: right; float: right; margin-left: 1em @@ -478,6 +499,7 @@ div.sidebar { /* Code */ +pre.code { padding: 0.7ex } pre.code, code { background-color: #eeeeee } pre.code .ln { color: gray; } /* line numbers */ /* basic highlighting: for a complete scheme, see */ @@ -539,7 +561,6 @@ a { text-decoration: none; } <body> <div class="document" id="lgrenc-dfu"> <h1 class="title">lgrenc.dfu</h1> - <p class="subtitle" id="greek-unicode-support-with-inputenc">Greek Unicode support with inputenc</p> <dl class="docinfo"> <dt class="copyright">Copyright</dt> @@ -550,7 +571,7 @@ conditions of the <a class="reference external" href="http://www.latex-project.o version 1.3 of this license or any later version.</p> </dd> <dt class="identification">Identification</dt> -<dd class="identification"><pre class="literal-block">\ProvidesFile{lgrenc.dfu}[2015/08/05 1.6 UTF-8 support for Greek]</pre> +<dd class="identification"><pre class="literal-block">\ProvidesFile{lgrenc.dfu}[2019/07/11 1.7 UTF-8 support for Greek]</pre> </dd> </dl> <p>Based on a <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> by Werner Lemberg, with input from the <a class="reference external" href="http://www.ctan.org/pkg/ucs">ucs</a> @@ -613,6 +634,10 @@ current font encoding is not LGR (wrap in ensuregreek),</p></td> <td></td> <td><p>Map GREEK … SYMBOL characters.</p></td> </tr> +<tr><td><p>1.7</p></td> +<td><p>2019-07-11</p></td> +<td><p>Remove some duplicate definitions (punctuation, Euro).</p></td> +</tr> </tbody> </table> </dd> @@ -654,7 +679,7 @@ characters work in any font encoding if the <a class="reference external" href=" \DeclareUnicodeCharacter{00AB}{\guillemotleft} % « \DeclareUnicodeCharacter{00AF}{\textasciimacron} % ¯ \DeclareUnicodeCharacter{00B4}{\textasciiacute} % ´ -\DeclareUnicodeCharacter{00B7}{\textperiodcentered} % · +\DeclareUnicodeCharacter{00B7}{\textperiodcentered} % · = ano teleia \DeclareUnicodeCharacter{00BB}{\guillemotright} % »</pre> </div> <div class="section" id="ipa-extensions-t3"> @@ -665,21 +690,6 @@ characters work in any font encoding if the <a class="reference external" href=" <h2>Spacing Modifier Letters</h2> <pre class="literal-block">\DeclareUnicodeCharacter{02D8}{\textasciibreve} % ˘</pre> </div> -<div class="section" id="general-punctuation"> -<h2>General Punctuation</h2> -<pre class="literal-block">\DeclareUnicodeCharacter{2013}{\textendash} % – -\DeclareUnicodeCharacter{2014}{\textemdash} % — -\DeclareUnicodeCharacter{2018}{\textquoteleft} % ‘ -\DeclareUnicodeCharacter{2019}{\textquoteright} % ’ -\DeclareUnicodeCharacter{201A}{\quotesinglbase} % ‚ -\DeclareUnicodeCharacter{2030}{\textperthousand} % ‰ -\DeclareUnicodeCharacter{2039}{\guilsinglleft} % ‹ -\DeclareUnicodeCharacter{203A}{\guilsinglright} % ›</pre> -</div> -<div class="section" id="currency-symbols"> -<h2>Currency Symbols</h2> -<pre class="literal-block">\DeclareUnicodeCharacter{20AC}{\texteuro} % €</pre> -</div> <div class="section" id="greek-and-coptic"> <h2>Greek and Coptic</h2> <pre class="literal-block">% NR Unicode Name % babel name, PU name @@ -1034,8 +1044,8 @@ characters work in any font encoding if the <a class="reference external" href=" \DeclareUnicodeCharacter{1FEA}{\ensuregreek{\accvaria\textUpsilon}} % Ὺ \DeclareUnicodeCharacter{1FEB}{\ensuregreek{\acctonos\textUpsilon}} % Ύ \DeclareUnicodeCharacter{1FEC}{\ensuregreek{\accdasia\textRho}} % Ῥ -\DeclareUnicodeCharacter{1FED}{\ensuregreek{\accdialytikavaria{}}} % ῭ -\DeclareUnicodeCharacter{1FEE}{\ensuregreek{\accdialytikatonos{}}} % ΅ +\DeclareUnicodeCharacter{1FED}{\accdialytikavaria{ }} % ῭ +\DeclareUnicodeCharacter{1FEE}{\accdialytikatonos{ }} % ΅ \DeclareUnicodeCharacter{1FEF}{\accvaria{ }} % ` \DeclareUnicodeCharacter{1FF2}{\ensuregreek{\accvaria\textomega\ypogegrammeni}} % ῲ @@ -1048,17 +1058,23 @@ characters work in any font encoding if the <a class="reference external" href=" \DeclareUnicodeCharacter{1FFA}{\ensuregreek{\accvaria\textOmega}} % Ὼ \DeclareUnicodeCharacter{1FFB}{\ensuregreek{\acctonos\textOmega}} % Ώ \DeclareUnicodeCharacter{1FFC}{\ensuregreek{\textOmega\prosgegrammeni}} % ῼ -\DeclareUnicodeCharacter{1FFD}{\ensuregreek{\acctonos{}}} % ´ +\DeclareUnicodeCharacter{1FFD}{\acctonos{ }} % ´ \DeclareUnicodeCharacter{1FFE}{\accdasia{ }} % ῾</pre> </div> -<div class="section" id="id1"> +<div class="section" id="general-punctuation"> <h2>General Punctuation</h2> <pre class="literal-block">\DeclareUnicodeCharacter{2013}{\textendash} % – \DeclareUnicodeCharacter{2014}{\textemdash} % — \DeclareUnicodeCharacter{2018}{\textquoteleft} % ‘ \DeclareUnicodeCharacter{2019}{\textquoteright} % ’ +\DeclareUnicodeCharacter{201A}{\quotesinglbase} % ‚ \DeclareUnicodeCharacter{2030}{\textperthousand} % ‰ -\DeclareUnicodeCharacter{20AC}{\texteuro} % €</pre> +\DeclareUnicodeCharacter{2039}{\guilsinglleft} % ‹ +\DeclareUnicodeCharacter{203A}{\guilsinglright} % ›</pre> +</div> +<div class="section" id="currency-symbols"> +<h2>Currency Symbols</h2> +<pre class="literal-block">\DeclareUnicodeCharacter{20AC}{\texteuro} % €</pre> </div> <div class="section" id="letterlike-symbols"> <h2>Letterlike Symbols</h2> diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/test-iso-8859-7.pdf b/Master/texmf-dist/doc/latex/greek-inputenc/test-iso-8859-7.pdf Binary files differdeleted file mode 100644 index b35297fe9f0..00000000000 --- a/Master/texmf-dist/doc/latex/greek-inputenc/test-iso-8859-7.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/test-iso-8859-7.tex b/Master/texmf-dist/doc/latex/greek-inputenc/test-iso-8859-7.tex deleted file mode 100644 index 40287a74908..00000000000 --- a/Master/texmf-dist/doc/latex/greek-inputenc/test-iso-8859-7.tex +++ /dev/null @@ -1,8 +0,0 @@ -\documentclass[a4paper,11pt]{article} -\usepackage[greek]{babel} -\usepackage[iso-8859-7]{inputenc} -\begin{document} - - ! -\textlatin{This is a text in english} -\end{document} |