diff options
34 files changed, 312 insertions, 1317 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README b/Master/texmf-dist/doc/latex/greek-fontenc/README index ac269077d6e..9d7277ad53a 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/README +++ b/Master/texmf-dist/doc/latex/greek-fontenc/README @@ -61,11 +61,14 @@ News (from Apostolos Syropoulos’ xgreek_) in greek-euenc_, .. Do not convert ``\ypogegrammeni`` to ``\prosgegrammeni`` with ``\MakeUppercase``. +0.13.1 2015-12-07 Fix `rho with dasia bug`__ in lgrenc.def (Linus Romer). ====== =========== ========================================================== +__ http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and-also-psili-problem-with-accent-and-lgr-encodin + TeX files -=========== +========= `<greek-fontenc.def>`_ `Common Greek font encoding definitions <greek-fontenc.def.html>`_. @@ -467,7 +470,7 @@ as-is). http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt -.. _PyLit: http://repo.or.cz/pylit.git +.. _PyLit: http://pypi.python.org/pypi/pylit .. _reStructuredText: http://docutils.sourceforge.net/rst.html .. _Docutils: http://docutils.sourceforge.net/rst.html .. _TDS: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README.html b/Master/texmf-dist/doc/latex/greek-fontenc/README.html index d186fdc698b..48a3dbe087b 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/README.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/README.html @@ -10,7 +10,7 @@ /* Minimal style sheet for the HTML output of Docutils. */ /* */ /* :Author: Günter Milde, based on html4css1.css by David Goodger */ -/* :Id: $Id: minimal.css 7893 2015-05-11 15:38:58Z milde $ */ +/* :Id: $Id: minimal.css 7916 2015-09-11 15:20:14Z milde $ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -162,8 +162,19 @@ dl.option-list > dt { font-weight: normal; } span.option { white-space: nowrap; } /* Footnotes and Citations */ +dl.footnote.superscript > dd {margin-left: 1em; } +dl.footnote.brackets > dd {margin-left: 2em; } dl > dt.label { font-weight: normal; } -dt.label > span.fn-backref { margin: 0.2em; } +a.footnote-reference.brackets:before, +dt.label > span.brackets:before { content: "["; } +a.footnote-reference.brackets:after, +dt.label > span.brackets:after { content: "]"; } +a.footnote-reference.superscript, +dl.footnote.superscript > dt.label { + vertical-align: super; + font-size: smaller; +} +dt.label > span.fn-backref { margin-left: 0.2em; } dt.label > span.fn-backref > a { font-style: italic; } /* Line Blocks */ @@ -682,6 +693,10 @@ Documentation update.</p></td> <td><p>Do not convert <span class="docutils literal">\ypogegrammeni</span> to <span class="docutils literal">\prosgegrammeni</span> with <span class="docutils literal">\MakeUppercase</span>.</p></td> </tr> +<tr><td><p>0.13.1</p></td> +<td><p>2015-12-07</p></td> +<td><p>Fix <a class="reference external" href="http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and-also-psili-problem-with-accent-and-lgr-encodin">rho with dasia bug</a> in lgrenc.def (Linus Romer).</p></td> +</tr> </tbody> </table> </div> @@ -714,7 +729,7 @@ independent of font encoding and TeX engine.</p> Requires <a class="reference external" href="http://www.ctan.org/pkg/euenc">euenc</a>.</p> </dd> </dl> -<p>Literate source files were 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 +<p>Literate source files were converted with <a class="reference external" href="http://pypi.python.org/pypi/pylit">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 the HTML documentation.</p> </div> <div class="section" id="documentation-and-test-documents"> @@ -797,7 +812,7 @@ hyphenation and other localizations (see <a class="reference external" href="htt Latin) as default font encoding and LGR for Greek with</p> <pre class="literal-block">\usepackage[LGR,T1]{fontenc}</pre> <p>Note that without <a class="reference internal" href="#textalpha">textalpha</a> or <a class="reference internal" href="#alphabeta">alphabeta</a>, Greek text macros work -only if the current font encoding supports Greek. See <a class="citation-reference" href="#fntguide" id="id5">[fntguide]</a> for +only if the current font encoding supports Greek. See <a class="citation-reference" href="#fntguide" id="id6">[fntguide]</a> for details and <a class="reference external" href="lgrenc-test.tex">lgrenc-test.tex</a> for an example.</p> </li> <li><p>It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding @@ -820,7 +835,7 @@ Greek letters and symbols are also defined in the Unicode-based font encodings <a class="reference internal" href="#eu1">EU1</a> , <a class="reference internal" href="#eu2">EU2</a> and PU (<a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a>).</p> <div class="section" id="t7"> <h2>T7</h2> -<p>The <a class="citation-reference" href="#encguide" id="id11">[encguide]</a> reserves the name T7 for a Greek <cite>standard font encoding</cite>. +<p>The <a class="citation-reference" href="#encguide" id="id12">[encguide]</a> reserves the name T7 for a Greek <cite>standard font encoding</cite>. However, up to now, there is no agreement on an implementation because the restrictions for general text encodings are too severe for typesetting polytonic Greek.</p> @@ -837,7 +852,7 @@ is facilitated by the <a class="reference external" href="http://www.ctan.org/pk <p>The LGR font encoding allows to access Greek characters via an ASCII transliteration. This enables simple input with a Latin keyboard. Characters with diacritics can be selected by ligature definitions in the -font (see <a class="citation-reference" href="#greek-usage" id="id12">[greek-usage]</a>, <a class="citation-reference" href="#teubner-doc" id="id13">[teubner-doc]</a>, <a class="citation-reference" href="#cbfonts" id="id14">[cbfonts]</a>).</p> +font (see <a class="citation-reference" href="#greek-usage" id="id13">[greek-usage]</a>, <a class="citation-reference" href="#teubner-doc" id="id14">[teubner-doc]</a>, <a class="citation-reference" href="#cbfonts" id="id15">[cbfonts]</a>).</p> <p>A major drawback of the transliteration is, that you cannot access Latin letters if LGR is the active font encoding (e.g. in documents or parts of documents given the <cite>Babel</cite> language <span class="docutils literal">greek</span> or <span class="docutils literal">polutionikogreek</span>). @@ -849,7 +864,7 @@ Unicode (with XeTeX or LuaTeX).</p> <div class="section" id="lgi"> <h2>LGI</h2> <p>The ‘Ibycus’ fonts from the package <a class="reference external" href="http://www.ctan.org/pkg/ibygrk">ibygrk</a> implement an alternative -transliteration scheme (also explained in <a class="citation-reference" href="#babel-patch" id="id15">[babel-patch]</a>). +transliteration scheme (also explained in <a class="citation-reference" href="#babel-patch" id="id16">[babel-patch]</a>). It is currently not supported by <cite>greek-fontenc</cite>.</p> <p>The font encoding file <span class="docutils literal">lgienc.def</span> from <a class="reference external" href="http://www.ctan.org/pkg/ibycus-babel">ibycus-babel</a> provides a basic setup (without any LICR macros or composite definitions).</p> @@ -1026,30 +1041,30 @@ from the <a class="reference external" href="http://www.ctan.org/pkg/unicode">uc Greek text in “LICR encoding” to a PDF-string (utf-8 encoded input is used as-is).</p> <dl class="citation"> -<dt class="label" id="fntguide"><a class="fn-backref" href="#id5">[fntguide]</a></dt> +<dt class="label" id="fntguide"><span class="brackets"><a class="fn-backref" href="#id6">fntguide</span></a></dt> <dd><p>LaTeX3 Project Team, <cite>LaTeX2ε font selection</cite>, 2005. <a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/fntguide.pdf">http://mirror.ctan.org/macros/latex/doc/fntguide.pdf</a></p> </dd> -<dt class="label" id="encguide"><a class="fn-backref" href="#id11">[encguide]</a></dt> +<dt class="label" id="encguide"><span class="brackets"><a class="fn-backref" href="#id12">encguide</span></a></dt> <dd><p>Frank Mittelbach, Robin Fairbairns, Werner Lemberg, LaTeX3 Project Team, <cite>LaTeX font encodings</cite>, 2006. <a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/encguide.pdf">http://mirror.ctan.org/macros/latex/doc/encguide.pdf</a></p> </dd> -<dt class="label" id="greek-usage"><a class="fn-backref" href="#id12">[greek-usage]</a></dt> +<dt class="label" id="greek-usage"><span class="brackets"><a class="fn-backref" href="#id13">greek-usage</span></a></dt> <dd><p>Apostolos Syropoulos, <cite>Writing Greek with the greek option of the babel package</cite>, 1997. <a class="reference external" href="http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/babel/greek-usage.pdf">http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/babel/greek-usage.pdf</a></p> </dd> -<dt class="label" id="cbfonts"><a class="fn-backref" href="#id14">[cbfonts]</a></dt> +<dt class="label" id="cbfonts"><span class="brackets"><a class="fn-backref" href="#id15">cbfonts</span></a></dt> <dd><p>Claudio Beccari, <cite>The CB Greek fonts</cite>, Εὔτυπον, τεῦχος № 21, 2008. <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf">http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf</a></p> </dd> -<dt class="label" id="teubner-doc"><a class="fn-backref" href="#id13">[teubner-doc]</a></dt> +<dt class="label" id="teubner-doc"><span class="brackets"><a class="fn-backref" href="#id14">teubner-doc</span></a></dt> <dd><p>Claudio Beccari, <span class="docutils literal">teubner.sty</span> <cite>An extension to the greek option of the babel package</cite>, 2011. <a class="reference external" href="http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf">http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf</a></p> </dd> -<dt class="label" id="babel-patch"><a class="fn-backref" href="#id15">[babel-patch]</a></dt> +<dt class="label" id="babel-patch"><span class="brackets"><a class="fn-backref" href="#id16">babel-patch</span></a></dt> <dd><p>Werner Lemberg, <cite>Unicode support for the Greek LGR encoding</cite> Εὔτυπον, τεῦχος № 20, 2008. <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf</a></p> diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf Binary files differindex 4e8295c0557..0ac312c898e 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf Binary files differindex 4690e1f9418..fb28f97702a 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf Binary files differindex da5e32998ba..643447168f0 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf Binary files differindex d04afdcb943..404c82491f0 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html index 0cf32536e55..b9fa1b656d6 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html @@ -9,7 +9,7 @@ /* Minimal style sheet for the HTML output of Docutils. */ /* */ /* :Author: Günter Milde, based on html4css1.css by David Goodger */ -/* :Id: $Id: minimal.css 7893 2015-05-11 15:38:58Z milde $ */ +/* :Id: $Id: minimal.css 7916 2015-09-11 15:20:14Z milde $ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -161,8 +161,19 @@ dl.option-list > dt { font-weight: normal; } span.option { white-space: nowrap; } /* Footnotes and Citations */ +dl.footnote.superscript > dd {margin-left: 1em; } +dl.footnote.brackets > dd {margin-left: 2em; } dl > dt.label { font-weight: normal; } -dt.label > span.fn-backref { margin: 0.2em; } +a.footnote-reference.brackets:before, +dt.label > span.brackets:before { content: "["; } +a.footnote-reference.brackets:after, +dt.label > span.brackets:after { content: "]"; } +a.footnote-reference.superscript, +dl.footnote.superscript > dt.label { + vertical-align: super; + font-size: smaller; +} +dt.label > span.fn-backref { margin-left: 0.2em; } dt.label > span.fn-backref > a { font-style: italic; } /* Line Blocks */ @@ -728,6 +739,10 @@ package.</p> <td><p>2015-08-04</p></td> <td><p>Support for symbol variants.</p></td> </tr> +<tr><td><p>0.13.1</p></td> +<td><p>2015-12-07</p></td> +<td><p>Fix <cite>rho with dasia bug</cite> (Linus Romer).</p></td> +</tr> </tbody> </table> </div> @@ -766,7 +781,7 @@ anyway.</p> <div class="section" id="identification"> <h2><a class="toc-backref" href="#id6">Identification</a></h2> <pre class="literal-block">\ProvidesFile{lgrenc.def} -[2015/08/08 v0.13 LGR Greek font encoding definitions] +[2015/12/07 v0.13.1 LGR Greek font encoding definitions] % Copyright © 2010 Günter Milde % This file is part of the "greek-fontenc" package. % It may be distributed and/or modified under the @@ -1264,8 +1279,8 @@ definitions</a>.</p> \DeclareTextComposite{\accdasiaoxia}{LGR}{\textomicron}{237} \DeclareTextComposite{\accpsilioxia}{LGR}{\textomicron}{238} \DeclareTextComposite{\accpsilivaria}{LGR}{\textomicron}{239} -\DeclareTextComposite{\accdasia}{LGR}{r}{251} -\DeclareTextComposite{\accpsili}{LGR}{r}{252}</pre> +\DeclareTextComposite{\accdasia}{LGR}{\textrho}{251} +\DeclareTextComposite{\accpsili}{LGR}{\textrho}{252}</pre> </div> <div class="section" id="capital-letters-with-diacritics"> <h4><a class="toc-backref" href="#id25">Capital letters with diacritics</a></h4> diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf Binary files differindex af13a37bbc6..5c8658630cd 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.pdf Binary files differindex 0e68cf6d5eb..e7ef112d3bd 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.html b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.html deleted file mode 100644 index aa488357e4a..00000000000 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.html +++ /dev/null @@ -1,1137 +0,0 @@ -<!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/" /> -<title></title> -<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 $ */ -/* :Copyright: © 2015 Günter Milde. */ -/* :License: Released under the terms of the `2-Clause BSD license`_, */ -/* in short: */ -/* */ -/* Copying and distribution of this file, with or without modification, */ -/* are permitted in any medium without royalty provided the copyright */ -/* notice and this notice are preserved. */ -/* */ -/* This file is offered as-is, without any warranty. */ -/* */ -/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */ - -/* This CSS2.1_ stylesheet defines rules for Docutils elements without */ -/* HTML equivalent. It is required to make the document semantic visible. */ -/* */ -/* .. _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;} - -/* titles */ -h1.title, p.subtitle { - text-align: center; -} -p.admonition-title, -p.topic-title, -p.sidebar-title, -p.rubric, -p.system-message-title { - font-weight: bold; -} -h1 + p.subtitle, -h1 + p.section-subtitle { - font-size: 1.6em; -} -h2 + p.section-subtitle { font-size: 1.28em; } -p.subtitle, -p.section-subtitle, -p.sidebar-subtitle { - font-weight: bold; - margin-top: -0.5em; -} -p.sidebar-title, -p.rubric { - font-size: larger; -} -p.rubric { color: maroon; } -a.toc-backref { - color: black; - text-decoration: none; } - -/* Warnings, Errors */ -div.caution p.admonition-title, -div.attention p.admonition-title, -div.danger p.admonition-title, -div.error p.admonition-title, -div.warning p.admonition-title, -div.system-messages h1, -div.error, -span.problematic, -p.system-message-title { - color: red; -} - -/* inline literals */ -span.docutils.literal { - font-family: monospace; - white-space: pre-wrap; -} -/* do not wraph at hyphens and similar: */ -.literal > span.pre { white-space: nowrap; } - -/* Lists */ - -/* compact and simple lists: no margin between items */ -.simple li, .compact li, -.simple ul, .compact ul, -.simple ol, .compact ol, -.simple > li p, .compact > li p, -dl.simple > dd, dl.compact > dd { - margin-top: 0; - margin-bottom: 0; -} - -/* Table of Contents */ -div.topic.contents { margin: 0; } -ul.auto-toc { - list-style-type: none; - padding-left: 1.5em; } - -/* Enumerated Lists */ -ol.arabic { list-style: decimal } -ol.loweralpha { list-style: lower-alpha } -ol.upperalpha { list-style: upper-alpha } -ol.lowerroman { list-style: lower-roman } -ol.upperroman { list-style: upper-roman } - -dt span.classifier { font-style: italic } -dt span.classifier:before { - font-style: normal; - margin: 0.5em; - content: ":"; -} - -/* Field Lists and drivatives */ -/* bold field name, content starts on the same line */ -dl.field-list > dt, -dl.option-list > dt, -dl.docinfo > dt, -dl.footnote > dt, -dl.citation > dt { - font-weight: bold; - clear: left; - float: left; - margin: 0; - padding: 0; - padding-right: 0.5em; -} -/* Offset for field content (corresponds to the --field-name-limit option) */ -dl.field-list > dd, -dl.option-list > dd, -dl.docinfo > dd { - margin-left: 9em; /* ca. 14 chars in the test examples */ -} -/* start field-body on a new line after long field names */ -dl.field-list > dd > *:first-child, -dl.option-list > dd > *:first-child -{ - display: inline-block; - width: 100%; - margin: 0; -} -/* field names followed by a colon */ -dl.field-list > dt:after, -dl.docinfo > dt:after { - content: ":"; -} - -/* Bibliographic Fields (docinfo) */ -pre.address { font: inherit; } -dd.authors > p { margin: 0; } - -/* Option Lists */ -dl.option-list { margin-left: 40px; } -dl.option-list > dt { font-weight: normal; } -span.option { white-space: nowrap; } - -/* Footnotes and Citations */ -dl > dt.label { font-weight: normal; } -dt.label > span.fn-backref { margin: 0.2em; } -dt.label > span.fn-backref > a { font-style: italic; } - -/* Line Blocks */ -div.line-block { display: block; } -div.line-block div.line-block { - margin-top: 0; - margin-bottom: 0; - margin-left: 40px; -} - -/* Images and Figures */ -img.align-left, -.figure.align-left, -object.align-left { - display: block; - margin-right: auto; -} -img.align-center, -.figure.align-center, -object.align-center { - display: block; - margin-left: auto; - margin-right: auto; -} -img.align-right, -.figure.align-right, -object.align-right { - display: block; - margin-left: auto; -} -/* reset inner alignment in figures */ -div.align-right { text-align: inherit } - -/* Admonitions and System Messages */ -div.admonition, -div.system-message, -div.sidebar{ - margin: 40px; - border: medium outset; - padding-right: 1em; - padding-left: 1em; -} - -/* Sidebar */ -div.sidebar { - width: 30%; - max-width: 26em; - float: right; - clear: right; -} - -/* Text Blocks */ -div.topic, -pre.literal-block, -pre.doctest-block, -pre.math, -pre.code { - margin-right: 40px; - margin-left: 40px; -} -pre.code .ln { color: gray; } /* line numbers */ - -/* Tables */ -table { border-collapse: collapse; } -td, th { - border-style: solid; - border-color: silver; - padding: 0 1ex; - border-width: thin; -} -td > p:first-child, th > p:first-child { margin-top: 0; } -td > p, th > p { margin-bottom: 0; } - -table > caption { - text-align: left; - margin-bottom: 0.25em -} - -table.borderless td, table.borderless th { - border: 0; - padding: 0; - padding-right: 0.5em /* separate table cells */ -} - -</style> -<style type="text/css"> - -/* CSS31_ style sheet for the output of Docutils HTML writers. */ -/* 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 $ */ -/* :Copyright: © 2015 Günter Milde. */ -/* :License: Released under the terms of the `2-Clause BSD license`_, */ -/* in short: */ -/* */ -/* Copying and distribution of this file, with or without modification, */ -/* are permitted in any medium without royalty provided the copyright */ -/* notice and this notice are preserved. */ -/* */ -/* This file is offered as-is, without any warranty. */ -/* */ -/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */ -/* .. _CSS3: http://www.w3.org/TR/CSS3 */ - - -/* Document Structure */ -/* ****************** */ - -/* "page layout" */ -body { - padding: 0 5%; - margin: 8px 0; -} -div.document { - line-height:1.3; - counter-reset: table; - /* counter-reset: figure; */ - /* avoid long lines --> better reading */ - /* OTOH: lines should not be too short because of missing hyphenation, */ - max-width: 50em; - margin: auto; -} - -/* Sections */ - -/* Transitions */ - -hr.docutils { - width: 80%; - margin-top: 1em; - margin-bottom: 1em; - clear: both; -} - -/* Paragraphs */ -/* ========== */ - -/* vertical space (parskip) */ -p, ol, ul, dl, -div.line-block, -table{ - margin-top: 0.5em; - margin-bottom: 0.5em; -} -h1, h2, h3, h4, h5, h6, -dl > dd { - margin-bottom: 0.5em; -} - -/* Lists */ -/* ========== */ - -/* Definition Lists */ - -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; } */ - -/* lists nested in definition lists */ -/* :only-child is not part of CSS 2.1 (introduced in CSS 3) */ -dd > ul:only-child, dd > ol:only-child { padding-left: 1em; } - -/* Description Lists */ -/* styled like in most dictionaries, encyclopedias etc. */ -dl.description > dt { - font-weight: bold; - clear: left; - float: left; - margin: 0; - padding: 0; - padding-right: 0.5em; -} - -/* Field Lists */ - -/* example for custom field-name width */ -dl.field-list.narrow > dd { - margin-left: 5em; -} -/* run-in: start field-body on same line after long field names */ -dl.field-list.run-in > dd p { - display: block; -} - -/* Bibliographic Fields */ - -/* generally, bibliographic fields use special definition list dl.docinfo */ -/* but dedication and abstract are placed into "topic" divs */ -div.abstract p.topic-title { - text-align: center; -} -div.dedication { - margin: 2em 5em; - text-align: center; - font-style: italic; -} -div.dedication p.topic-title { - font-style: normal; -} - -/* Citations */ -dl.citation dt.label { - font-weight: bold; -} -span.fn-backref { - font-weight: normal; -} - -/* Text Blocks */ -/* ============ */ - -/* 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; - margin-bottom: 0; -} -blockquote p.attribution, -div.topic p.attribution { - text-align: right; - margin-left: 20%; -} - -/* Tables */ -/* ====== */ - -/* th { vertical-align: bottom; } */ - -/* "booktabs" style (no vertical lines) */ -table.booktabs { - border: 0; - border-top: 2px solid; - border-bottom: 2px solid; - border-collapse: collapse; -} -table.booktabs * { - border: 0; -} -table.booktabs th { - border-bottom: thin solid; - text-align: left; -} - -/* numbered tables (counter defined in div.document) */ -table.numbered > caption:before { - counter-increment: table; - content: "Table " counter(table) ": "; - font-weight: bold; -} - -/* Explicit Markup Blocks */ -/* ====================== */ - -/* Footnotes and Citations */ -/* ----------------------- */ - -/* line on the left */ -dl.footnote { - padding-left: 1ex; - border-left: solid; - border-left-width: thin; -} - -/* Directives */ -/* ---------- */ - -/* Body Elements */ -/* ~~~~~~~~~~~~~ */ - -/* Images and Figures */ -img.align-left, -.figure.align-left, -object.align-left { - clear: left; - float: left; - margin-right: 1em -} -img.align-right, -.figure.align-right, -object.align-right { - clear: right; - float: right; - margin-left: 1em -} -/* Stop floating sidebars, images and figures at section level 1,2,3 */ -h1, h2, h3 { clear: both; } - -/* Sidebar */ - -/* Move into the margin. In a layout with fixed margins, */ -/* it can be moved into the margin completely. */ -div.sidebar { - width: 30%; - max-width: 26em; - margin-left: 1em; - margin-right: -5.5%; - background-color: #ffffee ; -} - -/* Code */ - -pre.code, code { background-color: #eeeeee } -pre.code .ln { color: gray; } /* line numbers */ -/* basic highlighting: for a complete scheme, see */ -/* http://docutils.sourceforge.net/sandbox/stylesheets/ */ -pre.code .comment, code .comment { color: #5C6576 } -pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } -pre.code .literal.string, code .literal.string { color: #0C5404 } -pre.code .name.builtin, code .name.builtin { color: #352B84 } -pre.code .deleted, code .deleted { background-color: #DEB0A1} -pre.code .inserted, code .inserted { background-color: #A3D289} - -/* Math */ -/* styled separately (see math.css for math-output=HTML) */ - -/* Epigraph */ -/* Highlights */ -/* Pull-Quote */ -/* Compound Paragraph */ -/* Container */ - -/* can be styled in a custom stylesheet */ - -/* Document Header and Footer */ - -div.footer, div.header { - clear: both; - font-size: smaller; -} - -/* Inline Markup */ -/* ============= */ - -/* Emphasis */ -/* em */ -/* Strong Emphasis */ -/* strong */ -/* Interpreted Text */ -/* span.interpreted */ -/* Title Reference */ -/* cite */ -/* Inline Literals */ -/* possible values: normal, nowrap, pre, pre-wrap, pre-line */ -/* span.docutils.literal { white-space: pre-wrap; } */ - -/* Hyperlink References */ -a { text-decoration: none; } - -/* External Targets */ -/* span.target.external */ -/* Internal Targets */ -/* span.target.internal */ -/* Footnote References */ -/* a.footnote-reference */ -/* Citation References */ -/* a.citation-reference */ - -</style> -</head> -<body> -<div class="document"> - - -<p>documentclass{article} -usepackage{parskip} -usepackage{booktabs}</p> -<p>usepackage{lmodern} -usepackage{textcomp} -usepackage[LGR,T1]{fontenc}</p> -<p>% UTF8 input encoding for pdfTeX or LuaTeX in 8-bit compatibility mode: -% (XeTeX in compatibility mode would require xetex-inputenc.sty, which is not -% not at CTAN but on <a class="reference external" href="https://github.com/wspr/xetex-inputenc">https://github.com/wspr/xetex-inputenc</a>) -usepackage[utf8]{luainputenc}</p> -<p>usepackage[pdfencoding=auto,colorlinks=true]{hyperref} -usepackage{bookmark} -% hyperrefs PU encoding supports Greek LICR macros -DeclareTextCommand{ensuregreek}{PU}[1]{#1}</p> -<dl> -<dt>usepackage[normalize-symbols, % comment option out to test error reporting</dt> -<dd><blockquote> -<p>keep-semicolon%</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 21)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>]{textalpha}</p> -</dd> -</dl> -<p>begin{document}</p> -<p>title{The emph{textalpha} package} -author{Günter Milde} -maketitle</p> -<p>abstract{noindent -The emph{textalpha} package enables the use of Greek characters -in text independent of font encoding or TeX engine. Input is possible via -text commands (verb|textalpha| ldots -verb|textOmega|) or Unicode literalsfootnote{% -Requires emph{href{<a class="reference external" href="http://www.ctan.org/pkg/greek-inputenc">http://www.ctan.org/pkg/greek-inputenc</a>}{greek-inputenc}} -or XeTeX/LuaTeX.}. -} -tableofcontents</p> -<p>section{Usage}</p> -<p>Load this package in the preamble of your document with -begin{verbatim}</p> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 43)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<p>usepackage{textalpha}</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 44)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>end{verbatim} -eventually with options texttt{normalize-symbols} and/or -texttt{keep-semicolon} -.</p> -<p>If emph{textalpha} is loaded after the setup of Unicode fonts with the -href{<a class="reference external" href="http://www.ctan.org/pkg/fontspec">http://www.ctan.org/pkg/fontspec</a>}{emph{fontspec}} package under -LuaTeX and XeTeX, it provides a compatible interface for Greek in text mode.</p> -<p>See the source of this document url{textalpha-doc.tex} for a setup and -usage example, the literate source of the package -href{textalpha.sty.html}{textalpha.sty} for the implementation, and -href{greek-euenc-doc.pdf}{greek-euenc-doc.pdf} for -emph{Font setup for Greek with XeTeX/LuaTeX}.</p> -<p>subsection{option texttt{normalize-symbols}}</p> -<p>Mathematical notation uses variant shapes of some Greek letters as -additional symbols. There are separate code points for the symbol variants -in Unicode but not in the LGR font encoding used for Greek in 8-bit TeX. -TeX supports some of the variant shape symbols in mathematical mode -($theta|vartheta, phi|varphi, pi|varpi, rho|varrho, -epsilon|varepsilon$).</p> -<p>The variations have no syntactic meaning in Greek text and text fonts may -use the variant shapes in place of the “regular” ones as a stylistic choice. -However, some Greek texts in Unicode encoding use these GREEK -… SYMBOL characters in place of the corresponding GREEK LETTER … -characters.</p> -<p>The texttt{normalize-symbols} option merges letters and symbols to Greek -letters. This way, text copied from external sources can be compiled without -errors even if it contains GREEK SYMBOL characters in place of GREEK LETTERS: -begin{quote}</p> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 80)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<p>This text uses both variants for beta (β|ϐ), theta (θ|ϑ), phi (φ|ϕ), pi -(π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon (ε|ϵ) in the LaTeX -source.</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 83)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>end{quote}</p> -<p>textbf{Attention}: Do not use this option in cases where the distinction -between the symbol variants may be important (e.g. in a mathematical or -scientific context). Try the emph{alphabeta} package with the -respective characters in math mode or use XeTeX/LuaTeX with Unicode fonts in -these cases.</p> -<p>This option is ignored with Unicode fonts.</p> -<p>subsection{texttt{keep-semicolon}}</p> -<p>LGR is no <a href="#id1"><span class="problematic" id="id2">``</span></a>standard font encoding”. Latin characters and some other ASCII -symbols are mapped to Greek <a href="#id3"><span class="problematic" id="id4">``</span></a>equivalents” if LGR is the active font -encoding. (See -href{<a class="reference external" href="http://mirrors.ctan.org/macros/latex/contrib/babel-contrib/greek/usage.pdf">http://mirrors.ctan.org/macros/latex/contrib/babel-contrib/greek/usage.pdf</a>}{usage.pdf} -for a description of this Latin-Greek transliteration.)</p> -<div class="system-message" id="id1"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 95); <em><a href="#id2">backlink</a></em></p> -<p>Inline literal start-string without end-string.</p> -</div> -<div class="system-message" id="id3"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 95); <em><a href="#id4">backlink</a></em></p> -<p>Inline literal start-string without end-string.</p> -</div> -<p>Special care is required with the question mark characters: -begin{itemize}</p> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 103)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<dl> -<dt>item The LGR font encoding uses the Latin question mark as input for the</dt> -<dd><p>emph{erotimatiko} and maps the semicolon to a middle dot (emph{ano -teleia}).</p> -</dd> -<dt>item The Unicode standard provides the code point 037E GREEK QUESTION MARK</dt> -<dd><p>but says character 003B SEMICOLON and not 037E is the preferred -character for a <a href="#id5"><span class="problematic" id="id6">`</span></a>Greek question mark’ (erotimatiko),</p> -<div class="system-message" id="id5"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 107); <em><a href="#id6">backlink</a></em></p> -<p>Inline interpreted text or phrase reference start-string without end-string.</p> -</div> -</dd> -</dl> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 109)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>end{itemize} -As a result, only the deprecated character 037E GREEK QUESTION MARK works -with both, Xe/LuaTeX and 8-bit TeX.</p> -<p>The verb|textsemicolon| command inserts an emph{erotimatiko} in LGR and a -semicolon else (i.e. always a character that looks like a semicolon): -begin{quote}</p> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 116)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<p>Latin (T1) atextsemicolon{} b, -Greek (LGR) ensuregreek{atextsemicolon{} b}</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 118)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>end{quote}</p> -<p>With the texttt{keep-semicolon} option, character 003B SEMICOLON can be used -for the emph{erotimatiko} also with LGR encoded fonts:</p> -<p>begin{center} -begin{tabular}{lll}</p> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 125)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<p>Latin (T1) & Greek (LGR) & question mark character \ -midrule -Τί φήις; & ensuregreek{Τί φήις;} & 037E GREEK QUESTION MARK \ -Τί φήις; & ensuregreek{Τί φήις;} & 003B SEMICOLON \ -Τί φήις? & ensuregreek{Τί φήις?} & 003F QUESTION MARK \</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 130)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>end{tabular} -end{center}</p> -<p>This option is ignored with Unicode fonts.</p> -<p>section{Limitations label{sec:limitations}}</p> -<p>Because the internal font encoding switch interferes with other work behind -the scenes, kerning, diacritics and up/down-casing show problems if Greek -letters are used without explicit change of the font encoding.</p> -<p>These problems can be avoided by use of emph{babel} and the correct -language setting (greek), an explicit font encoding switch (e.g. -wrapping the Greek text in verb|ensuregreek|% -footnote{The texttt{textbackslash ensuregreek} macro ensures the argument</p> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 146)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<p>is set in a font encoding supporting Greek. -% This can be used to fix these -% problems without adverse side-effects if the active font encoding is -% already LGR or Unicode. -},</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 151)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>or XeTeX/LuaTeX with Unicode fonts.</p> -<p>subsection{Diacritics}</p> -<p>Composition of diacritics (like verb|accdasiaacctonos| or verb|<’<a href="#id15"><span class="problematic" id="id16">|) -fails in other font encodings. Long names (like \verb|</span></a>accdasiaoxia|) work.</p> -<p>With LGR, pre-composed glyphs are chosen if available. In other font -encodings, accent macros do not select pre-composed characters. (The -difference is a sub-optimal placement of the accent and becomes obvious if -you drag-and-drop text from the PDF version of this document.):</p> -<dl class="simple"> -<dt>begin{quote}</dt> -<dd><p>ensuregreek{<’a accdasiaacctonos a accdasiaoxia a -accdasiaoxiatextalpha} (LGR) vs. accdasiaoxiatextalpha{} (T1).</p> -</dd> -</dl> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 167)</p> -<p>Definition list ends without a blank line; unexpected unindent.</p> -</div> -<p>end{quote}</p> -<p>According to Greek typographical tradition, diacritics (except the -dialytika) are placed before capital letters in Titlecase and dropped in -UPPERCASE: -% -begin{quote}</p> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 174)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<dl> -<dt>ensuregreek{%</dt> -<dd><p><{textalpha} >{textepsilon} “’{textiota} `>texteta{} -‘<{textomicron} ~<{textupsilon} ~>{textomega} -quad -<{textAlpha} >{textEpsilon} “{textIota} `>textEta{} -‘<{textOmicron} ~<{textUpsilon} ~>{textOmega} -quad -MakeUppercase{%</p> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 182)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<p><{textalpha} >{textepsilon} “’{textiota} `>texteta{} -‘<{textomicron} ~<{textupsilon} ~>{textomega}</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 184)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>}</p> -</dd> -</dl> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 185)</p> -<p>Definition list ends without a blank line; unexpected unindent.</p> -</div> -<p>}</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 186)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>end{quote} -% -This fails for accent macros if the active font encoding is not LGR or -Unicode. Pre-composed literal Unicode characters are handled correctly: -begin{quote}</p> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 191)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<p>ensuregreek{‘textAlpha/Ά} (LICR/Unicode in LGR) vs. -‘textAlpha/Ά (LICR/Unicode in T1).</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 193)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>end{quote}</p> -<p>The dialytika marks a emph{hiatus} (break-up of a diphthong). It must be -present in UPPERCASE even where it is redundant in lowercase (the hiatus can -also be marked by an accent on the first character of a diphthong). The -auto-hiatus feature works in LGR and Unicode font encodings only: -begin{quote}</p> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 200)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<p>acctonostextalphatextupsilon{}, acctonostextepsilontextiota{} $mapsto$ -MakeUppercase{ensuregreek{</p> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 202)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<p>acctonostextalphatextupsilon{}, acctonostextepsilontextiota{}</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 203)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>}} (LGR) vs. -MakeUppercase{</p> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 205)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<p>acctonostextalphatextupsilon{}, acctonostextepsilontextiota{}%</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 206)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>} (T1)</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 207)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>end{quote}</p> -<p>Currently, the second vowel of the diphthong must be given as macro, not -Unicode literal if the auto-hiatus feature should work: -begin{quote} -ensuregreek{ἀtextupsilon{}πνία} $mapsto$ -ensuregreek{MakeUppercase{ensuregreek{ἀtextupsilon{}πνία}}} (LGR) vs. -ensuregreek{MakeUppercase{ensuregreek{ἀυπνία}}} (T1). -end{quote}</p> -<p>subsection{Kerning}</p> -<p>No kerning occurs between Greek characters in non-Greek text due to the -internal font encoding switch: compare -ensuregreek{textAlphatextUpsilontextAlpha} (LGR) to -textAlphatextUpsilontextAlpha (T1).</p> -<p>Compiling with LuaTeX provides kerning also over font encoding boundaries.</p> -<p>section{Test and Examples}</p> -<p>subsection{Greek alphabet}</p> -<p>Greek letters via Latin transcription in LGR font encoding:</p> -<dl class="simple"> -<dt>begin{quote}</dt> -<dd><p>ensuregreek{A B G D E Z H J I K L M N X O P R S T U F Q Y W}\ -ensuregreek{a b g d e z h j i k l m n x o p r sv c t u f q y w}</p> -</dd> -</dl> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 235)</p> -<p>Definition list ends without a blank line; unexpected unindent.</p> -</div> -<p>end{quote}</p> -<p>Greek letters via default macros in other font encoding (here T1):</p> -<dl class="simple"> -<dt>begin{quote}</dt> -<dd><p>textAlpha{} textBeta{} textGamma{} textDelta{} textEpsilon{} -textZeta{} textEta{} textTheta{} textIota{} textKappa{} -textLambda{} textMu{} textNu{} textXi{} textOmicron{} textPi{} -textRho{} textSigma{} textTau{} textUpsilon{} textPhi{} -textChi{} textPsi{} textOmega{} -\ -textalpha{} textbeta{} textgamma{} textdelta{} textepsilon{} -textzeta{} texteta{} texttheta{} textiota{} textkappa{} -textlambda{} textmu{} textnu{} textxi{} textomicron{} textpi{} -textrho{} textsigma{} textvarsigma{} texttau{} textupsilon{} -textphi{} textchi{} textpsi{} textomega{}</p> -</dd> -</dl> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 251)</p> -<p>Definition list ends without a blank line; unexpected unindent.</p> -</div> -<p>end{quote}</p> -<p>Archaic Greek letters and Greek punctuation</p> -<dl class="simple"> -<dt>begin{quote}</dt> -<dd><p>textDigamma -textanoteleia -textQoppa -textSampi -textStigma -textnumeralsigngreek -texterotimatiko -\ -textdigamma -textkoppa -textqoppa -textsampi -textstigma -textnumeralsignlowergreek -textvarstigma</p> -</dd> -</dl> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 271)</p> -<p>Definition list ends without a blank line; unexpected unindent.</p> -</div> -<p>end{quote}</p> -<p>Diacritics</p> -<dl> -<dt>begin{quote}</dt> -<dd><p>Symbol macros:% -footnote{Composite diacritics require wrapping in -texttt{textbackslash ensuregreek}.} -“{} ‘{} `{} ~{} <{} >{} u{} ={} -ensuregreek{“~{} “’{} “<a href="#id7"><span class="problematic" id="id8">`</span></a>{} <~{} <<a href="#id9"><span class="problematic" id="id10">`</span></a>{} <’{} >~{} >’{} >`{}}</p> -<div class="system-message" id="id7"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 276); <em><a href="#id8">backlink</a></em></p> -<p>Inline interpreted text or phrase reference start-string without end-string.</p> -</div> -<div class="system-message" id="id9"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 276); <em><a href="#id10">backlink</a></em></p> -<p>Inline interpreted text or phrase reference start-string without end-string.</p> -</div> -<p>Named macros: -accdialytika{} -acctonos{} -accvaria{} -accperispomeni{} -accdasia{} -accpsili{} -ypogegrammeni{} -prosgegrammeni{} -% -accdialytikaperispomeni{} -accdialytikatonos{} -accdialytikavaria{} -accdasiaperispomeni{} -accdasiavaria{} -accdasiaoxia{} -accpsiliperispomeni{} -accpsilioxia{} -accpsilivaria{} -% -accinvertedbrevebelow{} % == textsubarch{} -accbrevebelow{}</p> -</dd> -</dl> -<p>end{quote}</p> -<p>Accent macros can start with verb|a| instead of verb|| when the -short form is redefined, e.,g. inside a emph{tabbing} environment. -This also works for the new-defined Dasia and Psili shortcuts: -begin{quote}</p> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 312)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<dl class="simple"> -<dt>begin{tabbing}</dt> -<dd><p>COL1quad = COL2quad = COL3quad = COL4quad \ -COL1 > > COL3 \ -Viele > Gra”uss e -> greekscript a<textalpha{} -> greekscript a>textomega</p> -</dd> -</dl> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 318)</p> -<p>Definition list ends without a blank line; unexpected unindent.</p> -</div> -<p>end{tabbing}</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 319)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>end{quote}</p> -<p>subsection{Greek Unicode characters in non-Greek text}</p> -<p>With the emph{textalpha} package, -href{<a class="reference external" href="http://www.ctan.org/pkg/greek-inputenc">http://www.ctan.org/pkg/greek-inputenc</a>}{greek-inputenc} and input -encoding texttt{utf8}, Greek Unicode characters can be used in text with -any font encoding. See Tables ref{tab:greek-and-coptic} and -ref{tab:greek-extended}.</p> -<p>Kerning is preserved if the font encoding is LGR: ensuregreek{AΫA}</p> -<p>begin{table}[tbp] -centerline{ -begin{tabular}{rrrrrrrrrrrrrrrrr} -toprule</p> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 336)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<p>& 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & C & D & E & F\</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 337)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>midrule -370 & * & * & * & * & ʹ & ͵ & * & * & & & ͺ & * & * & * & ; & \ -380 & & & & & ΄ & ΅ & Ά & · & Έ & Ή & Ί & & Ό & & Ύ & Ώ\ -390 & ΐ & Α & Β & Γ & Δ & Ε & Ζ & Η & Θ & Ι & Κ & Λ & Μ & Ν & Ξ & Ο\ -3A0 & Π & Ρ & & Σ & Τ & Υ & Φ & Χ & Ψ & Ω & Ϊ & Ϋ & ά & έ & ή & ί\ -3B0 & ΰ & α & β & γ & δ & ε & ζ & η & θ & ι & κ & λ & μ & ν & ξ & ο\ -3C0 & π & ρ & ς & σ & τ & υ & φ & χ & ψ & ω & ϊ & ϋ & ό & ύ & ώ & \ -3D0 & * & * & * & * & * & * & * & * & Ϙ & ϙ & Ϛ & ϛ & Ϝ & ϝ & * & ϟ\ -3E0 & Ϡ & ϡ & * & * & * & * & * & * & * & * & * & * & * & * & * & <a href="#id11"><span class="problematic" id="id12">*</span></a>\ -3F0 & * & * & * & * & * & * & * & * & * & * & * & * & * & * & * & <a href="#id13"><span class="problematic" id="id14">*</span></a>\ -bottomrule -end{tabular} -} % end centerline -caption{Greek and Coptic Unicode Block, input as literal Unicode</p> -<div class="system-message" id="id11"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 337); <em><a href="#id12">backlink</a></em></p> -<p>Inline emphasis start-string without end-string.</p> -</div> -<div class="system-message" id="id13"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 337); <em><a href="#id14">backlink</a></em></p> -<p>Inline emphasis start-string without end-string.</p> -</div> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 351)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<p>characters in T1 font encoding (legend: * glyph missing in LGR).}</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 352)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>label{tab:greek-and-coptic} -end{table}</p> -<p>begin{table}[tbp] -centerline{ -begin{tabular}{rrrrrrrrrrrrrrrrr} -toprule</p> -<div class="system-message"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 360)</p> -<p>Unexpected indentation.</p> -</div> -<blockquote> -<p>& 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & C & D & E & F\</p> -</blockquote> -<div class="system-message"> -<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 361)</p> -<p>Block quote ends without a blank line; unexpected unindent.</p> -</div> -<p>midrule -1F00 & ἀ & ἁ & ἂ & ἃ & ἄ & ἅ & ἆ & ἇ & Ἀ & Ἁ & Ἂ & Ἃ & Ἄ & Ἅ & Ἆ & Ἇ\ -1F10 & ἐ & ἑ & ἒ & ἓ & ἔ & ἕ & & & Ἐ & Ἑ & Ἒ & Ἓ & Ἔ & Ἕ & & \ -1F20 & ἠ & ἡ & ἢ & ἣ & ἤ & ἥ & ἦ & ἧ & Ἠ & Ἡ & Ἢ & Ἣ & Ἤ & Ἥ & Ἦ & Ἧ\ -1F30 & ἰ & ἱ & ἲ & ἳ & ἴ & ἵ & ἶ & ἷ & Ἰ & Ἱ & Ἲ & Ἳ & Ἴ & Ἵ & Ἶ & Ἷ\ -1F40 & ὀ & ὁ & ὂ & ὃ & ὄ & ὅ & & & Ὀ & Ὁ & Ὂ & Ὃ & Ὄ & Ὅ & & \ -1F50 & ὐ & ὑ & ὒ & ὓ & ὔ & ὕ & ὖ & ὗ & & Ὑ & & Ὓ & & Ὕ & & Ὗ\ -1F60 & ὠ & ὡ & ὢ & ὣ & ὤ & ὥ & ὦ & ὧ & Ὠ & Ὡ & Ὢ & Ὣ & Ὤ & Ὥ & Ὦ & Ὧ\ -1F70 & ὰ & ά & ὲ & έ & ὴ & ή & ὶ & ί & ὸ & ό & ὺ & ύ & ὼ & ώ & & \ -1F80 & ᾀ & ᾁ & ᾂ & ᾃ & ᾄ & ᾅ & ᾆ & ᾇ & ᾈ & ᾉ & ᾊ & ᾋ & ᾌ & ᾍ & ᾎ & ᾏ\ -1F90 & ᾐ & ᾑ & ᾒ & ᾓ & ᾔ & ᾕ & ᾖ & ᾗ & ᾘ & ᾙ & ᾚ & ᾛ & ᾜ & ᾝ & ᾞ & ᾟ\ -1FA0 & ᾠ & ᾡ & ᾢ & ᾣ & ᾤ & ᾥ & ᾦ & ᾧ & ᾨ & ᾩ & ᾪ & ᾫ & ᾬ & ᾭ & ᾮ & ᾯ\ -1FB0 & ᾰ & ᾱ & ᾲ & ᾳ & ᾴ & & ᾶ & ᾷ & Ᾰ & Ᾱ & Ὰ & Ά & ᾼ & ᾽ & ι & ᾿\ -1FC0 & ῀ & ῁ & ῂ & ῃ & ῄ & & ῆ & ῇ & Ὲ & Έ & Ὴ & Ή & ῌ & ῍ & ῎ & ῏\ -1FD0 & ῐ & ῑ & ῒ & ΐ & & & ῖ & ῗ & Ῐ & Ῑ & Ὶ & Ί & & ῝ & ῞ & ῟\ -1FE0 & ῠ & ῡ & ῢ & ΰ & ῤ & ῥ & ῦ & ῧ & Ῠ & Ῡ & Ὺ & Ύ & Ῥ & ῭ & ΅ & `\ -1FF0 & & & ῲ & ῳ & ῴ & & ῶ & ῷ & Ὸ & Ό & Ὼ & Ώ & ῼ & ´ & ῾ & \ -bottomrule -end{tabular} -} % end centerline -caption{Greek Extended Unicode Block, input as literal Unicode -characters in T1 font encoding.} -label{tab:greek-extended} -end{table}</p> -<p>Combined Diacritics work ᾅ, diacritics (except diaeresis) are dropped with -MakeUppercase (μαΐστρος $mapsto$ MakeUppercase{μαΐστρος}).</p> -<p>subsection{PDF strings}</p> -<p>With emph{textalpha} and -emph{href{<a class="reference external" href="http://www.ctan.org/pkg/greek-inputenc">http://www.ctan.org/pkg/greek-inputenc</a>}{greek-inputenc}}, there -are two options to get Greek letters in PDF strings: LICR macros and literal -Unicode input.</p> -<dl class="simple"> -<dt>subsubsection{textlambdatextomicrontextgammatextomicrontextvarsigma{},</dt> -<dd><p>λογος and ensuregreek{logos}}</p> -</dd> -</dl> -<p>The subsection title above uses: LICR macros, Unicode input and the LGR -transcription for the Greek word ensuregreek{logos}. Check the table of -contents in the PDF viewer: LICR macros and Unicode literals work fine, the -Latin transcription remains Latin in the PDF metadata.</p> -<p>end{document}</p> -<div class="system-messages section"> -<h1>Docutils System Messages</h1> -<div class="system-message" id="id15"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">/home/milde/Code/sf-home/userweb/htdocs/greek/greek-fontenc/textalpha-doc.tex</span>, line 156); <em><a href="#id16">backlink</a></em></p> -<p>Undefined substitution referenced: ") fails in other font encodings. Long names (like verb".</p> -</div> -</div> -</div> -</body> -</html> diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf Binary files differindex 04bd33771f3..779d909a05a 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def index c6f0f54134a..e7d3b88f6d1 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def @@ -53,6 +53,7 @@ % .. add composite commands for single quotation marks. % 0.11.2 2014-09-04 remove duplicate code. % 0.13 2015-08-04 Support for symbol variants. +% 0.13.1 2015-12-07 Fix `rho with dasia bug` (Linus Romer). % ====== ============ ======================================================== % % Usage @@ -93,7 +94,7 @@ % :: \ProvidesFile{lgrenc.def} -[2015/08/08 v0.13 LGR Greek font encoding definitions] +[2015/12/07 v0.13.1 LGR Greek font encoding definitions] % Copyright © 2010 Günter Milde % This file is part of the "greek-fontenc" package. % It may be distributed and/or modified under the @@ -657,8 +658,8 @@ \DeclareTextComposite{\accdasiaoxia}{LGR}{\textomicron}{237} \DeclareTextComposite{\accpsilioxia}{LGR}{\textomicron}{238} \DeclareTextComposite{\accpsilivaria}{LGR}{\textomicron}{239} -\DeclareTextComposite{\accdasia}{LGR}{r}{251} -\DeclareTextComposite{\accpsili}{LGR}{r}{252} +\DeclareTextComposite{\accdasia}{LGR}{\textrho}{251} +\DeclareTextComposite{\accpsili}{LGR}{\textrho}{252} % Capital letters with diacritics diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty index 2f122f25d9e..0bf4b1f18ab 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty +++ b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty @@ -2,15 +2,15 @@ % +++++++++++++ % Greek symbols in text % ********************* -% +% % :Copyright: © 2010 Günter Milde % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either % version 1.3 of this license or any later version. -% +% % :Abstract: Provide a set of ``\text*`` macros for Greek characters % in text mode. -% +% % :Identification: % :: @@ -19,14 +19,14 @@ [2015/09/04 v0.13 macros for Greek letters in text] % .. note:: -% +% % The package was renamed from `textgreek` to `textalpha` to prevent % confusion with the textgreek_ package by Leonard Michlmayr. -% -% +% +% % Changelog: % .. class:: borderless -% +% % ========== ===== ========================================================= % 2010-06-16 0.1 initial version % 2012-06-27 0.2 support for compound Unicode definitions outside LGR @@ -41,118 +41,118 @@ % .. Option keep-semicolon_: use semicolon as erotimatiko % in LGR. % ========== ===== ========================================================= -% +% % .. contents:: -% +% % Motivation % ========== -% +% % By default, TeX macros for Greek letters are only valid in mathematical % mode. This package sets up a suitable `font encoding`_ and `LaTeX internal % character representations` (LICR) definitions for Greek (``\textalpha`` -- % ``\textOmega``). -% +% % To allow documents using Greek LICR macros without worrying about the TeX % engine used to compile them, this package tests the declared font encodings % and does "the right thing" to set up Greek text font support: -% +% % * If the Unicode font encodings EU1 (XeTeX) or EU2 (LuaTeX) are declared, % before loading this package (e.g. via ``fontspec``) the package provides % Greek LICR definitions for them. -% +% % * Otherwise, the `LGR font encoding`_ is set as `default font encoding` % (cf. fntguide_ section 5.3) for Greek. -% +% % Advantages: -% +% % * Symbols from a Greek text font (e.g. the `CB fonts`_) can be accessed % without the need for an explicite font-encoding switch anywhere in the % text. -% +% % * Unicode input of Greek characters is supported -% +% % + via ``\usepackage[utf8]{inputenc}`` and ``lgrenc.dfu`` from % greek-inputenc_ for 8-bit TeX or XeTeX/LuaTeX in 8-bit compatibility % mode in any font encoding (see textalpha-doc.tex_). -% +% % + natively by XeTeX/LuaTeX for Unicode fonts. As inputenc_ does not work % with these engines, text input can be done via the Latin transcription % or LICR but *not via literal Unicode characters* for 8-bit font encodings % like LGR (see greek-euenc-doc.tex_). -% +% % .. Attention:: The macros work well in any font encoding for single symbols. % However, with 8-bit TeX engines, the automatic font-encoding switches % behind the doors interfere with kerning between letters and replacement % of accent+character with a pre-composed character. -% +% % Therefore, Greek text should be written with the help of babel_ or % polyglossia_ (setting the language to ``greek``) or wrapped in the % provided ``ensuregreek`` macro. Using babel_ or polyglossia_ also helps % to ensure correct hyphenation of Greek text. -% -% +% +% % Usage % ===== -% +% % Ensure support for Greek characters in text mode with -% +% % .. code:: latex -% +% % \usepackage{textalpha} -% +% % eventually with the options_ to normalize symbols variants -% +% % .. code:: latex -% +% % \usepackage[normalize-symbols]{textalpha} -% +% % and/or to use the semicolon as erotimatiko_ also in 8-bit TeX -% +% % .. code:: latex -% +% % \usepackage[normalize-symbols,keep-semicolon]{textalpha} -% -% +% +% % To give ``textalpha.sty`` a chance of finding out which `font encodings`_ % are used, load it after fontspec_ and/or fontenc_. -% -% -% +% +% +% % For detailled examples see `<textalpha-doc.tex>`_ and `<textalpha-doc.pdf>`_ % (8-bit TeX and XeTeX/LuaTeX in 8-bit compatibility mode) as well as % `<greek-euenc-doc.tex>`_ and `<greek-euenc-doc.pdf>`_ (XeTeX/LuaTeX with % Unicode fonts). -% +% % With XeTeX or LuaTex, Unicode fonts and LGR encoded 8-bit fonts can be used % in the same document (see greek-euenc-doc.tex_). -% -% +% +% % Implementation % ============== -% +% % Options % ------- -% +% % normalize-symbols % """"""""""""""""" -% +% % The "variant shape" symbol characters like ``03D1 GREEK THETA SYMBOL`` are % mathematical charcters for mathematical use % (similar to ``1D440 MATHEMATICAL ITALIC CAPITAL M``). % Unfortunately, some Greek texts sources in Unicode encoding mix letter and % symbol characters . -% +% % The "normalize-symbols" option controls the handling of `variant shape % symbols`_ under 8-bit TeX: -% +% % * The option activates a simple "folding" mechanism that merges ϰ and κ to % \textkappa etc. for text copied from external sources which may use the % GREEK SYMBOL characters in place of GREEK LETTERS, -% +% % * Without this option, variant shape symbols in the input are reported as % errors to prevent information loss in cases where the distinction between % ϰ and κ is intended (e.g. in mathematical or scientific context). -% +% % With XeTeX/LuaTeX and Unicode fonts, this option is ignored. % :: @@ -161,16 +161,16 @@ % keep-semicolon % """""""""""""" -% +% % The erotimatiko_ looks like a semicolon but is a % **Greek question mark**: -% +% % * The `LGR font encoding`_ uses the Latin question mark as input for the % `erotimatiko` and maps the semicolon to a middle dot (`ano teleia`). % * The Unicode standard provides the code point ``037E GREEK QUESTION MARK`` % but says: "character ``003B SEMICOLON`` (and not 037E) is the preferred % character for Greek question mark". -% +% % The ``keep-semicolon`` option allows to use the `semicolon as erotimatiko`_ % in both, Xe/LuaTeX and 8-bit TeX. (The `ano teleia` can be input as % ``\textanoteleia`` or using character ``00B7 MIDDLE DOT``.) @@ -183,14 +183,14 @@ \ProcessOptions\relax % .. _font encoding: -% +% % Font encodings % -------------- -% +% % With 8-bit LaTeX, the `LGR font encoding`_ is used for Greek characters. If % no Greek-supporting font encoding (EU1, EU2, or LGR) is declared, LGR is % loaded and set up as default Greek font encoding by this package. -% +% % With XeTeX or LuaTeX, there is one common input and font encoding -- % Unicode. 8-bit TeX font encodings are only used in compatibility mode or for % fonts not available otherwise. For compatibility with the LaTeX font @@ -199,18 +199,18 @@ % define LICR macros. We therefore explicitely load Greek LICR definitions for % XeTeX/LuaTeX from `greek-euenc.def <greek-euenc.def.html>`_ which in turn % includes `greek-fontenc.def <greek-fontenc.def.html>`_. -% +% % .. _LGR font encoding: README.html#lgr -% +% % Ensure a Greek-supporting font encoding exists and supports Greek LICR % macros: -% +% % * Load the Greek LICR definitions for Unicode if font encoding EU1 (XeTeX) % or EU2 (LuaTeX) is detected. [#EU]_ (In an ideal world, this would be done % in the ``eu1enc.def`` (or ``eu2enc.def``) file of the euenc_ package.) % * Re-set ``\LastDeclaredEncoding`` (used in some included font-encoding files). % * If none of EU1, EU2, or LGR is declared, load ``lgrenc.def``. -% +% % :: \@ifl@aded{def}{eu1enc}{ @@ -242,15 +242,15 @@ % .. [#EU] The two different (pseudo) font encodings allow different font % setups for XeTeX vs. LuaTeX using differently named ``*.fd`` files (see % euenc_ for details). -% -% +% +% % Symbol macros for breathings % ---------------------------- -% +% % In the Latin transcription provided by LGR, breathing accents (Dasia and % Psili) are input as < and >. We provide the corresponding NFSS macro accents % (moved here from `greek-fontenc.def`_). -% +% % As Xe/LuaTeX may use LGR in combination with EU1 or EU2, we define the % macros for both, LGR and Unicode font encodings (if they are defined):: @@ -280,7 +280,7 @@ % Default declarations % -------------------- -% +% % The following definitions ensure that the Greek LICR macros can be used % anywhere in the document also with 8-bit TeX by declaring LGR as their % default font encoding. Abort here, if the LGR font encoding is not defined:: @@ -293,13 +293,13 @@ % greekscript, ensuregreek % """""""""""""""""""""""" -% +% % The ``\greekscript`` declaration ensures the current font encoding supports % the Greek script. ``greek-fontenc.def`` sets this to the empty declaration % for font encodings that do so. This is currently used by ``lgrenc.def`` % (LGR) and ``greek-euenc.def`` (Greek LICR macros for EU1 and EU2). -% -% +% +% % We define LGR as default encoding for Greek text. We use % ``\ProvideTextCommandDefault`` to enable the author or other packages to use % an alternative definition (see [fntguide_]):: @@ -312,26 +312,26 @@ \ProvideTextCommandDefault{\ensuregreek}[1]{\leavevmode{\greekscript #1}} % .. The [fntguide_] writes -% +% % Note that ``\DeclareTextAccentDefault`` can be used on any % one-argument encoding-specific command, not just those defined with % ``\DeclareTextAccent``. -% +% % However, the simpler alternative % ``\DeclareTextAccentDefault{\ensuregreek}{LGR}`` fails with the table of % Unicode characters in the test document `<textalpha-doc.tex>`__: -% +% % ``! You can't use a prefix with `end-group character }'.`` -% +% % Eventually, all font encodings supporting Greek script (e.g. LGI, PU, EU1, % EU2) will declare ``\ensuregreek`` as text command that passes the argument % unchanged. This way, kerning and selection of precomposed glyphs would work % also for cases like ``\ensuregreek{\'A}U``. -% -% +% +% % Greek Alphabet % """""""""""""" -% +% % Define the ``text*`` marcos as default for all font encodings:: \DeclareTextSymbolDefault{\textAlpha}{LGR} @@ -389,9 +389,9 @@ % Additional Greek symbols % """""""""""""""""""""""" -% +% % Including alias names for compatibility with hyperref's puenc.def. -% +% % Ancient Greek Numbers (Athenian Numerals):: \DeclareTextSymbolDefault{\textpentedeka}{LGR} % GREEK ACROPHONIC ATTIC FIFTY @@ -428,7 +428,7 @@ % variant shape symbols % ''''''''''''''''''''' -% +% % Mathematical notation uses variant shapes of some Greek letters as % additional symbols. There are separate code points for the symbol variants % in Unicode but not in the LGR font encoding used for Greek in 8-bit TeX. @@ -459,7 +459,7 @@ % Diacritics % """""""""" -% +% % Greek diacritics via "named" macros:: \DeclareTextAccentDefault{\accdasia}{LGR} @@ -498,7 +498,7 @@ % Auxiliary macros % """""""""""""""" -% +% % ``\MakeUppercase`` requires three internal commands:: \DeclareTextAccentDefault{\LGR@accdropped}{LGR} @@ -508,7 +508,7 @@ % semicolon as erotimatiko % """""""""""""""""""""""" -% +% % The text command ``\textsemicolon`` inserts ``\texterotimatiko`` % in LGR font encoding and a "normal" semicolon else:: @@ -543,5 +543,5 @@ % .. _polyglossia: http://www.ctan.org/pkg/polyglossia % .. _textgreek: http://www.ctan.org/pkg/textgreek % .. _xunicode: http://www.ctan.org/pkg/xunicode -% +% % .. _erotimatiko: https://en.wikipedia.org/wiki/Question_mark#Erotimatiko diff --git a/Master/tlpkg/tlpsrc/aleph.tlpsrc b/Master/tlpkg/tlpsrc/aleph.tlpsrc index ea6c137ef3f..d8477aed84c 100644 --- a/Master/tlpkg/tlpsrc/aleph.tlpsrc +++ b/Master/tlpkg/tlpsrc/aleph.tlpsrc @@ -2,9 +2,11 @@ depend latex depend plain depend lambda # -execute AddFormat name=aleph engine=aleph options=*aleph.ini +execute AddFormat name=aleph engine=aleph options=*aleph.ini \ + fmttriggers=cm,hyphen-base,knuth-lib,plain execute AddFormat name=lamed engine=aleph patterns=language.dat \ - options=*lambda.ini + options=*lambda.ini \ + fmttriggers=antomega,cm,hyphen-base,lambda,latex,latex-fonts,omega binpattern f bin/${ARCH}/aleph binpattern f bin/${ARCH}/lamed docpattern +f texmf-dist/doc/man/man1/aleph.* diff --git a/Master/tlpkg/tlpsrc/amstex.tlpsrc b/Master/tlpkg/tlpsrc/amstex.tlpsrc index be90344d3a7..133a174b8df 100644 --- a/Master/tlpkg/tlpsrc/amstex.tlpsrc +++ b/Master/tlpkg/tlpsrc/amstex.tlpsrc @@ -1,6 +1,7 @@ depend tex execute AddFormat name=amstex engine=pdftex \ - options="-translate-file=cp227.tcx *amstex.ini" + options="-translate-file=cp227.tcx *amstex.ini" \ + fmttriggers=amsfonts,amstex,cm,hyphen-base,knuth-lib,plain # docpattern +f texmf-dist/doc/man/man1/amstex.* # diff --git a/Master/tlpkg/tlpsrc/context.tlpsrc b/Master/tlpkg/tlpsrc/context.tlpsrc index 504c3f97fd0..d8944ba94bf 100644 --- a/Master/tlpkg/tlpsrc/context.tlpsrc +++ b/Master/tlpkg/tlpsrc/context.tlpsrc @@ -17,19 +17,19 @@ depend mflogo-font depend stmaryrd # execute AddFormat name=cont-en engine=pdftex \ - patterns=cont-usr.tex options="-8bit *cont-en.mkii" + patterns=cont-usr.tex options="-8bit *cont-en.mkii" fmttriggers=context execute AddFormat name=cont-en engine=xetex \ - patterns=cont-usr.tex options="-8bit *cont-en.mkii" + patterns=cont-usr.tex options="-8bit *cont-en.mkii" fmttriggers=context # # disabled context formats: execute AddFormat name=cont-fr mode=disabled engine=pdftex \ - patterns=cont-usr.tex options="-8bit *cont-fr.mkii" + patterns=cont-usr.tex options="-8bit *cont-fr.mkii" fmttriggers=context execute AddFormat name=cont-it mode=disabled engine=pdftex \ - patterns=cont-usr.tex options="-8bit *cont-it.mkii" + patterns=cont-usr.tex options="-8bit *cont-it.mkii" fmttriggers=context execute AddFormat name=cont-nl mode=disabled engine=pdftex \ - patterns=cont-usr.tex options="-8bit *cont-nl.mkii" + patterns=cont-usr.tex options="-8bit *cont-nl.mkii" fmttriggers=context execute AddFormat name=cont-ro mode=disabled engine=pdftex \ - patterns=cont-usr.tex options="-8bit *cont-ro.mkii" + patterns=cont-usr.tex options="-8bit *cont-ro.mkii" fmttriggers=context # # contnav, hans, hans-sh fonts. execute addMap original-context-symbol.map diff --git a/Master/tlpkg/tlpsrc/cslatex.tlpsrc b/Master/tlpkg/tlpsrc/cslatex.tlpsrc index 1630221b21d..192f69c863b 100644 --- a/Master/tlpkg/tlpsrc/cslatex.tlpsrc +++ b/Master/tlpkg/tlpsrc/cslatex.tlpsrc @@ -1,9 +1,14 @@ depend latex + +tlpsetvar fmtcomm cm,hyphen-base # execute AddFormat name=cslatex engine=pdftex \ - options="-etex cslatex.ini" -execute AddFormat name=pdfcslatex engine=pdftex \ - options="-etex cslatex.ini" + options="-etex cslatex.ini" \ + fmttriggers=${fmtcomm} # +execute AddFormat name=pdfcslatex engine=pdftex \ + options="-etex cslatex.ini" \ + fmttriggers=${fmtcomm} + binpattern f bin/${ARCH}/cslatex binpattern f bin/${ARCH}/pdfcslatex diff --git a/Master/tlpkg/tlpsrc/csplain.tlpsrc b/Master/tlpkg/tlpsrc/csplain.tlpsrc index 43e11b65815..157236b1f1a 100644 --- a/Master/tlpkg/tlpsrc/csplain.tlpsrc +++ b/Master/tlpkg/tlpsrc/csplain.tlpsrc @@ -1,17 +1,26 @@ depend tex + +# these invocations per author (Petr Olsak.) +# +tlpsetvar fmtcomm cm,cs,csplain,hyphen-base,plain # -# these invocations from Petr Olsak. execute AddFormat name=csplain engine=pdftex \ - options="-etex -enc csplain-utf8.ini" + options="-etex -enc csplain-utf8.ini" \ + fmttriggers=${fmtcomm},enctex +# execute AddFormat name=pdfcsplain engine=pdftex \ - options="-etex -enc csplain-utf8.ini" + options="-etex -enc csplain-utf8.ini" \ + fmttriggers=${fmtcomm},enctex # # intentionally no user-level executables for these formats, also named -# pdfcsplain (a la ConTeXt). +# pdfcsplain (a la ConTeXt), by author's request. execute AddFormat name=pdfcsplain engine=xetex \ - options="-etex csplain.ini" + options="-etex csplain.ini" \ + fmttriggers=${fmtcomm} +# execute AddFormat name=pdfcsplain engine=luatex \ - options="-etex csplain.ini" + options="-etex csplain.ini" \ + fmttriggers=${fmtcomm},luatex,pdftex # binpattern f bin/${ARCH}/csplain binpattern f bin/${ARCH}/pdfcsplain diff --git a/Master/tlpkg/tlpsrc/eplain.tlpsrc b/Master/tlpkg/tlpsrc/eplain.tlpsrc index a612de62e19..c7f241e487a 100644 --- a/Master/tlpkg/tlpsrc/eplain.tlpsrc +++ b/Master/tlpkg/tlpsrc/eplain.tlpsrc @@ -1,6 +1,7 @@ depend pdftex execute AddFormat name=eplain engine=pdftex patterns=language.dat \ - options="-translate-file=cp227.tcx *eplain.ini" + options="-translate-file=cp227.tcx *eplain.ini" \ + fmttriggers=babel,cm,eplain,hyphen-base,knuth-lib,latex-fonts,plain docpattern +f texmf-dist/doc/info/eplain.info docpattern +f texmf-dist/doc/man/man1/eplain.* binpattern f bin/${ARCH}/eplain diff --git a/Master/tlpkg/tlpsrc/jadetex.tlpsrc b/Master/tlpkg/tlpsrc/jadetex.tlpsrc index 58e1e609bea..8462aa9d634 100644 --- a/Master/tlpkg/tlpsrc/jadetex.tlpsrc +++ b/Master/tlpkg/tlpsrc/jadetex.tlpsrc @@ -2,12 +2,20 @@ depend latex depend passivetex depend pdftex depend tex + +tlpsetvar fmtcomm amsfonts,babel,cm,colortbl,cyrillic,ec,fancyhdr,graphics,\ +hyperref,hyphen-base,hyphen-german,ifxetex,jadetex,latex,latex-fonts,\ +latexconfig,marvosym,oberdiek,passivetex,pdftex,psnfss,ruhyphen,stmaryrd,\ +symbol,tipa,tools,ukrhyph,ulem,url,wasysym,zapfding # execute AddFormat name=jadetex engine=pdftex patterns=language.dat \ - options="*jadetex.ini" -execute AddFormat name=pdfjadetex engine=pdftex patterns=language.dat \ - options="*pdfjadetex.ini" + options="*jadetex.ini" \ + fmttriggers=${fmtcomm} # +execute AddFormat name=pdfjadetex engine=pdftex patterns=language.dat \ + options="*pdfjadetex.ini" \ + fmttriggers=${fmtcomm},pdftex-def + binpattern f bin/${ARCH}/jadetex binpattern f bin/${ARCH}/pdfjadetex # diff --git a/Master/tlpkg/tlpsrc/latex-bin.tlpsrc b/Master/tlpkg/tlpsrc/latex-bin.tlpsrc index c1efd6824ea..8ae44c5417d 100644 --- a/Master/tlpkg/tlpsrc/latex-bin.tlpsrc +++ b/Master/tlpkg/tlpsrc/latex-bin.tlpsrc @@ -7,21 +7,25 @@ depend latex # binpattern f bin/${ARCH}/latex execute AddFormat name=latex engine=pdftex patterns=language.dat \ - options="-translate-file=cp227.tcx *latex.ini" + options="-translate-file=cp227.tcx *latex.ini" \ + fmttriggers=babel,cm,hyphen-base,latex,latexconfig,latex-fonts # binpattern f bin/${ARCH}/pdflatex execute AddFormat name=pdflatex engine=pdftex patterns=language.dat \ - options="-translate-file=cp227.tcx *pdflatex.ini" + options="-translate-file=cp227.tcx *pdflatex.ini" \ + fmttriggers=babel,cm,hyphen-base,latex,latexconfig,latex-fonts # binpattern f bin/${ARCH}/dvilualatex execute AddFormat name=dvilualatex engine=luatex \ patterns=language.dat,language.dat.lua \ - options="dvilualatex.ini" + options="dvilualatex.ini" \ + fmttriggers=babel,cm,hyphen-base,latex,latexconfig,latex-fonts # binpattern f bin/${ARCH}/lualatex execute AddFormat name=lualatex engine=luatex \ patterns=language.dat,language.dat.lua \ - options="lualatex.ini" + options="lualatex.ini" \ + fmttriggers=babel,cm,hyphen-base,latex,latexconfig,latex-fonts # docpattern f texmf-dist/doc/man/man1/latex.* docpattern f texmf-dist/doc/man/man1/pdflatex.* @@ -31,4 +35,5 @@ docpattern f texmf-dist/doc/man/man1/pdflatex.* #binpattern f bin/${ARCH}/luajitlatex execute AddFormat name=luajitlatex mode=disabled engine=luajittex \ patterns=language.dat,language.dat.lua \ - options="lualatex.ini" + options="lualatex.ini" \ + fmttriggers=babel,cm,hyphen-base,latex,latexconfig,latex-fonts diff --git a/Master/tlpkg/tlpsrc/lollipop.tlpsrc b/Master/tlpkg/tlpsrc/lollipop.tlpsrc index 37d93b3ce3b..0dbed2a99f7 100644 --- a/Master/tlpkg/tlpsrc/lollipop.tlpsrc +++ b/Master/tlpkg/tlpsrc/lollipop.tlpsrc @@ -1,17 +1,25 @@ +tlpsetvar fmtcomm cm,hyphen-base,lollipop + binpattern f bin/${ARCH}/lollipop execute AddFormat name=lollipop engine=pdftex \ - options="-translate-file=cp227.tcx *lollipop.ini" + options="-translate-file=cp227.tcx *lollipop.ini" \ + fmttriggers=${fmtcomm},pdftex # binpattern f bin/${ARCH}/lualollipop execute AddFormat name=lualollipop engine=luatex \ - options="lualollipop.ini" + options="lualollipop.ini" \ + fmttriggers=${fmtcomm},pdftex,luatex # binpattern f bin/${ARCH}/xelollipop execute AddFormat name=xelollipop engine=xetex \ - options="-etex xelollipop.ini" + options="-etex xelollipop.ini" + fmttriggers=${fmtcomm},xetexconfig # -# leave dvi formats disabled, users can set \pdfoutput=0. +# dvi formats disabled by default, users can set \pdfoutput=0. execute AddFormat name=dvilollipop mode=disabled engine=pdftex \ - options="-translate-file=cp227.tcx *lollipop.ini" + options="-translate-file=cp227.tcx *lollipop.ini" \ + fmttriggers=${fmtcomm},luatex,pdftex +# execute AddFormat name=dvilualollipop mode=disabled engine=luatex \ - options="-translate-file=cp227.tcx lualollipop.ini" + options="-translate-file=cp227.tcx lualollipop.ini" \ + fmttriggers=${fmtcomm},luatex,pdftex diff --git a/Master/tlpkg/tlpsrc/luatex.tlpsrc b/Master/tlpkg/tlpsrc/luatex.tlpsrc index e216a9c651f..ebac3b968bd 100644 --- a/Master/tlpkg/tlpsrc/luatex.tlpsrc +++ b/Master/tlpkg/tlpsrc/luatex.tlpsrc @@ -1,17 +1,20 @@ category TLCore # -execute AddFormat \ - name=luatex engine=luatex patterns=language.def,language.dat.lua \ - options="luatex.ini" -execute AddFormat \ - name=dviluatex engine=luatex patterns=language.def,language.dat.lua \ - options="dviluatex.ini" +tlpsetvar fmtdeps cm,etex,hyphen-base,knuth-lib,luatex,plain +# +execute AddFormat name=luatex engine=luatex options="luatex.ini" \ + patterns=language.def,language.dat.lua \ + fmttriggers=${fmtdeps},pdftex +# +execute AddFormat name=dviluatex engine=luatex options="dviluatex.ini" \ + patterns=language.def,language.dat.lua \ + fmttriggers=${fmtdeps} # # On platforms where there is no luajittex, it will be ignored # due to special options in fmtutil and TLConfig.pm. -execute AddFormat \ - name=luajittex engine=luajittex patterns=language.def,language.dat.lua \ - options="luatex.ini" +execute AddFormat name=luajittex engine=luajittex options="luatex.ini" \ + patterns=language.def,language.dat.lua \ + fmttriggers=${fmtdeps},pdftex # docpattern d texmf-dist/doc/luatex/base docpattern f texmf-dist/doc/man/man1/luatex.* diff --git a/Master/tlpkg/tlpsrc/metafont.tlpsrc b/Master/tlpkg/tlpsrc/metafont.tlpsrc index 019dfbc4dda..ab31b97b483 100644 --- a/Master/tlpkg/tlpsrc/metafont.tlpsrc +++ b/Master/tlpkg/tlpsrc/metafont.tlpsrc @@ -1,7 +1,9 @@ depend kpathsea + execute AddFormat name=mf engine=mf-nowin \ - options="-translate-file=cp227.tcx mf.ini" -# + options="-translate-file=cp227.tcx mf.ini" \ + fmttriggers=metafont + srcpattern f ignore # runpattern d texmf-dist/metafont/base diff --git a/Master/tlpkg/tlpsrc/mex.tlpsrc b/Master/tlpkg/tlpsrc/mex.tlpsrc index a6de17090fb..dc9d5c0b9e1 100644 --- a/Master/tlpkg/tlpsrc/mex.tlpsrc +++ b/Master/tlpkg/tlpsrc/mex.tlpsrc @@ -2,12 +2,20 @@ depend pl depend hyphen-polish depend pdftex depend tex + +tlpsetvar fmtcomm hyphen-base,knuth-lib,mex,pdftex,pl,plain +# execute AddFormat name=mex engine=pdftex patterns=mexconf.tex \ - options="-translate-file=cp227.tcx *mex.ini" + options="-translate-file=cp227.tcx *mex.ini" \ + fmttriggers=${fmtcomm} +# execute AddFormat name=pdfmex engine=pdftex patterns=mexconf.tex \ - options="-translate-file=cp227.tcx *pdfmex.ini" + options="-translate-file=cp227.tcx *pdfmex.ini" \ + fmttriggers=${fmtcomm} +# execute AddFormat name=utf8mex engine=pdftex patterns=mexconf.tex \ - options="-enc *utf8mex.ini" + options="-enc *utf8mex.ini" \ + fmttriggers=${fmtcomm},enctex,utf8mex # runpattern +!d texmf-dist/tex/mex/utf8mex # diff --git a/Master/tlpkg/tlpsrc/mltex.tlpsrc b/Master/tlpkg/tlpsrc/mltex.tlpsrc index fa132abcf46..d6b01bbf53e 100644 --- a/Master/tlpkg/tlpsrc/mltex.tlpsrc +++ b/Master/tlpkg/tlpsrc/mltex.tlpsrc @@ -1,8 +1,14 @@ depend latex + +tlpsetvar fmtdeps cm,hyphen-base +# execute AddFormat name=mllatex engine=pdftex patterns=language.dat \ - options="-translate-file=cp227.tcx -mltex *mllatex.ini" -execute AddFormat name=mltex engine=pdftex \ - options="-translate-file=cp227.tcx -mltex mltex.ini" + options="-translate-file=cp227.tcx -mltex *mllatex.ini" \ + fmttriggers=${fmtdeps},babel,latex,latexconfig,latex-fonts # +execute AddFormat name=mltex engine=pdftex \ + options="-translate-file=cp227.tcx -mltex mltex.ini" \ + fmttriggers=${fmtdeps},knuth-lib,mltex,plain + binpattern f bin/${ARCH}/mllatex binpattern f bin/${ARCH}/mltex diff --git a/Master/tlpkg/tlpsrc/mptopdf.tlpsrc b/Master/tlpkg/tlpsrc/mptopdf.tlpsrc index 0a2adca27e8..adbe8d9df08 100644 --- a/Master/tlpkg/tlpsrc/mptopdf.tlpsrc +++ b/Master/tlpkg/tlpsrc/mptopdf.tlpsrc @@ -11,7 +11,8 @@ longdesc longdesc This can be found on CTAN in macros/pdftex/graphics. execute AddFormat name=mptopdf engine=pdftex \ - options="-translate-file=cp227.tcx mptopdf.tex" + options="-translate-file=cp227.tcx mptopdf.tex" \ + fmttriggers=mptopdf,plain runpattern f texmf-dist/tex/context/base/supp-mis.mkii runpattern f texmf-dist/tex/context/base/supp-mpe.mkii diff --git a/Master/tlpkg/tlpsrc/pdftex.tlpsrc b/Master/tlpkg/tlpsrc/pdftex.tlpsrc index 1beb760d823..b6c65d5f25e 100644 --- a/Master/tlpkg/tlpsrc/pdftex.tlpsrc +++ b/Master/tlpkg/tlpsrc/pdftex.tlpsrc @@ -1,16 +1,23 @@ category TLCore depend kpathsea + +tlpsetvar fmtcomm cm,etex,hyphen-base,knuth-lib,plain # -execute AddFormat name=pdftex engine=pdftex patterns=language.def \ - options="-translate-file=cp227.tcx *pdfetex.ini" -execute AddFormat name=etex engine=pdftex patterns=language.def \ - options="-translate-file=cp227.tcx *etex.ini" -execute AddFormat name=pdfetex engine=pdftex patterns=language.def \ - options="-translate-file=cp227.tcx *pdfetex.ini" +execute AddFormat name=pdftex engine=pdftex patterns=language.def \ + options="-translate-file=cp227.tcx *pdfetex.ini" \ + fmttriggers=${fmtcomm} +# +execute AddFormat name=etex engine=pdftex patterns=language.def \ + options="-translate-file=cp227.tcx *etex.ini" \ + fmttriggers=${fmtcomm} # +execute AddFormat name=pdfetex engine=pdftex patterns=language.def \ + options="-translate-file=cp227.tcx *pdfetex.ini" \ + fmttriggers=${fmtcomm} + # A trivial font needed by the fake-interword-space feature. execute addMap dummy-space.map -# + runpattern f texmf-dist/tex/generic/config/pdftex*.tex runpattern d texmf-dist/tex/generic/pdftex runpattern d texmf-dist/fonts/map/pdftex/updmap diff --git a/Master/tlpkg/tlpsrc/ptex.tlpsrc b/Master/tlpkg/tlpsrc/ptex.tlpsrc index f6c0c037d82..c3a4eb46774 100644 --- a/Master/tlpkg/tlpsrc/ptex.tlpsrc +++ b/Master/tlpkg/tlpsrc/ptex.tlpsrc @@ -5,12 +5,20 @@ depend adobemapping depend ipaex depend japanese depend japanese-otf + +tlpsetvar fmtcomm cm,hyphen-base,knuth-lib,plain,ptex +# +execute AddFormat name=ptex engine=ptex options="ptex.ini" \ + fmttriggers=${fmtcomm} +# +execute AddFormat name=eptex engine=eptex options="*eptex.ini" \ + patterns=language.def \ + fmttriggers=${fmtcomm},etex # -execute AddFormat name=ptex engine=ptex options="ptex.ini" -execute AddFormat name=eptex engine=eptex options="*eptex.ini" \ - patterns=language.def execute AddFormat name=platex engine=eptex options="*platex.ini" \ - patterns=language.dat + patterns=language.dat \ + fmttriggers=${fmtcomm},babel,latex,latex-fonts + execute addKanjiMap ptex-@kanjiEmbed@@kanjiVariant@.map execute addKanjiMap morisawa.map # diff --git a/Master/tlpkg/tlpsrc/tex.tlpsrc b/Master/tlpkg/tlpsrc/tex.tlpsrc index 9dd4e6d1c27..1bfa474fef7 100644 --- a/Master/tlpkg/tlpsrc/tex.tlpsrc +++ b/Master/tlpkg/tlpsrc/tex.tlpsrc @@ -1,9 +1,10 @@ category TLCore -execute AddFormat name=tex engine=tex options="tex.ini" -# depend kpathsea depend plain -# + +execute AddFormat name=tex engine=tex options="tex.ini" \ + fmttriggers=cm,hyphen-base,knuth-lib,plain + docpattern f texmf-dist/doc/man/man1/tex.* # binpattern f bin/${ARCH}/initex diff --git a/Master/tlpkg/tlpsrc/texsis.tlpsrc b/Master/tlpkg/tlpsrc/texsis.tlpsrc index 56b8f514a93..9bcf2d281d2 100644 --- a/Master/tlpkg/tlpsrc/texsis.tlpsrc +++ b/Master/tlpkg/tlpsrc/texsis.tlpsrc @@ -1,4 +1,7 @@ depend tex + execute AddFormat name=texsis engine=pdftex \ - options="-translate-file=cp227.tcx texsis.ini" + options="-translate-file=cp227.tcx texsis.ini" \ + fmttriggers=cm,hyphen-base,knuth-lib,plain,texsis + binpattern f bin/${ARCH}/texsis diff --git a/Master/tlpkg/tlpsrc/uptex.tlpsrc b/Master/tlpkg/tlpsrc/uptex.tlpsrc index 4e8434dfd28..f486c334d15 100644 --- a/Master/tlpkg/tlpsrc/uptex.tlpsrc +++ b/Master/tlpkg/tlpsrc/uptex.tlpsrc @@ -7,11 +7,19 @@ depend japanese depend japanese-otf depend latex # -execute AddFormat name=uptex engine=uptex options="uptex.ini" -execute AddFormat name=euptex engine=euptex options="*euptex.ini" \ - patterns=language.def +tlpsetvar fmtcomm cm,hyphen-base,uptex +# +execute AddFormat name=uptex engine=uptex options="uptex.ini" \ + fmttriggers=${fmtcomm},knuth-lib,plain,uptex +# +execute AddFormat name=euptex engine=euptex options="*euptex.ini" \ + patterns=language.def \ + fmttriggers=${fmtcomm},etex,knuth-lib,plain,ptex +# execute AddFormat name=uplatex engine=euptex options="*uplatex.ini" \ - patterns=language.dat + patterns=language.dat \ + fmttriggers=${fmtcomm},babel,latex,latex-fonts,ptex +# execute addKanjiMap uptex-@kanjiEmbed@@kanjiVariant@.map # binpattern f bin/${ARCH}/euptex diff --git a/Master/tlpkg/tlpsrc/xetex.tlpsrc b/Master/tlpkg/tlpsrc/xetex.tlpsrc index 2c062ef7f89..ac472af5008 100644 --- a/Master/tlpkg/tlpsrc/xetex.tlpsrc +++ b/Master/tlpkg/tlpsrc/xetex.tlpsrc @@ -1,20 +1,26 @@ category TLCore shortdesc Unicode and OpenType-enabled TeX engine. longdesc See http://tug.org/xetex. + +tlpsetvar fmtcomm cm,hyphen-base # execute AddFormat name=xetex engine=xetex patterns=language.def \ - options="-etex xetex.ini" -execute AddFormat name=xelatex engine=xetex patterns=language.dat \ - options="-etex xelatex.ini" + options="-etex xetex.ini" \ + fmttriggers=${fmtcomm},etex,plain # +execute AddFormat name=xelatex engine=xetex patterns=language.dat \ + options="-etex xelatex.ini" \ + fmttriggers=${fmtcomm},babel,latex,latexconfig,latex-fonts + +# do fontconfig stuff, especially on Windows. postaction script file=tlpkg/tlpostcode/xetex.pl runpattern f tlpkg/tlpostcode/xetex.pl binpattern f bin/win32/fc-* binpattern f bin/win32/icu*.dll # -# this is only used in windows installation +# this subdir is only used on Windows. binpattern d/win32 tlpkg/tlpostcode/xetex -# + docpattern d texmf-dist/doc/xetex/base # runpattern d texmf-dist/fonts/misc/xetex/fontmapping/base @@ -24,6 +30,6 @@ binpattern f bin/${ARCH}/xdvipdfmx binpattern f bin/${ARCH}/xelatex binpattern f bin/${ARCH}/xetex binpattern f bin/${ARCH}/teckit_compile -# + depend xetexconfig depend latex diff --git a/Master/tlpkg/tlpsrc/xmltex.tlpsrc b/Master/tlpkg/tlpsrc/xmltex.tlpsrc index 1e6c6f37f8f..0d1b21c58eb 100644 --- a/Master/tlpkg/tlpsrc/xmltex.tlpsrc +++ b/Master/tlpkg/tlpsrc/xmltex.tlpsrc @@ -2,12 +2,18 @@ depend latex depend pdftex depend tex depend xmltexconfig + +tlpsetvar fmtcomm babel,cm,hyphen-base,latex,latex-fonts,latexconfig,pdftex,\ +xmltex,xmltexconfig # execute AddFormat name=xmltex engine=pdftex patterns=language.dat \ - options="*xmltex.ini" -execute AddFormat name=pdfxmltex engine=pdftex patterns=language.dat \ - options="*pdfxmltex.ini" + options="*xmltex.ini" \ + fmttriggers=${fmtcomm} # +execute AddFormat name=pdfxmltex engine=pdftex patterns=language.dat \ + options="*pdfxmltex.ini" \ + fmttriggers=${fmtcomm} + runpattern d texmf-dist/tex/xmltex/base # binpattern f bin/${ARCH}/pdfxmltex |