diff options
34 files changed, 1565 insertions, 1302 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README.md b/Master/texmf-dist/doc/latex/greek-fontenc/README.md index 8a6da67416d..0b61d52f491 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/README.md +++ b/Master/texmf-dist/doc/latex/greek-fontenc/README.md @@ -1,44 +1,50 @@ greek-fontenc ============= -Greek font encoding definition files ------------------------------------- Font encoding definition files with *LaTeX internal character representation* (LICR) macros for letters and symbols from the Greek script. -The included LaTeX packages [textalpha] and [alphabeta] facilitate the use -of Greek symbols in text. +The included LaTeX packages [textalpha][1] and [alphabeta][2] +facilitate the use of Greek symbols in text. -**Version**: 2.2 ([changelog]) +**Version**: 2.2.1 -**Copyright**: © 2010 - 2023 Günter Milde <milde@users.sf.net> +**Copyright**: © 2010 – 2023 Günter Milde -**License**: - This work may be distributed and/or modified under the conditions of the - [LaTeX Project Public License](http://www.latex-project.org/lppl.txt), - either version 1.3 of this license or any later version. +This work may be distributed and/or modified under the conditions of the +[LaTeX Project Public License](http://www.latex-project.org/lppl.txt), +either version 1.3 of this license or any later version. **Home**: <https://codeberg.org/milde/greek-tex> **Latest Release**: <https://ctan.org/pkg/greek-fontenc> -**Requires**: text fonts supporting the Greek script -**Recommends**: [greek-inputenc] (when used with 8-bit TeX/pdfTeX) +Usage +----- -**Required by**: [babel-greek], [greek-inputenc] +Usually, the font definition files are loaded via +[Babel's ``greek`` option](https://ctan.org/pkg/babel-greek), +the [textalpha][1] or [textbeta][2] packages, or the +[fontenc](https://ctan.org/pkg/fontenc) package. +Requires [text fonts supporting the Greek script][3]. +With 8-bit TeX/pdfTeX, [greek-inputenc](https://ctan.org/pkg/greek-inputenc) +is recommended. -See [greek-fontenc-doc.html] ([greek-fontenc-doc.rst]) for a detailed -overview. +Documentation +------------- +* [greek-fontenc-doc.html][4] (CTAN) -[Babel]: https://ctan.org/pkg/babel -[babel-greek]: https://ctan.org/pkg/babel-greek -[greek-inputenc]: https://ctan.org/pkg/greek-inputenc -[textalpha]: greek-fontenc-doc.html#textalpha -[alphabeta]: greek-fontenc-doc.html#alphabeta -[greek-fontenc-doc.html]: greek-fontenc-doc.html -[greek-fontenc-doc.rst]: greek-fontenc-doc.rst -[changelog]: greek-fontenc-doc.html#changelog +* [greek-fontenc-doc.html](greek-fontenc-doc.html) (next to this file) + +* [greek-fontenc-doc.rst][5] (source repository) + + +[1]: http://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html +[2]: http://mirrors.ctan.org/language/greek/greek-fontenc/alphabeta.sty.html +[3]: https://ctan.org/tex-archive/macros/latex/contrib/babel-contrib/greek/babel-greek-doc.html#greek-text-fonts +[4]: http://mirrors.ctan.org/language/greek/greek-fontenc/greek-fontenc-doc.html +[5]: https://codeberg.org/milde/greek-tex/src/branch/master/greek-fontenc/greek-fontenc-doc.rst diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc-tu.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc-tu.pdf Binary files differindex 23d5dcfcb0e..02bd042e9e8 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc-tu.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc-tu.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf Binary files differindex 4b8d9aeefb8..85a69a21af9 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/alphabeta-doc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.tex index c149f517bab..4143da034b3 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.tex @@ -1,7 +1,7 @@ % alphabeta-doc: Documentation and tests for alphabeta.sty % ******************************************************** % -% :Copyright: © 2010, 2015 Günter Milde +% :Copyright: © 2010, 2023 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. diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-lgr.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-lgr.def.html index a0d96744405..05af3f854e2 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-lgr.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-lgr.def.html @@ -4,7 +4,7 @@ <meta charset="utf-8" /> <meta name="generator" content="Docutils 0.20b.dev: https://docutils.sourceforge.io/" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> -<meta name="dcterms.rights" content="© 2014 Günter Milde" /> +<meta name="dcterms.rights" content="© 2014, 2020 Günter Milde" /> <title>alphabeta-lgr.def</title> <link rel="schema.dcterms" href="http://purl.org/dc/terms/"/> <style type="text/css"> @@ -289,12 +289,13 @@ p img, p video, figure img, figure video { </style> <style type="text/css"> -/* CSS31_ style sheet for the output of Docutils HTML writers. */ -/* Rules for easy reading and pre-defined style variants. */ +/* CSS3_ style sheet for the output of Docutils HTML5 writer. */ +/* Generic responsive design for all screen sizes. */ +/* */ +/* :Author: Günter Milde */ /* */ -/* :Author: Günter Milde, based on html4css1.css by David Goodger */ /* :Id: $Id$ */ -/* :Copyright: © 2015 Günter Milde. */ +/* :Copyright: © 2021 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ /* */ @@ -307,167 +308,199 @@ p img, p video, figure img, figure video { /* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */ /* .. _CSS3: https://www.w3.org/Style/CSS/ */ +/* Note: */ +/* This style sheet is provisional: */ +/* the API is not settled and may change with any minor Docutils version. */ + + -/* Document Structure */ -/* ****************** */ +/* General Settings */ +/* ================ */ + + +* { box-sizing: border-box; } -/* "page layout" */ body { - margin: 0; - background-color: #dbdbdb; - --field-indent: 9em; /* default indent of fields in field lists */ -} -main, footer, header { - line-height:1.6; - /* avoid long lines --> better reading */ - /* optimum is 45…75 characters/line <http://webtypography.net/2.1.2> */ - /* OTOH: lines should not be too short because of missing hyphenation, */ - max-width: 50rem; - padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */ + background-color: #fafaf6; margin: auto; + --field-indent: 6.6em; /* indent of fields in field lists */ + --sidebar-margin-right: 0; /* adapted in media queries below */ } main { - counter-reset: table figure; + counter-reset: figure table; +} +body > * { background-color: white; + line-height: 1.6; + padding: 0.5rem calc(29% - 7.2rem); /* go from 5% to 15% (8.15em/54em) */ + margin: auto; + max-width: 100rem; +} +sup, sub { /* avoid additional inter-line space for lines with sup/sub */ + line-height: 1; +} + +/* Vertical Space (Parskip) */ +p, ol, ul, dl, li, +div.line-block, +.topic, +.footnote, .citation, +div > math, +table { + margin-top: 0.5em; + margin-bottom: 0.5em; +} +h1, h2, h3, h4, h5, h6, +dl > dd, details > p:last-child { + margin-bottom: 0.5em; +} + +/* Indented Blocks */ +blockquote, figure, .topic { + margin: 1em 2%; + padding-left: 1em; } +div.line-block div.line-block, +pre, dd, dl.option-list { + margin-left: calc(2% + 1em); +} + +/* Object styling */ +/* ============== */ + footer, header { - font-size: smaller; - padding: 0.5em 2%; - border: none; + font-size: small; +} + +/* Frontmatter */ +div.dedication { + padding: 0; + margin: 1.4em 0; + font-style: italic; + font-size: large; +} +.dedication p.topic-title { + display: none; +} + +blockquote p.attribution, +.topic p.attribution { + text-align: right; } /* Table of Contents */ -ul.auto-toc > li > p { +nav.contents ul { padding-left: 1em; - text-indent: -1em; } -nav.contents ul { +ul.auto-toc > li > p { /* hanging indent */ padding-left: 1em; + text-indent: -1em; +} +main > nav.contents ul:not(.auto-toc) { + list-style-type: square; +} +main > nav.contents ul ul:not(.auto-toc) { + list-style-type: disc; } -main > nav.contents ul ul ul ul:not(.auto-toc) { +main > nav.contents ul ul ul:not(.auto-toc) { list-style-type: '\2B29\ '; } -main > nav.contents ul ul ul ul ul:not(.auto-toc) { +main > nav.contents ul ul ul ul:not(.auto-toc) { list-style-type: '\2B1D\ '; } - -/* Transitions */ -hr.docutils { - width: 80%; - margin-top: 1em; - margin-bottom: 1em; - clear: both; +main > nav.contents ul ul ul ul ul:not(.auto-toc) { + list-style-type: '\2B2A\ '; } - -/* Paragraphs */ - -/* vertical space (parskip) */ -p, ol, ul, dl, li, -div.line-block, -.footnote, .citation, -div > math, -table { - margin-top: 0.5em; - margin-bottom: 0.5em; +nav.contents ul > li::marker { + color: grey; } -h1, h2, h3, h4, h5, h6, -dd, details > p:last-child { - margin-bottom: 0.5em; +/* Transitions */ +hr { + margin: 1em 10%; } /* Lists */ -/* ===== */ - -/* Definition Lists */ -/* Indent lists nested in definition lists */ -dd > ul:only-child, dd > ol:only-child { padding-left: 1em; } -/* Description Lists */ -/* styled like in most dictionaries, encyclopedias etc. */ +ul, ol { + padding-left: 1.1em; /* indent by bullet width (Firefox, DejaVu fonts) */ +} +dl.field-list > dd, +dl.docinfo > dd { + margin-left: var(--field-indent); /* adapted in media queries or HTML */ +} +dl.option-list > dd { + margin-left: 20%; +} +/* run-in: start field-body on same line after long field names */ +dl.field-list.run-in > dd p { + display: block; +} +/* "description style" like in most dictionaries, encyclopedias etc. */ dl.description { display: flow-root; } dl.description > dt { - font-weight: bold; clear: left; float: left; margin: 0; padding: 0; padding-right: 0.3em; + font-weight: bold; } dl.description > dd:after { display: table; content: ""; clear: left; /* clearfix for empty descriptions */ } +/* start lists nested in description/field lists on new line */ +dd > dl:first-child, +dd > ul:first-child, +dd > ol:first-child { + clear: left; +} -/* Field Lists */ +/* disclosures */ +details { padding-left: 1em; } +summary { margin-left: -1em; } -dl.field-list > dd, -dl.docinfo > dd { - margin-left: var(--field-indent); /* adapted in media queries or HTML */ +/* Footnotes and Citations */ +.footnote { + font-size: small; } -/* example for custom field-name width */ -dl.field-list.narrow > dd { - --field-indent: 5em; -} -/* run-in: start field-body on same line after long field names */ -dl.field-list.run-in > dd p { +/* Images, Figures, and Tables */ +img { display: block; } - -/* Bibliographic Fields */ - -/* generally, bibliographic fields use dl.docinfo */ -/* but dedication and abstract are placed into divs */ -div.abstract p.topic-title { - text-align: center; +p > img, p > a > img, +figure > img, figure > a > img { + display: inline; } -div.dedication { - margin: 2em 5em; - text-align: center; + +figcaption, +table > caption { + /* font-size: small; */ font-style: italic; } -div.dedication p.topic-title { - font-style: normal; +figcaption > .legend { + font-size: small; + font-style: initial; } - -/* disclosures */ -details { padding-left: 1em; } -summary { margin-left: -1em; } - -/* Text Blocks */ -/* =========== */ - -/* Literal Blocks */ -pre.literal-block, pre.doctest-block, -pre.math, pre.code { - font-family: monospace; +figure.numbered > figcaption > p:before { + counter-increment: figure; + content: "Figure " counter(figure) ": "; + font-weight: bold; + font-style: initial; } -/* Block Quotes and Topics */ -bockquote { margin: 1em 2em; } -blockquote p.attribution, -.topic p.attribution { - text-align: right; - margin-left: 20%; +table tr { + text-align: left; + vertical-align: baseline; } - -/* Tables */ -/* ====== */ - -/* th { vertical-align: bottom; } */ - -table tr { text-align: left; } - -/* "booktabs" style (no vertical lines) */ -table.booktabs { - border: 0; +table.booktabs { /* "booktabs" style (no vertical lines) */ border-top: 2px solid; border-bottom: 2px solid; - border-collapse: collapse; } table.booktabs * { border: 0; @@ -475,88 +508,43 @@ table.booktabs * { table.booktabs th { border-bottom: thin solid; } - -/* 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 */ -.footnote-list { - border-left: solid thin; - padding-left: 0.25em; -} - -/* Directives */ -/* ---------- */ - -/* Body Elements */ -/* ~~~~~~~~~~~~~ */ - -/* Images and Figures */ - -/* let content flow to the side of aligned images and figures */ -figure.align-left, -img.align-left, -video.align-left, -object.align-left { - clear: left; - float: left; - margin-right: 1em; -} -figure.align-right, -img.align-right, -video.align-right, -object.align-right { - clear: right; - float: right; - margin-left: 1em; -} -/* Stop floating sidebars, images and figures */ -h1, h2, h3, h4, footer, header { clear: both; } - -/* Numbered figures */ -figure.numbered > figcaption > p:before { - counter-increment: figure; - content: "Figure " counter(figure) ": "; - font-weight: bold; + font-style: initial; } /* Admonitions and System Messages */ +.admonition, +div.system-message { + border: thin solid silver; + margin: 1em 2%; + padding: 0.5em 1em; +} .caution p.admonition-title, .attention p.admonition-title, .danger p.admonition-title, -.error p.admonition-title, .warning p.admonition-title, div.error { - color: red; + color: maroon; } - -/* Sidebar */ -/* Move right. In a layout with fixed margins, */ -/* it can be moved into the margin. */ -aside.sidebar { - width: 30%; - max-width: 26em; - float: right; - clear: right; - margin-left: 1em; - margin-right: -1%; - background-color: #fffffa; +div.system-message > p > span.literal { + overflow-wrap: break-word; } +/* Literal and Code */ +pre.literal-block, pre.doctest{ + padding: 0.2em; + overflow-x: auto; +} +.literal-block, .doctest, span.literal { + background-color: #f6f9f8; +} +.system-message span.literal { + background-color: inherit; +} -/* Code */ -pre.code { padding: 0.7ex } -pre.code, code { background-color: #eeeeee } /* basic highlighting: for a complete scheme, see */ /* https://docutils.sourceforge.io/sandbox/stylesheets/ */ pre.code .comment, code .comment { color: #5C6576 } @@ -566,6 +554,94 @@ 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} +/* Hyperlink References */ +a { + text-decoration: none; /* for chromium */ + /* Wrap links at any place, if this is the only way to prevent overflow */ + overflow-wrap: break-word; +} +.contents a, a.toc-backref, a.citation-reference { + overflow-wrap: inherit; +} +/* Undecorated Links (see also minimal.css) */ +/* a.citation-reference, */ +.citation a.fn-backref { + color: inherit; +} +a:hover { + text-decoration: underline; +} +*:hover > a.toc-backref:after { + content: " \2191"; /* ↑ UPWARDS ARROW */ + color: grey; +} +*:hover > a.self-link:after { + content: "\1F517"; /* LINK SYMBOL */ + color: grey; + font-size: smaller; + margin-left: 0.2em; +} +/* highlight the target of the current URL */ +section:target > h2, section:target > h3, section:target > h4, +section:target > h5, section:target > h6, +.contents :target, +.contents:target > .topic-title, +[role="doc-biblioentry"]:target > .label, +[role="doc-biblioref"]:target, +[role="note"]:target, /* Docutils 0.18 ... 0.19 */ +[role="doc-footnote"]:target, /* Docutils >= 0.20 */ +[role="doc-noteref"]:target { + background-color: #d2e6ec; +} + +/* Block Alignment */ +/* Let content flow to the side of aligned images and figures */ + +/* no floats around this elements */ +footer, header, hr, +h1, h2, h3 { + clear: both; +} + +img.align-left, +video.align-left, +figure.align-left, +table.align-left { + margin-left: 0; + padding-left: 0; + margin-right: 0.5em; + clear: left; + float: left; +} +img.align-right, +video.align-right, +figure.align-right, +table.align-right { + margin-left: 0.5em; + margin-right: 0; + clear: right; + float: right; +} + +/* Margin Elements */ +/* see below for screen size dependent rules */ +.sidebar, +.marginal, +.admonition.marginal { + max-width: 40%; + border: none; + background-color: #efefea; + margin: 0.5em var(--sidebar-margin-right) 0.5em 1em; + padding: 0.5em; + padding-left: 0.7em; + clear: right; + float: right; + font-size: small; +} +.sidebar { + width: 40%; +} + /* Math */ /* for math-output=MathML (for math-output=HTML, see math.css) */ math .boldsymbol { @@ -575,32 +651,139 @@ mstyle.mathscr, mi.mathscr { font-family: STIX; } -/* Epigraph */ -/* Highlights */ -/* Pull-Quote */ -/* Compound Paragraph */ -/* Container */ - -/* Inline Markup */ -/* ============= */ - -sup, sub { line-height: 0.8; } /* do not add leading for lines with sup/sub */ - -/* 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[role="doc-noteref"] */ -/* Citation References */ -/* a.citation-reference */ +/* Adaptive page layout */ +/* ==================== */ + +@media (max-width: 30em) { + /* Smaller margins and no floating elements for small screens */ + /* (main text less than 40 characters/line) */ + body > * { + padding: 0.5rem 5%; + line-height: 1.4 + } + .sidebar, + .marginal, + .admonition.marginal { + width: auto; + max-width: 100%; + float: none; + } + dl.option-list, + pre { + margin-left: 0; + } + body { + --field-indent: 4em; + } + dl.field-list.narrow, dl.docinfo, dl.option-list { + --field-indent: 2.4em; + } + pre, pre * { + font-size: 0.9em; + /* overflow: auto; */ + } +} + +@media (min-width: 54em) { + /* Move ToC to the left */ + /* Main text width before: 70% ≙ 35em ≙ 75…95 chrs (Dejavu/Times) */ + /* after: ≳ 30em ≙ 54…70 chrs (Dejavu/Times) */ + body.with-toc { + padding-left: 8%; + } + body.with-toc > * { + margin-left: 0; + padding-left: 22rem; /* fallback for webkit */ + padding-left: min(22%, 22rem); + padding-right: 7%; + } + main > nav.contents { /* global ToC */ + position: fixed; + top: 0; + left: 0; + width: min(25%, 25em); + height: 100vh; + margin: 0; + background-color: #fafaf6; + padding: 1em 2% 0 2%; + overflow: auto; + } + main > nav.contents > * { + padding-left: 0; + line-height: 1.4; + } + main > nav.contents a { + color: inherit; + } +} + +@media (min-width: 70em) { + body { + --field-indent: 9em; + } +} + +@media (min-width: 77em) { + /* Move marginalia to 6rem from right border */ + /* .sidebar, */ + /* .marginal, */ + /* .admonition.marginal { */ + /* margin-right: calc(6rem - 15%); */ + /* } */ + /* BUG: margin is calculated for break point width */ + /* workaround: variable + many breakpoints */ + body > * { + padding-left: 18%; + padding-right: 28%; /* fallback for webkit */ + padding-right: min(28%, 28rem); + --sidebar-margin-right: -20rem; + } + /* limit main text to ~ 50em ≙ 85…100 characters DejaVu rsp. …120 Times */ + body.with-toc > * { + padding-left: min(22%, 22rem); + padding-right: calc(78% - 50rem); /* fallback for webkit */ + padding-right: min(78% - 50rem, 28rem); + --sidebar-margin-right: 0; + } +} + +@media (min-width: 85em) { + body.with-toc > * { + --sidebar-margin-right: -9rem; + } +} + +@media (min-width: 90em) { + /* move marginalia into the margin */ + body > * { + padding-left: min(22%, 22rem); + --sidebar-margin-right: -23rem; + } + body.with-toc > * { + --sidebar-margin-right: -14rem; + } +} + +@media (min-width: 99em) { + /* move marginalia out of main text area */ + body.with-toc > * { + --sidebar-margin-right: -20rem; + } + body > *, body.with-toc > * { /* for webkit */ + padding-left: 22rem; + padding-right: 28rem; + } + .admonition.marginal, + .marginal { + width: 40%; /* make marginal figures, ... "full width" */ + } +} + +@media (min-width: 104em) { + body.with-toc > * { + --sidebar-margin-right: -23rem; + } +} </style> </head> @@ -610,7 +793,7 @@ a { text-decoration: none; } <p class="subtitle" id="composite-definitions-for-8-bit-tex">Composite definitions for 8-bit TeX</p> <dl class="docinfo"> <dt class="copyright">Copyright<span class="colon">:</span></dt> -<dd class="copyright">© 2014 Günter Milde</dd> +<dd class="copyright">© 2014, 2020 Günter Milde</dd> <dt class="licence">Licence<span class="colon">:</span></dt> <dd class="licence"><p>This work may be distributed and/or modified under the conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.def.html index 308e0bef424..55e8042b22f 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.def.html @@ -5,7 +5,7 @@ <meta name="generator" content="Docutils 0.20b.dev: https://docutils.sourceforge.io/" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta content="width=device-width, initial-scale=1" name="viewport" /> -<meta name="dcterms.rights" content="© 2013 Günter Milde" /> +<meta name="dcterms.rights" content="© 2013, 2020 Günter Milde" /> <title>alphabeta-tuenc.def</title> <link rel="schema.dcterms" href="http://purl.org/dc/terms/"/> <style type="text/css"> @@ -290,12 +290,13 @@ p img, p video, figure img, figure video { </style> <style type="text/css"> -/* CSS31_ style sheet for the output of Docutils HTML writers. */ -/* Rules for easy reading and pre-defined style variants. */ +/* CSS3_ style sheet for the output of Docutils HTML5 writer. */ +/* Generic responsive design for all screen sizes. */ +/* */ +/* :Author: Günter Milde */ /* */ -/* :Author: Günter Milde, based on html4css1.css by David Goodger */ /* :Id: $Id$ */ -/* :Copyright: © 2015 Günter Milde. */ +/* :Copyright: © 2021 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ /* */ @@ -308,167 +309,199 @@ p img, p video, figure img, figure video { /* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */ /* .. _CSS3: https://www.w3.org/Style/CSS/ */ +/* Note: */ +/* This style sheet is provisional: */ +/* the API is not settled and may change with any minor Docutils version. */ + + -/* Document Structure */ -/* ****************** */ +/* General Settings */ +/* ================ */ + + +* { box-sizing: border-box; } -/* "page layout" */ body { - margin: 0; - background-color: #dbdbdb; - --field-indent: 9em; /* default indent of fields in field lists */ -} -main, footer, header { - line-height:1.6; - /* avoid long lines --> better reading */ - /* optimum is 45…75 characters/line <http://webtypography.net/2.1.2> */ - /* OTOH: lines should not be too short because of missing hyphenation, */ - max-width: 50rem; - padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */ + background-color: #fafaf6; margin: auto; + --field-indent: 6.6em; /* indent of fields in field lists */ + --sidebar-margin-right: 0; /* adapted in media queries below */ } main { - counter-reset: table figure; + counter-reset: figure table; +} +body > * { background-color: white; + line-height: 1.6; + padding: 0.5rem calc(29% - 7.2rem); /* go from 5% to 15% (8.15em/54em) */ + margin: auto; + max-width: 100rem; +} +sup, sub { /* avoid additional inter-line space for lines with sup/sub */ + line-height: 1; +} + +/* Vertical Space (Parskip) */ +p, ol, ul, dl, li, +div.line-block, +.topic, +.footnote, .citation, +div > math, +table { + margin-top: 0.5em; + margin-bottom: 0.5em; +} +h1, h2, h3, h4, h5, h6, +dl > dd, details > p:last-child { + margin-bottom: 0.5em; +} + +/* Indented Blocks */ +blockquote, figure, .topic { + margin: 1em 2%; + padding-left: 1em; } +div.line-block div.line-block, +pre, dd, dl.option-list { + margin-left: calc(2% + 1em); +} + +/* Object styling */ +/* ============== */ + footer, header { - font-size: smaller; - padding: 0.5em 2%; - border: none; + font-size: small; +} + +/* Frontmatter */ +div.dedication { + padding: 0; + margin: 1.4em 0; + font-style: italic; + font-size: large; +} +.dedication p.topic-title { + display: none; +} + +blockquote p.attribution, +.topic p.attribution { + text-align: right; } /* Table of Contents */ -ul.auto-toc > li > p { +nav.contents ul { padding-left: 1em; - text-indent: -1em; } -nav.contents ul { +ul.auto-toc > li > p { /* hanging indent */ padding-left: 1em; + text-indent: -1em; +} +main > nav.contents ul:not(.auto-toc) { + list-style-type: square; +} +main > nav.contents ul ul:not(.auto-toc) { + list-style-type: disc; } -main > nav.contents ul ul ul ul:not(.auto-toc) { +main > nav.contents ul ul ul:not(.auto-toc) { list-style-type: '\2B29\ '; } -main > nav.contents ul ul ul ul ul:not(.auto-toc) { +main > nav.contents ul ul ul ul:not(.auto-toc) { list-style-type: '\2B1D\ '; } - -/* Transitions */ -hr.docutils { - width: 80%; - margin-top: 1em; - margin-bottom: 1em; - clear: both; +main > nav.contents ul ul ul ul ul:not(.auto-toc) { + list-style-type: '\2B2A\ '; } - -/* Paragraphs */ - -/* vertical space (parskip) */ -p, ol, ul, dl, li, -div.line-block, -.footnote, .citation, -div > math, -table { - margin-top: 0.5em; - margin-bottom: 0.5em; +nav.contents ul > li::marker { + color: grey; } -h1, h2, h3, h4, h5, h6, -dd, details > p:last-child { - margin-bottom: 0.5em; +/* Transitions */ +hr { + margin: 1em 10%; } /* Lists */ -/* ===== */ - -/* Definition Lists */ -/* Indent lists nested in definition lists */ -dd > ul:only-child, dd > ol:only-child { padding-left: 1em; } -/* Description Lists */ -/* styled like in most dictionaries, encyclopedias etc. */ +ul, ol { + padding-left: 1.1em; /* indent by bullet width (Firefox, DejaVu fonts) */ +} +dl.field-list > dd, +dl.docinfo > dd { + margin-left: var(--field-indent); /* adapted in media queries or HTML */ +} +dl.option-list > dd { + margin-left: 20%; +} +/* run-in: start field-body on same line after long field names */ +dl.field-list.run-in > dd p { + display: block; +} +/* "description style" like in most dictionaries, encyclopedias etc. */ dl.description { display: flow-root; } dl.description > dt { - font-weight: bold; clear: left; float: left; margin: 0; padding: 0; padding-right: 0.3em; + font-weight: bold; } dl.description > dd:after { display: table; content: ""; clear: left; /* clearfix for empty descriptions */ } +/* start lists nested in description/field lists on new line */ +dd > dl:first-child, +dd > ul:first-child, +dd > ol:first-child { + clear: left; +} -/* Field Lists */ +/* disclosures */ +details { padding-left: 1em; } +summary { margin-left: -1em; } -dl.field-list > dd, -dl.docinfo > dd { - margin-left: var(--field-indent); /* adapted in media queries or HTML */ +/* Footnotes and Citations */ +.footnote { + font-size: small; } -/* example for custom field-name width */ -dl.field-list.narrow > dd { - --field-indent: 5em; -} -/* run-in: start field-body on same line after long field names */ -dl.field-list.run-in > dd p { +/* Images, Figures, and Tables */ +img { display: block; } - -/* Bibliographic Fields */ - -/* generally, bibliographic fields use dl.docinfo */ -/* but dedication and abstract are placed into divs */ -div.abstract p.topic-title { - text-align: center; +p > img, p > a > img, +figure > img, figure > a > img { + display: inline; } -div.dedication { - margin: 2em 5em; - text-align: center; + +figcaption, +table > caption { + /* font-size: small; */ font-style: italic; } -div.dedication p.topic-title { - font-style: normal; +figcaption > .legend { + font-size: small; + font-style: initial; } - -/* disclosures */ -details { padding-left: 1em; } -summary { margin-left: -1em; } - -/* Text Blocks */ -/* =========== */ - -/* Literal Blocks */ -pre.literal-block, pre.doctest-block, -pre.math, pre.code { - font-family: monospace; +figure.numbered > figcaption > p:before { + counter-increment: figure; + content: "Figure " counter(figure) ": "; + font-weight: bold; + font-style: initial; } -/* Block Quotes and Topics */ -bockquote { margin: 1em 2em; } -blockquote p.attribution, -.topic p.attribution { - text-align: right; - margin-left: 20%; +table tr { + text-align: left; + vertical-align: baseline; } - -/* Tables */ -/* ====== */ - -/* th { vertical-align: bottom; } */ - -table tr { text-align: left; } - -/* "booktabs" style (no vertical lines) */ -table.booktabs { - border: 0; +table.booktabs { /* "booktabs" style (no vertical lines) */ border-top: 2px solid; border-bottom: 2px solid; - border-collapse: collapse; } table.booktabs * { border: 0; @@ -476,88 +509,43 @@ table.booktabs * { table.booktabs th { border-bottom: thin solid; } - -/* 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 */ -.footnote-list { - border-left: solid thin; - padding-left: 0.25em; -} - -/* Directives */ -/* ---------- */ - -/* Body Elements */ -/* ~~~~~~~~~~~~~ */ - -/* Images and Figures */ - -/* let content flow to the side of aligned images and figures */ -figure.align-left, -img.align-left, -video.align-left, -object.align-left { - clear: left; - float: left; - margin-right: 1em; -} -figure.align-right, -img.align-right, -video.align-right, -object.align-right { - clear: right; - float: right; - margin-left: 1em; -} -/* Stop floating sidebars, images and figures */ -h1, h2, h3, h4, footer, header { clear: both; } - -/* Numbered figures */ -figure.numbered > figcaption > p:before { - counter-increment: figure; - content: "Figure " counter(figure) ": "; - font-weight: bold; + font-style: initial; } /* Admonitions and System Messages */ +.admonition, +div.system-message { + border: thin solid silver; + margin: 1em 2%; + padding: 0.5em 1em; +} .caution p.admonition-title, .attention p.admonition-title, .danger p.admonition-title, -.error p.admonition-title, .warning p.admonition-title, div.error { - color: red; + color: maroon; } - -/* Sidebar */ -/* Move right. In a layout with fixed margins, */ -/* it can be moved into the margin. */ -aside.sidebar { - width: 30%; - max-width: 26em; - float: right; - clear: right; - margin-left: 1em; - margin-right: -1%; - background-color: #fffffa; +div.system-message > p > span.literal { + overflow-wrap: break-word; } +/* Literal and Code */ +pre.literal-block, pre.doctest{ + padding: 0.2em; + overflow-x: auto; +} +.literal-block, .doctest, span.literal { + background-color: #f6f9f8; +} +.system-message span.literal { + background-color: inherit; +} -/* Code */ -pre.code { padding: 0.7ex } -pre.code, code { background-color: #eeeeee } /* basic highlighting: for a complete scheme, see */ /* https://docutils.sourceforge.io/sandbox/stylesheets/ */ pre.code .comment, code .comment { color: #5C6576 } @@ -567,6 +555,94 @@ 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} +/* Hyperlink References */ +a { + text-decoration: none; /* for chromium */ + /* Wrap links at any place, if this is the only way to prevent overflow */ + overflow-wrap: break-word; +} +.contents a, a.toc-backref, a.citation-reference { + overflow-wrap: inherit; +} +/* Undecorated Links (see also minimal.css) */ +/* a.citation-reference, */ +.citation a.fn-backref { + color: inherit; +} +a:hover { + text-decoration: underline; +} +*:hover > a.toc-backref:after { + content: " \2191"; /* ↑ UPWARDS ARROW */ + color: grey; +} +*:hover > a.self-link:after { + content: "\1F517"; /* LINK SYMBOL */ + color: grey; + font-size: smaller; + margin-left: 0.2em; +} +/* highlight the target of the current URL */ +section:target > h2, section:target > h3, section:target > h4, +section:target > h5, section:target > h6, +.contents :target, +.contents:target > .topic-title, +[role="doc-biblioentry"]:target > .label, +[role="doc-biblioref"]:target, +[role="note"]:target, /* Docutils 0.18 ... 0.19 */ +[role="doc-footnote"]:target, /* Docutils >= 0.20 */ +[role="doc-noteref"]:target { + background-color: #d2e6ec; +} + +/* Block Alignment */ +/* Let content flow to the side of aligned images and figures */ + +/* no floats around this elements */ +footer, header, hr, +h1, h2, h3 { + clear: both; +} + +img.align-left, +video.align-left, +figure.align-left, +table.align-left { + margin-left: 0; + padding-left: 0; + margin-right: 0.5em; + clear: left; + float: left; +} +img.align-right, +video.align-right, +figure.align-right, +table.align-right { + margin-left: 0.5em; + margin-right: 0; + clear: right; + float: right; +} + +/* Margin Elements */ +/* see below for screen size dependent rules */ +.sidebar, +.marginal, +.admonition.marginal { + max-width: 40%; + border: none; + background-color: #efefea; + margin: 0.5em var(--sidebar-margin-right) 0.5em 1em; + padding: 0.5em; + padding-left: 0.7em; + clear: right; + float: right; + font-size: small; +} +.sidebar { + width: 40%; +} + /* Math */ /* for math-output=MathML (for math-output=HTML, see math.css) */ math .boldsymbol { @@ -576,32 +652,139 @@ mstyle.mathscr, mi.mathscr { font-family: STIX; } -/* Epigraph */ -/* Highlights */ -/* Pull-Quote */ -/* Compound Paragraph */ -/* Container */ - -/* Inline Markup */ -/* ============= */ - -sup, sub { line-height: 0.8; } /* do not add leading for lines with sup/sub */ - -/* 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[role="doc-noteref"] */ -/* Citation References */ -/* a.citation-reference */ +/* Adaptive page layout */ +/* ==================== */ + +@media (max-width: 30em) { + /* Smaller margins and no floating elements for small screens */ + /* (main text less than 40 characters/line) */ + body > * { + padding: 0.5rem 5%; + line-height: 1.4 + } + .sidebar, + .marginal, + .admonition.marginal { + width: auto; + max-width: 100%; + float: none; + } + dl.option-list, + pre { + margin-left: 0; + } + body { + --field-indent: 4em; + } + dl.field-list.narrow, dl.docinfo, dl.option-list { + --field-indent: 2.4em; + } + pre, pre * { + font-size: 0.9em; + /* overflow: auto; */ + } +} + +@media (min-width: 54em) { + /* Move ToC to the left */ + /* Main text width before: 70% ≙ 35em ≙ 75…95 chrs (Dejavu/Times) */ + /* after: ≳ 30em ≙ 54…70 chrs (Dejavu/Times) */ + body.with-toc { + padding-left: 8%; + } + body.with-toc > * { + margin-left: 0; + padding-left: 22rem; /* fallback for webkit */ + padding-left: min(22%, 22rem); + padding-right: 7%; + } + main > nav.contents { /* global ToC */ + position: fixed; + top: 0; + left: 0; + width: min(25%, 25em); + height: 100vh; + margin: 0; + background-color: #fafaf6; + padding: 1em 2% 0 2%; + overflow: auto; + } + main > nav.contents > * { + padding-left: 0; + line-height: 1.4; + } + main > nav.contents a { + color: inherit; + } +} + +@media (min-width: 70em) { + body { + --field-indent: 9em; + } +} + +@media (min-width: 77em) { + /* Move marginalia to 6rem from right border */ + /* .sidebar, */ + /* .marginal, */ + /* .admonition.marginal { */ + /* margin-right: calc(6rem - 15%); */ + /* } */ + /* BUG: margin is calculated for break point width */ + /* workaround: variable + many breakpoints */ + body > * { + padding-left: 18%; + padding-right: 28%; /* fallback for webkit */ + padding-right: min(28%, 28rem); + --sidebar-margin-right: -20rem; + } + /* limit main text to ~ 50em ≙ 85…100 characters DejaVu rsp. …120 Times */ + body.with-toc > * { + padding-left: min(22%, 22rem); + padding-right: calc(78% - 50rem); /* fallback for webkit */ + padding-right: min(78% - 50rem, 28rem); + --sidebar-margin-right: 0; + } +} + +@media (min-width: 85em) { + body.with-toc > * { + --sidebar-margin-right: -9rem; + } +} + +@media (min-width: 90em) { + /* move marginalia into the margin */ + body > * { + padding-left: min(22%, 22rem); + --sidebar-margin-right: -23rem; + } + body.with-toc > * { + --sidebar-margin-right: -14rem; + } +} + +@media (min-width: 99em) { + /* move marginalia out of main text area */ + body.with-toc > * { + --sidebar-margin-right: -20rem; + } + body > *, body.with-toc > * { /* for webkit */ + padding-left: 22rem; + padding-right: 28rem; + } + .admonition.marginal, + .marginal { + width: 40%; /* make marginal figures, ... "full width" */ + } +} + +@media (min-width: 104em) { + body.with-toc > * { + --sidebar-margin-right: -23rem; + } +} </style> </head> @@ -611,7 +794,7 @@ a { text-decoration: none; } <p class="subtitle" id="composite-definitions-for-xetex-and-luatex">Composite definitions for XeTeX and LuaTeX</p> <dl class="docinfo"> <dt class="copyright">Copyright<span class="colon">:</span></dt> -<dd class="copyright">© 2013 Günter Milde</dd> +<dd class="copyright">© 2013, 2020 Günter Milde</dd> <dt class="licence">Licence<span class="colon">:</span></dt> <dd class="licence"><p>This work may be distributed and/or modified under the conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html index ba21b883b2c..f6deffaf263 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html @@ -4,7 +4,7 @@ <meta charset="utf-8" /> <meta name="generator" content="Docutils 0.20b.dev: https://docutils.sourceforge.io/" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> -<meta name="dcterms.rights" content="© 2010 Günter Milde" /> +<meta name="dcterms.rights" content="© 2010, 2020 Günter Milde" /> <title>alphabeta.sty</title> <link rel="schema.dcterms" href="http://purl.org/dc/terms/"/> <style type="text/css"> @@ -792,75 +792,21 @@ mstyle.mathscr, mi.mathscr { <h1 class="title">alphabeta.sty</h1> <p class="subtitle" id="greek-symbols-in-text-and-math">Greek symbols in text and math</p> <dl class="docinfo"> +<dt class="version">Version<span class="colon">:</span></dt> +<dd class="version">2.2.1 (<a class="reference internal" href="#changelog">changelog</a>)</dd> <dt class="copyright">Copyright<span class="colon">:</span></dt> -<dd class="copyright">© 2010 Günter Milde</dd> +<dd class="copyright">© 2010, 2020 Günter Milde</dd> <dt class="licence">Licence<span class="colon">:</span></dt> <dd class="licence"><p>This work may be distributed and/or modified under the conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either version 1.3 of this license or any later version.</p> </dd> -<dt class="identification">Identification<span class="colon">:</span></dt> -<dd class="identification"><pre class="literal-block">\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{alphabeta} - [2020/10/13 2.0 macros for Greek letters in text and math]</pre> -</dd> </dl> <div class="topic abstract" role="doc-abstract"> <p class="topic-title">Abstract</p> <p>Use <span class="docutils literal">\alpha, \beta, ...</span> for Greek letters in text and math mode.</p> </div> -<dl> -<dt>Changelog:</dt> -<dd><table class="borderless"> -<tbody> -<tr><td><p>0.1</p></td> -<td><p>2012-06-26</p></td> -<td><p>initial version</p></td> -</tr> -<tr><td><p>0.2</p></td> -<td><p>2013-05-03</p></td> -<td><p>new accent macro names with <span class="docutils literal">lgrxenc.def</span> 0.7</p></td> -</tr> -<tr><td><p>0.3</p></td> -<td><p>2013-05-28</p></td> -<td><p>use <span class="docutils literal">lgrenc.def</span> from greek-fontenc,</p></td> -</tr> -<tr><td><!-- --> -</td> -<td></td> -<td><p>enable Unicode input in math mode.</p></td> -</tr> -<tr><td><p>0.4</p></td> -<td><p>2013-09-11</p></td> -<td><p>move to <a class="reference external" href="https://ctan.org/pkg/greek-fontenc">greek-fontenc</a>, support XeTeX/LuaTeX.</p></td> -</tr> -<tr><td><p>0.13</p></td> -<td><p>2015-09-04</p></td> -<td><p>Support for <cite>variant symbols</cite>.</p></td> -</tr> -<tr><td><p>0.13.2</p></td> -<td><p>2016-02-05</p></td> -<td><p>Support for standard Unicode text font encoding “TU” -(new in fontspec v2.5a).</p></td> -</tr> -<tr><td><p>0.14</p></td> -<td><p>2020/02/28</p></td> -<td><p>rename <span class="docutils literal"><span class="pre">alphabeta-euenc.def</span></span> to -<span class="docutils literal"><span class="pre">alphabeta-tuenc.def</span></span>.</p></td> -</tr> -<tr><td><p>1.0</p></td> -<td><p>2020/09/25</p></td> -<td><p>New package version. No changes in this file.</p></td> -</tr> -<tr><td><p>2.0</p></td> -<td><p>2020/10/13</p></td> -<td><p>Provide <span class="docutils literal">\Koppa</span>.</p></td> -</tr> -</tbody> -</table> -</dd> -</dl> <nav class="contents" id="contents" role="doc-toc"> <p class="topic-title">Contents</p> <ul class="simple"> @@ -872,19 +818,21 @@ mode.</p> </li> <li><p><a class="reference internal" href="#implementation" id="toc-entry-4">Implementation</a></p> <ul> -<li><p><a class="reference internal" href="#requirements" id="toc-entry-5">Requirements</a></p></li> -<li><p><a class="reference internal" href="#postpone-the-re-definitions" id="toc-entry-6">Postpone the re-definitions</a></p></li> -<li><p><a class="reference internal" href="#save-math-macros" id="toc-entry-7">Save math macros</a></p></li> -<li><p><a class="reference internal" href="#commands-to-access-greek-letters-by-name" id="toc-entry-8">Commands to access Greek letters by name</a></p> +<li><p><a class="reference internal" href="#identification" id="toc-entry-5">Identification</a></p></li> +<li><p><a class="reference internal" href="#requirements" id="toc-entry-6">Requirements</a></p></li> +<li><p><a class="reference internal" href="#postpone-the-re-definitions" id="toc-entry-7">Postpone the re-definitions</a></p></li> +<li><p><a class="reference internal" href="#save-math-macros" id="toc-entry-8">Save math macros</a></p></li> +<li><p><a class="reference internal" href="#commands-to-access-greek-letters-by-name" id="toc-entry-9">Commands to access Greek letters by name</a></p> <ul> -<li><p><a class="reference internal" href="#archaic-letters" id="toc-entry-9">Archaic letters</a></p></li> -<li><p><a class="reference internal" href="#variant-shape-symbols" id="toc-entry-10">Variant shape symbols</a></p></li> +<li><p><a class="reference internal" href="#archaic-letters" id="toc-entry-10">Archaic letters</a></p></li> +<li><p><a class="reference internal" href="#variant-shape-symbols" id="toc-entry-11">Variant shape symbols</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#textcompositecommands-for-the-generic-macros" id="toc-entry-11">TextCompositeCommands for the generic macros</a></p></li> -<li><p><a class="reference internal" href="#re-definition-for-greek-unicode-input-in-math-mode" id="toc-entry-12">Re-definition for Greek Unicode input in math mode</a></p></li> +<li><p><a class="reference internal" href="#textcompositecommands-for-the-generic-macros" id="toc-entry-12">TextCompositeCommands for the generic macros</a></p></li> +<li><p><a class="reference internal" href="#re-definition-for-greek-unicode-input-in-math-mode" id="toc-entry-13">Re-definition for Greek Unicode input in math mode</a></p></li> </ul> </li> +<li><p><a class="reference internal" href="#changelog" id="toc-entry-14">Changelog</a></p></li> </ul> </nav> <section id="motivation"> @@ -925,8 +873,14 @@ non-compatible definition of <span class="docutils literal">\DeclareUnicodeChara </section> <section id="implementation"> <h2><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">Implementation</a></h2> +<section id="identification"> +<h3><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Identification</a></h3> +<pre class="literal-block">\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{alphabeta} + [2023/03/08 2.2.1 macros for Greek letters in text and math]</pre> +</section> <section id="requirements"> -<h3><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Requirements</a></h3> +<h3><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">Requirements</a></h3> <p>This package extends the <a class="reference external" href="textalpha.sty.html">textalpha</a> package. Package options are passed on to <cite>textalpha</cite>:</p> <pre class="literal-block">\RequirePackageWithOptions{textalpha}</pre> @@ -939,13 +893,13 @@ distribution) for the <span class="docutils literal">\ifdefined</span> test.</p> <pre class="code latex literal-block"><code><span class="keyword">\usepackage</span><span class="name builtin">{</span>fixltx2e<span class="name builtin">}</span></code></pre> </section> <section id="postpone-the-re-definitions"> -<h3><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">Postpone the re-definitions</a></h3> +<h3><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">Postpone the re-definitions</a></h3> <p>To prevent other packages overwriting the re-defined commands we postpone the next steps until the start of the document body:</p> <pre class="literal-block">\AtBeginDocument{</pre> </section> <section id="save-math-macros"> -<h3><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">Save math macros</a></h3> +<h3><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">Save math macros</a></h3> <p>Map the standard math commands to maths-specific names:</p> <pre class="literal-block">\let\mathGamma\Gamma \let\mathDelta\Delta @@ -1002,7 +956,7 @@ the next steps until the start of the document body:</p> \fi</pre> </section> <section id="commands-to-access-greek-letters-by-name"> -<h3><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">Commands to access Greek letters by name</a></h3> +<h3><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">Commands to access Greek letters by name</a></h3> <p>For letters defined in math mode, the commands work in both, text and math.</p> <p>Some Greek letters look identical to Latin letters and can therefore not be used as variable symbols in math formulas. These letters are not defined in @@ -1072,7 +1026,7 @@ in both, text and math mode.</p> \renewcommand*{\psi}{\TextOrMath{\textpsi}{\mathpsi}} \renewcommand*{\omega}{\TextOrMath{\textomega}{\mathomega}}</pre> <section id="archaic-letters"> -<h4><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">Archaic letters</a></h4> +<h4><a class="toc-backref" href="#toc-entry-10" role="doc-backlink">Archaic letters</a></h4> <pre class="literal-block">\renewcommand*{\digamma}{\TextOrMath{\textdigamma}{\mathdigamma}} % ϝ \providecommand*{\Digamma}{\textDigamma} % Ϝ \providecommand*{\stigma}{\textstigma} % ϛ @@ -1086,7 +1040,7 @@ in both, text and math mode.</p> \providecommand*{\sampi}{\textsampi} % ϡ</pre> </section> <section id="variant-shape-symbols"> -<h4><a class="toc-backref" href="#toc-entry-10" role="doc-backlink">Variant shape symbols</a></h4> +<h4><a class="toc-backref" href="#toc-entry-11" role="doc-backlink">Variant shape symbols</a></h4> <p>TeX’s concept of “standard” vs. “variant” math symbols does not map to the distinction between GREEK LETTER … vs. GREEK … SYMBOL in the Unicode standard (see <a class="reference external" href="test-tuenc-greek.pdf">test-tuenc-greek.pdf</a>).</p> @@ -1124,7 +1078,7 @@ math (or, if not supported, the SYMBOL shape):</p> </section> </section> <section id="textcompositecommands-for-the-generic-macros"> -<h3><a class="toc-backref" href="#toc-entry-11" role="doc-backlink">TextCompositeCommands for the generic macros</a></h3> +<h3><a class="toc-backref" href="#toc-entry-12" role="doc-backlink">TextCompositeCommands for the generic macros</a></h3> <p>The NFSS TextComposite mechanism looks for the next token without expanding it. In order to let compositions like <span class="docutils literal"><span class="pre">\ensuregreek{\'\Alpha}</span></span> or <span class="docutils literal"><span class="pre">\ensuregreek{\>"\alpha}</span></span> work as expected we define TextComposites with the @@ -1138,7 +1092,7 @@ is LGR).</p> }{}</pre> </section> <section id="re-definition-for-greek-unicode-input-in-math-mode"> -<h3><a class="toc-backref" href="#toc-entry-12" role="doc-backlink">Re-definition for Greek Unicode input in math mode</a></h3> +<h3><a class="toc-backref" href="#toc-entry-13" role="doc-backlink">Re-definition for Greek Unicode input in math mode</a></h3> <p>Check with <span class="docutils literal">\ifdefined</span> for the definition of <span class="docutils literal">\DeclareUnicodeCharacter</span>. In contrast to <span class="docutils literal">\@ifdefined</span>, this works without side-effects. It makes the package dependent on the <a class="reference external" href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=etex">e-TeX</a> @@ -1192,10 +1146,64 @@ macros:</p> \fi</pre> <pre class="literal-block">} % close the \AtBeginDocument macro</pre> +</section> +</section> +<section id="changelog"> +<h2><a class="toc-backref" href="#toc-entry-14" role="doc-backlink">Changelog</a></h2> +<table class="borderless"> +<tbody> +<tr><td><p>0.1</p></td> +<td><p>2012-06-26</p></td> +<td><p>initial version</p></td> +</tr> +<tr><td><p>0.2</p></td> +<td><p>2013-05-03</p></td> +<td><p>new accent macro names with <span class="docutils literal">lgrxenc.def</span> 0.7</p></td> +</tr> +<tr><td><p>0.3</p></td> +<td><p>2013-05-28</p></td> +<td><p>use <span class="docutils literal">lgrenc.def</span> from greek-fontenc,</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>enable Unicode input in math mode.</p></td> +</tr> +<tr><td><p>0.4</p></td> +<td><p>2013-09-11</p></td> +<td><p>move to <a class="reference external" href="https://ctan.org/pkg/greek-fontenc">greek-fontenc</a>, support XeTeX/LuaTeX.</p></td> +</tr> +<tr><td><p>0.13</p></td> +<td><p>2015-09-04</p></td> +<td><p>Support for <cite>variant symbols</cite>.</p></td> +</tr> +<tr><td><p>0.13.2</p></td> +<td><p>2016-02-05</p></td> +<td><p>Support for standard Unicode text font encoding “TU” +(new in fontspec v2.5a).</p></td> +</tr> +<tr><td><p>0.14</p></td> +<td><p>2020/02/28</p></td> +<td><p>rename <span class="docutils literal"><span class="pre">alphabeta-euenc.def</span></span> to +<span class="docutils literal"><span class="pre">alphabeta-tuenc.def</span></span>.</p></td> +</tr> +<tr><td><p>1.0</p></td> +<td><p>2020/09/25</p></td> +<td><p>New package version. No changes in this file.</p></td> +</tr> +<tr><td><p>2.0</p></td> +<td><p>2020/10/13</p></td> +<td><p>Provide <span class="docutils literal">\Koppa</span>.</p></td> +</tr> +<tr><td><p>2.2.1</p></td> +<td><p>2023-03-08</p></td> +<td><p>Documentation update.</p></td> +</tr> +</tbody> +</table> <!-- References - - - - - - - - - - --> </section> -</section> </main> </body> </html> diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.html b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.html index 82bd4810473..df2405c2dd9 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.html @@ -793,7 +793,7 @@ mstyle.mathscr, mi.mathscr { <p class="subtitle" id="greek-font-encoding-definition-files">Greek font encoding definition files</p> <dl class="docinfo"> <dt class="version">Version<span class="colon">:</span></dt> -<dd class="version">2.2 (<a class="reference internal" href="#changelog">changelog</a>)</dd> +<dd class="version">2.2.1 (<a class="reference internal" href="#changelog">changelog</a>)</dd> <dt class="copyright">Copyright<span class="colon">:</span></dt> <dd class="copyright">© 2010 – 2023 Günter Milde <<a class="reference external" href="mailto:milde@users.sf.net">milde@users.sf.net</a>></dd> <dt class="licence">Licence<span class="colon">:</span></dt> @@ -932,8 +932,8 @@ with <a class="reference external" href="https://docutils.sourceforge.io/rst.htm <dt>Test LICRs with non-Greek legacy 8-bit input encoding</dt> <dd><p><a class="reference external" href="test-licr-input.tex">test-licr-input.tex</a>, <a class="reference external" href="test-licr-input.pdf">test-licr-input.pdf</a></p> </dd> -<dt>Greek diacritics with standard accent macros</dt> -<dd><p><a class="reference external" href="diacritics.tex">diacritics.tex</a>, <a class="reference external" href="diacritics.pdf">diacritics.pdf</a></p> +<dt>Test Greek diacritics with standard accent macros</dt> +<dd><p><a class="reference external" href="test-diacritics.tex">test-diacritics.tex</a>, <a class="reference external" href="test-diacritics.pdf">test-diacritics.pdf</a></p> </dd> </dl> </section> @@ -1386,6 +1386,13 @@ converted to pre-composed characters.</p></li> <li><p>Various small fixes and documentation update.</p></li> </ul> </dd> +<dt>2.2.1 (2023-03-08)</dt> +<dd><ul class="simple"> +<li><p>Fix broken links in README.md.</p></li> +<li><p><span class="docutils literal">@uclclist</span> entry for <span class="docutils literal">\accoxia</span>, prevent +downcasing <span class="docutils literal">\textStigma</span> to <span class="docutils literal">\textvarstigma</span>.</p></li> +</ul> +</dd> </dl> </section> <section id="references"> diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.rst b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.rst index 0ff78e72385..67a866da11a 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.rst +++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.rst @@ -4,7 +4,7 @@ greek-fontenc Greek font encoding definition files ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -:Version: 2.2 (changelog_) +:Version: 2.2.1 (changelog_) :Copyright: © 2010 -- 2023 Günter Milde <milde@users.sf.net> :Licence: This work may be distributed and/or modified under the @@ -100,8 +100,8 @@ Hyperref_ test and usage example Test LICRs with non-Greek legacy 8-bit input encoding `<test-licr-input.tex>`_, `<test-licr-input.pdf>`_ -Greek diacritics with standard accent macros - `<diacritics.tex>`_, `<diacritics.pdf>`_ +Test Greek diacritics with standard accent macros + `<test-diacritics.tex>`_, `<test-diacritics.pdf>`_ Download and Installation @@ -536,6 +536,10 @@ Changelog - Don't use ``\makeatother`` in ``\AtBeginDocument``. - Skip ``\uccode`` fixes when ignored by ``\MakeUppercase``. - Various small fixes and documentation update. +2.2.1 (2023-03-08) + - Fix broken links in README.md. + - ``@uclclist`` entry for ``\accoxia``, prevent + downcasing ``\textStigma`` to ``\textvarstigma``. __ http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and-also-psili-problem-with-accent-and-lgr-encodin .. _ltxbugs 4399: diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html index 488bee24e9b..68d93d25d00 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html @@ -4,7 +4,7 @@ <meta charset="utf-8" /> <meta name="generator" content="Docutils 0.20b.dev: https://docutils.sourceforge.io/" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> -<meta name="dcterms.rights" content="© 2013 Günter Milde" /> +<meta name="dcterms.rights" content="© 2013 – 2023 Günter Milde" /> <title>greek-fontenc.def</title> <link rel="schema.dcterms" href="http://purl.org/dc/terms/"/> <style type="text/css"> @@ -792,17 +792,15 @@ mstyle.mathscr, mi.mathscr { <h1 class="title">greek-fontenc.def</h1> <p class="subtitle" id="common-greek-font-encoding-definitions">Common Greek font encoding definitions</p> <dl class="docinfo"> +<dt class="version">Version<span class="colon">:</span></dt> +<dd class="version">2.2.1 (<a class="reference internal" href="#changelog">changelog</a>)</dd> <dt class="copyright">Copyright<span class="colon">:</span></dt> -<dd class="copyright">© 2013 Günter Milde</dd> +<dd class="copyright">© 2013 – 2023 Günter Milde</dd> <dt class="licence">Licence<span class="colon">:</span></dt> <dd class="licence"><p>This work may be distributed and/or modified under the conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either version 1.3 of this license or any later version.</p> </dd> -<dt class="identification">Identification<span class="colon">:</span></dt> -<dd class="identification"><pre class="literal-block">\ProvidesFile{greek-fontenc.def} -[2023/02/28 2.2 Common Greek font encoding definitions]</pre> -</dd> </dl> <div class="topic abstract" role="doc-abstract"> <p class="topic-title">Abstract</p> @@ -815,20 +813,21 @@ font encodings providing Greek characters.</p> <li><p><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></p></li> <li><p><a class="reference internal" href="#implementation" id="toc-entry-2">Implementation</a></p> <ul> -<li><p><a class="reference internal" href="#ensuregreek-greekscript" id="toc-entry-3">ensuregreek, greekscript</a></p></li> -<li><p><a class="reference internal" href="#aliases" id="toc-entry-4">Aliases</a></p></li> -<li><p><a class="reference internal" href="#composite-diacritics" id="toc-entry-5">Composite diacritics</a></p></li> -<li><p><a class="reference internal" href="#uppercase" id="toc-entry-6">UPPERCASE</a></p> +<li><p><a class="reference internal" href="#identification" id="toc-entry-3">Identification</a></p></li> +<li><p><a class="reference internal" href="#ensuregreek-greekscript" id="toc-entry-4">ensuregreek, greekscript</a></p></li> +<li><p><a class="reference internal" href="#aliases" id="toc-entry-5">Aliases</a></p></li> +<li><p><a class="reference internal" href="#composite-diacritics" id="toc-entry-6">Composite diacritics</a></p></li> +<li><p><a class="reference internal" href="#uppercase" id="toc-entry-7">UPPERCASE</a></p> <ul> -<li><p><a class="reference internal" href="#uclclist-extension" id="toc-entry-7">@uclclist extension</a></p></li> -<li><p><a class="reference internal" href="#substitution-macros" id="toc-entry-8">Substitution macros</a></p></li> -<li><p><a class="reference internal" href="#mark-hiatus" id="toc-entry-9">Mark hiatus</a></p></li> +<li><p><a class="reference internal" href="#uclclist-extension" id="toc-entry-8">@uclclist extension</a></p></li> +<li><p><a class="reference internal" href="#substitution-macros" id="toc-entry-9">Substitution macros</a></p></li> +<li><p><a class="reference internal" href="#mark-hiatus" id="toc-entry-10">Mark hiatus</a></p></li> </ul> </li> </ul> </li> -<li><p><a class="reference internal" href="#changes" id="toc-entry-10">Changes</a></p></li> -<li><p><a class="reference internal" href="#references" id="toc-entry-11">References</a></p></li> +<li><p><a class="reference internal" href="#changelog" id="toc-entry-11">Changelog</a></p></li> +<li><p><a class="reference internal" href="#references" id="toc-entry-12">References</a></p></li> </ul> </nav> <section id="usage"> @@ -838,8 +837,13 @@ font encodings providing Greek characters.</p> </section> <section id="implementation"> <h2><a class="toc-backref" href="#toc-entry-2" role="doc-backlink">Implementation</a></h2> +<section id="identification"> +<h3><a class="toc-backref" href="#toc-entry-3" role="doc-backlink">Identification</a></h3> +<pre class="literal-block">\ProvidesFile{greek-fontenc.def} + [2023/03/08 2.2.1 Common Greek font encoding definitions]</pre> +</section> <section id="ensuregreek-greekscript"> -<h3><a class="toc-backref" href="#toc-entry-3" role="doc-backlink">ensuregreek, greekscript</a></h3> +<h3><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">ensuregreek, greekscript</a></h3> <p>Provide “empty” encoding-specific definitions for <span class="docutils literal">\ensuregreek</span> and <span class="docutils literal">\greekscript</span>. The definitions in this file make the font encoding fit for use with the Greek script. (See <span class="docutils literal">textalpha.sty</span> for default @@ -856,7 +860,7 @@ the Greek script, if required. The following definition announces the <pre class="literal-block">\ProvideTextCommand{\greekscript}{\LastDeclaredEncoding}{}</pre> </section> <section id="aliases"> -<h3><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">Aliases</a></h3> +<h3><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Aliases</a></h3> <p>Aliases are defined via <cite>DeclareTextCommand</cite> so that up/downcasing works without the need for additional <a class="reference internal" href="#uclclist">uclclist</a> entries.</p> <p>Names matching mathematical variant symbols:</p> @@ -910,7 +914,7 @@ table, LCI encoding)?</p> </span><span class="name variable">\DeclareTextCommand</span><span class="name builtin">{</span><span class="literal string">\)</span><span class="name builtin">}{</span><span class="keyword">\LastDeclaredEncoding</span><span class="name builtin">}{</span><span class="keyword">\accpsili</span><span class="name builtin">}</span></code></pre> </section> <section id="composite-diacritics"> -<h3><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Composite diacritics</a></h3> +<h3><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">Composite diacritics</a></h3> <p>Composite accents can be input as sequence of simple diacritics (in arbitrary order) via named macro, symbol macro and “transliteration characters”, e.g. one of</p> @@ -1016,7 +1020,7 @@ composite definitions starting with standard macros are requried:</p> \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\~}{\accdasiaperispomeni}</pre> </section> <section id="uppercase"> -<span id="uclclist"></span><h3><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">UPPERCASE</a></h3> +<span id="uclclist"></span><h3><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">UPPERCASE</a></h3> <p>UPPERCASE (all-caps) is generated with <span class="docutils literal">\MakeUppercase</span>. The implementation of this command changed in June 2022 <a class="citation-reference" href="#ltnews35" id="citation-reference-1" role="doc-biblioref">[ltnews35]</a>.</p> <p>According to Greek typographical tradition, diacritics (except dialytika, @@ -1033,7 +1037,7 @@ CB Fonts, a small capital adscript iota is used.</p> <p>Up to 2022/06, macro substitutions in the <span class="docutils literal">\@uclclist</span> could be used to get the expected behaviour:</p> <section id="uclclist-extension"> -<h4><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">@uclclist extension</a></h4> +<h4><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">@uclclist extension</a></h4> <p>Based on Werner Lemberg’s 2008 <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> and <span class="docutils literal">fontenc.sty</span>.</p> <p>The definition of an auxiliary, self-resetting macro makes this idempotent (only the first use of this function will expand the <span class="docutils literal">@uclclist</span>). @@ -1051,6 +1055,7 @@ The second and third lines are TeX’ way of writing <span class="docutils liter \accpsilivaria\LGR@hiatus \accpsiliperispomeni\LGR@accdropped \acctonos\LGR@hiatus + \accoxia\LGR@hiatus \accvaria\LGR@accdropped \accdialytikatonos\LGR@accDialytika \accdialytikavaria\LGR@accDialytika @@ -1085,7 +1090,7 @@ The second and third lines are TeX’ way of writing <span class="docutils liter \textomega \textOmega \textkoppa \textKoppa \textqoppa \textQoppa - \textvarstigma \textStigma + \textvarstigma \LGR@Stigma \textstigma \textStigma \textsampi \textSampi \textdigamma \textDigamma @@ -1096,7 +1101,7 @@ The second and third lines are TeX’ way of writing <span class="docutils liter <pre class="literal-block">\update@uclc@with@greek</pre> </section> <section id="substitution-macros"> -<h4><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">Substitution macros</a></h4> +<h4><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">Substitution macros</a></h4> <p>Drop diacritics (The argument passing ensures that kerning is preserved)</p> <pre class="literal-block">\DeclareTextCommand{\LGR@accdropped}{\LastDeclaredEncoding}[1]{#1}</pre> <p>Keep dialytika: Define a dummy alias so that downcasing with @@ -1109,9 +1114,13 @@ accent:</p> We define a dummy macro to enable the conversion of <span class="docutils literal">\prosgegrammeni</span> to <span class="docutils literal">\ypogegrammeni</span> (subscript iota) but not vice versa:</p> <pre class="literal-block">\DeclareTextCommand{\LGR@ypogegrammeni}{\LastDeclaredEncoding}{\ypogegrammeni}</pre> +<p>Prevent downcasing <span class="docutils literal">\textStigma</span> to the stigma variant <span class="docutils literal">\textvarstigma</span> +(only available in LGR). This happened sometimes with the post-2022/06 +<span class="docutils literal">\MakeLowercase</span>:</p> +<pre class="literal-block">\DeclareTextCommand{\LGR@Stigma}{\LastDeclaredEncoding}{\textStigma}</pre> </section> <section id="mark-hiatus"> -<h4><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">Mark hiatus</a></h4> +<h4><a class="toc-backref" href="#toc-entry-10" role="doc-backlink">Mark hiatus</a></h4> <p>Tonos and dasia mark a hiatus if placed on the first vowel of a diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the second vowel if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ, @@ -1140,8 +1149,8 @@ that does not skip over spaces.</p> </section> </section> </section> -<section id="changes"> -<h2><a class="toc-backref" href="#toc-entry-10" role="doc-backlink">Changes</a></h2> +<section id="changelog"> +<h2><a class="toc-backref" href="#toc-entry-11" role="doc-backlink">Changelog</a></h2> <table class="borderless"> <tbody> <tr><td><p>0.9</p></td> @@ -1180,11 +1189,16 @@ that does not skip over spaces.</p> <td><p>2023-02-28</p></td> <td><p>Add missing accent composite commands.</p></td> </tr> +<tr><td><p>2.2.1</p></td> +<td><p>2023-03-08</p></td> +<td><p><span class="docutils literal">@uclclist</span> entry for <span class="docutils literal">\accoxia</span>, prevent +downcasing <span class="docutils literal">\textStigma</span> to <span class="docutils literal">\textvarstigma</span>.</p></td> +</tr> </tbody> </table> </section> <section id="references"> -<h2><a class="toc-backref" href="#toc-entry-11" role="doc-backlink">References</a></h2> +<h2><a class="toc-backref" href="#toc-entry-12" role="doc-backlink">References</a></h2> <div role="list" class="citation-list"> <div class="citation" id="haralambous-98" role="doc-biblioentry"> <span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#citation-reference-3">Haralambous-98</a><span class="fn-bracket">]</span></span> diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.pdf Binary files differindex 12a6b3c613f..f59b95823b2 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.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 cfc8a71301c..1442193414e 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html @@ -4,7 +4,7 @@ <meta charset="utf-8" /> <meta name="generator" content="Docutils 0.20b.dev: https://docutils.sourceforge.io/" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> -<meta name="dcterms.rights" content="© 2010 – 2022 Günter Milde" /> +<meta name="dcterms.rights" content="© 2010 – 2023 Günter Milde" /> <title>lgrenc.def</title> <link rel="schema.dcterms" href="http://purl.org/dc/terms/"/> <style type="text/css"> @@ -793,7 +793,7 @@ mstyle.mathscr, mi.mathscr { <p class="subtitle" id="lgr-greek-font-encoding-definitions">LGR Greek font encoding definitions</p> <dl class="docinfo simple"> <dt class="copyright">Copyright<span class="colon">:</span></dt> -<dd class="copyright">© 2010 – 2022 Günter Milde</dd> +<dd class="copyright">© 2010 – 2023 Günter Milde</dd> <dt class="licence">Licence<span class="colon">:</span></dt> <dd class="licence"><p>This work may be distributed and/or modified under the conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either @@ -1038,7 +1038,7 @@ anyway.</p> <h3><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Identification</a></h3> <pre class="literal-block">\ProvidesFile{lgrenc.def} [2023/02/28 2.2 LGR Greek font encoding definitions] -% Copyright © 2010 Günter Milde +% Copyright © 2010 -- 2023 Günter Milde % This file is part of the "greek-fontenc" package. % It may be distributed and/or modified under the % conditions of the "LaTeX Project Public License", either diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/puenc-greek.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/puenc-greek.def.html index 0743c622df6..c2ea69705d4 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/puenc-greek.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/puenc-greek.def.html @@ -787,11 +787,11 @@ mstyle.mathscr, mi.mathscr { </style> </head> -<body> +<body class="with-toc"> <main id="puenc-greek-def"> <h1 class="title">puenc-greek.def</h1> -<p class="subtitle" id="greek-licr-definitions-for-pdf-strings-hyperref">Greek LICR definitions for PDF strings (hyperref)</p> -<dl class="docinfo"> +<p class="subtitle" id="greek-licr-definitions-for-pdf-strings">Greek LICR definitions for PDF strings</p> +<dl class="docinfo simple"> <dt class="copyright">Copyright<span class="colon">:</span></dt> <dd class="copyright">© 2020, 2023 Günter Milde</dd> <dt class="licence">Licence<span class="colon">:</span></dt> @@ -799,10 +799,6 @@ mstyle.mathscr, mi.mathscr { conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either version 1.3 of this license or any later version.</p> </dd> -<dt class="identification">Identification<span class="colon">:</span></dt> -<dd class="identification"><pre class="literal-block">\ProvidesFile{puenc-greek.def} -[2023/02/28 2.2 Greek LICRs for PDF strings]</pre> -</dd> </dl> <div class="topic abstract" role="doc-abstract"> <p class="topic-title">Abstract</p> @@ -822,12 +818,38 @@ Used by <a class="reference external" href="https://ctan.org/pkg/babel-greek">ba <td><p>2023-02-28</p></td> <td><p>Add compatibility definitions for hyperref.</p></td> </tr> +<tr><td><p>2.2.1</p></td> +<td><p>2023-03-08</p></td> +<td><p>Documentation update.</p></td> +</tr> </tbody> </table> </dd> </dl> +<nav class="contents" id="contents" role="doc-toc"> +<p class="topic-title">Contents</p> +<ul class="simple"> +<li><p><a class="reference internal" href="#identification" id="toc-entry-1">Identification</a></p></li> +<li><p><a class="reference internal" href="#diacritics" id="toc-entry-2">Diacritics</a></p></li> +<li><p><a class="reference internal" href="#common-definitions" id="toc-entry-3">Common Definitions</a></p></li> +<li><p><a class="reference internal" href="#character-definitions" id="toc-entry-4">Character Definitions</a></p> +<ul> +<li><p><a class="reference internal" href="#compatibility-defs-with-lgr" id="toc-entry-5">Compatibility defs with LGR</a></p></li> +<li><p><a class="reference internal" href="#greek-and-coptic" id="toc-entry-6">Greek and Coptic</a></p></li> +<li><p><a class="reference internal" href="#greek-extended" id="toc-entry-7">Greek Extended</a></p></li> +<li><p><a class="reference internal" href="#letterlike-symbols" id="toc-entry-8">Letterlike Symbols</a></p></li> +<li><p><a class="reference internal" href="#ancient-greek-numbers" id="toc-entry-9">Ancient Greek Numbers</a></p></li> +</ul> +</li> +</ul> +</nav> +<section id="identification"> +<h2><a class="toc-backref" href="#toc-entry-1" role="doc-backlink">Identification</a></h2> +<pre class="literal-block">\ProvidesFile{puenc-greek.def} + [2023/03/08 2.2.1 Greek LICRs for PDF strings]</pre> +</section> <section id="diacritics"> -<h2>Diacritics</h2> +<h2><a class="toc-backref" href="#toc-entry-2" role="doc-backlink">Diacritics</a></h2> <p>Greek alias names for standard accents (without tabacckludge):</p> <pre class="literal-block">\DeclareTextCommand{\acctonos}{PU}{\'} \DeclareTextCommand{\accvaria}{PU}{\`} @@ -853,7 +875,7 @@ Used by <a class="reference external" href="https://ctan.org/pkg/babel-greek">ba \DeclareTextCommand{\accpsiliperispomeni}{PU}[1]{#1\83\102\83\023}</pre> </section> <section id="common-definitions"> -<h2>Common Definitions</h2> +<h2><a class="toc-backref" href="#toc-entry-3" role="doc-backlink">Common Definitions</a></h2> <p>Use the common <cite>Greek font encoding definitions</cite>.</p> <p>Set the <span class="docutils literal">\LastDeclaredEncoding</span> to PU and read definitions from <a class="reference external" href="greek-fontenc.def.html">greek-fontenc.def</a>:</p> @@ -861,9 +883,9 @@ from <a class="reference external" href="greek-fontenc.def.html">greek-fontenc.d \input{greek-fontenc.def}</pre> </section> <section id="character-definitions"> -<h2>Character Definitions</h2> +<h2><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">Character Definitions</a></h2> <section id="compatibility-defs-with-lgr"> -<h3>Compatibility defs with LGR</h3> +<h3><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Compatibility defs with LGR</a></h3> <p>Basic Latin:</p> <pre class="literal-block">\DeclareTextCommand{\textsemicolon}{PU}{;} % "003B</pre> <p>Latin 1 Supplement: @@ -871,7 +893,7 @@ Distinguish MICRO SIGN from letter mu:</p> <pre class="literal-block">\DeclareTextCommand{\textmicro}{PU}{\83\274} % "00B5 MICRO SIGN</pre> </section> <section id="greek-and-coptic"> -<h3>Greek and Coptic</h3> +<h3><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">Greek and Coptic</a></h3> <p>Without coptic and archaic letters (except the ones used in Greek numerals).</p> <pre class="literal-block">% NR Unicode Name % PU name (alias in greek-fontenc.def) \DeclareTextCommand{\textdexiakeraia}{PU}{\83\164} % ʹ \textnumeralsigngreek @@ -988,7 +1010,7 @@ and symbol variants:</p> <pre class="literal-block">\ProvideTextCommand{\textautosigma}{PU}{\MakeLowercase{\textSigma}}</pre> </section> <section id="greek-extended"> -<h3>Greek Extended</h3> +<h3><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">Greek Extended</a></h3> <p>We skip definitions for characters “… WITH OXIA”, because they would overwrite the defintions for “… WITH TONOS” in the <cite>Greek and Coptic</cite> block.</p> @@ -1197,11 +1219,11 @@ block.</p> \DeclareTextCompositeCommand{\accdasia}{PU}{\ }{\9037\376} % ῾</pre> </section> <section id="letterlike-symbols"> -<h3>Letterlike Symbols</h3> +<h3><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">Letterlike Symbols</a></h3> <pre class="literal-block">\DeclareTextCommand{\textohm}{PU}{\83\251} % "03A9 OHM SIGN, use 03A9 Omega</pre> </section> <section id="ancient-greek-numbers"> -<h3>Ancient Greek Numbers</h3> +<h3><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">Ancient Greek Numbers</a></h3> <p>TODO: map other chars to corresponding Greek letters. See also the <a class="reference external" href="https://ctan.org/pkg/grnumalt">grnumalt</a> package.</p> <p>Definition with literal Unicode characters, because the code-point has 5 diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.pdf Binary files differindex bb990fdcc94..101d8efb5c9 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.tex b/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.tex index a098793082d..f1a6c36417e 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.tex @@ -2,6 +2,7 @@ % \RequirePackage{latexbug} \documentclass[a4paper]{article} \usepackage{lmodern} +\usepackage{parskip} % Load encoding definitions % \usepackage[LGR,T1]{fontenc} @@ -12,12 +13,7 @@ % \usepackage[greek,english]{babel} % babel-greek % \usepackage[greek,english,provide=*]{babel} % Babel's Greek "ini" -% -% However, currently, with TL22 and Babel, we get -% ... -% (That makes 100 errors; please try again.) -% ... -% ==> Fatal error occurred, no output PDF file produced! + \IfFormatAtLeastTF{2022/06/01} {\newcommand*{\uppercaseversion}{new (post-2022/06/01)}} @@ -29,21 +25,21 @@ This document tests support for the Greek non-standard LGR fonts with the contributed packages \emph{greek-fontenc} and \emph{greek-inputenc}. -It is compiled with the -\textbf{\uppercaseversion{}} \verb|\MakeUppercase| version. - +It is compiled with the \textbf{\uppercaseversion{}} \verb|\MakeUppercase| +version. -The LGR font encoding definition file \texttt{lgrenc.def} defines LICR macros -for all non-ASCII characters in the LGR font encoding and loads definitions -shared with the TU font encoding from \texttt{greek-fontenc.def}. +The LGR font encoding definition file \texttt{lgrenc.def} defines LICR +macros for all non-ASCII characters in the LGR font encoding and loads +definitions shared with the TU font encoding from +\texttt{greek-fontenc.def}. In addition to the LICR, Greek letters can also be input via a Latin transliteration. Greek accent macros have names starting with \verb|\acc| followed by the Greek accent name as used in the Unicode standard (e.g. \verb|\acctonos|). -The standard symbol accents \verb|\' \` \~ \"| behave according to Greek -typography if used in the LGR font encoding. +The standard symbol accents \verb|\' \` \~ \"| should behave according to +Greek typography if used with Greek letters. Apart from the diacritical marks native to Greek itself, linguists also regularly mark vowel length with macrons (¯) and breves (˘). @@ -68,7 +64,7 @@ literal tilde like \verb|\>~|. This can be fixed by using a tilde accent (even in text parts only changing the font encoding without selecting the Greek language). \begin{quote} - \ensuregreek{\accsample\ $\mapsto$ \MakeUppercase{\accsample}} + \ensuregreek{\accsample\ → \MakeUppercase{\accsample}} \end{quote} Test the upcasing of the different input methods: @@ -78,52 +74,52 @@ Test the upcasing of the different input methods: \begin{quotation} single accent (named, [alias], short) - \ensuregreek{\acctonos w \accoxia w \'w + \ensuregreek{\acctonos w \accoxia w \'w → \MakeUppercase{\acctonos w \accoxia w \'w}} - \ensuregreek{\accvaria w \`w \MakeUppercase{\accvaria w \`w}} + \ensuregreek{\accvaria w \`w → \MakeUppercase{\accvaria w \`w}} - \ensuregreek{\accperispomeni w \~w \MakeUppercase{\accperispomeni w \~w}} + \ensuregreek{\accperispomeni w \~w → \MakeUppercase{\accperispomeni w \~w}} - \ensuregreek{\accdasia w \<w \MakeUppercase{\accdasia w \<w}} + \ensuregreek{\accdasia w \<w → \MakeUppercase{\accdasia w \<w}} - \ensuregreek{\accpsili w \>w \MakeUppercase{\accpsili w \>w}} + \ensuregreek{\accpsili w \>w → \MakeUppercase{\accpsili w \>w}} - \ensuregreek{\accdialytika u \"u \MakeUppercase{\accdialytika u \"u}} + \ensuregreek{\accdialytika u \"u → \MakeUppercase{\accdialytika u \"u}} - \ensuregreek{w\ypogegrammeni{} w| \MakeUppercase{w\ypogegrammeni{} w|}} + \ensuregreek{w\ypogegrammeni{} w| → \MakeUppercase{w\ypogegrammeni{} w|}} combined accents (name, name+name, short+short, short+char) \ensuregreek{\accdasiaperispomeni w \accdasia\accperispomeni w \<\~w \~<w - \MakeUppercase{\accdasiaperispomeni w \accdasia\accperispomeni w \<\~w \~<w}} + → \MakeUppercase{\accdasiaperispomeni w \accdasia\accperispomeni w \<\~w \~<w}} \ensuregreek{\accdasiavaria w \accdasia\accvaria w \<\`w \<`w - \MakeUppercase{\accdasiavaria w \accdasia\accvaria w \<\`w \<`w}} + → \MakeUppercase{\accdasiavaria w \accdasia\accvaria w \<\`w \<`w}} \ensuregreek{\accdasiaoxia w \accdasia\accoxia w \<\'w \<'w - \MakeUppercase{\accdasiaoxia w \accdasia\accoxia w \<\'w \<'w}} + → \MakeUppercase{\accdasiaoxia w \accdasia\accoxia w \<\'w \<'w}} \ensuregreek{\accpsiliperispomeni w \accpsili\accperispomeni w \>\~w \~>w - \MakeUppercase{\accpsiliperispomeni w \accpsili\accperispomeni w \>\~w \~>w}} + → \MakeUppercase{\accpsiliperispomeni w \accpsili\accperispomeni w \>\~w \~>w}} \ensuregreek{\accpsilioxia w \accpsili\accoxia w \>\'w \>'w - \MakeUppercase{\accpsilioxia w \accpsili\accoxia w \>\'w \>'w}} + → \MakeUppercase{\accpsilioxia w \accpsili\accoxia w \>\'w \>'w}} \ensuregreek{\accpsilivaria w \accpsili\accvaria w \>\`w \>`w - \MakeUppercase{\accpsilivaria w \accpsili\accvaria w \>\`w \>`w}} + → \MakeUppercase{\accpsilivaria w \accpsili\accvaria w \>\`w \>`w}} \ensuregreek{\accdialytikaperispomeni u \accdialytika\accperispomeni u \"\~u \~"u - \MakeUppercase{\accdialytikaperispomeni u \accdialytika\accperispomeni u \"\~u \~"u}} + → \MakeUppercase{\accdialytikaperispomeni u \accdialytika\accperispomeni u \"\~u \~"u}} \ensuregreek{\accdialytikatonos u \accdialytika\acctonos u \"\'u \"'u - \MakeUppercase{\accdialytikatonos u \accdialytika\acctonos u \"\'u \"'u}} + → \MakeUppercase{\accdialytikatonos u \accdialytika\acctonos u \"\'u \"'u}} \ensuregreek{\accdialytikavaria u \accdialytika\accvaria u \"\`u \"`u - \MakeUppercase{\accdialytikavaria u \accdialytika\accvaria u \"\`u \"`u}} + → \MakeUppercase{\accdialytikavaria u \accdialytika\accvaria u \"\`u \"`u}} \ensuregreek{\accpsilivaria w\ypogegrammeni{} \accpsili\accvaria w| \>\`w| \>`w| - \MakeUppercase{\accpsilivaria w\ypogegrammeni{} \accpsili\accvaria w| \>\`w| \>`w|}} + → \MakeUppercase{\accpsilivaria w\ypogegrammeni{} \accpsili\accvaria w| \>\`w| \>`w|}} \end{quotation} @@ -141,51 +137,51 @@ The mute iota is kept (as expected). single accent (named, [alias], short) \ensuregreek{\acctonos \textomega{} \accoxia \textomega{} \'\textomega{} - \MakeUppercase{\acctonos \textomega{} \accoxia \textomega{} \'\textomega{}}} + → \MakeUppercase{\acctonos \textomega{} \accoxia \textomega{} \'\textomega{}}} - \ensuregreek{\accvaria \textomega{} \`\textomega{} \MakeUppercase{\accvaria \textomega{} \`\textomega{}}} + \ensuregreek{\accvaria \textomega{} \`\textomega{} → \MakeUppercase{\accvaria \textomega{} \`\textomega{}}} - \ensuregreek{\accperispomeni \textomega{} \~\textomega{} \MakeUppercase{\accperispomeni \textomega{} \~\textomega{}}} + \ensuregreek{\accperispomeni \textomega{} \~\textomega{} → \MakeUppercase{\accperispomeni \textomega{} \~\textomega{}}} - \ensuregreek{\accdasia \textomega{} \<\textomega{} \MakeUppercase{\accdasia \textomega{} \<\textomega{}}} + \ensuregreek{\accdasia \textomega{} \<\textomega{} → \MakeUppercase{\accdasia \textomega{} \<\textomega{}}} - \ensuregreek{\accpsili \textomega{} \>\textomega{} \MakeUppercase{\accpsili \textomega{} \>\textomega{}}} + \ensuregreek{\accpsili \textomega{} \>\textomega{} → \MakeUppercase{\accpsili \textomega{} \>\textomega{}}} - \ensuregreek{\accdialytika \textupsilon{} \"\textupsilon{} \MakeUppercase{\accdialytika \textupsilon{} \"\textupsilon{}}} + \ensuregreek{\accdialytika \textupsilon{} \"\textupsilon{} → \MakeUppercase{\accdialytika \textupsilon{} \"\textupsilon{}}} - \ensuregreek{\textomega\ypogegrammeni{} \textomega| \MakeUppercase{\textomega\ypogegrammeni{} \textomega|}} + \ensuregreek{\textomega\ypogegrammeni{} \textomega| → \MakeUppercase{\textomega\ypogegrammeni{} \textomega|}} combined accents (name, name+name, short+short, short+char) \ensuregreek{\accdasiaperispomeni \textomega{} \accdasia\accperispomeni \textomega{} \<\~\textomega{} \~<\textomega{} - \MakeUppercase{\accdasiaperispomeni \textomega{} \accdasia\accperispomeni \textomega{} \<\~\textomega{} \~<\textomega{}}} + → \MakeUppercase{\accdasiaperispomeni \textomega{} \accdasia\accperispomeni \textomega{} \<\~\textomega{} \~<\textomega{}}} \ensuregreek{\accdasiavaria \textomega{} \accdasia\accvaria \textomega{} \<\`\textomega{} \<`\textomega{} - \MakeUppercase{\accdasiavaria \textomega{} \accdasia\accvaria \textomega{} \<\`\textomega{} \<`\textomega{}}} + → \MakeUppercase{\accdasiavaria \textomega{} \accdasia\accvaria \textomega{} \<\`\textomega{} \<`\textomega{}}} \ensuregreek{\accdasiaoxia \textomega{} \accdasia\accoxia \textomega{} \<\'\textomega{} \<'\textomega{} - \MakeUppercase{\accdasiaoxia \textomega{} \accdasia\accoxia \textomega{} \<\'\textomega{} \<'\textomega{}}} + → \MakeUppercase{\accdasiaoxia \textomega{} \accdasia\accoxia \textomega{} \<\'\textomega{} \<'\textomega{}}} \ensuregreek{\accpsiliperispomeni \textomega{} \accpsili\accperispomeni \textomega{} \>\~\textomega{} \~>\textomega{} - \MakeUppercase{\accpsiliperispomeni \textomega{} \accpsili\accperispomeni \textomega{} \>\~\textomega{} \~>\textomega{}}} + → \MakeUppercase{\accpsiliperispomeni \textomega{} \accpsili\accperispomeni \textomega{} \>\~\textomega{} \~>\textomega{}}} \ensuregreek{\accpsilioxia \textomega{} \accpsili\accoxia \textomega{} \>\'\textomega{} \>'\textomega{} - \MakeUppercase{\accpsilioxia \textomega{} \accpsili\accoxia \textomega{} \>\'\textomega{} \>'\textomega{}}} + → \MakeUppercase{\accpsilioxia \textomega{} \accpsili\accoxia \textomega{} \>\'\textomega{} \>'\textomega{}}} \ensuregreek{\accpsilivaria \textomega{} \accpsili\accvaria \textomega{} \>\`\textomega{} \>`\textomega{} - \MakeUppercase{\accpsilivaria \textomega{} \accpsili\accvaria \textomega{} \>\`\textomega{} \>`\textomega{}}} + → \MakeUppercase{\accpsilivaria \textomega{} \accpsili\accvaria \textomega{} \>\`\textomega{} \>`\textomega{}}} \ensuregreek{\accdialytikaperispomeni \textupsilon{} \accdialytika\accperispomeni \textupsilon{} \"\~\textupsilon{} \~"\textupsilon{} - \MakeUppercase{\accdialytikaperispomeni \textupsilon{} \accdialytika\accperispomeni \textupsilon{} \"\~\textupsilon{} \~"\textupsilon{}}} + → \MakeUppercase{\accdialytikaperispomeni \textupsilon{} \accdialytika\accperispomeni \textupsilon{} \"\~\textupsilon{} \~"\textupsilon{}}} \ensuregreek{\accdialytikatonos \textupsilon{} \accdialytika\acctonos \textupsilon{} \"\'\textupsilon{} \"'\textupsilon{} - \MakeUppercase{\accdialytikatonos \textupsilon{} \accdialytika\acctonos \textupsilon{} \"\'\textupsilon{} \"'\textupsilon{}}} + → \MakeUppercase{\accdialytikatonos \textupsilon{} \accdialytika\acctonos \textupsilon{} \"\'\textupsilon{} \"'\textupsilon{}}} \ensuregreek{\accdialytikavaria \textupsilon{} \accdialytika\accvaria \textupsilon{} \"\`\textupsilon{} \"`\textupsilon{} - \MakeUppercase{\accdialytikavaria \textupsilon{} \accdialytika\accvaria \textupsilon{} \"\`\textupsilon{} \"`\textupsilon{}}} + → \MakeUppercase{\accdialytikavaria \textupsilon{} \accdialytika\accvaria \textupsilon{} \"\`\textupsilon{} \"`\textupsilon{}}} \ensuregreek{\accpsilivaria \textomega\ypogegrammeni{} \accpsili\accvaria \textomega| \>\`\textomega| \>`\textomega| - \MakeUppercase{\accpsilivaria \textomega\ypogegrammeni{} \accpsili\accvaria \textomega| \>\`\textomega| \>`\textomega|}} + → \MakeUppercase{\accpsilivaria \textomega\ypogegrammeni{} \accpsili\accvaria \textomega| \>\`\textomega| \>`\textomega|}} \end{quotation} @@ -217,7 +213,7 @@ A dialytika must be placed on the second vowel if they are dropped: \accdasiaoxia\textalpha\textupsilon, \accdasiaoxia\textepsilon\textiota}% Named + LICR: -\ensuregreek{\Hiatus\ $\mapsto$ \MakeUppercase{\Hiatus}}. +\ensuregreek{\Hiatus\ → \MakeUppercase{\Hiatus}}. \renewcommand{\Hiatus}{\'\textalpha\textiota, \'\textalpha\textupsilon, @@ -226,7 +222,7 @@ Named + LICR: \'>\textalpha\textupsilon, \'>\textepsilon\textiota}% Short + LICR: -\ensuregreek{\Hiatus\ $\mapsto$ \MakeUppercase{\Hiatus}}. +\ensuregreek{\Hiatus\ → \MakeUppercase{\Hiatus}}. \renewcommand{\Hiatus}{\acctonos ai, \acctonos au, @@ -235,7 +231,7 @@ Short + LICR: \accdasiaoxia au, \accdasiaoxia ei}% Named + transliteration: -\ensuregreek{\Hiatus\ $\mapsto$ \MakeUppercase{\Hiatus}}. +\ensuregreek{\Hiatus\ → \MakeUppercase{\Hiatus}}. \renewcommand{\Hiatus}{\'ai, \'au, @@ -244,7 +240,7 @@ Named + transliteration: \'>au, \'>ei}% Short + transliteration: -\ensuregreek{\Hiatus\ $\mapsto$ \MakeUppercase{\Hiatus}}. +\ensuregreek{\Hiatus\ → \MakeUppercase{\Hiatus}}. In current TeXLive, the \emph{hiatus} feature keeps working with named accend macros but fails with short accent macros. diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.pdf Binary files differindex 6adb474ee8e..2c4049d8be8 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-licr-input.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-licr-input.pdf Binary files differindex c9ac81f00d0..5fdafab10a4 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-licr-input.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-licr-input.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-licr-input.tex b/Master/texmf-dist/doc/latex/greek-fontenc/test-licr-input.tex index 4782f5146a3..a1e66426308 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-licr-input.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-licr-input.tex @@ -57,22 +57,29 @@ \title{Test Greek LaTeX internal character representations (LICR macros)} \author{G\"unter Milde} -\date{2020/10/30} +\date{2023/03/08} \maketitle + +This document tests the compatibility of ``luainputenc'' and the Greek font +setup for TU and PU. It uses only ASCII input. + +See the source \texttt{test-inputenc.tex} for the input used in the examples. + +TODO: Compiling with LuaTeX fails: \texttt{tuenc-greek.def} uses +literal Unicode characters which is incompatible with legacy 8-bit encodings +defined via "luainputenc". + \tableofcontents \section{LICR input% \label{licr}} -The LaTeX internal character representation (LICR) is a verbose, -fail-safe 7-bit ASCII encoding that can be used unaltered under both, 8-bit -TeX and XeTeX/LuaTeX. Use cases are macro definitions and generated text. - -See the source of this document, -\texttt{test-inputenc.tex} for the input used -in the examples below. +The LaTeX internal character representation (LICR) is a verbose, fail-safe +7-bit ASCII encoding that can be used unaltered under both, 8-bit TeX (with +any ASCII-compatible input encoding) and XeTeX/LuaTeX. +Use cases are macro definitions and generated text. \subsection{Greek alphabet} @@ -689,5 +696,4 @@ non-standard accents or combined diacritics. \accdasia{ } }} - \end{document} diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.pdf Binary files differindex 9c46cbdb446..3a0837cdfca 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-utf8-input.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-utf8-input.pdf Binary files differdeleted file mode 100644 index 46a31393694..00000000000 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-utf8-input.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-utf8-input.tex b/Master/texmf-dist/doc/latex/greek-fontenc/test-utf8-input.tex deleted file mode 100644 index 6e979fba2c5..00000000000 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-utf8-input.tex +++ /dev/null @@ -1,87 +0,0 @@ -% Test definitions for accents and composite accents in Greek -\RequirePackage{latexbug} -\documentclass[a4paper]{article} -% \pagestyle{empty} -\usepackage{lmodern} - -% Load encoding definitions (after font package) -\usepackage[LGR,T1]{fontenc} - - -% \usepackage{textalpha} % Greek script "everywhere"! -\usepackage[greek,english,provide=*]{babel} % Babel's Greek "ini" -% \usepackage[greek,english]{babel} % babel-greek - -\begin{document} - -\section*{Test upcasing of Greek characters with 8-bit TeX} - -The Greek and Coptic Unicode Block - -\newcommand{\GreekAndCoptic}{% - ͺ ; ΄ ΅ Ά · Έ Ή Ί Ό Ύ Ώ \\ - ΐ Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο \\ - Π Ρ Σ Τ Υ Φ Χ Ψ Ω Ϊ Ϋ ά έ ή ί \\ - ΰ α β γ δ ε ζ η θ ι κ λ μ ν ξ ο \\ - π ρ ς σ τ υ φ χ ψ ω ϊ ϋ ό ύ ώ } -\begin{quote} - \selectlanguage{greek} - % \greekscript - \GreekAndCoptic -\end{quote} -% -MakeUppercase: -\begin{quote} - \selectlanguage{greek} - % \greekscript - \MakeUppercase{\GreekAndCoptic} -\end{quote} -% -% MakeLowercase: -% \begin{quote} -% \greekscript -% \MakeLowercase{\GreekAndCoptic} -% \end{quote} - - -Greek extended Unicode block - -\newcommand{\GreekExtended}{\raggedright - ἀ ἁ ἂ ἃ ἄ ἅ ἆ ἇ Ἀ Ἁ Ἂ Ἃ Ἄ Ἅ Ἆ Ἇ \\ - ἐ ἑ ἒ ἓ ἔ ἕ \ \ \ \ Ἐ Ἑ Ἒ Ἓ Ἔ Ἕ \\ - ἠ ἡ ἢ ἣ ἤ ἥ ἦ ἧ Ἠ Ἡ Ἢ Ἣ Ἤ Ἥ Ἦ Ἧ \\ - ἰ ἱ ἲ ἳ ἴ ἵ ἶ ἷ Ἰ Ἱ Ἲ Ἳ Ἴ Ἵ Ἶ Ἷ \\ - ὀ ὁ ὂ ὃ ὄ ὅ \ \ \ \ Ὀ Ὁ Ὂ Ὃ Ὄ Ὅ \\ - ὐ ὑ ὒ ὓ ὔ ὕ ὖ ὗ \ \ Ὑ \ \ Ὓ \ \ Ὕ \ \ Ὗ \\ - ὠ ὡ ὢ ὣ ὤ ὥ ὦ ὧ Ὠ Ὡ Ὢ Ὣ Ὤ Ὥ Ὦ Ὧ \\ - ὰ ά ὲ έ ὴ ή ὶ ί ὸ ό ὺ ύ ὼ ώ \\ - ᾀ ᾁ ᾂ ᾃ ᾄ ᾅ ᾆ ᾇ ᾈ ᾉ ᾊ ᾋ ᾌ ᾍ ᾎ ᾏ \\ - ᾐ ᾑ ᾒ ᾓ ᾔ ᾕ ᾖ ᾗ ᾘ ᾙ ᾚ ᾛ ᾜ ᾝ ᾞ ᾟ \\ - ᾠ ᾡ ᾢ ᾣ ᾤ ᾦ ᾧ ᾥ ᾨ ᾩ ᾪ ᾫ ᾬ ᾭ ᾮ ᾯ \\ - ᾰ ᾱ ᾲ ᾳ ᾴ \ \ ᾶ ᾷ Ᾰ Ᾱ Ὰ Ά ᾼ ᾽ ι ᾿ \\ - ῀ ῁ ῂ ῃ ῄ \ \ ῆ ῇ Ὲ Έ Ὴ Ή ῌ ῍ ῏ \\ - ῐ ῑ ῒ ΐ \ \ \ \ ῖ ῗ Ῐ Ῑ Ὶ Ί \ \ ῝ ῟ \\ - ῠ ῡ ῢ ΰ \ \ \ \ ῤ ῥ ῦ ῧ Ὺ Ύ Ῥ ῭ ` \\ - \ \ \ \ ῲ ῳ ῴ \ \ ῶ ῷ Ὸ Ό Ὼ Ώ ῼ ´ } - -\begin{quote} - \selectlanguage{greek} - \greekscript - \GreekExtended -\end{quote} -% -MakeUppercase: -\begin{quote} - \selectlanguage{greek} - \greekscript - \MakeUppercase{\GreekExtended} -\end{quote} - -% MakeLowercase: -% \begin{quote} -% % \selectlanguage{greek} -% \greekscript -% \MakeLowercase{\GreekExtended} -% \end{quote} - -\end{document} diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc-tu.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc-tu.pdf Binary files differindex 068a0005f34..5f2459b90c0 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc-tu.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc-tu.pdf 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 ee2aedd8016..bbe6d827134 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/doc/latex/greek-fontenc/textalpha.sty.html b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html index c54289ce832..dce522aadb7 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html @@ -4,7 +4,7 @@ <meta charset="utf-8" /> <meta name="generator" content="Docutils 0.20b.dev: https://docutils.sourceforge.io/" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> -<meta name="dcterms.rights" content="© 2010 Günter Milde" /> +<meta name="dcterms.rights" content="© 2010, 2023 Günter Milde" /> <title>textalpha.sty</title> <link rel="schema.dcterms" href="http://purl.org/dc/terms/"/> <style type="text/css"> @@ -792,113 +792,21 @@ mstyle.mathscr, mi.mathscr { <h1 class="title">textalpha.sty</h1> <p class="subtitle" id="greek-symbols-in-text">Greek symbols in text</p> <dl class="docinfo"> +<dt class="version">Version<span class="colon">:</span></dt> +<dd class="version">2.2.1 (<a class="reference internal" href="#changelog">changelog</a>)</dd> <dt class="copyright">Copyright<span class="colon">:</span></dt> -<dd class="copyright">© 2010 Günter Milde</dd> +<dd class="copyright">© 2010, 2023 Günter Milde</dd> <dt class="licence">Licence<span class="colon">:</span></dt> <dd class="licence"><p>This work may be distributed and/or modified under the conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either version 1.3 of this license or any later version.</p> </dd> -<dt class="identification">Identification<span class="colon">:</span></dt> -<dd class="identification"><pre class="literal-block">\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{textalpha} -[2023/02/28 2.2 macros for Greek letters in text]</pre> -</dd> </dl> <div class="topic abstract" role="doc-abstract"> <p class="topic-title">Abstract</p> <p>Provide a set of <span class="docutils literal">\text*</span> macros for Greek characters in text mode.</p> </div> -<aside class="admonition note"> -<p class="admonition-title">Note</p> -<p>The package was renamed from <cite>textgreek</cite> to <cite>textalpha</cite> to prevent -confusion with the <a class="reference external" href="https://ctan.org/pkg/textgreek">textgreek</a> package by Leonard Michlmayr.</p> -</aside> -<dl> -<dt>Changelog:</dt> -<dd><table class="borderless"> -<tbody> -<tr><td><p>0.1</p></td> -<td><p>2010-06-16</p></td> -<td><p>initial version</p></td> -</tr> -<tr><td><p>0.2</p></td> -<td><p>2012-06-27</p></td> -<td><p>support for compound Unicode definitions outside LGR</p></td> -</tr> -<tr><td><p>0.3</p></td> -<td><p>2013-05-03</p></td> -<td><p>new accent macro names with <span class="docutils literal">lgrxenc.def</span> 0.7</p></td> -</tr> -<tr><td><p>0.4</p></td> -<td><p>2013-05-28</p></td> -<td><p>use <span class="docutils literal">lgrenc.def</span> from greek-fontenc.</p></td> -</tr> -<tr><td><p>0.5</p></td> -<td><p>2013-09-11</p></td> -<td><p>move to <a class="reference external" href="https://ctan.org/pkg/greek-fontenc">greek-fontenc</a>,</p></td> -</tr> -<tr><td><!-- --> -</td> -<td></td> -<td><p>support XeTeX/LuaTeX, add breve below accents.</p></td> -</tr> -<tr><td><p>0.11</p></td> -<td><p>2013-11-28</p></td> -<td><p>compatibility with Xe/LuaTeX in 8-bit mode.</p></td> -</tr> -<tr><td><p>0.12</p></td> -<td><p>2014-12-12</p></td> -<td><p>fix auxiliary macro names, -define symbol macros for breathing accents.</p></td> -</tr> -<tr><td><p>0.13</p></td> -<td><p>2015-09-04</p></td> -<td><p>Option <a class="reference internal" href="#normalize-symbols">normalize-symbols</a>: support for symbol variants.</p></td> -</tr> -<tr><td><!-- --> -</td> -<td></td> -<td><p>Option <a class="reference internal" href="#keep-semicolon">keep-semicolon</a>: use semicolon as erotimatiko -in LGR.</p></td> -</tr> -<tr><td><p>0.13.2</p></td> -<td><p>2016-02-05</p></td> -<td><p>Support for standard Unicode text font encoding “TU” -(new in fontspec v2.5a).</p></td> -</tr> -<tr><td><p>0.13.4</p></td> -<td><p>2019-07-11</p></td> -<td><p>Auxiliary command for subscript iota.</p></td> -</tr> -<tr><td><p>0.14</p></td> -<td><p>2020-02-28</p></td> -<td><p>Update test for Unicode fonts. -Rename <span class="docutils literal"><span class="pre">greek-euenc</span></span> to <span class="docutils literal"><span class="pre">tuenc-greek</span></span>. -Don’t use <span class="docutils literal">\LastDeclaredEncoding</span>.</p></td> -</tr> -<tr><td><p>1.0</p></td> -<td><p>2020-09-25</p></td> -<td><p>Also set <span class="docutils literal">\encodingdefault</span> with <span class="docutils literal">\greekscript</span>.</p></td> -</tr> -<tr><td><p>2.0</p></td> -<td><p>2020-10-30</p></td> -<td><p>Load <span class="docutils literal"><span class="pre">tuenc-greek.def</span></span> with Xe/LuaTeX by default.</p></td> -</tr> -<tr><td><!-- --> -</td> -<td></td> -<td><p>Load <span class="docutils literal"><span class="pre">puenc-greek.def</span></span> if used with <a class="reference external" href="https://ctan.org/pkg/hyperref">hyperref</a>.</p></td> -</tr> -<tr><td><p>2.2</p></td> -<td><p>2023-02-28</p></td> -<td><p>Don’t use <span class="docutils literal">\makeatother</span> in <span class="docutils literal">\AtBeginDocument</span>.</p></td> -</tr> -</tbody> -</table> -</dd> -</dl> <nav class="contents" id="contents" role="doc-toc"> <p class="topic-title">Contents</p> <ul class="simple"> @@ -906,31 +814,33 @@ Don’t use <span class="docutils literal">\LastDeclaredEncoding</span>.</p></td <li><p><a class="reference internal" href="#usage" id="toc-entry-2">Usage</a></p></li> <li><p><a class="reference internal" href="#implementation" id="toc-entry-3">Implementation</a></p> <ul> -<li><p><a class="reference internal" href="#options" id="toc-entry-4">Options</a></p> +<li><p><a class="reference internal" href="#identification" id="toc-entry-4">Identification</a></p></li> +<li><p><a class="reference internal" href="#options" id="toc-entry-5">Options</a></p> <ul> -<li><p><a class="reference internal" href="#normalize-symbols" id="toc-entry-5">normalize-symbols</a></p></li> -<li><p><a class="reference internal" href="#keep-semicolon" id="toc-entry-6">keep-semicolon</a></p></li> +<li><p><a class="reference internal" href="#normalize-symbols" id="toc-entry-6">normalize-symbols</a></p></li> +<li><p><a class="reference internal" href="#keep-semicolon" id="toc-entry-7">keep-semicolon</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#symbol-macros-for-breathings" id="toc-entry-7">Symbol macros for breathings</a></p></li> -<li><p><a class="reference internal" href="#font-encodings" id="toc-entry-8">Font encodings</a></p></li> -<li><p><a class="reference internal" href="#default-declarations" id="toc-entry-9">Default declarations</a></p> +<li><p><a class="reference internal" href="#symbol-macros-for-breathings" id="toc-entry-8">Symbol macros for breathings</a></p></li> +<li><p><a class="reference internal" href="#font-encodings" id="toc-entry-9">Font encodings</a></p></li> +<li><p><a class="reference internal" href="#default-declarations" id="toc-entry-10">Default declarations</a></p> <ul> -<li><p><a class="reference internal" href="#greekscript-ensuregreek" id="toc-entry-10">greekscript, ensuregreek</a></p></li> -<li><p><a class="reference internal" href="#greek-alphabet" id="toc-entry-11">Greek Alphabet</a></p></li> -<li><p><a class="reference internal" href="#additional-greek-symbols" id="toc-entry-12">Additional Greek symbols</a></p> +<li><p><a class="reference internal" href="#greekscript-ensuregreek" id="toc-entry-11">greekscript, ensuregreek</a></p></li> +<li><p><a class="reference internal" href="#greek-alphabet" id="toc-entry-12">Greek Alphabet</a></p></li> +<li><p><a class="reference internal" href="#additional-greek-symbols" id="toc-entry-13">Additional Greek symbols</a></p> <ul> -<li><p><a class="reference internal" href="#variant-shape-symbols" id="toc-entry-13">variant shape symbols</a></p></li> +<li><p><a class="reference internal" href="#variant-shape-symbols" id="toc-entry-14">variant shape symbols</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#diacritics" id="toc-entry-14">Diacritics</a></p></li> -<li><p><a class="reference internal" href="#auxiliary-macros" id="toc-entry-15">Auxiliary macros</a></p></li> -<li><p><a class="reference internal" href="#semicolon-as-erotimatiko" id="toc-entry-16">semicolon as erotimatiko</a></p></li> +<li><p><a class="reference internal" href="#diacritics" id="toc-entry-15">Diacritics</a></p></li> +<li><p><a class="reference internal" href="#auxiliary-macros" id="toc-entry-16">Auxiliary macros</a></p></li> +<li><p><a class="reference internal" href="#semicolon-as-erotimatiko" id="toc-entry-17">semicolon as erotimatiko</a></p></li> </ul> </li> </ul> </li> -<li><p><a class="reference internal" href="#todo" id="toc-entry-17">TODO</a></p></li> +<li><p><a class="reference internal" href="#todo" id="toc-entry-18">TODO</a></p></li> +<li><p><a class="reference internal" href="#changelog" id="toc-entry-19">Changelog</a></p></li> </ul> </nav> <section id="motivation"> @@ -982,9 +892,9 @@ to ensure correct hyphenation of Greek text.</p> <h2><a class="toc-backref" href="#toc-entry-2" role="doc-backlink">Usage</a></h2> <p>Ensure support for Greek characters in text mode with</p> <pre class="code latex literal-block"><code><span class="keyword">\usepackage</span><span class="name builtin">{</span>textalpha<span class="name builtin">}</span></code></pre> -<p>eventually with the <a class="reference internal" href="#options">options</a> to normalize symbols variants</p> +<p>eventually with the options to <a class="reference internal" href="#normalize-symbols-variants">normalize symbols variants</a></p> <pre class="code latex literal-block"><code><span class="keyword">\usepackage</span><span class="name attribute">[normalize-symbols]</span><span class="name builtin">{</span>textalpha<span class="name builtin">}</span></code></pre> -<p>and/or to use the semicolon as <a class="reference external" href="https://en.wikipedia.org/wiki/Question_mark#Erotimatiko">erotimatiko</a> also in 8-bit TeX</p> +<p>and/or to <a class="reference internal" href="#use-the-semicolon-as-erotimatiko">use the semicolon as erotimatiko</a> also in 8-bit TeX</p> <pre class="code latex literal-block"><code><span class="keyword">\usepackage</span><span class="name attribute">[normalize-symbols,keep-semicolon]</span><span class="name builtin">{</span>textalpha<span class="name builtin">}</span></code></pre> <p>To give <span class="docutils literal">textalpha.sty</span> a chance of finding out which <a class="reference internal" href="#font-encodings">font encodings</a> are used, load it after <a class="reference external" href="https://ctan.org/pkg/fontspec">fontspec</a> and/or <a class="reference external" href="https://ctan.org/pkg/fontenc">fontenc</a>.</p> @@ -997,10 +907,16 @@ in the same document (see <a class="reference external" href="test-tuenc-greek.t </section> <section id="implementation"> <h2><a class="toc-backref" href="#toc-entry-3" role="doc-backlink">Implementation</a></h2> +<section id="identification"> +<h3><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">Identification</a></h3> +<pre class="literal-block">\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{textalpha} + [2023/03/08 2.2.1 macros for Greek letters in text]</pre> +</section> <section id="options"> -<h3><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">Options</a></h3> +<h3><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Options</a></h3> <section id="normalize-symbols"> -<h4><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">normalize-symbols</a></h4> +<span id="normalize-symbols-variants"></span><h4><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">normalize-symbols</a></h4> <p>The “variant shape” symbol characters like <span class="docutils literal">03D1 GREEK THETA SYMBOL</span> are mathematical charcters for mathematical use (similar to <span class="docutils literal">1D440 MATHEMATICAL ITALIC CAPITAL M</span>). @@ -1021,7 +937,7 @@ errors to prevent information loss in cases where the distinction between \DeclareOption{normalize-symbols}{\textalpha@normalizeSymbolstrue}</pre> </section> <section id="keep-semicolon"> -<h4><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">keep-semicolon</a></h4> +<span id="use-the-semicolon-as-erotimatiko"></span><h4><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">keep-semicolon</a></h4> <p>The <a class="reference external" href="https://en.wikipedia.org/wiki/Question_mark#Erotimatiko">erotimatiko</a> looks like a semicolon but is a <strong>Greek question mark</strong>:</p> <ul class="simple"> @@ -1042,7 +958,7 @@ With XeTeX/LuaTeX and Unicode fonts, this option is ignored.</p> </section> </section> <section id="symbol-macros-for-breathings"> -<span id="font-encoding"></span><h3><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">Symbol macros for breathings</a></h3> +<h3><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">Symbol macros for breathings</a></h3> <p>In the Latin transliteration provided by LGR, breathing accents (Dasia and Psili) are input as < and >. Provide the corresponding NFSS macro accents. (Used below for LGR, TU, and PU, if these font encodings are defined):</p> @@ -1059,7 +975,7 @@ Psili) are input as < and >. Provide the corresponding NFSS macro accents. }</pre> </section> <section id="font-encodings"> -<h3><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">Font encodings</a></h3> +<span id="font-encoding"></span><h3><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">Font encodings</a></h3> <p>With 8-bit LaTeX, the <a class="reference external" href="README.html#lgr">LGR font encoding</a> is used for Greek characters. If no Greek-supporting font encoding (TU or LGR) is declared, LGR is loaded and set up as default Greek font encoding by this package.</p> @@ -1125,7 +1041,7 @@ and is not capitalised with <span class="docutils literal">\MakeUppercase</span> \DeclareTextSymbolDefault{\textmicro}{TS1}</pre> </section> <section id="default-declarations"> -<h3><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">Default declarations</a></h3> +<h3><a class="toc-backref" href="#toc-entry-10" role="doc-backlink">Default declarations</a></h3> <p>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:</p> @@ -1133,7 +1049,7 @@ default font encoding. Abort here, if the LGR font encoding is not defined:</p> \expandafter\endinput }</pre> <section id="greekscript-ensuregreek"> -<h4><a class="toc-backref" href="#toc-entry-10" role="doc-backlink">greekscript, ensuregreek</a></h4> +<h4><a class="toc-backref" href="#toc-entry-11" role="doc-backlink">greekscript, ensuregreek</a></h4> <p>The <span class="docutils literal">\greekscript</span> declaration ensures the current font encoding supports the Greek script. <span class="docutils literal"><span class="pre">greek-fontenc.def</span></span> sets this to the empty declaration for font encodings that do so. This is currently used by <span class="docutils literal">lgrenc.def</span> @@ -1163,7 +1079,7 @@ argument unchanged. This way, kerning and selection of precomposed glyphs would work also for cases like <span class="docutils literal"><span class="pre">\ensuregreek{\'A}U</span></span>.</p> </section> <section id="greek-alphabet"> -<h4><a class="toc-backref" href="#toc-entry-11" role="doc-backlink">Greek Alphabet</a></h4> +<h4><a class="toc-backref" href="#toc-entry-12" role="doc-backlink">Greek Alphabet</a></h4> <p>Define the <span class="docutils literal">text*</span> marcos as default for all font encodings:</p> <pre class="literal-block">\DeclareTextSymbolDefault{\textAlpha}{LGR} \DeclareTextSymbolDefault{\textBeta}{LGR} @@ -1220,7 +1136,7 @@ would work also for cases like <span class="docutils literal"><span class="pre"> \DeclareTextSymbolDefault{\textomega}{LGR}</pre> </section> <section id="additional-greek-symbols"> -<h4><a class="toc-backref" href="#toc-entry-12" role="doc-backlink">Additional Greek symbols</a></h4> +<h4><a class="toc-backref" href="#toc-entry-13" role="doc-backlink">Additional Greek symbols</a></h4> <p>Including alias names for compatibility with hyperref’s puenc.def.</p> <p>Ancient Greek Numbers (Athenian Numerals):</p> <pre class="literal-block">\DeclareTextSymbolDefault{\textpentedeka}{LGR} % GREEK ACROPHONIC ATTIC FIFTY @@ -1255,7 +1171,7 @@ would work also for cases like <span class="docutils literal"><span class="pre"> \DeclareTextSymbolDefault{\textaristerikeraia}{LGR} % ͵ (Aristeri keraia) \DeclareTextSymbolDefault{\textnumeralsignlowergreek}{LGR} % (puenc.def)</pre> <section id="variant-shape-symbols"> -<h5><a class="toc-backref" href="#toc-entry-13" role="doc-backlink">variant shape symbols</a></h5> +<h5><a class="toc-backref" href="#toc-entry-14" role="doc-backlink">variant shape symbols</a></h5> <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. @@ -1282,7 +1198,7 @@ The variations have no syntactic meaning in Greek text.</p> </section> </section> <section id="diacritics"> -<h4><a class="toc-backref" href="#toc-entry-14" role="doc-backlink">Diacritics</a></h4> +<h4><a class="toc-backref" href="#toc-entry-15" role="doc-backlink">Diacritics</a></h4> <p>Greek diacritics via “named” macros:</p> <pre class="literal-block">\DeclareTextAccentDefault{\accdasia}{LGR} \DeclareTextAccentDefault{\accpsili}{LGR} @@ -1312,7 +1228,7 @@ The variations have no syntactic meaning in Greek text.</p> \DeclareTextAccentDefault{\accbrevebelow}{LGR} % BREVE BELOW</pre> </section> <section id="auxiliary-macros"> -<h4><a class="toc-backref" href="#toc-entry-15" role="doc-backlink">Auxiliary macros</a></h4> +<h4><a class="toc-backref" href="#toc-entry-16" role="doc-backlink">Auxiliary macros</a></h4> <p><span class="docutils literal">\MakeUppercase</span> requires four internal commands:</p> <pre class="literal-block">\DeclareTextAccentDefault{\LGR@accdropped}{LGR} \DeclareTextAccentDefault{\LGR@accDialytika}{LGR} @@ -1320,7 +1236,7 @@ The variations have no syntactic meaning in Greek text.</p> \DeclareTextSymbolDefault{\LGR@ypogegrammeni}{LGR}</pre> </section> <section id="semicolon-as-erotimatiko"> -<h4><a class="toc-backref" href="#toc-entry-16" role="doc-backlink">semicolon as erotimatiko</a></h4> +<h4><a class="toc-backref" href="#toc-entry-17" role="doc-backlink">semicolon as erotimatiko</a></h4> <p>The text command <span class="docutils literal">\textsemicolon</span> inserts <span class="docutils literal">\texterotimatiko</span> in LGR font encoding and a “normal” semicolon else:</p> <pre class="literal-block">\ProvideTextCommandDefault{\textsemicolon}{;} @@ -1336,7 +1252,7 @@ in LGR font encoding and a “normal” semicolon else:</p> </section> </section> <section id="todo"> -<h2><a class="toc-backref" href="#toc-entry-17" role="doc-backlink">TODO</a></h2> +<h2><a class="toc-backref" href="#toc-entry-18" role="doc-backlink">TODO</a></h2> <ul> <li><p>Load <span class="docutils literal">lgrenc.def</span> rsp. <span class="docutils literal"><span class="pre">tuenc-greek.def</span></span> after the common definitions and after <span class="docutils literal"><span class="pre">puenc-greek.def</span></span>?</p> @@ -1347,7 +1263,7 @@ last since its top-level definition will be set up to execute in that encoding without any overhead.</p> <p>…</p> <p>For the same reason default declarations should never come last since -they are implemented as a special encoding themselves (with the name ?). +they are implemented as a special encoding themselves (with the name “?”). Specifying them last would simply mean to make those encoding-specific commands equally inefficient in all encodings.</p> <p class="attribution">—source2e.pdf, chapter “ltoutenc.dtx”, @@ -1355,6 +1271,93 @@ subsection “The order of declarations”.</p> </blockquote> </li> </ul> +</section> +<section id="changelog"> +<h2><a class="toc-backref" href="#toc-entry-19" role="doc-backlink">Changelog</a></h2> +<table class="borderless"> +<tbody> +<tr><td><p>0.1</p></td> +<td><p>2010-06-16</p></td> +<td><p>initial version</p></td> +</tr> +<tr><td><p>0.2</p></td> +<td><p>2012-06-27</p></td> +<td><p>support for compound Unicode definitions outside LGR</p></td> +</tr> +<tr><td><p>0.3</p></td> +<td><p>2013-05-03</p></td> +<td><p>new accent macro names with <span class="docutils literal">lgrxenc.def</span> 0.7</p></td> +</tr> +<tr><td><p>0.4</p></td> +<td><p>2013-05-28</p></td> +<td><p>use <span class="docutils literal">lgrenc.def</span> from greek-fontenc.</p></td> +</tr> +<tr><td><p>0.5</p></td> +<td><p>2013-09-11</p></td> +<td><p>move to <a class="reference external" href="https://ctan.org/pkg/greek-fontenc">greek-fontenc</a>,</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>support XeTeX/LuaTeX, add breve below accents.</p></td> +</tr> +<tr><td><p>0.11</p></td> +<td><p>2013-11-28</p></td> +<td><p>compatibility with Xe/LuaTeX in 8-bit mode.</p></td> +</tr> +<tr><td><p>0.12</p></td> +<td><p>2014-12-12</p></td> +<td><p>fix auxiliary macro names, +define symbol macros for breathing accents.</p></td> +</tr> +<tr><td><p>0.13</p></td> +<td><p>2015-09-04</p></td> +<td><p>Option <a class="reference internal" href="#normalize-symbols">normalize-symbols</a>: support for symbol variants.</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>Option <a class="reference internal" href="#keep-semicolon">keep-semicolon</a>: use semicolon as erotimatiko +in LGR.</p></td> +</tr> +<tr><td><p>0.13.2</p></td> +<td><p>2016-02-05</p></td> +<td><p>Support for standard Unicode text font encoding “TU” +(new in fontspec v2.5a).</p></td> +</tr> +<tr><td><p>0.13.4</p></td> +<td><p>2019-07-11</p></td> +<td><p>Auxiliary command for subscript iota.</p></td> +</tr> +<tr><td><p>0.14</p></td> +<td><p>2020-02-28</p></td> +<td><p>Update test for Unicode fonts. +Rename <span class="docutils literal"><span class="pre">greek-euenc</span></span> to <span class="docutils literal"><span class="pre">tuenc-greek</span></span>. +Don’t use <span class="docutils literal">\LastDeclaredEncoding</span>.</p></td> +</tr> +<tr><td><p>1.0</p></td> +<td><p>2020-09-25</p></td> +<td><p>Also set <span class="docutils literal">\encodingdefault</span> with <span class="docutils literal">\greekscript</span>.</p></td> +</tr> +<tr><td><p>2.0</p></td> +<td><p>2020-10-30</p></td> +<td><p>Load <span class="docutils literal"><span class="pre">tuenc-greek.def</span></span> with Xe/LuaTeX by default.</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>Load <span class="docutils literal"><span class="pre">puenc-greek.def</span></span> if used with <a class="reference external" href="https://ctan.org/pkg/hyperref">hyperref</a>.</p></td> +</tr> +<tr><td><p>2.2</p></td> +<td><p>2023-02-28</p></td> +<td><p>Don’t use <span class="docutils literal">\makeatother</span> in <span class="docutils literal">\AtBeginDocument</span>.</p></td> +</tr> +<tr><td><p>2.2.1</p></td> +<td><p>2023-03-08</p></td> +<td><p>Documentation update.</p></td> +</tr> +</tbody> +</table> <!-- References - - - - - - - - - - --> </section> diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek.def.html index 3ae33811f5f..6edad887063 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek.def.html @@ -4,7 +4,7 @@ <meta charset="utf-8" /> <meta name="generator" content="Docutils 0.20b.dev: https://docutils.sourceforge.io/" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> -<meta name="dcterms.rights" content="© 2013 Günter Milde" /> +<meta name="dcterms.rights" content="© 2013 – 2023 Günter Milde" /> <title>tuenc-greek.def</title> <link rel="schema.dcterms" href="http://purl.org/dc/terms/"/> <style type="text/css"> @@ -792,17 +792,15 @@ mstyle.mathscr, mi.mathscr { <h1 class="title">tuenc-greek.def</h1> <p class="subtitle" id="greek-licr-definitions-for-xetex-and-luatex">Greek LICR definitions for XeTeX and LuaTeX</p> <dl class="docinfo"> +<dt class="version">Version<span class="colon">:</span></dt> +<dd class="version">2.2.1 (<a class="reference internal" href="#changelog">changelog</a>)</dd> <dt class="copyright">Copyright<span class="colon">:</span></dt> -<dd class="copyright">© 2013 Günter Milde</dd> +<dd class="copyright">© 2013 – 2023 Günter Milde</dd> <dt class="licence">Licence<span class="colon">:</span></dt> <dd class="licence"><p>This work may be distributed and/or modified under the conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either version 1.3 of this license or any later version.</p> </dd> -<dt class="identification">Identification<span class="colon">:</span></dt> -<dd class="identification"><pre class="literal-block">\ProvidesFile{tuenc-greek.def} -[2023/02/28 2.2 Greek LICRs for XeTeX and LuaTeX]</pre> -</dd> </dl> <div class="topic abstract" role="doc-abstract"> <p class="topic-title">Abstract</p> @@ -810,149 +808,40 @@ version 1.3 of this license or any later version.</p> with XeTeX and LuaTeX. Extends <a class="reference internal" href="#tuenc-def">tuenc.def</a>. Used by <a class="reference external" href="https://ctan.org/pkg/babel-greek">babel-greek</a> and <a class="reference external" href="textalpha.sty.html">textalpha</a>.</p> </div> -<dl> -<dt><strong>History</strong>:</dt> -<dd><table class="borderless"> -<tbody> -<tr><td><p>0.1</p></td> -<td><p>2013-07-16</p></td> -<td><p>initial version</p></td> -</tr> -<tr><td><p>0.1.1</p></td> -<td><p>2013-07-18</p></td> -<td><p>bugfix: wrong breathings psilioxia -> dasiaoxia</p></td> -</tr> -<tr><td><p>0.1.2</p></td> -<td><p>2013-07-19 -..</p></td> -<td><p>bugfix: Disable composite defs starting with char macro, -fix “hiatus” handling.</p></td> -</tr> -<tr><td><p>0.1.3</p></td> -<td><p>2013-07-24</p></td> -<td><p>fix “input” path.</p></td> -</tr> -<tr><td><p>0.1.4</p></td> -<td><p>2013-10-01 -..</p></td> -<td><p>remove clashing defs for legacy characters with oxia, -fix upcasing of <span class="docutils literal">\finalsigma</span>.</p></td> -</tr> -<tr><td><p>0.11.1</p></td> -<td><p>2013-12-01</p></td> -<td><p>fix identification.</p></td> -</tr> -<tr><td><p>0.11.2</p></td> -<td><p>2014-09-08</p></td> -<td><p><span class="docutils literal">\textKoppa</span> macro</p></td> -</tr> -<tr><td><!-- --> -</td> -<td></td> -<td><p>(Capital Koppa is not defined in LGR but Unicode).</p></td> -</tr> -<tr><td><p>0.12</p></td> -<td><p>2014-12-12</p></td> -<td><p>Remove symbol macros for breathing accents.</p></td> -</tr> -<tr><td><p>0.13</p></td> -<td><p>2015-08-07</p></td> -<td><p><span class="docutils literal">\lccode</span>/<span class="docutils literal">\uccode</span> corrections from <a class="reference external" href="https://ctan.org/pkg/xgreek">xgreek</a>.</p></td> -</tr> -<tr><td><!-- --> -</td> -<td></td> -<td><p>LICR macros for symbol variants.</p></td> -</tr> -<tr><td><p>0.13.3</p></td> -<td><p>2018-01-06</p></td> -<td><p>Documentation update.</p></td> -</tr> -<tr><td><p>0.14</p></td> -<td><p>2020-02-28</p></td> -<td><p>Rename to <span class="docutils literal"><span class="pre">tuenc-greek.def</span></span>. Use <span class="docutils literal">\UTFencname</span>.</p></td> -</tr> -<tr><td><p>1.0</p></td> -<td><p>2020-09-25</p></td> -<td><p>New package version. No changes in this file.</p></td> -</tr> -<tr><td><p>2.0</p></td> -<td><p>2020-10-13</p></td> -<td><p>Move common alias definitions to <span class="docutils literal"><span class="pre">greek-fontenc.def</span></span>.</p></td> -</tr> -<tr><td><!-- --> -</td> -<td></td> -<td><p>New compatiblity definitions.</p></td> -</tr> -<tr><td><!-- --> -</td> -<td></td> -<td><p>Use <span class="docutils literal">\UnicodeEncodingName</span> instead of <span class="docutils literal">\UTFencname</span>.</p></td> -</tr> -<tr><td><!-- --> -</td> -<td></td> -<td><p>Make the file encoding-independent (required for input -in other encodings with <cite>luainputenc</cite>).</p></td> -</tr> -<tr><td><p>2.2</p></td> -<td><p>2023-02-28</p></td> -<td><p>Add composite definitions for <span class="docutils literal">\~</span> + literal char.</p></td> -</tr> -<tr><td><!-- --> -</td> -<td></td> -<td><p>Fix order in expansion of combined accent macros.</p></td> -</tr> -<tr><td><!-- --> -</td> -<td></td> -<td><p>Let <span class="docutils literal">\textautosigma</span> select sigma/finalsigma -depending on context (with LaTeX >= 2022/06/01).</p></td> -</tr> -<tr><td><!-- --> -</td> -<td></td> -<td><p>Skip <cite>uccode</cite> fixes when ignored by <span class="docutils literal">\MakeUppercase</span>.</p></td> -</tr> -<tr><td><!-- --> -</td> -<td></td> -<td><p>Add <span class="docutils literal">\textbackepsilon</span> (defined by hyperref for PU).</p></td> -</tr> -</tbody> -</table> -</dd> -</dl> <nav class="contents" id="contents" role="doc-toc"> <p class="topic-title">Contents</p> <ul class="simple"> <li><p><a class="reference internal" href="#motivation" id="toc-entry-1">Motivation</a></p></li> <li><p><a class="reference internal" href="#requirements" id="toc-entry-2">Requirements</a></p></li> -<li><p><a class="reference internal" href="#greek-diacritics" id="toc-entry-3">Greek Diacritics</a></p></li> -<li><p><a class="reference internal" href="#common-definitions" id="toc-entry-4">Common Definitions</a></p></li> -<li><p><a class="reference internal" href="#character-definitions" id="toc-entry-5">Character Definitions</a></p> +<li><p><a class="reference internal" href="#implementation" id="toc-entry-3">Implementation</a></p> <ul> -<li><p><a class="reference internal" href="#basic-latin" id="toc-entry-6">Basic Latin</a></p></li> -<li><p><a class="reference internal" href="#latin-1-supplement" id="toc-entry-7">Latin 1 Supplement</a></p></li> -<li><p><a class="reference internal" href="#ipa-extensions" id="toc-entry-8">IPA Extensions</a></p></li> -<li><p><a class="reference internal" href="#greek-and-coptic" id="toc-entry-9">Greek and Coptic</a></p></li> -<li><p><a class="reference internal" href="#greek-extended" id="toc-entry-10">Greek Extended</a></p> +<li><p><a class="reference internal" href="#identification" id="toc-entry-4">Identification</a></p></li> +<li><p><a class="reference internal" href="#greek-diacritics" id="toc-entry-5">Greek Diacritics</a></p></li> +<li><p><a class="reference internal" href="#common-definitions" id="toc-entry-6">Common Definitions</a></p></li> +<li><p><a class="reference internal" href="#character-definitions" id="toc-entry-7">Character Definitions</a></p> <ul> -<li><p><a class="reference internal" href="#perispomeni-and-tilde-accent" id="toc-entry-11">Perispomeni and tilde accent</a></p></li> +<li><p><a class="reference internal" href="#basic-latin" id="toc-entry-8">Basic Latin</a></p></li> +<li><p><a class="reference internal" href="#latin-1-supplement" id="toc-entry-9">Latin 1 Supplement</a></p></li> +<li><p><a class="reference internal" href="#ipa-extensions" id="toc-entry-10">IPA Extensions</a></p></li> +<li><p><a class="reference internal" href="#greek-and-coptic" id="toc-entry-11">Greek and Coptic</a></p></li> +<li><p><a class="reference internal" href="#greek-extended" id="toc-entry-12">Greek Extended</a></p> +<ul> +<li><p><a class="reference internal" href="#perispomeni-and-tilde-accent" id="toc-entry-13">Perispomeni and tilde accent</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#letterlike-symbols" id="toc-entry-12">Letterlike Symbols</a></p></li> -<li><p><a class="reference internal" href="#ancient-greek-numbers" id="toc-entry-13">Ancient Greek Numbers</a></p></li> +<li><p><a class="reference internal" href="#letterlike-symbols" id="toc-entry-14">Letterlike Symbols</a></p></li> +<li><p><a class="reference internal" href="#ancient-greek-numbers" id="toc-entry-15">Ancient Greek Numbers</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#uppercase" id="toc-entry-14">UPPERCASE</a></p> +<li><p><a class="reference internal" href="#uppercase" id="toc-entry-16">UPPERCASE</a></p> <ul> -<li><p><a class="reference internal" href="#uc-lc-values" id="toc-entry-15">uc/lc values</a></p></li> -<li><p><a class="reference internal" href="#uclclist" id="toc-entry-16">uclclist</a></p></li> +<li><p><a class="reference internal" href="#uc-lc-values" id="toc-entry-17">uc/lc values</a></p></li> +<li><p><a class="reference internal" href="#uclclist" id="toc-entry-18">uclclist</a></p></li> +</ul> +</li> </ul> </li> +<li><p><a class="reference internal" href="#changelog" id="toc-entry-19">Changelog</a></p></li> </ul> </nav> <section id="motivation"> @@ -971,8 +860,15 @@ Greek characters.</p> <p>See <a class="reference external" href="test-tuenc-greek.tex">test-tuenc-greek.tex</a> and <a class="reference external" href="test-tuenc-greek.pdf">test-tuenc-greek.pdf</a> for setup and usage examples.</p> </section> +<section id="implementation"> +<h2><a class="toc-backref" href="#toc-entry-3" role="doc-backlink">Implementation</a></h2> +<section id="identification"> +<h3><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">Identification</a></h3> +<pre class="literal-block">\ProvidesFile{tuenc-greek.def} + [2023/03/08 2.2.1 Greek LICRs for XeTeX and LuaTeX]</pre> +</section> <section id="greek-diacritics"> -<h2><a class="toc-backref" href="#toc-entry-3" role="doc-backlink">Greek Diacritics</a></h2> +<h3><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Greek Diacritics</a></h3> <p>Define “named macros” for simple and combined diacritics.</p> <ul class="simple"> <li><p>Named accent macros can be used instead of the <span class="docutils literal">\@tabacckludge</span> by @@ -1014,29 +910,29 @@ character, discarded in favour of COMBINING COMMA ABOVE.</p> \DeclareTextCommand{\accpsiliperispomeni}{\UnicodeEncodingName}[1]{#1\char"0313\char"0342}</pre> </section> <section id="common-definitions"> -<h2><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">Common Definitions</a></h2> +<h3><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">Common Definitions</a></h3> <p>Use the <a class="reference external" href="greek-fontenc.def.html">common Greek font encoding definitions</a>:</p> <pre class="literal-block">\renewcommand*{\LastDeclaredEncoding}{\UnicodeEncodingName} \input{greek-fontenc.def}</pre> </section> <section id="character-definitions"> -<h2><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Character Definitions</a></h2> +<h3><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">Character Definitions</a></h3> <section id="basic-latin"> -<h3><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">Basic Latin</a></h3> +<h4><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">Basic Latin</a></h4> <p>Compatibility def with LGR:</p> <pre class="literal-block">\DeclareTextSymbol{\textsemicolon}\UnicodeEncodingName{"003B} % ;</pre> </section> <section id="latin-1-supplement"> -<h3><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">Latin 1 Supplement</a></h3> +<h4><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">Latin 1 Supplement</a></h4> <p>Distinguish MICRO SIGN from letter mu:</p> <pre class="literal-block">\DeclareTextSymbol{\textmicro}\UnicodeEncodingName{"00B5} % µ MICRO SIGN</pre> </section> <section id="ipa-extensions"> -<h3><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">IPA Extensions</a></h3> +<h4><a class="toc-backref" href="#toc-entry-10" role="doc-backlink">IPA Extensions</a></h4> <pre class="literal-block">\DeclareTextSymbol{\textschwa}\UnicodeEncodingName{"0259} % ə</pre> </section> <section id="greek-and-coptic"> -<h3><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">Greek and Coptic</a></h3> +<h4><a class="toc-backref" href="#toc-entry-11" role="doc-backlink">Greek and Coptic</a></h4> <pre class="literal-block">% NR Unicode Name % babel name, % PU name % 0370 GREEK CAPITAL LETTER HETA % Ͱ % 0371 GREEK SMALL LETTER HETA % ͱ @@ -1178,7 +1074,7 @@ TODO: implement autosigma for TU:</p> <pre class="literal-block">\ProvideTextCommand{\textautosigma}{\UnicodeEncodingName}{\MakeLowercase{Σ}}</pre> </section> <section id="greek-extended"> -<h3><a class="toc-backref" href="#toc-entry-10" role="doc-backlink">Greek Extended</a></h3> +<h4><a class="toc-backref" href="#toc-entry-12" role="doc-backlink">Greek Extended</a></h4> <p>We skip definitions for characters “… WITH OXIA”, because they would overwrite the definitions for “… WITH TONOS” in the <cite>Greek and Coptic</cite> block.</p> @@ -1390,7 +1286,7 @@ to the pre-composed character.</p> \DeclareUnicodeComposite{\accoxia} {} {"1FFD} % ´ \DeclareUnicodeComposite{\accdasia} {} {"1FFE} % ῾</pre> <section id="perispomeni-and-tilde-accent"> -<h4><a class="toc-backref" href="#toc-entry-11" role="doc-backlink">Perispomeni and tilde accent</a></h4> +<h5><a class="toc-backref" href="#toc-entry-13" role="doc-backlink">Perispomeni and tilde accent</a></h5> <p>XeTeX and LuaTeX (since 2022) convert letters followed by combining characters to a pre-composed character, if there is an equivalent pre-composed character.</p> @@ -1398,7 +1294,10 @@ pre-composed character.</p> while the standard short accent macro <span class="docutils literal">\~</span> uses the COMBINING TILDE. Only <Greek letter> + COMBINING GREEK PERISPOMENI is considered equivalent to the pre-composed <Greek letter> WITH PERISPOMENI. -Composite definitions for <span class="docutils literal">\~</span> select the pre-composed character:</p> +Composite definitions for <span class="docutils literal">\~</span> select the pre-composed character</p> +<p>TODO: don’t use literal Unicode characters if <span class="docutils literal">\inputencodingname</span> +is defined and not “lutf8” to prevent errors with legacy 8-bit documents +read with “luainputenc.sty” (cf. test-licr-input.tex).</p> <pre class="literal-block">\DeclareUnicodeComposite{\~}{α}{"1FB6} % ᾶ \DeclareUnicodeComposite{\~}{η}{"1FC6} % ῆ \DeclareUnicodeComposite{\~}{ι}{"1FD6} % ῖ @@ -1422,11 +1321,11 @@ implementation of <span class="docutils literal">\MakeUppercase</span>.)</p> </section> </section> <section id="letterlike-symbols"> -<h3><a class="toc-backref" href="#toc-entry-12" role="doc-backlink">Letterlike Symbols</a></h3> +<h4><a class="toc-backref" href="#toc-entry-14" role="doc-backlink">Letterlike Symbols</a></h4> <pre class="literal-block">\DeclareTextSymbol{\textohm}\UnicodeEncodingName{"03A9} % OHM SIGN, use 03A9 Omega</pre> </section> <section id="ancient-greek-numbers"> -<h3><a class="toc-backref" href="#toc-entry-13" role="doc-backlink">Ancient Greek Numbers</a></h3> +<h4><a class="toc-backref" href="#toc-entry-15" role="doc-backlink">Ancient Greek Numbers</a></h4> <p>TODO: map other chars to corresponding Greek letters. See also the <a class="reference external" href="https://ctan.org/pkg/grnumalt">grnumalt</a> package.</p> <pre class="literal-block">\DeclareTextSymbol{\textpentedeka }\UnicodeEncodingName{"10144} % GREEK ACROPHONIC ATTIC FIFTY @@ -1436,10 +1335,10 @@ See also the <a class="reference external" href="https://ctan.org/pkg/grnumalt"> </section> </section> <section id="uppercase"> -<h2><a class="toc-backref" href="#toc-entry-14" role="doc-backlink">UPPERCASE</a></h2> +<h3><a class="toc-backref" href="#toc-entry-16" role="doc-backlink">UPPERCASE</a></h3> <p>Greek letters drop diacritics (eccept dialytika and sub-iota) in UPPERCASE.</p> <section id="uc-lc-values"> -<h3><a class="toc-backref" href="#toc-entry-15" role="doc-backlink">uc/lc values</a></h3> +<h4><a class="toc-backref" href="#toc-entry-17" role="doc-backlink">uc/lc values</a></h4> <p>With the old <span class="docutils literal">\MakeUppercase</span> implementation, we can fix this using <span class="docutils literal">\lccode</span> and <span class="docutils literal">\uccode</span> corrections from the <a class="reference external" href="https://ctan.org/pkg/xgreek">xgreek</a> package by Apostolos Syropoulos:</p> @@ -1766,7 +1665,7 @@ Apostolos Syropoulos:</p> }</pre> </section> <section id="uclclist"> -<h3><a class="toc-backref" href="#toc-entry-16" role="doc-backlink">uclclist</a></h3> +<h4><a class="toc-backref" href="#toc-entry-18" role="doc-backlink">uclclist</a></h4> <p>The common Greek font encoding definitions in <a class="reference external" href="greek-fontenc.def.html">greek-fontenc.def</a> extend the <cite>uclclist</cite> with Greek LICR macros. Here, we add Unicode-specific “<a class="reference external" href="greek-fontenc.def.html#mark-hiatus">hiatus</a>” handling (copied from <a class="reference external" href="lgrenc.def.html">lgrenc.def</a> and changed @@ -1790,9 +1689,129 @@ Latin transliteration to Unicode literals).</p> }% }% }</pre> -<!-- References --> </section> </section> +</section> +<section id="changelog"> +<h2><a class="toc-backref" href="#toc-entry-19" role="doc-backlink">Changelog</a></h2> +<table class="borderless"> +<tbody> +<tr><td><p>0.1</p></td> +<td><p>2013-07-16</p></td> +<td><p>initial version</p></td> +</tr> +<tr><td><p>0.1.1</p></td> +<td><p>2013-07-18</p></td> +<td><p>bugfix: wrong breathings psilioxia -> dasiaoxia</p></td> +</tr> +<tr><td><p>0.1.2</p></td> +<td><p>2013-07-19 +..</p></td> +<td><p>bugfix: Disable composite defs starting with char macro, +fix “hiatus” handling.</p></td> +</tr> +<tr><td><p>0.1.3</p></td> +<td><p>2013-07-24</p></td> +<td><p>fix “input” path.</p></td> +</tr> +<tr><td><p>0.1.4</p></td> +<td><p>2013-10-01 +..</p></td> +<td><p>remove clashing defs for legacy characters with oxia, +fix upcasing of <span class="docutils literal">\finalsigma</span>.</p></td> +</tr> +<tr><td><p>0.11.1</p></td> +<td><p>2013-12-01</p></td> +<td><p>fix identification.</p></td> +</tr> +<tr><td><p>0.11.2</p></td> +<td><p>2014-09-08</p></td> +<td><p><span class="docutils literal">\textKoppa</span> macro</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>(Capital Koppa is not defined in LGR but Unicode).</p></td> +</tr> +<tr><td><p>0.12</p></td> +<td><p>2014-12-12</p></td> +<td><p>Remove symbol macros for breathing accents.</p></td> +</tr> +<tr><td><p>0.13</p></td> +<td><p>2015-08-07</p></td> +<td><p><span class="docutils literal">\lccode</span>/<span class="docutils literal">\uccode</span> corrections from <a class="reference external" href="https://ctan.org/pkg/xgreek">xgreek</a>.</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>LICR macros for symbol variants.</p></td> +</tr> +<tr><td><p>0.13.3</p></td> +<td><p>2018-01-06</p></td> +<td><p>Documentation update.</p></td> +</tr> +<tr><td><p>0.14</p></td> +<td><p>2020-02-28</p></td> +<td><p>Rename to <span class="docutils literal"><span class="pre">tuenc-greek.def</span></span>. Use <span class="docutils literal">\UTFencname</span>.</p></td> +</tr> +<tr><td><p>1.0</p></td> +<td><p>2020-09-25</p></td> +<td><p>New package version. No changes in this file.</p></td> +</tr> +<tr><td><p>2.0</p></td> +<td><p>2020-10-13</p></td> +<td><p>Move common alias definitions to <span class="docutils literal"><span class="pre">greek-fontenc.def</span></span>.</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>New compatiblity definitions.</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>Use <span class="docutils literal">\UnicodeEncodingName</span> instead of <span class="docutils literal">\UTFencname</span>.</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>Make the file encoding-independent (required for input +in other encodings with <cite>luainputenc</cite>).</p></td> +</tr> +<tr><td><p>2.2</p></td> +<td><p>2023-02-28</p></td> +<td><p>Add composite definitions for <span class="docutils literal">\~</span> + literal char.</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>Fix order in expansion of combined accent macros.</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>Let <span class="docutils literal">\textautosigma</span> select sigma/finalsigma +depending on context (with LaTeX >= 2022/06/01).</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>Skip <cite>uccode</cite> fixes when ignored by <span class="docutils literal">\MakeUppercase</span>.</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>Add <span class="docutils literal">\textbackepsilon</span> (defined by hyperref for PU).</p></td> +</tr> +<tr><td><p>2.2.1</p></td> +<td><p>2023-03-08</p></td> +<td><p>Documentation update.</p></td> +</tr> +</tbody> +</table> +<!-- References +- - - - - - - - - - --> +</section> </main> </body> </html> diff --git a/Master/texmf-dist/source/latex/greek-fontenc/Makefile b/Master/texmf-dist/source/latex/greek-fontenc/Makefile deleted file mode 100644 index e91e7838300..00000000000 --- a/Master/texmf-dist/source/latex/greek-fontenc/Makefile +++ /dev/null @@ -1,179 +0,0 @@ -# This Makefile updates the source and documentation for the -# greek-fontenc LateX package -# -# © 2019 Günter Milde -# -# SRCDIR (and the other variables) can be easily modified as parameters -# while calling `make', e.g. -# -# make install SRCDIR=~/texmf/tex/latex/ - -# Global variables -# ================= - -# for installation into a users local texmf tree -DESTDIR = ~/texmf/tex/latex/greek/greek-fontenc -DOCDIR = ~/texmf/doc/latex/greek/greek-fontenc - -CHDIR = cd -COPY = cp -u -SH = sh - -# programs -PYLIT = pylit # text <-> source converter for literal programming -RST2HTML = rst2html5 # text -> HTML converter, see docutils.sf.net -RUBBER = rubber -f --pdf -m hyperref # wrapper around `latex`, run until references resolved -LATEX = pdflatex -interaction batchmode - -# LaTeX source files -# ================== - -.PHONY: all font-encodings packages - -all: font-encodings packages - -# font encoding definition files -font-encodings: greek-fontenc.def lgrenc.def tuenc-greek.def greek-euenc.def - -# tuenc-greek.def: tuenc-greek.def.txt -# $(PYLIT) $@.txt -# -# greek-fontenc.def: greek-fontenc.def.txt -# $(PYLIT) $@.txt -# -# lgrenc.def: lgrenc.def.txt -# $(PYLIT) $@.txt - -# LaTeX packages -packages: textalpha.sty alphabeta.sty alphabeta-tuenc.def alphabeta-lgr.def - -# textalpha.sty: textalpha.sty.txt -# $(PYLIT) $@.txt -# -# alphabeta.sty: alphabeta.sty.txt -# $(PYLIT) $@.txt -# -# alphabeta-tuenc.def: alphabeta-tuenc.def.txt -# $(PYLIT) $@.txt -# -# alphabeta-lgr.def: alphabeta-lgr.def.txt -# $(PYLIT) $@.txt -# -# # Experimental files -# lgr2licr.lua: lgr2licr.lua.txt -# $(PYLIT) $@.txt - -# Documentation -# ============= - -.PHONY: doc html pdf - -doc: html pdf - -html: greek-fontenc-doc.html lgrenc.def.html puenc-greek.def.html \ - tuenc-greek.def.html greek-fontenc.def.html \ - textalpha.sty.html alphabeta.sty.html \ - alphabeta-tuenc.def.html alphabeta-lgr.def.html lgr2licr.lua.html - -greek-fontenc-doc.html: greek-fontenc-doc.rst - $(RST2HTML) greek-fontenc-doc.rst > greek-fontenc-doc.html - -greek-fontenc.def.html: greek-fontenc.def - $(PYLIT) greek-fontenc.def - $(RST2HTML) greek-fontenc.def.txt > greek-fontenc.def.html - -lgrenc.def.html: lgrenc.def - $(PYLIT) lgrenc.def - $(RST2HTML) lgrenc.def.txt > lgrenc.def.html - -tuenc-greek.def.html: tuenc-greek.def - $(PYLIT) tuenc-greek.def - $(RST2HTML) tuenc-greek.def.txt > tuenc-greek.def.html - -puenc-greek.def.html: puenc-greek.def - $(PYLIT) puenc-greek.def - $(RST2HTML) puenc-greek.def.txt > puenc-greek.def.html - -textalpha.sty.html: textalpha.sty - $(PYLIT) textalpha.sty - $(RST2HTML) textalpha.sty.txt > textalpha.sty.html - -alphabeta.sty.html: alphabeta.sty - $(PYLIT) alphabeta.sty - $(RST2HTML) alphabeta.sty.txt > alphabeta.sty.html - -alphabeta-tuenc.def.html: alphabeta-tuenc.def - $(PYLIT) alphabeta-tuenc.def - $(RST2HTML) alphabeta-tuenc.def.txt > alphabeta-tuenc.def.html - -alphabeta-lgr.def.html: alphabeta-lgr.def - $(PYLIT) alphabeta-lgr.def - $(RST2HTML) alphabeta-lgr.def.txt > alphabeta-lgr.def.html - -lgr2licr.lua.html: lgr2licr.lua - $(PYLIT) lgr2licr.lua - $(RST2HTML) lgr2licr.lua.txt > lgr2licr.lua.html - -# User documentation -# ================== - -pdf: alphabeta-doc.pdf alphabeta-doc-tu.pdf \ - textalpha-doc.pdf textalpha-doc-tu.pdf hyperref-with-greek.pdf \ - test-licr-input.pdf test-lgrenc.pdf test-tuenc-greek.pdf - -TEXTALPHA = textalpha.sty greek-fontenc.def lgrenc.def tuenc-greek.def puenc-greek.def -ALPHABETA = $(TEXTALPHA) alphabeta.sty - -alphabeta-doc.pdf: alphabeta-doc.tex $(ALPHABETA) - $(RUBBER) alphabeta-doc.tex - -alphabeta-doc-tu.pdf: alphabeta-doc.tex $(ALPHABETA) - $(RUBBER) -m xelatex --jobname=alphabeta-doc-tu alphabeta-doc.tex - -textalpha-doc.pdf: textalpha-doc.tex $(TEXTALPHA) - $(RUBBER) textalpha-doc.tex - -textalpha-doc-tu.pdf: textalpha-doc.tex lgrenc.def $(TEXTALPHA) - $(RUBBER) -m xelatex --jobname=textalpha-doc-tu textalpha-doc.tex - -hyperref-with-greek.pdf: hyperref-with-greek.tex $(ALPHABETA) - $(RUBBER) hyperref-with-greek.tex - -test-lgrenc.pdf: test-lgrenc.tex lgrenc.def greek-fontenc.def - $(LATEX) test-lgrenc.tex - -test-tuenc-greek.pdf: test-tuenc-greek.tex tuenc-greek.def greek-fontenc.def - $(RUBBER) -m xelatex test-tuenc-greek.tex - -test-licr-input.pdf: test-licr-input.tex $(TEXTALPHA) - $(RUBBER) test-licr-input.tex - -test-licr-input-tu.pdf: test-licr-input.tex lgrenc.def $(TEXTALPHA) - $(RUBBER) -m lualatex --jobname=test-licr-input-tu test-licr-input.tex - - -# Installation -# ------------ - -update: packages - $(COPY) *.def $(DESTDIR) - $(COPY) *.sty $(DESTDIR) - -update-package: packages doc - $(COPY) README.md $(DOCDIR) - $(COPY) *.def $(DOCDIR) - $(COPY) *.sty $(DOCDIR) - $(COPY) *.tex $(DOCDIR) - $(COPY) *.lua $(DOCDIR) - $(COPY) *.rst $(DOCDIR) - $(COPY) *.html $(DOCDIR) - $(COPY) *.pdf $(DOCDIR) - $(COPY) Makefile $(DOCDIR) - -# Cleanup -# ------- - -.PHONY: clean - -clean: - rm -f *~ *.aux *.log *.out *.rubbercache *.toc diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def index e976eafd56b..1affabd2646 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def @@ -3,7 +3,7 @@ % Composite definitions for 8-bit TeX % ****************************************** % -% :Copyright: © 2014 Günter Milde +% :Copyright: © 2014, 2020 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. diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-tuenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-tuenc.def index cb2f621e543..897cd685160 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-tuenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-tuenc.def @@ -3,7 +3,7 @@ % Composite definitions for XeTeX and LuaTeX % ****************************************** % -% :Copyright: © 2013 Günter Milde +% :Copyright: © 2013, 2020 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. diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty index 09a1cf5c6ea..a0352815dbe 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty +++ b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty @@ -3,38 +3,17 @@ % Greek symbols in text and math % ****************************** % -% :Copyright: © 2010 Günter Milde +% :Version: 2.2.1 (changelog_) +% +% :Copyright: © 2010, 2020 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: Use ``\alpha, \beta, ...`` for Greek letters in text and math -% mode. +% :Abstract: Use ``\alpha, \beta, ...`` for Greek letters in text and math +% mode. % -% :Identification: -% :: - -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{alphabeta} - [2020/10/13 2.0 macros for Greek letters in text and math] - -% Changelog: -% .. class:: borderless -% -% ====== ========== ========================================================= -% 0.1 2012-06-26 initial version -% 0.2 2013-05-03 new accent macro names with ``lgrxenc.def`` 0.7 -% 0.3 2013-05-28 use ``lgrenc.def`` from greek-fontenc, -% .. enable Unicode input in math mode. -% 0.4 2013-09-11 move to greek-fontenc_, support XeTeX/LuaTeX. -% 0.13 2015-09-04 Support for `variant symbols`. -% 0.13.2 2016-02-05 Support for standard Unicode text font encoding "TU" -% (new in fontspec v2.5a). -% 0.14 2020/02/28 rename ``alphabeta-euenc.def`` to -% ``alphabeta-tuenc.def``. -% 1.0 2020/09/25 New package version. No changes in this file. -% 2.0 2020/10/13 Provide ``\Koppa``. -% ====== ========== ========================================================= % % .. contents:: % @@ -91,6 +70,16 @@ % Implementation % ============== % +% Identification +% -------------- +% +% :: + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{alphabeta} + [2023/03/08 2.2.1 macros for Greek letters in text and math] + + % Requirements % ------------ % @@ -121,6 +110,7 @@ \AtBeginDocument{ + % Save math macros % ---------------- % @@ -180,6 +170,7 @@ \let\mathvarkappa\varkappa \fi + % Commands to access Greek letters by name % ---------------------------------------- % @@ -333,6 +324,7 @@ \input{alphabeta-lgr.def} }{} + % Re-definition for Greek Unicode input in math mode % -------------------------------------------------- % @@ -395,6 +387,29 @@ } % close the \AtBeginDocument macro + +% Changelog +% ========= +% +% .. class:: borderless +% +% ====== =========== ======================================================== +% 0.1 2012-06-26 initial version +% 0.2 2013-05-03 new accent macro names with ``lgrxenc.def`` 0.7 +% 0.3 2013-05-28 use ``lgrenc.def`` from greek-fontenc, +% .. enable Unicode input in math mode. +% 0.4 2013-09-11 move to greek-fontenc_, support XeTeX/LuaTeX. +% 0.13 2015-09-04 Support for `variant symbols`. +% 0.13.2 2016-02-05 Support for standard Unicode text font encoding "TU" +% (new in fontspec v2.5a). +% 0.14 2020/02/28 rename ``alphabeta-euenc.def`` to +% ``alphabeta-tuenc.def``. +% 1.0 2020/09/25 New package version. No changes in this file. +% 2.0 2020/10/13 Provide ``\Koppa``. +% 2.2.1 2023-03-08 Documentation update. +% ====== =========== ======================================================== +% +% % .. References % ---------- % .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def index d7db6ff2ceb..1e5d781b492 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def @@ -4,16 +4,14 @@ % Common Greek font encoding definitions % ====================================== % -% :Copyright: © 2013 Günter Milde +% :Version: 2.2.1 (changelog_) +% +% :Copyright: © 2013 -- 2023 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. -% :Identification: -% :: - -\ProvidesFile{greek-fontenc.def} -[2023/02/28 2.2 Common Greek font encoding definitions] - +% % :Abstract: This file provides definitions that are shared between % font encodings providing Greek characters. % @@ -28,6 +26,13 @@ % Implementation % -------------- % +% Identification +% ~~~~~~~~~~~~~~ +% :: + +\ProvidesFile{greek-fontenc.def} + [2023/03/08 2.2.1 Common Greek font encoding definitions] + % ensuregreek, greekscript % ~~~~~~~~~~~~~~~~~~~~~~~~ % @@ -290,6 +295,7 @@ \accpsilivaria\LGR@hiatus \accpsiliperispomeni\LGR@accdropped \acctonos\LGR@hiatus + \accoxia\LGR@hiatus \accvaria\LGR@accdropped \accdialytikatonos\LGR@accDialytika \accdialytikavaria\LGR@accDialytika @@ -324,7 +330,7 @@ \textomega \textOmega \textkoppa \textKoppa \textqoppa \textQoppa - \textvarstigma \textStigma + \textvarstigma \LGR@Stigma \textstigma \textStigma \textsampi \textSampi \textdigamma \textDigamma @@ -357,6 +363,11 @@ \DeclareTextCommand{\LGR@ypogegrammeni}{\LastDeclaredEncoding}{\ypogegrammeni} +% Prevent downcasing ``\textStigma`` to the stigma variant ``\textvarstigma`` +% (only available in LGR). This happened sometimes with the post-2022/06 +% ``\MakeLowercase``:: + +\DeclareTextCommand{\LGR@Stigma}{\LastDeclaredEncoding}{\textStigma} % Mark hiatus % """"""""""" @@ -394,8 +405,8 @@ \reserved@b } -% Changes -% ------- +% Changelog +% --------- % % .. class:: borderless % @@ -409,6 +420,8 @@ % 1.0 2020-09-25 ``\textKoppagreek`` and ``\textstigmagreek`` aliases. % 2.0 2020/10/30 Alias definitions matching mathematical variant symbols. % 2.2 2023-02-28 Add missing accent composite commands. +% 2.2.1 2023-03-08 ``@uclclist`` entry for ``\accoxia``, prevent +% downcasing ``\textStigma`` to ``\textvarstigma``. % ====== ============ ======================================================== % % diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def index d1c748b466d..7d60da1fd57 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def @@ -4,7 +4,7 @@ % LGR Greek font encoding definitions % =================================== % -% :Copyright: © 2010 -- 2022 Günter Milde +% :Copyright: © 2010 -- 2023 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. @@ -100,7 +100,7 @@ \ProvidesFile{lgrenc.def} [2023/02/28 2.2 LGR Greek font encoding definitions] -% Copyright © 2010 Günter Milde +% Copyright © 2010 -- 2023 Günter Milde % This file is part of the "greek-fontenc" package. % It may be distributed and/or modified under the % conditions of the "LaTeX Project Public License", either diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/puenc-greek.def b/Master/texmf-dist/tex/latex/greek-fontenc/puenc-greek.def index fdc51336b51..915725fdbf8 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/puenc-greek.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/puenc-greek.def @@ -2,20 +2,16 @@ % puenc-greek.def % +++++++++++++++ % -% Greek LICR definitions for PDF strings (hyperref) -% ************************************************* +% Greek LICR definitions for PDF strings +% ************************************** % % :Copyright: © 2020, 2023 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. -% :Identification: -% :: - -\ProvidesFile{puenc-greek.def} -[2023/02/28 2.2 Greek LICRs for PDF strings] - -% :abstract: +% +% :Abstract: % Support for Greek LICR macros in PDF bookmarks. Extends ``puenc.def`` % and supersedes ``puenc-greekbasic.def`` from the hyperref_ package. % Used by babel-greek_ and textalpha_. @@ -26,8 +22,20 @@ % ====== =========== ======================================================= % 2.0 2020-10-18 Initial version. % 2.2 2023-02-28 Add compatibility definitions for hyperref. +% 2.2.1 2023-03-08 Documentation update. % ====== =========== ======================================================= % +% .. contents:: +% +% +% Identification +% ============== +% :: + +\ProvidesFile{puenc-greek.def} + [2023/03/08 2.2.1 Greek LICRs for PDF strings] + + % Diacritics % ========== % @@ -63,6 +71,7 @@ \DeclareTextCommand{\accpsilioxia}{PU}[1]{#1\83\001\83\023} \DeclareTextCommand{\accpsiliperispomeni}{PU}[1]{#1\83\102\83\023} + % Common Definitions % ================== % @@ -74,6 +83,7 @@ \renewcommand*{\LastDeclaredEncoding}{PU} \input{greek-fontenc.def} + % Character Definitions % ===================== % @@ -196,13 +206,13 @@ \DeclareTextCommand{\textQoppa}{PU}{\83\330} % Ϙ "03D8 \DeclareTextCommand{\textqoppa}{PU}{\83\331} % ϙ "03D9 \DeclareTextCommand{\textStigma}{PU}{\83\332} % Ϛ "03DA \textStigmagreek -\DeclareTextCommand{\textstigma}{PU}{\83\333} % ϛ "03DB \textstigmagreek +\DeclareTextCommand{\textstigma}{PU}{\83\333} % ϛ "03DB \textstigmagreek \DeclareTextCommand{\textDigamma}{PU}{\83\334} % Ϝ "03DC \textDigammagreek \DeclareTextCommand{\textdigamma}{PU}{\83\335} % ϝ "03DD \textdigammagreek \DeclareTextCommand{\textKoppa}{PU}{\83\336} % Ϟ "03DE \textKoppagreek in LGR identic to \textkoppa \DeclareTextCommand{\textkoppa}{PU}{\83\337} % ϟ "03DF \textkoppagreek -\DeclareTextCommand{\textSampi}{PU}{\83\340} % Ϡ "03E0 \textSampigreek -\DeclareTextCommand{\textsampi}{PU}{\83\341} % ϡ "03E1 \textsampigreek +\DeclareTextCommand{\textSampi}{PU}{\83\340} % Ϡ "03E0 \textSampigreek +\DeclareTextCommand{\textsampi}{PU}{\83\341} % ϡ "03E1 \textsampigreek \DeclareTextCommand{\textkappasymbol}{PU}{\83\360} % ϰ "03F0 \DeclareTextCommand{\textrhosymbol}{PU}{\83\361} % ϱ "03F1 @@ -430,12 +440,14 @@ \DeclareTextCompositeCommand{\accdasia}{PU}{\@empty}{\9037\376} % ῾ \DeclareTextCompositeCommand{\accdasia}{PU}{\ }{\9037\376} % ῾ + % Letterlike Symbols % ------------------ % :: \DeclareTextCommand{\textohm}{PU}{\83\251} % "03A9 OHM SIGN, use 03A9 Omega + % Ancient Greek Numbers % --------------------- % TODO: map other chars to corresponding Greek letters. diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty index 851f39dc956..97b7423fc77 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty +++ b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty @@ -3,7 +3,10 @@ % Greek symbols in text % ********************* % -% :Copyright: © 2010 Günter Milde +% :Version: 2.2.1 (changelog_) +% +% :Copyright: © 2010, 2023 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. @@ -11,46 +14,6 @@ % :Abstract: Provide a set of ``\text*`` macros for Greek characters % in text mode. % -% :Identification: -% :: - -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{textalpha} -[2023/02/28 2.2 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 -% -% ====== =========== ======================================================== -% 0.1 2010-06-16 initial version -% 0.2 2012-06-27 support for compound Unicode definitions outside LGR -% 0.3 2013-05-03 new accent macro names with ``lgrxenc.def`` 0.7 -% 0.4 2013-05-28 use ``lgrenc.def`` from greek-fontenc. -% 0.5 2013-09-11 move to greek-fontenc_, -% .. support XeTeX/LuaTeX, add breve below accents. -% 0.11 2013-11-28 compatibility with Xe/LuaTeX in 8-bit mode. -% 0.12 2014-12-12 fix auxiliary macro names, -% define symbol macros for breathing accents. -% 0.13 2015-09-04 Option normalize-symbols_: support for symbol variants. -% .. Option keep-semicolon_: use semicolon as erotimatiko -% in LGR. -% 0.13.2 2016-02-05 Support for standard Unicode text font encoding "TU" -% (new in fontspec v2.5a). -% 0.13.4 2019-07-11 Auxiliary command for subscript iota. -% 0.14 2020-02-28 Update test for Unicode fonts. -% Rename ``greek-euenc`` to ``tuenc-greek``. -% Don't use ``\LastDeclaredEncoding``. -% 1.0 2020-09-25 Also set ``\encodingdefault`` with ``\greekscript``. -% 2.0 2020-10-30 Load ``tuenc-greek.def`` with Xe/LuaTeX by default. -% .. Load ``puenc-greek.def`` if used with `hyperref`_. -% 2.2 2023-02-28 Don't use ``\makeatother`` in ``\AtBeginDocument``. -% ====== =========== ======================================================== % % .. contents:: % @@ -112,13 +75,13 @@ % % \usepackage{textalpha} % -% eventually with the options_ to normalize symbols variants +% 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 +% and/or to `use the semicolon as erotimatiko`_ also in 8-bit TeX % % .. code:: latex % @@ -142,9 +105,20 @@ % Implementation % ============== % +% Identification +% -------------- +% :: + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{textalpha} + [2023/03/08 2.2.1 macros for Greek letters in text] + + % Options % ------- % +% .. _normalize symbols variants: +% % normalize-symbols % """"""""""""""""" % @@ -171,6 +145,9 @@ \newif\iftextalpha@normalizeSymbols \DeclareOption{normalize-symbols}{\textalpha@normalizeSymbolstrue} + +% .. _use the semicolon as erotimatiko: +% % keep-semicolon % """""""""""""" % @@ -194,8 +171,7 @@ \ProcessOptions\relax -% .. _font encoding: -% + % Symbol macros for breathings % ---------------------------- % @@ -215,6 +191,9 @@ \DeclareTextCompositeCommand{\<}{#1}{~}{\accdasiaperispomeni} } + +% .. _font encoding: +% % Font encodings % -------------- % @@ -296,6 +275,7 @@ \DeclareTextSymbol{\textmicro}{TS1}{181} % micro sign \DeclareTextSymbolDefault{\textmicro}{TS1} + % Default declarations % -------------------- % @@ -407,6 +387,7 @@ \DeclareTextSymbolDefault{\textpsi}{LGR} \DeclareTextSymbolDefault{\textomega}{LGR} + % Additional Greek symbols % """""""""""""""""""""""" % @@ -450,6 +431,7 @@ \DeclareTextSymbolDefault{\textaristerikeraia}{LGR} % ͵ (Aristeri keraia) \DeclareTextSymbolDefault{\textnumeralsignlowergreek}{LGR} % (puenc.def) + % variant shape symbols % ''''''''''''''''''''' % @@ -564,7 +546,7 @@ % ... % % For the same reason default declarations should never come last since -% they are implemented as a special encoding themselves (with the name ?). +% they are implemented as a special encoding themselves (with the name "?"). % Specifying them last would simply mean to make those encoding-specific % commands equally inefficient in all encodings. % @@ -572,6 +554,38 @@ % subsection "The order of declarations". % % +% Changelog +% ========= +% +% .. class:: borderless +% +% ====== =========== ======================================================== +% 0.1 2010-06-16 initial version +% 0.2 2012-06-27 support for compound Unicode definitions outside LGR +% 0.3 2013-05-03 new accent macro names with ``lgrxenc.def`` 0.7 +% 0.4 2013-05-28 use ``lgrenc.def`` from greek-fontenc. +% 0.5 2013-09-11 move to greek-fontenc_, +% .. support XeTeX/LuaTeX, add breve below accents. +% 0.11 2013-11-28 compatibility with Xe/LuaTeX in 8-bit mode. +% 0.12 2014-12-12 fix auxiliary macro names, +% define symbol macros for breathing accents. +% 0.13 2015-09-04 Option normalize-symbols_: support for symbol variants. +% .. Option keep-semicolon_: use semicolon as erotimatiko +% in LGR. +% 0.13.2 2016-02-05 Support for standard Unicode text font encoding "TU" +% (new in fontspec v2.5a). +% 0.13.4 2019-07-11 Auxiliary command for subscript iota. +% 0.14 2020-02-28 Update test for Unicode fonts. +% Rename ``greek-euenc`` to ``tuenc-greek``. +% Don't use ``\LastDeclaredEncoding``. +% 1.0 2020-09-25 Also set ``\encodingdefault`` with ``\greekscript``. +% 2.0 2020-10-30 Load ``tuenc-greek.def`` with Xe/LuaTeX by default. +% .. Load ``puenc-greek.def`` if used with `hyperref`_. +% 2.2 2023-02-28 Don't use ``\makeatother`` in ``\AtBeginDocument``. +% 2.2.1 2023-03-08 Documentation update. +% ====== =========== ======================================================== +% +% % .. References % ---------- % .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def b/Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def index 156f9892ff3..fc91f22b49b 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def @@ -3,56 +3,23 @@ % Greek LICR definitions for XeTeX and LuaTeX % ******************************************* % -% :Copyright: © 2013 Günter Milde +% :Version: 2.2.1 (changelog_) +% +% :Copyright: © 2013 -- 2023 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. -% :Identification: -% :: - -\ProvidesFile{tuenc-greek.def} -[2023/02/28 2.2 Greek LICRs for XeTeX and LuaTeX] - +% % :abstract: % Support for Greek LICR macros and upcasing of text % with XeTeX and LuaTeX. Extends tuenc.def_. % Used by babel-greek_ and textalpha_. % -% **History**: -% .. class:: borderless -% -% ====== =========== ======================================================== -% 0.1 2013-07-16 initial version -% 0.1.1 2013-07-18 bugfix: wrong breathings psilioxia -> dasiaoxia -% 0.1.2 2013-07-19 bugfix: Disable composite defs starting with char macro, -% .. fix "hiatus" handling. -% 0.1.3 2013-07-24 fix "input" path. -% 0.1.4 2013-10-01 remove clashing defs for legacy characters with oxia, -% .. fix upcasing of ``\finalsigma``. -% 0.11.1 2013-12-01 fix identification. -% 0.11.2 2014-09-08 ``\textKoppa`` macro -% .. (Capital Koppa is not defined in LGR but Unicode). -% 0.12 2014-12-12 Remove symbol macros for breathing accents. -% 0.13 2015-08-07 ``\lccode``/``\uccode`` corrections from xgreek_. -% .. LICR macros for symbol variants. -% 0.13.3 2018-01-06 Documentation update. -% 0.14 2020-02-28 Rename to ``tuenc-greek.def``. Use ``\UTFencname``. -% 1.0 2020-09-25 New package version. No changes in this file. -% 2.0 2020-10-13 Move common alias definitions to ``greek-fontenc.def``. -% .. New compatiblity definitions. -% .. Use ``\UnicodeEncodingName`` instead of ``\UTFencname``. -% .. Make the file encoding-independent (required for input -% in other encodings with `luainputenc`). -% 2.2 2023-02-28 Add composite definitions for ``\~`` + literal char. -% .. Fix order in expansion of combined accent macros. -% .. Let ``\textautosigma`` select sigma/finalsigma -% depending on context (with LaTeX >= 2022/06/01). -% .. Skip `uccode` fixes when ignored by ``\MakeUppercase``. -% .. Add ``\textbackepsilon`` (defined by hyperref for PU). -% ====== =========== ======================================================== % % .. contents:: % +% % Motivation % ========== % @@ -63,6 +30,7 @@ % for Greek letters and symbols. It works independed of xunicode_ using the % standard commands for `LaTeX2e font selection`_. % +% % Requirements % ============ % @@ -74,8 +42,20 @@ % usage examples. % % +% Implementation +% ============== +% +% Identification +% -------------- +% +% :: + +\ProvidesFile{tuenc-greek.def} + [2023/03/08 2.2.1 Greek LICRs for XeTeX and LuaTeX] + + % Greek Diacritics -% ================ +% ---------------- % % Define "named macros" for simple and combined diacritics. % @@ -132,7 +112,7 @@ % Common Definitions -% ================== +% ------------------ % % Use the `common Greek font encoding definitions`_:: @@ -140,7 +120,7 @@ \input{greek-fontenc.def} % Character Definitions -% ===================== +% --------------------- % % Basic Latin % ~~~~~~~~~~~ @@ -545,7 +525,12 @@ % while the standard short accent macro ``\~`` uses the COMBINING TILDE. % Only <Greek letter> + COMBINING GREEK PERISPOMENI is considered % equivalent to the pre-composed <Greek letter> WITH PERISPOMENI. -% Composite definitions for ``\~`` select the pre-composed character:: +% Composite definitions for ``\~`` select the pre-composed character +% +% TODO: don't use literal Unicode characters if ``\inputencodingname`` +% is defined and not "lutf8" to prevent errors with legacy 8-bit documents +% read with "luainputenc.sty" (cf. test-licr-input.tex). +% :: \DeclareUnicodeComposite{\~}{α}{"1FB6} % ᾶ \DeclareUnicodeComposite{\~}{η}{"1FC6} % ῆ @@ -591,7 +576,7 @@ % UPPERCASE -% ========= +% --------- % % Greek letters drop diacritics (eccept dialytika and sub-iota) in UPPERCASE. % @@ -953,7 +938,46 @@ }% } + +% Changelog +% ========= +% +% .. class:: borderless +% +% ====== =========== ======================================================== +% 0.1 2013-07-16 initial version +% 0.1.1 2013-07-18 bugfix: wrong breathings psilioxia -> dasiaoxia +% 0.1.2 2013-07-19 bugfix: Disable composite defs starting with char macro, +% .. fix "hiatus" handling. +% 0.1.3 2013-07-24 fix "input" path. +% 0.1.4 2013-10-01 remove clashing defs for legacy characters with oxia, +% .. fix upcasing of ``\finalsigma``. +% 0.11.1 2013-12-01 fix identification. +% 0.11.2 2014-09-08 ``\textKoppa`` macro +% .. (Capital Koppa is not defined in LGR but Unicode). +% 0.12 2014-12-12 Remove symbol macros for breathing accents. +% 0.13 2015-08-07 ``\lccode``/``\uccode`` corrections from xgreek_. +% .. LICR macros for symbol variants. +% 0.13.3 2018-01-06 Documentation update. +% 0.14 2020-02-28 Rename to ``tuenc-greek.def``. Use ``\UTFencname``. +% 1.0 2020-09-25 New package version. No changes in this file. +% 2.0 2020-10-13 Move common alias definitions to ``greek-fontenc.def``. +% .. New compatiblity definitions. +% .. Use ``\UnicodeEncodingName`` instead of ``\UTFencname``. +% .. Make the file encoding-independent (required for input +% in other encodings with `luainputenc`). +% 2.2 2023-02-28 Add composite definitions for ``\~`` + literal char. +% .. Fix order in expansion of combined accent macros. +% .. Let ``\textautosigma`` select sigma/finalsigma +% depending on context (with LaTeX >= 2022/06/01). +% .. Skip `uccode` fixes when ignored by ``\MakeUppercase``. +% .. Add ``\textbackepsilon`` (defined by hyperref for PU). +% 2.2.1 2023-03-08 Documentation update. +% ====== =========== ======================================================== +% +% % .. References +% ---------- % % .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt % .. _babel-greek: https://ctan.org/pkg/babel-greek |