diff options
13 files changed, 848 insertions, 331 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} diff --git a/Master/texmf-dist/tex/latex/greek-inputenc/iso-8859-7.def b/Master/texmf-dist/tex/latex/greek-inputenc/iso-8859-7.def index e0ed32d8b6e..6b68e4ee1c7 100644 --- a/Master/texmf-dist/tex/latex/greek-inputenc/iso-8859-7.def +++ b/Master/texmf-dist/tex/latex/greek-inputenc/iso-8859-7.def @@ -1,5 +1,5 @@ \ProvidesFile{iso-8859-7.def} - [2000/05/28 v1.2 Greek input encoding file] + [2019/01/08 v1.7 Greek input encoding file] %% iso-8859-7 input encoding file by Apostolos Syropoulos %% with modifications by C.Beccari %% @@ -8,152 +8,114 @@ %% This fil is distributed in the hope that it will be useful, %% but WITHOUT ANY WARRANTY; without even the implied warranty of %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -%% -%% +%% +%% %% IMPORTANT NOTICE: -%% +%% %% This file is subject to the LPPL licence, version 1.3 or any subsequent %% version. Copy of the LaTeX Project Public Licence is downloadable from %% any CTAN archive. -%% -\DeclareInputText{128}{\textbullet} -\DeclareInputText{129}{\textbullet} -\DeclareInputText{130}{\textbullet} -\DeclareInputText{131}{\textbullet} -\DeclareInputText{132}{\textbullet} -\DeclareInputText{133}{\textbullet} -\DeclareInputText{134}{\textbullet} -\DeclareInputText{135}{\textbullet} -\DeclareInputText{136}{\textbullet} -\DeclareInputText{137}{\textbullet} -\DeclareInputText{138}{\textbullet} -\DeclareInputText{139}{\textbullet} -\DeclareInputText{140}{\textbullet} -\DeclareInputText{141}{\textbullet} -\DeclareInputText{142}{\textbullet} -\DeclareInputText{143}{\textbullet} -\DeclareInputText{144}{\textbullet} -\DeclareInputText{145}{``} -\DeclareInputText{146}{''} -\DeclareInputText{147}{``} -\DeclareInputText{148}{''} -\DeclareInputText{149}{\textbullet} -\DeclareInputText{150}{\textbullet} -\DeclareInputText{151}{\textbullet} -\DeclareInputText{152}{\textbullet} -\DeclareInputText{153}{\textbullet} -\DeclareInputText{154}{\textbullet} -\DeclareInputText{155}{\textbullet} -\DeclareInputText{156}{\textbullet} -\DeclareInputText{157}{\textbullet} -\DeclareInputText{158}{\textbullet} -\DeclareInputText{159}{\textbullet} -\DeclareInputText{160}{\textbullet} -\DeclareInputText{161}{\textbullet} -\DeclareInputText{162}{'A} -\DeclareInputText{163}{\textbullet} -\DeclareInputText{164}{\textbullet} -\DeclareInputText{165}{\textbullet} -\DeclareInputText{166}{\textbullet} -\DeclareInputText{167}{\textbullet} -\DeclareInputText{168}{\textbullet} -\DeclareInputText{169}{\textbullet} -\DeclareInputText{170}{\textbullet} -\DeclareInputText{171}{((} -\DeclareInputText{172}{\textbullet} -\DeclareInputText{173}{\textbullet} -\DeclareInputText{174}{\textbullet} -\DeclareInputText{175}{\textbullet} -\DeclareInputText{176}{\textbullet} -\DeclareInputText{177}{\textbullet} -\DeclareInputText{178}{\textbullet} -\DeclareInputText{179}{\textbullet} -\DeclareInputText{180}{\textbullet} -\DeclareInputText{181}{\textbullet} -\DeclareInputText{182}{'A} -\DeclareInputText{183}{\textbullet} -\DeclareInputText{184}{'E} -\DeclareInputText{185}{'H} -\DeclareInputText{186}{'I} -\DeclareInputText{187}{))} -\DeclareInputText{188}{'O} -\DeclareInputText{189}{\textbullet} -\DeclareInputText{190}{'U} -\DeclareInputText{191}{'W} -%\DeclareInputText{192}{"'i} -\chardef\idiaerac=242 -\DeclareInputText{192}{\char\idiaerac} -\DeclareInputText{193}{A} -\DeclareInputText{194}{B} -\DeclareInputText{195}{G} -\DeclareInputText{196}{D} -\DeclareInputText{197}{E} -\DeclareInputText{198}{Z} -\DeclareInputText{199}{H} -\DeclareInputText{200}{J} -\DeclareInputText{201}{I} -\DeclareInputText{202}{K} -\DeclareInputText{203}{L} -\DeclareInputText{204}{M} -\DeclareInputText{205}{N} -\DeclareInputText{206}{X} -\DeclareInputText{207}{O} -\DeclareInputText{208}{P} -\DeclareInputText{209}{R} -\DeclareInputText{210}{\textbullet} -\DeclareInputText{211}{S} -\DeclareInputText{212}{T} -\DeclareInputText{213}{U} -\DeclareInputText{214}{F} -\DeclareInputText{215}{Q} -\DeclareInputText{216}{Y} -\DeclareInputText{217}{W} -%\DeclareInputText{218}{"I} -%\DeclareInputText{219}{"U} -\chardef\Idiaer=219 -\chardef\Udiaer=223 -\DeclareInputText{218}{\char\Idiaer} -\DeclareInputText{219}{\char\Udiaer} -\DeclareInputText{220}{'a} -\DeclareInputText{221}{'e} -\DeclareInputText{222}{'h} -\DeclareInputText{223}{'i} -%\DeclareInputText{224}{"'u} -\chardef\udiaerac=246 -\DeclareInputText{224}{\char\udiaerac} -\DeclareInputText{225}{a} -\DeclareInputText{226}{b} -\DeclareInputText{227}{g} -\DeclareInputText{228}{d} -\DeclareInputText{229}{e} -\DeclareInputText{230}{z} -\DeclareInputText{231}{h} -\DeclareInputText{232}{j} -\DeclareInputText{233}{i} -\DeclareInputText{234}{k} -\DeclareInputText{235}{l} -\DeclareInputText{236}{m} -\DeclareInputText{237}{n} -\DeclareInputText{238}{x} -\DeclareInputText{239}{o} -\DeclareInputText{240}{p} -\DeclareInputText{241}{r} -\DeclareInputText{242}{s} -\DeclareInputText{243}{s} -\DeclareInputText{244}{t} -\DeclareInputText{245}{u} -\DeclareInputText{246}{f} -\DeclareInputText{247}{q} -\DeclareInputText{248}{y} -\DeclareInputText{249}{w} -%\DeclareInputText{250}{"i} -%\DeclareInputText{251}{"u} -\chardef\idiaer=240 -\chardef\udiaer=244 -\DeclareInputText{250}{\char\idiaer} -\DeclareInputText{251}{\char\udiaer} -\DeclareInputText{252}{'o} -\DeclareInputText{253}{'u} -\DeclareInputText{254}{'w} -\DeclareInputText{255}{\textbullet} +%% +\ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}} +\ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}} +\ProvideTextCommandDefault{\texttwosuperior}{\ensuremath{{^2}}} +\ProvideTextCommandDefault{\textthreesuperior}{\ensuremath{^3}} +\ProvideTextCommandDefault{\textplusminus}{\ensuremath{\pm}} + +\DeclareInputText{160}{\nobreakspace} +\DeclareInputText{161}{\textquoteleft} +\DeclareInputText{162}{\textquoteright} +\DeclareInputText{163}{\pounds} +\DeclareInputText{164}{\texteuro} +%\DeclareInputText{165}{} % 0x20AF DRACHMA SIGN +\DeclareInputText{166}{\textbrokenbar} +\DeclareInputText{167}{\textsection} +\DeclareInputText{168}{\textasciidieresis} +\DeclareInputText{169}{\textcopyright} +\DeclareInputText{170}{\ypogegrammeni} +\DeclareInputText{171}{\guillemotleft} +\DeclareInputText{172}{\textlnot} +\DeclareInputText{173}{\-} +%\DeclareInputText{174}{} not defined +\DeclareInputText{175}{\textemdash} % HORIZONTAL BAR 0x2015 +\DeclareInputText{176}{\textdegree} +\DeclareInputMath{177}{\textplusminus} +\DeclareInputText{178}{\texttwosuperior} +\DeclareInputText{179}{\textthreesuperior} +\DeclareInputText{180}{\acctonos{ }} +\DeclareInputText{181}{\accdialytikatonos{ }} +\DeclareInputText{182}{\ensuregreek{\acctonos\textAlpha}} +\DeclareInputText{183}{\textperiodcentered} +\DeclareInputText{184}{\ensuregreek{\acctonos\textEpsilon}} +\DeclareInputText{185}{\ensuregreek{\acctonos\textEta}} +\DeclareInputText{186}{\ensuregreek{\acctonos\textIota}} +\DeclareInputText{187}{\guillemotright} +\DeclareInputText{188}{\ensuregreek{\acctonos\textOmicron}} +\DeclareInputText{189}{\textonehalf} +\DeclareInputText{190}{\ensuregreek{\acctonos\textUpsilon}} +\DeclareInputText{191}{\ensuregreek{\acctonos\textOmega}} +\DeclareInputText{192}{\ensuregreek{\accdialytikatonos\textiota}} +\DeclareInputText{193}{\textAlpha} % Α +\DeclareInputText{194}{\textBeta} % Β +\DeclareInputText{195}{\textGamma} % Γ +\DeclareInputText{196}{\textDelta} % Δ +\DeclareInputText{197}{\textEpsilon} % Ε +\DeclareInputText{198}{\textZeta} % Ζ +\DeclareInputText{199}{\textEta} % Η +\DeclareInputText{200}{\textTheta} % Θ +\DeclareInputText{201}{\textIota} % Ι +\DeclareInputText{202}{\textKappa} % Κ +\DeclareInputText{203}{\textLambda} % Λ +\DeclareInputText{204}{\textMu} % Μ +\DeclareInputText{205}{\textNu} % Ν +\DeclareInputText{206}{\textXi} % Ξ +\DeclareInputText{207}{\textOmicron} % Ο +\DeclareInputText{208}{\textPi} % Π +\DeclareInputText{209}{\textRho} % Ρ +%\DeclareInputText{210} not defined +\DeclareInputText{211}{\textSigma} % Σ +\DeclareInputText{212}{\textTau} % Τ +\DeclareInputText{213}{\textUpsilon} % Υ +\DeclareInputText{214}{\textPhi} % Φ +\DeclareInputText{215}{\textChi} % Χ +\DeclareInputText{216}{\textPsi} % Ψ +\DeclareInputText{217}{\textOmega} % Ω +\DeclareInputText{218}{\ensuregreek{\accdialytika\textIota}} +\DeclareInputText{219}{\ensuregreek{\accdialytika\textUpsilon}} +\DeclareInputText{220}{\ensuregreek{\acctonos\textalpha}} % ά +\DeclareInputText{221}{\ensuregreek{\acctonos\textepsilon}} % έ +\DeclareInputText{222}{\ensuregreek{\acctonos\texteta}} % ή +\DeclareInputText{223}{\ensuregreek{\acctonos\textiota}} % ί +\DeclareInputText{224}{\ensuregreek{\accdialytikatonos\textupsilon}} +\DeclareInputText{225}{\textalpha} % α +\DeclareInputText{226}{\textbeta} % β +\DeclareInputText{227}{\textgamma} % γ +\DeclareInputText{228}{\textdelta} % δ +\DeclareInputText{229}{\textepsilon} % ε +\DeclareInputText{230}{\textzeta} % ζ +\DeclareInputText{231}{\texteta} % η +\DeclareInputText{232}{\texttheta} % θ +\DeclareInputText{233}{\textiota} % ι +\DeclareInputText{234}{\textkappa} % κ +\DeclareInputText{235}{\textlambda} % λ +\DeclareInputText{236}{\textmu} % μ +\DeclareInputText{237}{\textnu} % ν +\DeclareInputText{238}{\textxi} % ξ +\DeclareInputText{239}{\textomicron} % ο +\DeclareInputText{240}{\textpi} % π +\DeclareInputText{241}{\textrho} % ρ +\DeclareInputText{242}{\textvarsigma} % ς +\DeclareInputText{243}{\textsigma} % σ +\DeclareInputText{244}{\texttau} % τ +\DeclareInputText{245}{\textupsilon} % υ +\DeclareInputText{246}{\textphi} % φ +\DeclareInputText{247}{\textchi} % χ +\DeclareInputText{248}{\textpsi} % ψ +\DeclareInputText{249}{\textomega} % ω +\DeclareInputText{250}{\ensuregreek{\accdialytika\textiota}} +\DeclareInputText{251}{\ensuregreek{\accdialytika\textupsilon}} +\DeclareInputText{252}{\ensuregreek{\acctonos\textomicron}} +\DeclareInputText{253}{\ensuregreek{\acctonos\textupsilon}} +\DeclareInputText{254}{\ensuregreek{\acctonos\textomega}} +%\DeclareInputText{255} not defined \endinput diff --git a/Master/texmf-dist/tex/latex/greek-inputenc/lgrenc.dfu b/Master/texmf-dist/tex/latex/greek-inputenc/lgrenc.dfu index 644d2cdcf4d..386539dfd8c 100644 --- a/Master/texmf-dist/tex/latex/greek-inputenc/lgrenc.dfu +++ b/Master/texmf-dist/tex/latex/greek-inputenc/lgrenc.dfu @@ -2,7 +2,7 @@ % ********** % Greek Unicode support with inputenc % =================================== -% +% % :Copyright: © 2010 Günter Milde % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either @@ -10,15 +10,15 @@ % :Identification: % :: -\ProvidesFile{lgrenc.dfu}[2015/08/05 1.6 UTF-8 support for Greek] +\ProvidesFile{lgrenc.dfu}[2019/07/11 1.7 UTF-8 support for Greek] % Based on a `babel patch`_ by Werner Lemberg, with input from the ucs_ % package (``ucsencs.def``) by Dominique Unruh and ``CB.enc`` by % Apostolos Syropoulos. -% +% % Changelog: % .. class:: borderless -% +% % ===== =========== =========================================================== % 0.1 2010-06-16 initial version % 0.2 2012-06-27 support for accented Greek characters with textalpha_ @@ -32,56 +32,57 @@ % 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. +% 1.7 2019-07-11 Remove some duplicate definitions (punctuation, Euro). % ===== =========== =========================================================== -% +% % Usage % ----- -% +% % Requires comprehensive LGR font encoding definitions from greek-fontenc_: -% +% % .. code:: latex -% +% % \usepackage[LGR,T1]{fontenc} % define LGR and T1 encodings % \usepackage[utf8]{inputenc} % standard UTF-8 input encoding -% +% % By default, text containing Greek Unicode characters must be marked as % requiring a font encoding that supports Greek script, e.g. by setting the % language to ``greek`` or ``polutonikogreek``. This is a generic feature of % inputenc_'s `utf8` option (an equivalent restriction holds for the Cyrillic % script). -% +% % With the textalpha_ or alphabeta_ packages of the greek-fontenc_ package, % Greek Unicode literals can be used without special markup also in non-Greek % documents: -% +% % .. code:: latex -% +% % \usepackage[utf8]{inputenc} % standard UTF-8 input encoding % \usepackage[T1]{fontenc} % use T1 font encoding as default % \usepackage{textalpha} % define LGR font encoding as Greek default -% +% % With the ``normalize-symbols`` option to textalpha_ or alphabeta_, % GREEK ... SYMBOL characters are mapped to the corresponding letters % (requires greek-fontenc_ >= 0.13): -% +% % .. code:: latex -% +% % \usepackage[utf8]{inputenc} % \usepackage[T1]{fontenc} -% \usepackage[normalize-symbols]{textalpha} -% -% +% \usepackage[normalize-symbols]{textalpha} +% +% % Character Declarations % ---------------------- -% +% % Some characters exist in other font encodings too. Care has been taken % to ensure the definitions match with other ``*.dfu`` and ``*enc.def`` % files. -% +% % Wrap definition in ``\ensuregreek`` if a Unicode character is mapped to two % characters (letter+sub-iota) or with non-Greek accents to make sure these % characters work in any font encoding if the textalpha_ package is used. -% +% % Latin-1 Supplement (T1) % ~~~~~~~~~~~~~~~~~~~~~~~ % :: @@ -90,7 +91,7 @@ \DeclareUnicodeCharacter{00AB}{\guillemotleft} % « \DeclareUnicodeCharacter{00AF}{\textasciimacron} % ¯ \DeclareUnicodeCharacter{00B4}{\textasciiacute} % ´ -\DeclareUnicodeCharacter{00B7}{\textperiodcentered} % · +\DeclareUnicodeCharacter{00B7}{\textperiodcentered} % · = ano teleia \DeclareUnicodeCharacter{00BB}{\guillemotright} % » % IPA Extensions (T3) @@ -105,28 +106,9 @@ \DeclareUnicodeCharacter{02D8}{\textasciibreve} % ˘ -% General Punctuation -% ~~~~~~~~~~~~~~~~~~~ -% :: - -\DeclareUnicodeCharacter{2013}{\textendash} % – -\DeclareUnicodeCharacter{2014}{\textemdash} % — -\DeclareUnicodeCharacter{2018}{\textquoteleft} % ‘ -\DeclareUnicodeCharacter{2019}{\textquoteright} % ’ -\DeclareUnicodeCharacter{201A}{\quotesinglbase} % ‚ -\DeclareUnicodeCharacter{2030}{\textperthousand} % ‰ -\DeclareUnicodeCharacter{2039}{\guilsinglleft} % ‹ -\DeclareUnicodeCharacter{203A}{\guilsinglright} % › - -% Currency Symbols -% ~~~~~~~~~~~~~~~~ -% :: - -\DeclareUnicodeCharacter{20AC}{\texteuro} % € - % Greek and Coptic % ~~~~~~~~~~~~~~~~ -% +% % :: % NR Unicode Name % babel name, PU name @@ -483,8 +465,8 @@ \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}} % ῲ @@ -497,7 +479,7 @@ \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{ }} % ῾ % General Punctuation @@ -508,8 +490,16 @@ \DeclareUnicodeCharacter{2014}{\textemdash} % — \DeclareUnicodeCharacter{2018}{\textquoteleft} % ‘ \DeclareUnicodeCharacter{2019}{\textquoteright} % ’ +\DeclareUnicodeCharacter{201A}{\quotesinglbase} % ‚ \DeclareUnicodeCharacter{2030}{\textperthousand} % ‰ -\DeclareUnicodeCharacter{20AC}{\texteuro} % € +\DeclareUnicodeCharacter{2039}{\guilsinglleft} % ‹ +\DeclareUnicodeCharacter{203A}{\guilsinglright} % › + +% Currency Symbols +% ~~~~~~~~~~~~~~~~ +% :: + +\DeclareUnicodeCharacter{20AC}{\texteuro} % € % Letterlike Symbols % ~~~~~~~~~~~~~~~~~~ |