summaryrefslogtreecommitdiff
path: root/language/greek
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-06-15 03:00:50 +0000
committerNorbert Preining <norbert@preining.info>2022-06-15 03:00:50 +0000
commitda68bce1d25d68087ca3b70134a61ae1c3a96b67 (patch)
tree4d176d7c6b7c9bdbe49b9d24d72b61493ff25dc1 /language/greek
parent0123ca8e30234615dca0d8853dffec2fb93fe9a8 (diff)
CTAN sync 202206150300
Diffstat (limited to 'language/greek')
-rw-r--r--language/greek/greek-fontenc/Makefile2
-rw-r--r--language/greek/greek-fontenc/README4
-rw-r--r--language/greek/greek-fontenc/README.html1409
-rw-r--r--language/greek/greek-fontenc/alphabeta-doc.pdfbin435451 -> 436106 bytes
-rw-r--r--language/greek/greek-fontenc/alphabeta-lgr.def.html589
-rw-r--r--language/greek/greek-fontenc/alphabeta-tu.pdfbin77624 -> 75750 bytes
-rw-r--r--language/greek/greek-fontenc/alphabeta-tuenc.def9
-rw-r--r--language/greek/greek-fontenc/alphabeta-tuenc.def.html600
-rw-r--r--language/greek/greek-fontenc/alphabeta.sty2
-rw-r--r--language/greek/greek-fontenc/alphabeta.sty.html635
-rw-r--r--language/greek/greek-fontenc/diacritics.pdfbin285408 -> 285806 bytes
-rw-r--r--language/greek/greek-fontenc/greek-euenc.def2
-rw-r--r--language/greek/greek-fontenc/greek-fontenc.def.html588
-rw-r--r--language/greek/greek-fontenc/greek-fontenc.html768
-rw-r--r--language/greek/greek-fontenc/hyperref-with-greek.pdfbin284331 -> 285124 bytes
-rwxr-xr-xlanguage/greek/greek-fontenc/lgr2licr.lua4
-rw-r--r--language/greek/greek-fontenc/lgr2licr.lua.html553
-rw-r--r--language/greek/greek-fontenc/lgrenc.def8
-rw-r--r--language/greek/greek-fontenc/lgrenc.def.html742
-rw-r--r--language/greek/greek-fontenc/makeattest.pdfbin0 -> 63538 bytes
-rw-r--r--language/greek/greek-fontenc/makeattest.tex26
-rw-r--r--language/greek/greek-fontenc/puenc-greek.def.html588
-rw-r--r--language/greek/greek-fontenc/test-inputenc.pdfbin394312 -> 395145 bytes
-rw-r--r--language/greek/greek-fontenc/test-inputenc.tex4
-rw-r--r--language/greek/greek-fontenc/test-lgrenc.pdfbin322666 -> 323787 bytes
-rw-r--r--language/greek/greek-fontenc/test-lgrenc.tex6
-rw-r--r--language/greek/greek-fontenc/textalpha-doc.pdfbin493512 -> 494564 bytes
-rw-r--r--language/greek/greek-fontenc/textalpha-tu.pdfbin84661 -> 84741 bytes
-rw-r--r--language/greek/greek-fontenc/textalpha.sty.html588
-rw-r--r--language/greek/greek-fontenc/tuenc-greek.def.html588
30 files changed, 4111 insertions, 3604 deletions
diff --git a/language/greek/greek-fontenc/Makefile b/language/greek/greek-fontenc/Makefile
index 5472c479a9..92b5244eb7 100644
--- a/language/greek/greek-fontenc/Makefile
+++ b/language/greek/greek-fontenc/Makefile
@@ -21,7 +21,7 @@ SH = sh
# programs
PYLIT = pylit # text <-> source converter for literal programming
-RST2HTML = rst2html5 # text -> HTML converter, see docutils.sf.net
+RST2HTML = rst2html5 --stylesheet=minimal.css,responsive.css # text -> HTML converter, see docutils.sf.net
RUBBER = rubber -f --pdf -m hyperref # wrapper around `latex`, run until references resolved
LATEX = pdflatex -interaction batchmode
diff --git a/language/greek/greek-fontenc/README b/language/greek/greek-fontenc/README
index bd6c0ce0cd..7262bc58df 100644
--- a/language/greek/greek-fontenc/README
+++ b/language/greek/greek-fontenc/README
@@ -4,7 +4,7 @@ Greek font encoding definition files
************************************
:Author: Günter Milde
-:Copyright: © 2013 Günter Milde <milde@users.sf.net>
+:Copyright: © 2010 -- 2022 Günter Milde <milde@users.sf.net>
: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.
@@ -81,6 +81,8 @@ Changelog
(defined by hyperref_ for PDF strings).
.. Don't use ``\textcompwordmark`` as base in accent commands.
.. Documentation update.
+2.1 2022-06-14 Support the correct spelling ``\guillemet…`` for « and ».
+ See https://github.com/latex3/latex2e/issues/65
====== =========== ===========================================================
__ http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and-also-psili-problem-with-accent-and-lgr-encodin
diff --git a/language/greek/greek-fontenc/README.html b/language/greek/greek-fontenc/README.html
new file mode 100644
index 0000000000..4e88034a88
--- /dev/null
+++ b/language/greek/greek-fontenc/README.html
@@ -0,0 +1,1409 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta charset="utf-8"/>
+<meta name="generator" content="Docutils 0.17b2.dev: http://docutils.sourceforge.net/" />
+<title>greek-fontenc</title>
+<meta name="author" content="Günter Milde" />
+<meta name="dcterms.rights" content="© 2010 – 2020 Günter Milde &lt;milde&#64;users.sf.net&gt;" />
+<meta content="width=device-width, initial-scale=1" name="viewport" />
+<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
+<style type="text/css">
+
+/* Minimal style sheet for the HTML output of Docutils. */
+/* */
+/* :Author: Günter Milde, based on html4css1.css by David Goodger */
+/* :Id: $Id$ */
+/* :Copyright: © 2015 Günter Milde. */
+/* :License: Released under the terms of the `2-Clause BSD license`_, */
+/* in short: */
+/* */
+/* Copying and distribution of this file, with or without modification, */
+/* are permitted in any medium without royalty provided the copyright */
+/* notice and this notice are preserved. */
+/* */
+/* This file is offered as-is, without any warranty. */
+/* */
+/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
+
+/* This CSS2.1_ stylesheet defines rules for Docutils elements without */
+/* HTML equivalent. It is required to make the document semantic visible. */
+/* */
+/* .. _CSS2.1: http://www.w3.org/TR/CSS2 */
+/* .. _validates: http://jigsaw.w3.org/css-validator/validator$link */
+
+/* alignment of text and inline objects inside block objects*/
+.align-left { text-align: left; }
+.align-right { text-align: right; }
+.align-center { clear: both; text-align: center; }
+.align-top { vertical-align: top; }
+.align-middle { vertical-align: middle; }
+.align-bottom { vertical-align: bottom; }
+
+/* titles */
+h1.title,
+p.subtitle {
+ text-align: center;
+}
+p.topic-title,
+p.sidebar-title,
+p.rubric,
+p.admonition-title,
+p.system-message-title {
+ font-weight: bold;
+}
+h1 + p.subtitle {
+ font-size: 1.6em;
+}
+h2 + p.section-subtitle,
+p.sidebar-title {
+ font-size: 1.2em;
+}
+p.subtitle,
+p.section-subtitle,
+p.sidebar-subtitle {
+ font-weight: bold;
+ margin-top: -0.5em;
+}
+p.rubric {
+ font-size: larger;
+ color: maroon;
+}
+a.toc-backref {
+ color: black;
+ text-decoration: none; }
+
+/* Warnings, Errors */
+div.system-messages h2,
+span.problematic,
+p.system-message-title {
+ color: red;
+}
+
+/* inline literals */
+span.docutils.literal {
+ font-family: monospace;
+ white-space: pre-wrap;
+}
+/* do not wraph at hyphens and similar: */
+.literal > span.pre { white-space: nowrap; }
+
+/* Lists */
+
+/* compact and simple lists: no margin between items */
+.simple li, .compact li,
+.simple ul, .compact ul,
+.simple ol, .compact ol,
+.simple > li p, .compact > li p,
+dl.simple > dd, dl.compact > dd {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+/* Table of Contents */
+div.topic.contents { margin: 0.5em 0; }
+ul.auto-toc {
+ list-style-type: none;
+ padding-left: 1.5em;
+}
+
+/* Enumerated Lists */
+ol.arabic { list-style: decimal }
+ol.loweralpha { list-style: lower-alpha }
+ol.upperalpha { list-style: upper-alpha }
+ol.lowerroman { list-style: lower-roman }
+ol.upperroman { list-style: upper-roman }
+
+dt span.classifier { font-style: italic }
+dt span.classifier:before {
+ font-style: normal;
+ margin: 0.5em;
+ content: ":";
+}
+
+/* Field Lists and drivatives */
+/* bold field name, content starts on the same line */
+dl.field-list > dt,
+dl.option-list > dt,
+dl.docinfo > dt,
+dl.footnote > dt,
+dl.citation > dt {
+ font-weight: bold;
+ clear: left;
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 0.5em;
+}
+/* Offset for field content (corresponds to the --field-name-limit option) */
+dl.field-list > dd,
+dl.option-list > dd,
+dl.docinfo > dd {
+ margin-left: 9em; /* ca. 14 chars in the test examples */
+}
+/* start field-body on a new line after long field names */
+dl.field-list > dd > *:first-child,
+dl.option-list > dd > *:first-child
+{
+ display: inline-block;
+ width: 100%;
+ margin: 0;
+}
+/* field names followed by a colon */
+dl.field-list > dt:after,
+dl.docinfo > dt:after {
+ content: ":";
+}
+
+/* Bibliographic Fields (docinfo) */
+pre.address {
+ font: inherit;
+ margin: 0.5em 0;
+}
+dd.authors > p { margin: 0; }
+
+/* Option Lists */
+dl.option-list { margin-left: 1.5em; }
+dl.option-list > dt { font-weight: normal; }
+span.option { white-space: nowrap; }
+
+/* Footnotes and Citations */
+dl.footnote.superscript > dd {margin-left: 1em; }
+dl.footnote.brackets > dd {margin-left: 2em; }
+dl.footnote > dt { font-weight: normal; }
+a.footnote-reference.brackets:before,
+dt.label > span.brackets:before { content: "["; }
+a.footnote-reference.brackets:after,
+dt.label > span.brackets:after { content: "]"; }
+a.footnote-reference.superscript,
+dl.footnote.superscript > dt.label {
+ vertical-align: super;
+ font-size: small;
+}
+dt.label > span.fn-backref { margin-left: 0.2em; }
+dt.label > span.fn-backref > a { font-style: italic; }
+
+/* Figures, Images, and Tables */
+.figure.align-left,
+figure.align-left,
+img.align-left,
+object.align-left,
+table.align-left {
+ margin-right: auto;
+}
+.figure.align-center,
+figure.align-center,
+img.align-center,
+object.align-center,
+table.align-center {
+ margin-left: auto;
+ margin-right: auto;
+}
+.figure.align-right,
+figure.align-right,
+img.align-right,
+object.align-right,
+table.align-right {
+ margin-left: auto;
+}
+img.align-center, img.align-right,
+object.align-center, object.align-right {
+ display: block;
+}
+/* reset inner alignment in figures and tables */
+.figure.align-left, .figure.align-right,
+figure.align-left, figure.align-right,
+table.align-left, table.align-center, table.align-right {
+ text-align: inherit;
+}
+
+/* Sidebar */
+aside.sidebar {
+ width: 30%;
+ max-width: 26em;
+ float: right;
+ clear: right;
+}
+
+/* Text Blocks */
+blockquote,
+div.topic,
+div.admonition,
+div.system-message {
+ margin-left: 2em;
+ margin-right: 2em;
+}
+div.line-block { display: block; }
+div.line-block div.line-block {
+ margin: 0 0 0 2em;
+}
+pre { margin-left: 2em; }
+pre.code .ln { color: gray; } /* line numbers */
+
+
+/* Tables */
+table { border-collapse: collapse; }
+td, th {
+ border-style: solid;
+ border-color: silver;
+ padding: 0 1ex;
+ border-width: thin;
+}
+td > p:first-child, th > p:first-child { margin-top: 0; }
+td > p, th > p { margin-bottom: 0; }
+
+table > caption {
+ text-align: left;
+ margin-top: 0.2em;
+ margin-bottom: 0.2em;
+}
+table.captionbelow {
+ caption-side: bottom;
+}
+
+table.borderless td, table.borderless th {
+ border: 0;
+ padding: 0;
+ padding-right: 0.5em /* separate table cells */
+}
+
+/* Document Header and Footer */
+header { border-bottom: 1px solid black; }
+footer { border-top: 1px solid black; }
+
+/* new HTML5 block elements: set display for older browsers */
+header, section, footer, aside, nav, main, article, figure {
+ display: block;
+}
+
+</style>
+<style type="text/css">
+
+/* CSS3_ style sheet for the output of Docutils HTML writers. */
+/* Generic responsive design for all screen sizes. */
+/* */
+/* :Author: Günter Milde */
+/* */
+/* :Id: $Id$ */
+/* :Copyright: © 2021 Günter Milde. */
+/* :License: Released under the terms of the `2-Clause BSD license`_, */
+/* in short: */
+/* */
+/* Copying and distribution of this file, with or without modification, */
+/* are permitted in any medium without royalty provided the copyright */
+/* notice and this notice are preserved. */
+/* */
+/* This file is offered as-is, without any warranty. */
+/* */
+/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
+/* .. _CSS3: http://www.w3.org/TR/CSS3 */
+
+
+/* General Settings */
+/* ================ */
+
+/* Suited for all screen sizes or special to small ones (mobile first). */
+/* For adaption to larger screens see media queries below */
+@viewport {
+ zoom: 1.0;
+ width: extend-to-zoom;
+}
+
+body {
+ background-color: #fafaf6;
+ font-size: larger;
+ line-height: 1.4;
+ margin: auto;
+}
+main {
+ counter-reset: figure table;
+}
+main, header, footer {
+ padding: 0.5em 5%;
+ background-color: white;
+ max-width: 66em;
+}
+
+main > *, section > * {
+ max-width: 55em; /* ca. 90…100 characters */
+}
+main > section, section > section {
+ max-width: 100%;
+}
+
+/* Vertical Space (Parskip) */
+p, ol, ul, dl, li,
+div.line-block,
+div.topic,
+table {
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
+h1, h2, h3, h4, h5, h6,
+dl > dd {
+ margin-bottom: 0.5em;
+}
+/* exceptions */
+p:first-child {
+ margin-top: 0;
+}
+p:last-child {
+ margin-bottom: 0;
+}
+blockquote > table,
+div.topic > table {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+/* Indented Blocks */
+blockquote,
+figure,
+div.topic {
+ /* background-color: Honeydew; */
+ margin: 0.5em 2%;
+ padding-left: 1em;
+}
+div.line-block div.line-block,
+dl.option-list,
+.literal-block,
+
+/* Object styling */
+/* ============== */
+
+footer > *, header > *,
+aside.sidebar > *, .marginal > * {
+ font-size: smaller;
+}
+
+/* Frontmatter */
+blockquote.dedication,
+div.topic.dedication {
+ padding: 0;
+ margin-left: 0;
+ font-style: italic;
+ font-size: larger;
+}
+div.abstract p.topic-title {
+ margin-left: calc(-2% - 1em);
+}
+div.dedication p.topic-title {
+ display: none;
+}
+
+blockquote p.attribution,
+div.topic p.attribution {
+ text-align: right;
+}
+
+/* Table of Contents */
+div.topic.contents {
+ padding: 0;
+}
+ul.auto-toc > li > p {
+ padding-left: 1em;
+ text-indent: -1em;
+}
+div.topic.contents ul {
+ padding-left: 1em;
+}
+div.topic.contents ul > li::marker {
+ color: grey;
+}
+
+/* Transitions */
+hr {
+ margin: 1em 10%;
+}
+
+/* Lists */
+
+/* Smaller indent on small screens */
+ul, ol {
+ padding-left: 1.1em;
+}
+dd {
+ margin-left: 1.5em;
+}
+dl.field-list > dd {
+ margin-left: 4em;
+}
+dl.field-list.narrow > dd,
+dl.docinfo > dd,
+dl.option-list > dd {
+ margin-left: 2.4em;
+}
+/* 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 > dt {
+ clear: left;
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 0.5em;
+ font-weight: bold;
+}
+dl.description > dd:after {
+ display: block;
+ content: "";
+ clear: both;
+}
+/* start lists nested in description/field lists on new line */
+dd > dl:first-child,
+dd > ul:first-child,
+dd > ol:first-child {
+ clear: left;
+}
+/* Footnotes and Citations */
+/* TODO: use <aside> */
+dl.footnote {
+ font-size: smaller;
+ padding-left: 0.5em;
+/* text-indent: -0.5em; */
+ border-left: solid;
+ border-left-width: thin;
+}
+
+/* Images, Figures, and Tables */
+img {
+ display: block;
+}
+p > img, p > a > img,
+figure > img, figure > a > img {
+ display: inline;
+}
+
+table tr {
+ text-align: left;
+}
+
+/* th { vertical-align: bottom; } */
+/* "booktabs" style (no vertical lines) */
+table.booktabs {
+ border-top: 2px solid;
+ border-bottom: 2px solid;
+}
+table.booktabs * {
+ border: 0;
+}
+table.booktabs th {
+ border-bottom: thin solid;
+}
+
+figcaption,
+table > caption {
+ /* font-size: smaller; */
+ font-style: italic;
+}
+figcaption > .legend {
+ font-size: smaller;
+ font-style: initial;
+}
+
+figure.numbered > figcaption > p:before {
+ counter-increment: figure;
+ content: "Figure " counter(figure) ": ";
+ font-weight: bold;
+ font-style: initial;
+}
+table.numbered > caption:before {
+ counter-increment: table;
+ content: "Table " counter(table) ": ";
+ font-weight: bold;
+ font-style: initial;
+}
+
+/* Admonitions and System Messages */
+div.admonition,
+div.system-message {
+ box-sizing: border-box;
+ border-style: solid;
+ border-color: silver;
+ border-width: thin;
+ margin: 1em 2%;
+ padding: 0.5em;
+}
+div.caution p.admonition-title,
+div.attention p.admonition-title,
+div.danger p.admonition-title,
+div.warning p.admonition-title,
+div.error {
+ color: maroon;
+}
+div.system-message > p > span.literal {
+ overflow-wrap: break-word;
+}
+
+/* Literal and Code */
+pre {
+ /* font-family: Consolas, "Liberation Mono", Menlo, monospace; */
+ /* font-size: 0.9em; */
+ /* overflow: auto; */
+}
+
+
+pre.code .ln { color: gray; } /* line numbers */
+/* basic highlighting: for a complete scheme, see */
+/* http://docutils.sourceforge.net/sandbox/stylesheets/ */
+pre.code .comment, code .comment { color: #5C6576 }
+pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
+pre.code .literal.string, code .literal.string { color: #0C5404 }
+pre.code .name.builtin, code .name.builtin { color: #352B84 }
+pre.code .deleted, code .deleted { background-color: #DEB0A1}
+pre.code .inserted, code .inserted { background-color: #A3D289}
+
+
+
+.sans {
+ font-family: "Gill Sans", "Gill Sans MT", Calibri, "Lucida Sans", "Noto Sans", sans-serif;
+ letter-spacing: .02em;
+}
+
+/* Hyperlink References */
+/* underline that clears descenders */
+a {
+ text-decoration: none;
+ text-decoration-skip-ink: auto; /* nonstandard selector */
+}
+/* Wrap links at any place, if this is the only way to prevent overflow */
+a:link{
+ overflow-wrap: break-word;
+}
+.contents a, a.toc-backref, a.citation-reference {
+ overflow-wrap: inherit;
+}
+
+/* undecorated links */
+a[href^="#system-message"],
+.contents a, a.toc-backref, a.image-reference,
+a.footnote-reference, a.fn-backref, .fn-backref a,
+a.citation-reference {
+ color: inherit;
+}
+a:link:hover {
+ text-decoration: underline;
+}
+
+
+/* Block Alignment */
+/* Let content flow to the side of aligned images and figures */
+
+/* no floats around this elements */
+dl.footnote, dl.citation, /* errors with internal floats */
+footer, header, hr,
+h1, h2, h3, .contents > p.topic-title {
+ clear: both;
+}
+
+img.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,
+figure.align-right,
+table.align-right {
+ margin-left: 0.5em;
+ clear: right;
+ float: right;
+}
+
+/* Margin Elements */
+/* see below for screen size dependent rules */
+aside.sidebar {
+/* overwrite minimal.css */
+ width: auto;
+ max-width: 100%;
+/* float: none; */
+}
+aside.sidebar,
+.marginal,
+.admonition.marginal,
+.topic.marginal {
+ background-color: #efefea;
+ box-sizing: border-box;
+ margin: 0.5em 0;
+ padding: 0.5em;
+ clear: right;
+}
+
+/* Adaptive page layout */
+
+/* larger margins and floating elements moderately small screens */
+/* main text more than around 40 characters/line */
+@media (min-width: 35em) {
+ /* wider margins */
+ main, header, footer {
+ padding: 0.5em calc(20% - 5rem);
+ line-height: 1.6
+ }
+ /* floating margin elements */
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ max-width: min(45%, 18em);
+ margin-left: 1em;
+ clear: right;
+ float: right;
+ }
+ /* more indent for field-list values */
+ dl.field-list > dd,
+ dl.docinfo > dd {
+ margin-left: 6.4em;
+ }
+ dl.option-list > dd {
+ margin-left: 5em;
+ }
+}
+
+@media (min-width: 65em) {
+ /* 2 column layout with wide margin */
+ main, header, footer {
+ padding: 0.5em 15%;
+ }
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ background-color: inherit;
+ /* background-color: lavender; */
+ margin-right: -18%;
+ padding: 0;
+ }
+ .admonition.marginal { padding: 0.5em; }
+}
+
+/* Move ToC to the left */
+@media (min-width: 100em) {
+ main, header, footer {
+ margin-left: min(15%, 18em);
+ }
+ main > div.topic.contents {
+ position: fixed;
+ top: 0;
+ left: 0;
+ box-sizing: border-box;
+ width: min(25%, 28em);
+ height: 100vh;
+ margin: 0;
+ background-color: #fafaf6;
+ padding: 1em 2% 0 2%;
+ overflow: auto;
+ }
+ main > div.topic.contents > * {
+ padding-left: 0;
+ }
+
+/* marginal elements outside of main text */
+@media (min-width: 126em) {
+ aside.sidebar,
+ figure.marginal,
+ .topic.marginal,
+ p.marginal {
+ width: min(45%, 18em);
+ }
+}
+
+</style>
+</head>
+<body>
+<main id="greek-fontenc">
+<h1 class="title">greek-fontenc</h1>
+<p class="subtitle" id="greek-font-encoding-definition-files">Greek font encoding definition files</p>
+<dl class="docinfo simple">
+<dt class="author">Author</dt>
+<dd class="author"><p>Günter Milde</p></dd>
+<dt class="copyright">Copyright</dt>
+<dd class="copyright">© 2010 – 2020 Günter Milde &lt;<a class="reference external" href="mailto:milde&#64;users.sf.net">milde&#64;users.sf.net</a>&gt;</dd>
+<dt class="licence">Licence</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>
+</dl>
+<div class="abstract topic">
+<p class="topic-title">Abstract</p>
+<p><cite>LaTeX internal character representation</cite> (LICR) macros are a
+verbose but failsafe 7-bit ASCII encoding that works unaltered
+under both, 8-bit TeX and XeTeX/LuaTeX. Use cases are macro
+definitions and generated text</p>
+<p>This bundle provides LICR macros for characters from the
+Greek script and encoding definition files for
+<a class="reference internal" href="#greek-text-font-encodings">Greek text font encodings</a> for use with <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a> (8-bit TeX)
+or <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> (XeTeX/LuaTeX).</p>
+<p>Included are also the LaTeX packages <a class="reference internal" href="#textalpha">textalpha</a> and <a class="reference internal" href="#alphabeta">alphabeta</a>.</p>
+</div>
+<div class="contents topic" id="contents">
+<p class="topic-title">Contents</p>
+<ul class="simple">
+<li><p><a class="reference internal" href="#changelog" id="id19">Changelog</a></p></li>
+<li><p><a class="reference internal" href="#tex-files" id="id20">TeX files</a></p></li>
+<li><p><a class="reference internal" href="#documentation-and-test-documents" id="id21">Documentation and test documents</a></p></li>
+<li><p><a class="reference internal" href="#experimental-files" id="id22">Experimental files</a></p></li>
+<li><p><a class="reference internal" href="#installation" id="id23">Installation</a></p></li>
+<li><p><a class="reference internal" href="#conflicts" id="id24">Conflicts</a></p></li>
+<li><p><a class="reference internal" href="#usage" id="id25">Usage</a></p></li>
+<li><p><a class="reference internal" href="#greek-text-font-encodings" id="id26">Greek text font encodings</a></p>
+<ul>
+<li><p><a class="reference internal" href="#t7" id="id27">T7</a></p></li>
+<li><p><a class="reference internal" href="#lgr" id="id28">LGR</a></p></li>
+<li><p><a class="reference internal" href="#lgi" id="id29">LGI</a></p></li>
+<li><p><a class="reference internal" href="#tu" id="id30">TU</a></p></li>
+<li><p><a class="reference internal" href="#pu" id="id31">PU</a></p></li>
+</ul>
+</li>
+<li><p><a class="reference internal" href="#selecting-greek-licr-macro-names" id="id32">Selecting Greek LICR macro names</a></p>
+<ul>
+<li><p><a class="reference internal" href="#letters-and-symbols" id="id33">letters and symbols</a></p></li>
+<li><p><a class="reference internal" href="#accent-macros" id="id34">accent macros</a></p></li>
+<li><p><a class="reference internal" href="#symbol-variants" id="id35">symbol variants</a></p></li>
+</ul>
+</li>
+<li><p><a class="reference internal" href="#references" id="id36">References</a></p></li>
+</ul>
+</div>
+<section id="changelog">
+<h2><a class="toc-backref" href="#id19">Changelog</a></h2>
+<table class="borderless">
+<colgroup>
+<col style="width: 8%" />
+<col style="width: 14%" />
+<col style="width: 78%" />
+</colgroup>
+<tbody>
+<tr><td><p>0.9</p></td>
+<td><p>2013-07-03</p></td>
+<td><p><a class="reference external" href="greek-fontenc.def">greek-fontenc.def</a> “outsourced” from lgrxenc.def</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>experimental files xunicode-greek.sty and
+greek-euenc.def: LICRs for XeTeX/LuaTeX.</p></td>
+</tr>
+<tr><td><p>0.9.1</p></td>
+<td><p>2013-07-18</p></td>
+<td><p>Bugfix: wrong breathings psilioxia -&gt; dasiaoxia.</p></td>
+</tr>
+<tr><td><p>0.9.2</p></td>
+<td><p>2013-07-19</p></td>
+<td><p>Bugfix: Disable composite defs starting with char macro,</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>fix “hiatus” handling.</p></td>
+</tr>
+<tr><td><p>0.9.3</p></td>
+<td><p>2013-07-24</p></td>
+<td><p>Fix “input” path in xunicode-greek and greek-euenc.def.</p></td>
+</tr>
+<tr><td><p>0.9.4</p></td>
+<td><p>2013-09-10</p></td>
+<td><p>greek-fontenc.sty: Greek text font encoding setup package,</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>remove xunicode-greek.sty.</p></td>
+</tr>
+<tr><td><p>0.10</p></td>
+<td><p>2013-09-13</p></td>
+<td><p><a class="reference external" href="textalpha.sty">textalpha.sty</a> and <a class="reference external" href="alphabeta.sty">alphabeta.sty</a> moved here from lgrx and
+updated to work with XeTeX/LuaTeX.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>greek-fontenc.sty removed (obsoleted by textalpha.sty).</p></td>
+</tr>
+<tr><td><p>0.10.1</p></td>
+<td><p>2013-10-01</p></td>
+<td><p>Bugfix in greek-euenc.def and alphabeta-euenc.def.</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><!-- -->
+</td>
+<td></td>
+<td><p><span class="docutils literal">\greekscript</span> TextCommand.</p></td>
+</tr>
+<tr><td><p>0.11.1</p></td>
+<td><p>2013-12-01</p></td>
+<td><p>Fix identification of <span class="docutils literal"><span class="pre">greek-euenc.def</span></span>.</p></td>
+</tr>
+<tr><td><p>0.11.2</p></td>
+<td><p>2014-09-04</p></td>
+<td><p>Documentation update, remove duplicate code.</p></td>
+</tr>
+<tr><td><p>0.12</p></td>
+<td><p>2014-12-25</p></td>
+<td><p>Fix auxiliary macro names in <cite>textalpha</cite>.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Conservative naming: move definition of <span class="docutils literal">\&lt;</span> and <span class="docutils literal">\&gt;</span>
+from <span class="docutils literal"><span class="pre">greek-fontenc.def</span></span> to <span class="docutils literal">textalpha.sty</span>
+(Bugreport David Kastrup).
+Documentation update.</p></td>
+</tr>
+<tr><td><p>0.13</p></td>
+<td><p>2015-09-04</p></td>
+<td><p>Support for <a class="reference internal" href="#symbol-variants">symbol variants</a>,</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p><span class="docutils literal"><span class="pre">keep-semicolon</span></span> option in <a class="reference internal" href="#textalpha">textalpha</a>,</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p><span class="docutils literal">\lccode</span>/<span class="docutils literal">\uccode</span> corrections for Unicode
+(from Apostolos Syropoulos’ <a class="reference external" href="http://www.ctan.org/pkg/xgreek">xgreek</a>) in greek-euenc,</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Do not convert <span class="docutils literal">\ypogegrammeni</span> to <span class="docutils literal">\prosgegrammeni</span>
+with <span class="docutils literal">\MakeUppercase</span>.</p></td>
+</tr>
+<tr><td><p>0.13.1</p></td>
+<td><p>2015-12-07</p></td>
+<td><p>Fix <a class="reference external" href="http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and-also-psili-problem-with-accent-and-lgr-encodin">rho with dasia bug</a> in lgrenc.def (Linus Romer).</p></td>
+</tr>
+<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.3</p></td>
+<td><p>2019-07-10</p></td>
+<td><p>Drop error font declaration (cf. <a class="reference external" href="https://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex%2F4399&amp;search=">ltxbugs 4399</a>).</p></td>
+</tr>
+<tr><td><p>0.13.4</p></td>
+<td><p>2019-07-11</p></td>
+<td><p><span class="docutils literal">&#64;uclclist</span> entry for <span class="docutils literal">\prosgegrammeni</span>.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Documentation update.</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>.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Use <span class="docutils literal">\UTFencoding</span> instead of <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>Bugfix in <a class="reference internal" href="#textalpha">textalpha</a>: Let <span class="docutils literal">\greekscript</span> set
+<span class="docutils literal">\encodingdefault</span>.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p><span class="docutils literal">\textKoppa</span> as alias for <span class="docutils literal">\textkoppa</span> in LGR.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Update URLs.</p></td>
+</tr>
+<tr><td><p>2.0</p></td>
+<td><p>2020-10-30</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><a class="reference internal" href="#textalpha">textalpha</a> loads TU with Xe/LuaTeX by default and
+provides <span class="docutils literal">\textmicro</span> and LICR macros for archaic
+symbols from the Greek and Coptic Unicode block.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Use <span class="docutils literal">\UnicodeEncodingName</span> (by the LaTeX kernel) instead
+of <span class="docutils literal">\UTFencname</span> for the Unicode font encoding name.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Replace utf8 literals in <span class="docutils literal"><span class="pre">tuenc-greek.def</span></span>.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>New file puenc-greek.def: setup for PU encoding
+(defined by <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> for PDF strings).</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Don’t use <span class="docutils literal">\textcompwordmark</span> as base in accent commands.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Documentation update.</p></td>
+</tr>
+</tbody>
+</table>
+</section>
+<section id="tex-files">
+<h2><a class="toc-backref" href="#id20">TeX files</a></h2>
+<dl>
+<dt><a class="reference external" href="lgrenc.def">lgrenc.def</a></dt>
+<dd><p><a class="reference external" href="lgrenc.def.html">LGR Greek font encoding definitions</a>.</p>
+<p>This file is the successor of the basic LGR encoding definition file which
+comes with <a class="reference external" href="http://www.ctan.org/pkg/babel">babel</a>’s Greek support and the now obsolete <a class="reference external" href="http://www.ctan.org/pkg/lgrx">lgrx</a> bundle.</p>
+</dd>
+<dt id="tuenc-greek"><a class="reference external" href="tuenc-greek.def">tuenc-greek.def</a></dt>
+<dd><p><a class="reference external" href="tuenc-greek.def.html">Font setup for Greek with XeTeX/LuaTeX</a>.</p>
+</dd>
+<dt><a class="reference external" href="puenc-greek.def">puenc-greek.def</a></dt>
+<dd><p><a class="reference external" href="puenc-greek.def.html">Greek LICR definitions for PDF strings</a>.</p>
+</dd>
+<dt><a class="reference external" href="greek-fontenc.def">greek-fontenc.def</a></dt>
+<dd><p><a class="reference external" href="greek-fontenc.def.html">Common Greek font encoding definitions</a>.</p>
+</dd>
+<dt id="lgr-font-encoding-definition-file"><a class="reference external" href="greek-euenc.def">greek-euenc.def</a></dt>
+<dd><p>Backwards compatibility file loading <a class="reference internal" href="#tuenc-greek">tuenc-greek</a>.</p>
+</dd>
+<dt id="textalpha"><a class="reference external" href="textalpha.sty">textalpha.sty</a></dt>
+<dd><p><a class="reference external" href="textalpha.sty.html">Greek symbols in text</a></p>
+<p>Use <span class="docutils literal">\textalpha</span> … <span class="docutils literal">\textOmega</span> independent of font encoding and TeX
+engine.</p>
+</dd>
+<dt id="alphabeta"><a class="reference external" href="alphabeta.sty">alphabeta.sty</a></dt>
+<dd><p><a class="reference external" href="alphabeta.sty.html">Greek symbols in text and math</a>.</p>
+<p>Use <span class="docutils literal">\alpha</span> … <span class="docutils literal">\Omega</span> independent of text/math mode, font
+encoding, and TeX engine.</p>
+<dl class="simple">
+<dt><a class="reference external" href="alphabeta-lgr.def">alphabeta-lgr.def</a></dt>
+<dd><p><a class="reference external" href="alphabeta-lgr.def.html">Composite definitions for 8-bit TeX.</a>.</p>
+</dd>
+<dt><a class="reference external" href="alphabeta-tuenc.def">alphabeta-tuenc.def</a></dt>
+<dd><p><a class="reference external" href="alphabeta-tuenc.def.html">Composite definitions with XeTeX/LuaTeX.</a>.</p>
+</dd>
+</dl>
+</dd>
+</dl>
+<p>Literate source files were converted with <a class="reference external" href="http://pypi.python.org/pypi/pylit">PyLit</a> to <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> and
+with <a class="reference external" href="http://docutils.sourceforge.net/rst.html">Docutils</a> to the HTML documentation.</p>
+</section>
+<section id="documentation-and-test-documents">
+<h2><a class="toc-backref" href="#id21">Documentation and test documents</a></h2>
+<dl class="simple">
+<dt>Overview:</dt>
+<dd><p><a class="reference external" href="README">README</a>, <a class="reference external" href="greek-fontenc.html">greek-fontenc.html</a></p>
+</dd>
+<dt><a class="reference internal" href="#textalpha">textalpha</a> package documentation:</dt>
+<dd><p><a class="reference external" href="textalpha-doc.tex">textalpha-doc.tex</a>, <a class="reference external" href="textalpha-doc.pdf">textalpha-doc.pdf</a>, <a class="reference external" href="textalpha-tu.pdf">textalpha-tu.pdf</a></p>
+</dd>
+<dt><a class="reference internal" href="#alphabeta">alphabeta</a> package documentation:</dt>
+<dd><p><a class="reference external" href="alphabeta-doc.tex">alphabeta-doc.tex</a>, <a class="reference external" href="alphabeta-doc.pdf">alphabeta-doc.pdf</a>, <a class="reference external" href="alphabeta-tu.pdf">alphabeta-tu.pdf</a></p>
+</dd>
+<dt>LGR test and usage example</dt>
+<dd><p><a class="reference external" href="test-lgrenc.tex">test-lgrenc.tex</a>, <a class="reference external" href="test-lgrenc.pdf">test-lgrenc.pdf</a></p>
+</dd>
+<dt>TU test and usage example</dt>
+<dd><p><a class="reference external" href="test-tuenc-greek.tex">test-tuenc-greek.tex</a>, <a class="reference external" href="test-tuenc-greek.pdf">test-tuenc-greek.pdf</a></p>
+</dd>
+<dt><a class="reference external" href="http://www.ctan.org/pkg/hyperref">Hyperref</a> test and usage example</dt>
+<dd><p><a class="reference external" href="hyperref-with-greek.tex">hyperref-with-greek.tex</a>, <a class="reference external" href="hyperref-with-greek.pdf">hyperref-with-greek.pdf</a></p>
+</dd>
+<dt>Test with input encodings other than utf-8</dt>
+<dd><p><a class="reference external" href="test-inputenc.tex">test-inputenc.tex</a>, <a class="reference external" href="test-inputenc.pdf">test-inputenc.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>
+</dd>
+</dl>
+</section>
+<section id="experimental-files">
+<h2><a class="toc-backref" href="#id22">Experimental files</a></h2>
+<p>These files are still in development and will eventually be moved to/merged
+with other packages or removed in future versions:</p>
+<dl class="simple">
+<dt><a class="reference external" href="lgr2licr.lua">lgr2licr.lua</a></dt>
+<dd><p><a class="reference external" href="lgr2licr.lua.html">LGR Transcription to Greek LICR transformation</a></p>
+</dd>
+</dl>
+</section>
+<section id="installation">
+<h2><a class="toc-backref" href="#id23">Installation</a></h2>
+<p>If possible, get the bundle from your distribution using its installation
+manager.</p>
+<p>Otherwise, make sure LaTeX can find the package and definition files:</p>
+<ul class="simple">
+<li><p>Download and unpack <a class="reference external" href="http://mirrors.ctan.org/language/greek/greek-fontenc.zip">greek-fontenc.zip</a>.</p></li>
+<li><p>Copy/Move/Link files ending in <span class="docutils literal">.def</span> or <span class="docutils literal">.sty</span> to a suitable place in
+the “TeX Directory Structure” (<a class="reference external" href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds">TDS</a>) and run <span class="docutils literal">texhash</span>, or place them in
+the current working directory (e.g. for testing).</p></li>
+</ul>
+</section>
+<section id="conflicts">
+<h2><a class="toc-backref" href="#id24">Conflicts</a></h2>
+<p>The <a class="reference external" href="https://www.ctan.org/pkg/arabi">arabi</a> package provides the Babel <span class="docutils literal">arabic</span> option which loads
+<span class="docutils literal">arabicfnt.sty</span> for font setup. This package overwrites the LICR macros
+<span class="docutils literal">\omega</span> and <span class="docutils literal">\textomega</span> with font selecting commands. See the report
+for Debian <a class="reference external" href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858987">bug 858987</a> for details and the <a class="reference internal" href="#arabi-workaround">arabi workaround</a> below.</p>
+</section>
+<section id="usage">
+<h2><a class="toc-backref" href="#id25">Usage</a></h2>
+<p>There are several alternatives to set up the support for a Greek font
+encoding provided by this bundle, e.g.:</p>
+<dl>
+<dt>Babel:</dt>
+<dd><p>Use the <span class="docutils literal">greek</span> option with <a class="reference external" href="http://www.ctan.org/pkg/babel">Babel</a>:</p>
+<pre class="literal-block">\usepackage[greek]{babel}</pre>
+<p>This automatically loads <span class="docutils literal">lgrenc.def</span> with 8-bit TeX and
+<span class="docutils literal"><span class="pre">tuenc-greek.def</span></span> with XeTeX/LuaTeX and provides localized auto-strings,
+hyphenation and other localizations (see <a class="reference external" href="http://www.ctan.org/pkg/babel-greek">babel-greek</a>).</p>
+<p>Babel can be used together with <a class="reference internal" href="#textalpha">textalpha</a> or <a class="reference internal" href="#alphabeta">alphabeta</a>.</p>
+</dd>
+<dt><a class="reference internal" href="#textalpha">textalpha</a>:</dt>
+<dd><p>Ensure support for Greek characters in text mode:</p>
+<pre class="literal-block">\usepackage{textalpha}</pre>
+<p>eventually with the <a class="reference external" href="textalpha.sty.html#normalize-symbols">normalize-symbols</a> option to handle <a class="reference internal" href="#symbol-variants">symbol variants</a>
+and/or the <a class="reference external" href="textalpha.sty.html#keep-semicolon">keep-semicolon</a> option to use the <a class="reference external" href="textalpha.sty.html#semicolon-as-erotimatiko">semicolon as erotimatiko</a>
+also in LGR</p>
+<pre class="literal-block">\usepackage[normalize-symbols,keep-semicolon]{textalpha}</pre>
+<p>This sets up LICR macros for Greek text charactes under both, 8-bit TeX
+and Xe-/LuaTeX.
+For details see <a class="reference external" href="textalpha-doc.tex">textalpha-doc.tex</a> and <a class="reference external" href="textalpha-doc.pdf">textalpha-doc.pdf</a> (8-bit
+TeX) as well as <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>
+(XeTeX/LuaTeX).</p>
+</dd>
+<dt><a class="reference internal" href="#alphabeta">alphabeta</a>:</dt>
+<dd><p>To use the short macro names (<span class="docutils literal">\alpha</span> … <span class="docutils literal">\Omega</span>) known from math
+mode in both, text and math mode, write</p>
+<pre class="literal-block">\usepackage{alphabeta}</pre>
+<p>For details see <a class="reference external" href="alphabeta-doc.tex">alphabeta-doc.tex</a> and <a class="reference external" href="alphabeta-doc.pdf">alphabeta-doc.pdf</a>.</p>
+</dd>
+<dt>fontenc:</dt>
+<dd><p>Declare LGR via <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a>. For example, specify T1 (8-bit
+Latin) as default font encoding and LGR for Greek with</p>
+<pre class="literal-block">\usepackage[LGR,T1]{fontenc}</pre>
+<p>Note that without <a class="reference internal" href="#textalpha">textalpha</a> or <a class="reference internal" href="#alphabeta">alphabeta</a>, Greek text macros work
+only if the current font encoding supports Greek. See <a class="citation-reference" href="#fntguide" id="id6">[fntguide]</a> for
+details and <a class="reference external" href="test-lgrenc.tex">test-lgrenc.tex</a> for an example.</p>
+<p>It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding
+also with XeTeX/LuaTeX, if the <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a> package is loaded before
+Babel, <a class="reference internal" href="#textalpha">textalpha</a>, or <a class="reference internal" href="#alphabeta">alphabeta</a>, e.g.</p>
+<pre class="literal-block">\usepackage[LGR]{fontenc}
+\usepackage{fontspec}
+\setmainfont{Linux Libertine O} % Latin Modern does not support Greek
+\setsansfont{Linux Biolinum O}
+\usepackage{textalpha}</pre>
+<p>See <a class="reference external" href="test-tuenc-greek.tex">test-tuenc-greek.tex</a>, <a class="reference external" href="test-tuenc-greek.pdf">test-tuenc-greek.pdf</a> and
+<a class="reference external" href="test-lgrenc.tex">test-lgrenc.tex</a>, <a class="reference external" href="test-lgrenc.pdf">test-lgrenc.pdf</a>.</p>
+</dd>
+</dl>
+<p id="arabi-workaround">To work around the conflict with <a class="reference external" href="https://www.ctan.org/pkg/arabi">arabi</a>, it may suffice to ensure <span class="docutils literal">greek</span>
+is loaded after <span class="docutils literal">arabic</span>:</p>
+<pre class="literal-block">\usepackage[arabic,greek,english]{babel}</pre>
+<p>More secure is an explicit reverse-definition, e.g.</p>
+<pre class="literal-block">% save original \omega
+\let\mathomega\omega
+
+\usepackage[utf8]{inputenc}
+\usepackage[LAE,LGR,T1]{fontenc}
+\usepackage[arabic,greek,english]{babel}
+
+% fix arabtex:
+\DeclareTextSymbol{\textomega}{LGR}{119}
+\renewcommand{\omega}{\mathomega}</pre>
+</section>
+<section id="greek-text-font-encodings">
+<h2><a class="toc-backref" href="#id26">Greek text font encodings</a></h2>
+<p>Greek TeX font encodings are the envisaged <a class="reference internal" href="#t7">T7</a>, <a class="reference internal" href="#lgr">LGR</a>, and <a class="reference internal" href="#lgi">LGI</a>.
+Greek letters and symbols are also defined in the Unicode-based font
+encodings <a class="reference internal" href="#tu">TU</a>, and <a class="reference internal" href="#pu">PU</a>.</p>
+<section id="t7">
+<h3><a class="toc-backref" href="#id27">T7</a></h3>
+<p>The <a class="citation-reference" href="#encguide" id="id12">[encguide]</a> reserves the name T7 for a Greek <cite>standard font encoding</cite>.
+However, up to now, there is no agreement on an implementation because the
+restrictions for general text encodings are too severe for typesetting
+polytonic Greek.</p>
+</section>
+<section id="lgr">
+<h3><a class="toc-backref" href="#id28">LGR</a></h3>
+<p>The LGR font encoding is the de-facto standard for typesetting Greek with
+(8-bit) LaTeX. <cite>greek-fontenc</cite> provides a comprehensive <a class="reference internal" href="#lgr-font-encoding-definition-file">LGR font
+encoding definition file</a>.</p>
+<p>Fonts in this encoding include the <a class="reference external" href="http://www.ctan.org/pkg/cbgreek-complete">CB fonts</a> (matching CM), <a class="reference external" href="http://www.ctan.org/pkg/grtimes">grtimes</a>
+(Greek Times), <a class="reference external" href="http://www.ctan.org/pkg/kerkis">Kerkis</a> (matching URW Bookman), <a class="reference external" href="https://www.ctan.org/pkg/dejavu">DejaVu</a>, <a class="reference external" href="https://www.ctan.org/pkg/libertinegc">Libertine GC</a>, and
+the <a class="reference external" href="http://www.ctan.org/pkg/gfs">GFS fonts</a>. Setup of these fonts as Greek variant to
+matching Latin fonts is facilitated by the <a class="reference external" href="http://www.ctan.org/pkg/substitutefont">substitutefont</a> package.</p>
+<p>The LGR font encoding allows to access Greek characters via an ASCII
+transliteration. This enables simple input with a Latin keyboard.
+Characters with diacritics can be selected by ligature definitions in the
+font (see <a class="citation-reference" href="#greek-usage" id="id13">[greek-usage]</a>, <a class="citation-reference" href="#teubner-doc" id="id14">[teubner-doc]</a>, <a class="citation-reference" href="#cbfonts" id="id15">[cbfonts]</a>).</p>
+<p>A major drawback of the transliteration is, that you cannot access Latin
+letters if LGR is the active font encoding (e.g. in documents or parts of
+documents given the <cite>Babel</cite> language <span class="docutils literal">greek</span> or <span class="docutils literal">polutionikogreek</span>).
+This means that for every Latin-written word or acronym an explicit
+language-switch is required. This problem can only be solved via a
+font-encoding comprising Latin and Greek like the envisaged <a class="reference internal" href="#t7">T7</a> or
+Unicode (with XeTeX or LuaTeX).</p>
+</section>
+<section id="lgi">
+<h3><a class="toc-backref" href="#id29">LGI</a></h3>
+<p>The ‘Ibycus’ fonts from the package <a class="reference external" href="http://www.ctan.org/pkg/ibygrk">ibygrk</a> implement an alternative
+transliteration scheme (also explained in <a class="citation-reference" href="#babel-patch" id="id16">[babel-patch]</a>).
+It is currently not supported by <cite>greek-fontenc</cite>.</p>
+<p>The font encoding file <span class="docutils literal">lgienc.def</span> from <a class="reference external" href="http://www.ctan.org/pkg/ibycus-babel">ibycus-babel</a> provides a basic
+setup (without any LICR macros or composite definitions).</p>
+</section>
+<section id="tu">
+<h3><a class="toc-backref" href="#id30">TU</a></h3>
+<p>Standard Unicode font encoding for XeTeX and LuaTeX loaded by <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a>
+(since v2.5a) rsp. the LaTeX kernel since 2017/01/01 [LaTeX2e News Issue 26]_.
+<cite>greek-fontenc</cite> adds support for the Greek script (see <a class="reference internal" href="#tuenc-greek">tuenc-greek</a>).</p>
+<p>Xe/LuaTeX works with any system-wide installed <a class="reference external" href="https://ctan.org/topic/font-otf">OpenType font</a>. Suitable
+fonts supporting Greek include <a class="reference external" href="https://www.ctan.org/pkg/cm-unicode">CM Unicode</a>, <a class="reference external" href="http://dejavu-fonts.org">Deja Vu</a>, <a class="reference external" href="https://ctan.org/pkg/ebgaramond">EB Garamond</a>,
+the <a class="reference external" href="http://www.ctan.org/pkg/gfs">GFS fonts</a>, <a class="reference external" href="http://www.ctan.org/pkg/libertineotf">Libertine OTF</a>, <a class="reference external" href="https://ctan.org/pkg/libertinus">Libertinus</a>, <a class="reference external" href="https://ctan.org/pkg/oldstandard">Old Standard</a>,
+<a class="reference external" href="https://www.ctan.org/pkg/tempora">Tempora</a>, and <a class="reference external" href="https://www.ctan.org/pkg/umtypewriter">UM Typewriter</a> (all available on CTAN) but also many commercial
+fonts. Unfortunately, the <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> default, <a class="reference external" href="http://www.gust.org.pl/projects/e-foundry/latin-modern">Latin Modern</a> misses most
+Greek characters.</p>
+<p>XeTeX uses the Unicode NFC normalization, so that combining characters
+are merged with the base character if a pre-composed character exists. This
+results in better looking output for characters with multiple diacritics.
+Unfortunately, LuaTeX does not apply the NFC normalization. This leads to
+suboptimal placing of some diactritics, especially the sub-iota (becoming
+unintelligable in combination with small letter eta).</p>
+<p>TODO: The <a class="reference external" href="https://ctan.org/pkg/lua-uni-algos">lua-uni-algos</a> package may be helpfull to implement a NTC
+normalization to Greek text in LuaTeX.</p>
+<p>The legacy Unicode font encodings EU1 and EU2 for XeTeX and LuaTeX
+respectively were superseded by TU in the 2017 <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> release.</p>
+</section>
+<section id="pu">
+<h3><a class="toc-backref" href="#id31">PU</a></h3>
+<p>The package <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> defines the PU font encoding for use in PDF strings
+(ToC, bookmarks) which supports monotonic Greek. <cite>greek-fontenc</cite> adds
+support for polytonic Greek and some archaic characters also supported in
+LGR and TU (see <a class="reference external" href="hyperref-with-greek.tex">hyperref-with-greek.tex</a>, <a class="reference external" href="hyperref-with-greek.pdf">hyperref-with-greek.pdf</a>).</p>
+</section>
+</section>
+<section id="selecting-greek-licr-macro-names">
+<h2><a class="toc-backref" href="#id32">Selecting Greek LICR macro names</a></h2>
+<div class="admonition note">
+<p class="admonition-title">Note</p>
+<p>The LICR macro names for Greek symbols are chosen pending
+endorsement by the TeX community and related packages.</p>
+<p>Names for archaic characters, accents/diacritics, and
+punctuation may change in future versions.</p>
+</div>
+<p>This bundle provides LaTeX internal character representations (LICR macros)
+for Greek letters and diacritics. Macro names were selected based on the
+following considerations:</p>
+<section id="letters-and-symbols">
+<h3><a class="toc-backref" href="#id33">letters and symbols</a></h3>
+<ul>
+<li><p>The <a class="reference internal" href="#fntguide">fntguide</a> (section 6.4 Naming conventions) recommends:</p>
+<blockquote>
+<p>Where possible, text symbols should be named as <span class="docutils literal">\text</span> followed
+by the <strong>Adobe glyph name</strong>: for example <span class="docutils literal">\textonequarter</span> or
+<span class="docutils literal">\textsterling</span>. Similarly, math symbols should be named as
+<span class="docutils literal">\math</span> followed by the glyph name, for example
+<span class="docutils literal">\mathonequarter</span> or <span class="docutils literal">\mathsterling</span>.</p>
+</blockquote>
+<dl class="simple">
+<dt>Problem:</dt>
+<dd><p>The <a class="reference external" href="http://raw.githubusercontent.com/adobe-type-tools/agl-aglfn/master/aglfn.txt">Adobe Glyph List For New Fonts</a> has names for many glyphs in the
+<cite>Greek and Coptic</cite> Unicode block, but not for <cite>Greek extended</cite>. The
+<a class="reference external" href="http://raw.githubusercontent.com/adobe-type-tools/agl-aglfn/master/glyphlist.txt">Adobe Glyph List</a> (for existing fonts) lists additional glyph names
+used in older fonts. However, these are not intended for active use.</p>
+</dd>
+</dl>
+</li>
+<li><p>If there exists a <strong>math-mode macro</strong> for a symbol, the corresponding text
+macro could be formed by prepending <span class="docutils literal">text</span>.</p>
+<dl class="simple">
+<dt>Example:</dt>
+<dd><p>The glyph name for the GREEK SMALL LETTER FINAL SIGMA is <span class="docutils literal">sigma1</span>,
+the corresponding math-macro is <span class="docutils literal">\varsigma</span>. The text symbol is
+made available as <span class="docutils literal">\textvarsigma</span>.</p>
+</dd>
+<dt>Problem:</dt>
+<dd><p>The math macros for the <a class="reference internal" href="#symbol-variants">symbol variants</a> <span class="docutils literal">\varepsilon</span> and
+<span class="docutils literal">\varphi</span> map to characters named “GREEK SMALL <em>LETTER</em> …”, while
+<span class="docutils literal">\vartheta</span>, <span class="docutils literal">\varkappa</span>, <span class="docutils literal">\varrho</span>, and <span class="docutils literal">\varpi</span> map to “GREEK
+… <em>SYMBOL</em>” Unicode characters. (See also section 5.5.3 of the
+<a class="reference external" href="http://www.ctan.org/pkg/unicode-math">unicode-math</a> documentation.)</p>
+</dd>
+</dl>
+</li>
+<li><p>The <a class="reference external" href="http://www.unicode.org/Public/UNIDATA/NamesList.txt">Unicode names list</a> provides standardized descriptive names for all
+Unicode characters that use only capital letters of the Latin alphabet.
+While not suited for direct use in LICR macros, they can be either</p>
+<ol class="lowerroman simple">
+<li><p>used as inspiration for new LICR macro names or</p></li>
+<li><p>converted to LICR macro names via a defined set of transformation rules.</p></li>
+</ol>
+<dl class="simple">
+<dt>Example:</dt>
+<dd><p><span class="docutils literal">\textfinalsigma</span> is a descriptive alias for
+GREEK SMALL LETTER FINAL SIGMA derived via the rules:</p>
+<ul class="simple">
+<li><p>drop “LETTER” if the name remains unique,</p></li>
+<li><p>drop “GREEK” if the name remains unique,</p></li>
+<li><p>use capitalized name for capital letters, lowercase for “SMALL” letters
+and drop “SMALL”,</p></li>
+<li><p>concatenate</p></li>
+</ul>
+</dd>
+</dl>
+</li>
+<li><p>Omit the “text” prefix for macros that do not have a math counterpart?</p>
+<dl class="simple">
+<dt>Pro:</dt>
+<dd><ul class="simple">
+<li><p>Simpler,</p></li>
+<li><p>ease of use (less typing, better readability of source text),</p></li>
+<li><p>many established text macro names without “text”,</p></li>
+<li><p><span class="docutils literal">text</span> prefix does <strong>not</strong> mark a macro as encoding-specific or
+“inserting a glyph”. There are e.g. font-changing macros (<span class="docutils literal">\textbf</span>,
+<span class="docutils literal">\textit</span>) and encoding-changing macros (<span class="docutils literal">\textgreek</span>,
+<span class="docutils literal">\textcyr</span>).</p></li>
+<li><p>There are examples of encoding-specific macros
+without the <span class="docutils literal">text</span>-prefix, especially for letters, see <a class="reference internal" href="#encguide">encguide</a>.</p></li>
+</ul>
+</dd>
+<dt>Contra:</dt>
+<dd><ul class="simple">
+<li><p>Less consistent,</p></li>
+<li><p>possible name clashes</p></li>
+<li><p><span class="docutils literal">text</span> prefix marks a macro as confined to text (as opposed to math)
+mode,</p></li>
+</ul>
+</dd>
+</dl>
+<p>The font encoding definition files use the <span class="docutils literal">text</span> prefix for symbols.
+Aliases (short forms, compatibility defs, etc.) are defined in
+additional packages (e.g. <a class="reference external" href="alphabeta.sty">alphabeta.sty</a>, <a class="reference external" href="http://www.ctan.org/pkg/babel-greek">babel-greek</a>, or <a class="reference external" href="http://www.ctan.org/pkg/teubner">teubner</a>)</p>
+</li>
+</ul>
+</section>
+<section id="accent-macros">
+<h3><a class="toc-backref" href="#id34">accent macros</a></h3>
+<ul>
+<li><p>standard accent macros (<span class="docutils literal">\DeclareTextAccent</span> definitions in
+<span class="docutils literal"><span class="pre">latex/base/...</span></span>) are one-symbol macros (<span class="docutils literal">\' \&quot; ... \u \v ...</span>) .</p></li>
+<li><p><span class="docutils literal">tipa.sty</span>, <a class="reference external" href="http://www.ctan.org/pkg/xunicode">xunicode</a>, and <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a> use the “text” prefix also for accents.</p>
+<p>However, the <a class="reference external" href="http://raw.githubusercontent.com/adobe-type-tools/agl-aglfn/master/aglfn.txt">Adobe Glyph List For New Fonts</a> maps, e.g., “tonos” and
+“dieresistonos” to the spacing characters GREEK TONOS and GREEK DIALYTIKA
+TONOS, hence <cite>texttonos</cite> and <cite>textdiaresistonos</cite> should be spacing
+characters.</p>
+</li>
+<li><p>textcomp (ts1enc.def) defines <span class="docutils literal"><span class="pre">\capital...</span></span> accents (i.e. without
+<span class="docutils literal">text</span> prefix).</p></li>
+</ul>
+<p>Currently, <cite>greek-fontenc</cite> uses for diacritics:</p>
+<ul class="simple">
+<li><p>Greek names like in Unicode, and <span class="docutils literal">ucsencs.def</span>, and</p></li>
+<li><p>the prefix <span class="docutils literal">\acc</span> to distinguish the macros as <cite>TextAaccent</cite> and reduce
+the risc of name clashes (cf. <span class="docutils literal">\&#64;tabacckludge</span>).</p></li>
+</ul>
+<p>For the end-user “symbol macros” (<span class="docutils literal">\~ \' \` \&quot; \&lt; \&gt; \&quot;' ...</span>) are
+provided. (The non-standard macros <span class="docutils literal">\&lt;</span> and <span class="docutils literal">\&gt;</span> only with
+<a class="reference internal" href="#textalpha">textalpha</a> or <a class="reference internal" href="#alphabeta">alphabeta</a>.)</p>
+</section>
+<section id="symbol-variants">
+<h3><a class="toc-backref" href="#id35">symbol variants</a></h3>
+<p>See also <a class="reference external" href="http://en.wikipedia.org/wiki/Greek_alphabet#Glyph_variants">http://en.wikipedia.org/wiki/Greek_alphabet#Glyph_variants</a></p>
+<p>Mathematical notation distinguishes variant shapes for beta (β|ϐ), theta
+(θ|ϑ), phi (φ|ϕ), pi (π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon
+(ε|ϵ). The variations have no syntactic meaning in Greek text and Greek
+text fonts use the shape variants indiscriminately.</p>
+<p>Unicode defines separate code points for the symbol variants for use in
+mathematical context. However, they are sometimes also used in place of the
+corresponding letter characters in Unicode-encoded text.</p>
+<p>The variant shapes are not given separate code-points in the <a class="reference internal" href="#lgr">LGR</a> font
+encoding.</p>
+<p>In mathematical mode, TeX supports the distinction between θ|ϑ, π|ϖ, φ|ϕ,
+ρ|ϱ, and ε|ϵ with <span class="docutils literal">\var&lt;lettername&gt;</span> macros. However, the mapping of
+letter/symbol in Unicode to “normal”/variant in TeX is inconsistent
+and variant macros for ϴ ϐ, and ϰ are not available without additional
+packages (e.g. <a class="reference external" href="http://www.ctan.org/pkg/amsfonts">amssymb</a> provides ϰ as <span class="docutils literal">\varkappa</span>).</p>
+<p><cite>greek-fontenc</cite> provides <span class="docutils literal">\text&lt;lettername&gt;symbol</span> LICR macros for these
+characters:</p>
+<ul class="simple">
+<li><p>With Unicode fonts, the macros select the GREEK
+&lt;lettername&gt; SYMBOL``.</p></li>
+<li><p>With LGR encoded fonts, they report an error by default and are mapped to
+the corresponding letter with the <span class="docutils literal"><span class="pre">normalize-symbols</span></span> option of
+<a class="reference internal" href="#textalpha">textalpha</a> and <a class="reference internal" href="#alphabeta">alphabeta</a> (loosing the distinction between the shape
+variants).</p></li>
+</ul>
+</section>
+</section>
+<section id="references">
+<h2><a class="toc-backref" href="#id36">References</a></h2>
+<p>An alternative, more complete set of short mnemonic character names is
+the <a class="reference external" href="http://www.w3.org/TR/xml-entity-names/">XML Entity Definitions for Characters</a> W3C Recommendation from
+01 April 2010.</p>
+<p>For glyph names of the LGR encoding see, e.g., <span class="docutils literal">CB.enc</span> by Apostolos
+Syropoulos and <span class="docutils literal"><span class="pre">xl-lgr.enc</span></span> from the <a class="reference external" href="http://www.ctan.org/pkg/libertine-legacy">libertine</a> (legacy) package.
+<span class="docutils literal">lgr.cmap</span> provides a mapping to Unicode characters.</p>
+<p>A full set of <span class="docutils literal">\text*</span> symbol macros is defined in <span class="docutils literal">ucsencs.def</span>
+from the <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a> package.</p>
+<dl class="citation">
+<dt class="label" id="fntguide"><span class="brackets"><a class="fn-backref" href="#id6">fntguide</a></span></dt>
+<dd><p>LaTeX3 Project Team, <cite>LaTeX2ε font selection</cite>, 2005.
+<a class="reference external" href="http://mirror.ctan.org/macros/latex/base/fntguide.pdf">http://mirror.ctan.org/macros/latex/base/fntguide.pdf</a></p>
+</dd>
+<dt class="label" id="encguide"><span class="brackets"><a class="fn-backref" href="#id12">encguide</a></span></dt>
+<dd><p>Frank Mittelbach, Robin Fairbairns, Werner Lemberg,
+LaTeX3 Project Team, <cite>LaTeX font encodings</cite>, 2006.
+<a class="reference external" href="http://mirror.ctan.org/macros/latex/base/encguide.pdf">http://mirror.ctan.org/macros/latex/base/encguide.pdf</a></p>
+</dd>
+<dt class="label" id="greek-usage"><span class="brackets"><a class="fn-backref" href="#id13">greek-usage</a></span></dt>
+<dd><p>Apostolos Syropoulos, <cite>Writing Greek with the greek option
+of the babel package</cite>, 1997.
+<a class="reference external" href="http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf">http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf</a></p>
+</dd>
+<dt class="label" id="cbfonts"><span class="brackets"><a class="fn-backref" href="#id15">cbfonts</a></span></dt>
+<dd><p>Claudio Beccari, <cite>The CB Greek fonts</cite>, Εὔτυπον, τεῦχος № 21, 2008.
+<a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf">http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf</a></p>
+</dd>
+<dt class="label" id="teubner-doc"><span class="brackets"><a class="fn-backref" href="#id14">teubner-doc</a></span></dt>
+<dd><p>Claudio Beccari, <span class="docutils literal">teubner.sty</span>
+<cite>An extension to the greek option of the babel package</cite>, 2011.
+<a class="reference external" href="http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf">http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf</a></p>
+</dd>
+</dl>
+<!-- [LaTeX2e News Issue 26]
+https://www.latex-project.org/news/latex2e-news/ltnews26.pdf -->
+<dl class="citation">
+<dt class="label" id="babel-patch"><span class="brackets"><a class="fn-backref" href="#id16">babel-patch</a></span></dt>
+<dd><p>Werner Lemberg, <cite>Unicode support for the Greek LGR
+encoding</cite> Εὔτυπον, τεῦχος № 20, 2008.
+<a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf</a></p>
+</dd>
+</dl>
+<!-- fix scaling in mobile browsers -->
+</section>
+</main>
+</body>
+</html>
diff --git a/language/greek/greek-fontenc/alphabeta-doc.pdf b/language/greek/greek-fontenc/alphabeta-doc.pdf
index 987bc06e23..b9f9dade15 100644
--- a/language/greek/greek-fontenc/alphabeta-doc.pdf
+++ b/language/greek/greek-fontenc/alphabeta-doc.pdf
Binary files differ
diff --git a/language/greek/greek-fontenc/alphabeta-lgr.def.html b/language/greek/greek-fontenc/alphabeta-lgr.def.html
index 5aff2d5211..a903d1e75b 100644
--- a/language/greek/greek-fontenc/alphabeta-lgr.def.html
+++ b/language/greek/greek-fontenc/alphabeta-lgr.def.html
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="utf-8"/>
-<meta name="generator" content="Docutils 0.17b.dev: http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.17b2.dev: http://docutils.sourceforge.net/" />
<title>alphabeta-lgr.def</title>
<meta name="dcterms.rights" content="© 2014 Günter Milde" />
<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
@@ -39,7 +39,8 @@
.align-bottom { vertical-align: bottom; }
/* titles */
-h1.title, p.subtitle {
+h1.title,
+p.subtitle {
text-align: center;
}
p.topic-title,
@@ -49,12 +50,12 @@ p.admonition-title,
p.system-message-title {
font-weight: bold;
}
-h1 + p.subtitle,
-h2 + p.section-subtitle {
+h1 + p.subtitle {
font-size: 1.6em;
}
-h3 + p.section-subtitle {
- font-size: 1.28em;
+h2 + p.section-subtitle,
+p.sidebar-title {
+ font-size: 1.2em;
}
p.subtitle,
p.section-subtitle,
@@ -62,9 +63,6 @@ p.sidebar-subtitle {
font-weight: bold;
margin-top: -0.5em;
}
-p.sidebar-title {
- font-size: larger;
-}
p.rubric {
font-size: larger;
color: maroon;
@@ -156,7 +154,10 @@ dl.docinfo > dt:after {
}
/* Bibliographic Fields (docinfo) */
-pre.address { font: inherit; }
+pre.address {
+ font: inherit;
+ margin: 0.5em 0;
+}
dd.authors > p { margin: 0; }
/* Option Lists */
@@ -167,7 +168,7 @@ span.option { white-space: nowrap; }
/* Footnotes and Citations */
dl.footnote.superscript > dd {margin-left: 1em; }
dl.footnote.brackets > dd {margin-left: 2em; }
-dl > dt.label { font-weight: normal; }
+dl.footnote > dt { font-weight: normal; }
a.footnote-reference.brackets:before,
dt.label > span.brackets:before { content: "["; }
a.footnote-reference.brackets:after,
@@ -175,19 +176,11 @@ dt.label > span.brackets:after { content: "]"; }
a.footnote-reference.superscript,
dl.footnote.superscript > dt.label {
vertical-align: super;
- font-size: smaller;
+ font-size: small;
}
dt.label > span.fn-backref { margin-left: 0.2em; }
dt.label > span.fn-backref > a { font-style: italic; }
-/* Line Blocks */
-div.line-block { display: block; }
-div.line-block div.line-block {
- margin-top: 0;
- margin-bottom: 0;
- margin-left: 40px;
-}
-
/* Figures, Images, and Tables */
.figure.align-left,
figure.align-left,
@@ -234,16 +227,18 @@ aside.sidebar {
blockquote,
div.topic,
div.admonition,
-div.system-message,
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- margin-left: 1.5em;
- margin-right: 1.5em;
+div.system-message {
+ margin-left: 2em;
+ margin-right: 2em;
}
+div.line-block { display: block; }
+div.line-block div.line-block {
+ margin: 0 0 0 2em;
+}
+pre { margin-left: 2em; }
pre.code .ln { color: gray; } /* line numbers */
+
/* Tables */
table { border-collapse: collapse; }
td, th {
@@ -257,7 +252,11 @@ td > p, th > p { margin-bottom: 0; }
table > caption {
text-align: left;
- margin-bottom: 0.25em
+ margin-top: 0.2em;
+ margin-bottom: 0.2em;
+}
+table.captionbelow {
+ caption-side: bottom;
}
table.borderless td, table.borderless th {
@@ -278,12 +277,13 @@ header, section, footer, aside, nav, main, article, figure {
</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 HTML writers. */
+/* 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: */
/* */
@@ -297,153 +297,194 @@ header, section, footer, aside, nav, main, article, figure {
/* .. _CSS3: http://www.w3.org/TR/CSS3 */
-/* Document Structure */
-/* ****************** */
+/* General Settings */
+/* ================ */
+
+/* Suited for all screen sizes or special to small ones (mobile first). */
+/* For adaption to larger screens see media queries below */
+@viewport {
+ zoom: 1.0;
+ width: extend-to-zoom;
+}
-/* "page layout" */
body {
- margin: 0;
- background-color: #dbdbdb;
+ background-color: #fafaf6;
+ font-size: larger;
+ line-height: 1.4;
+ margin: auto;
}
-div.document,
main {
- line-height:1.3;
- counter-reset: table figure;
- /* 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: 50em;
- padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */
- margin: auto;
+ counter-reset: figure table;
+}
+main, header, footer {
+ padding: 0.5em 5%;
background-color: white;
+ max-width: 66em;
}
-/* Sections */
-
-/* Transitions */
-
-hr.docutils {
- width: 80%;
- margin-top: 1em;
- margin-bottom: 1em;
- clear: both;
+main > *, section > * {
+ max-width: 55em; /* ca. 90…100 characters */
+}
+main > section, section > section {
+ max-width: 100%;
}
-/* Paragraphs */
-/* ========== */
-
-/* vertical space (parskip) */
-p, ol, ul, dl, li, dd,
+/* Vertical Space (Parskip) */
+p, ol, ul, dl, li,
div.line-block,
div.topic,
table {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
-p:first-child { margin-top: 0; }
-/* (:last-child is new in CSS 3) */
-p:last-child { margin-bottom: 0; }
-
h1, h2, h3, h4, h5, h6,
dl > dd {
margin-bottom: 0.5em;
}
+/* exceptions */
+p:first-child {
+ margin-top: 0;
+}
+p:last-child {
+ margin-bottom: 0;
+}
+blockquote > table,
+div.topic > table {
+ margin-top: 0;
+ margin-bottom: 0;
+}
-/* Lists */
-/* ===== */
+/* Indented Blocks */
+blockquote,
+figure,
+div.topic {
+ /* background-color: Honeydew; */
+ margin: 0.5em 2%;
+ padding-left: 1em;
+}
+div.line-block div.line-block,
+dl.option-list,
+.literal-block,
+pre {
+ /* background-color: LightCyan; */
+ margin-left: calc(2% + 1em);
+}
-/* Separate list entries in compound lists */
-dl > dd, ol > li,
+/* Object styling */
+/* ============== */
-/* Definition Lists */
-/* Indent lists nested in definition lists */
-/* (:only-child is new in CSS 3) */
-dd > ul:only-child, dd > ol:only-child { padding-left: 1em; }
+footer > *, header > *,
+aside.sidebar > *, .marginal > * {
+ font-size: smaller;
+}
-/* Description Lists */
-/* styled like in most dictionaries, encyclopedias etc. */
-dl.description > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
+/* Frontmatter */
+blockquote.dedication,
+div.topic.dedication {
padding: 0;
- padding-right: 0.5em;
+ margin-left: 0;
+ font-style: italic;
+ font-size: larger;
+}
+div.abstract p.topic-title {
+ margin-left: calc(-2% - 1em);
+}
+div.dedication p.topic-title {
+ display: none;
}
-/* Field Lists */
+blockquote p.attribution,
+div.topic p.attribution {
+ text-align: right;
+}
-/* example for custom field-name width */
-dl.field-list.narrow > dd {
- margin-left: 5em;
+/* Table of Contents */
+div.topic.contents {
+ padding: 0;
}
-/* run-in: start field-body on same line after long field names */
-dl.field-list.run-in > dd p {
- display: block;
+ul.auto-toc > li > p {
+ padding-left: 1em;
+ text-indent: -1em;
+}
+div.topic.contents ul {
+ padding-left: 1em;
}
-/* Bibliographic Fields */
+/* Transitions */
+hr {
+ margin: 1em 10%;
+}
-/* generally, bibliographic fields use special definition list dl.docinfo */
-/* but dedication and abstract are placed into "topic" divs */
-div.abstract p.topic-title {
- text-align: center;
+/* Lists */
+
+/* Smaller indent on small screens */
+ul, ol {
+ padding-left: 1.1em;
}
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic;
+dd {
+ margin-left: 1.5em;
}
-div.dedication p.topic-title {
- font-style: normal;
+dl.field-list > dd {
+ margin-left: 4em;
+}
+dl.field-list.narrow > dd,
+dl.docinfo > dd,
+dl.option-list > dd {
+ margin-left: 2.4em;
+}
+/* run-in: start field-body on same line after long field names */
+dl.field-list.run-in > dd p {
+ display: block;
}
-/* Citations */
-dl.citation dt.label {
+/* "description style" like in most dictionaries, encyclopedias etc. */
+dl.description > dt {
+ clear: left;
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 0.5em;
font-weight: bold;
}
-span.fn-backref {
- font-weight: normal;
+dl.description > dd:after {
+ display: block;
+ content: "";
+ clear: both;
}
-
-/* Text Blocks */
-/* =========== */
-
-/* Literal Blocks */
-
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- font-family: monospace;
+/* start lists nested in description/field lists on new line */
+dd > dl:first-child,
+dd > ul:first-child,
+dd > ol:first-child {
+ clear: left;
+}
+/* Footnotes and Citations */
+/* TODO: use <aside> */
+dl.footnote {
+ font-size: smaller;
+ padding-left: 0.5em;
+/* text-indent: -0.5em; */
+ border-left: solid;
+ border-left-width: thin;
}
-/* Block Quotes */
-
-blockquote > table,
-div.topic > table {
- margin-top: 0;
- margin-bottom: 0;
+/* Images, Figures, and Tables */
+img {
+ display: block;
}
-blockquote p.attribution,
-div.topic p.attribution {
- text-align: right;
- margin-left: 20%;
+p > img, p > a > img,
+figure > img, figure > a > img {
+ display: inline;
}
-/* Tables */
-/* ====== */
+table tr {
+ text-align: left;
+}
/* th { vertical-align: bottom; } */
-
-table tr { text-align: left; }
-
/* "booktabs" style (no vertical lines) */
table.booktabs {
- border: 0;
border-top: 2px solid;
border-bottom: 2px solid;
- border-collapse: collapse;
}
table.booktabs * {
border: 0;
@@ -452,101 +493,59 @@ 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 */
-dl.footnote {
- padding-left: 1ex;
- border-left: solid;
- border-left-width: thin;
-}
-
-/* Directives */
-/* ---------- */
-
-/* Body Elements */
-/* ~~~~~~~~~~~~~ */
-
-/* Images and Figures */
-
-/* let content flow to the side of aligned images and figures */
-.figure.align-left,
-figure.align-left,
-img.align-left,
-object.align-left {
- display: block;
- clear: left;
- float: left;
- margin-right: 1em;
+figcaption,
+table > caption {
+ /* font-size: smaller; */
+ font-style: italic;
}
-.figure.align-right,
-figure.align-right,
-img.align-right,
-object.align-right {
- display: block;
- clear: right;
- float: right;
- margin-left: 1em;
+figcaption > .legend {
+ font-size: smaller;
+ font-style: initial;
}
-/* Stop floating sidebars, images and figures at section level 1,2,3 */
-h1, h2, h3, h4 { clear: both; }
-/* Numbered figures */
figure.numbered > figcaption > p:before {
counter-increment: figure;
content: "Figure " counter(figure) ": ";
font-weight: bold;
+ font-style: initial;
+}
+table.numbered > caption:before {
+ counter-increment: table;
+ content: "Table " counter(table) ": ";
+ font-weight: bold;
+ font-style: initial;
}
-
/* Admonitions and System Messages */
-
div.admonition,
-div.system-message,
-aside.sidebar {
- border: medium outset;
- margin: 1em 1.5em;
- padding: 0.5em 1em;
+div.system-message {
+ box-sizing: border-box;
+ border-style: solid;
+ border-color: silver;
+ border-width: thin;
+ margin: 1em 2%;
+ padding: 0.5em;
}
-
div.caution p.admonition-title,
div.attention p.admonition-title,
div.danger p.admonition-title,
-div.error p.admonition-title,
div.warning p.admonition-title,
div.error {
- color: red;
+ color: maroon;
+}
+div.system-message > p > span.literal {
+ overflow-wrap: break-word;
}
-
-/* Sidebar */
-
-/* Move right. In a layout with fixed margins, */
-/* it can be moved into the margin. */
-div.sidebar,
-aside.sidebar {
- width: 30%;
- max-width: 26em;
- margin-left: 1em;
- margin-right: -2%;
- background-color: #ffffee;
+/* Literal and Code */
+pre {
+ /* font-family: Consolas, "Liberation Mono", Menlo, monospace; */
+ /* font-size: 0.9em; */
+/* overflow: auto; */
+ margin-right: -5%;
}
-/* Code */
-pre.code { padding: 0.7ex }
-pre.code, code { background-color: #eeeeee }
pre.code .ln { color: gray; } /* line numbers */
/* basic highlighting: for a complete scheme, see */
/* http://docutils.sourceforge.net/sandbox/stylesheets/ */
@@ -557,52 +556,160 @@ pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
-/* Math */
-/* styled separately (see math.css for math-output=HTML) */
-/* Epigraph */
-/* Highlights */
-/* Pull-Quote */
-/* Compound Paragraph */
-/* Container */
-/* Document Header and Footer */
+.sans {
+ font-family: "Gill Sans", "Gill Sans MT", Calibri, "Lucida Sans", "Noto Sans", sans-serif;
+ letter-spacing: .02em;
+}
-footer, header {
- font-size: smaller;
- clear: both;
- padding: 0.5em 2%;
- background-color: #ebebee;
- border: none;
+/* Hyperlink References */
+/* underline that clears descenders */
+a {
+ text-decoration: none;
+ text-decoration-skip-ink: auto; /* nonstandard selector */
+}
+a:link{
+ overflow-wrap: break-word;
+}
+/* undecorated links */
+a[href^="#system-message"],
+.contents a, a.toc-backref, a.image-reference,
+a.footnote-reference, a.fn-backref, .fn-backref a,
+a.citation-reference {
+ color: inherit;
+}
+a:link:hover {
+ text-decoration: underline;
}
-/* Inline Markup */
-/* ============= */
-/* Emphasis */
-/* em */
-/* Strong Emphasis */
-/* strong */
-/* Interpreted Text */
-/* span.interpreted */
-/* Title Reference */
-/* cite */
+/* Block Alignment */
+/* Let content flow to the side of aligned images and figures */
-/* Inline Literals */
-/* possible values: normal, nowrap, pre, pre-wrap, pre-line */
-/* span.docutils.literal { white-space: pre-wrap; } */
+/* no floats around this elements */
+dl.footnote, dl.citation, /* errors with internal floats */
+footer, header, hr,
+h1, h2, h3, .contents > p.topic-title {
+ clear: both;
+}
-/* Hyperlink References */
-a { text-decoration: none; }
-
-/* External Targets */
-/* span.target.external */
-/* Internal Targets */
-/* span.target.internal */
-/* Footnote References */
-/* a.footnote-reference */
-/* Citation References */
-/* a.citation-reference */
+img.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,
+figure.align-right,
+table.align-right {
+ margin-left: 0.5em;
+ clear: right;
+ float: right;
+}
+
+/* Margin Elements */
+/* see below for screen size dependent rules */
+aside.sidebar {
+/* overwrite minimal.css */
+ width: auto;
+ max-width: 100%;
+/* float: none; */
+}
+aside.sidebar,
+.marginal,
+.admonition.marginal,
+.topic.marginal {
+ background-color: #efefea;
+ box-sizing: border-box;
+ margin: 0.5em 0;
+ padding: 0.5em;
+ clear: right;
+}
+
+/* Adaptive page layout */
+
+/* larger margins and floating elements moderately small screens */
+/* main text more than around 40 characters/line */
+@media (min-width: 35em) {
+ /* wider margins */
+ main, header, footer {
+ padding: 0.5em calc(20% - 5rem);
+ line-height: 1.6
+ }
+ pre {
+ margin-right: calc(5rem - 20%);
+ }
+ /* floating margin elements */
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ max-width: min(45%, 18em);
+ margin-left: 1em;
+ clear: right;
+ float: right;
+ }
+ /* more indent for field-list values */
+ dl.field-list > dd,
+ dl.docinfo > dd {
+ margin-left: 6.4em;
+ }
+ dl.option-list > dd {
+ margin-left: 5em;
+ }
+}
+
+@media (min-width: 65em) {
+ /* 2 column layout with wide margin */
+ main, header, footer {
+ padding: 0.5em 15%;
+ }
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ background-color: inherit;
+ /* background-color: lavender; */
+ margin-right: -18%;
+ padding: 0;
+ }
+ .admonition.marginal { padding: 0.5em; }
+}
+
+/* Move ToC to the left */
+@media (min-width: 100em) {
+ main, header, footer {
+ margin-left: min(15%, 18em);
+ }
+ main > div.topic.contents {
+ position: fixed;
+ top: 0;
+ left: 0;
+ box-sizing: border-box;
+ width: min(25%, 28em);
+ height: 100vh;
+ margin: 0;
+ background-color: #fafaf6;
+ padding: 5.5em 2%;
+ overflow: auto;
+ }
+ main > div.topic.contents > * {
+ padding-left: 0;
+ }
+
+/* marginal elements outside of main text */
+@media (min-width: 126em) {
+ aside.sidebar,
+ figure.marginal,
+ .topic.marginal,
+ p.marginal {
+ width: min(45%, 18em);
+ }
+}
</style>
</head>
diff --git a/language/greek/greek-fontenc/alphabeta-tu.pdf b/language/greek/greek-fontenc/alphabeta-tu.pdf
index 2af317702c..34d85ab410 100644
--- a/language/greek/greek-fontenc/alphabeta-tu.pdf
+++ b/language/greek/greek-fontenc/alphabeta-tu.pdf
Binary files differ
diff --git a/language/greek/greek-fontenc/alphabeta-tuenc.def b/language/greek/greek-fontenc/alphabeta-tuenc.def
index 663f58c117..8f86ff0133 100644
--- a/language/greek/greek-fontenc/alphabeta-tuenc.def
+++ b/language/greek/greek-fontenc/alphabeta-tuenc.def
@@ -13,9 +13,10 @@
\ProvidesFile{alphabeta-tuenc}
[2020/10/30 2.0 Composite definitions for XeTeX and LuaTeX]
-% Composite definitions for ``alphabeta.sty`` with XeTeX and LuaTeX.
+% :Abstract:
+% Composite definitions for ``alphabeta.sty`` with XeTeX and LuaTeX.
%
-% Changelog:
+% :Changelog:
% .. class:: borderless
%
% ====== ========== ========================================================
@@ -244,3 +245,7 @@
% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt
% .. _alphabeta: alphabeta.sty.html
% .. _tuenc-greek.def: tuenc-greek.def.html
+%
+% .. fix scaling in mobile browsers
+% .. meta::
+% :viewport: width=device-width, initial-scale=1
diff --git a/language/greek/greek-fontenc/alphabeta-tuenc.def.html b/language/greek/greek-fontenc/alphabeta-tuenc.def.html
index dfa7a48f5c..5f5451e43d 100644
--- a/language/greek/greek-fontenc/alphabeta-tuenc.def.html
+++ b/language/greek/greek-fontenc/alphabeta-tuenc.def.html
@@ -2,9 +2,10 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="utf-8"/>
-<meta name="generator" content="Docutils 0.17b.dev: http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.17b2.dev: http://docutils.sourceforge.net/" />
<title>alphabeta-tuenc.def</title>
<meta name="dcterms.rights" content="© 2013 Günter Milde" />
+<meta content="width=device-width, initial-scale=1" name="viewport" />
<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
<style type="text/css">
@@ -39,7 +40,8 @@
.align-bottom { vertical-align: bottom; }
/* titles */
-h1.title, p.subtitle {
+h1.title,
+p.subtitle {
text-align: center;
}
p.topic-title,
@@ -49,12 +51,12 @@ p.admonition-title,
p.system-message-title {
font-weight: bold;
}
-h1 + p.subtitle,
-h2 + p.section-subtitle {
+h1 + p.subtitle {
font-size: 1.6em;
}
-h3 + p.section-subtitle {
- font-size: 1.28em;
+h2 + p.section-subtitle,
+p.sidebar-title {
+ font-size: 1.2em;
}
p.subtitle,
p.section-subtitle,
@@ -62,9 +64,6 @@ p.sidebar-subtitle {
font-weight: bold;
margin-top: -0.5em;
}
-p.sidebar-title {
- font-size: larger;
-}
p.rubric {
font-size: larger;
color: maroon;
@@ -156,7 +155,10 @@ dl.docinfo > dt:after {
}
/* Bibliographic Fields (docinfo) */
-pre.address { font: inherit; }
+pre.address {
+ font: inherit;
+ margin: 0.5em 0;
+}
dd.authors > p { margin: 0; }
/* Option Lists */
@@ -167,7 +169,7 @@ span.option { white-space: nowrap; }
/* Footnotes and Citations */
dl.footnote.superscript > dd {margin-left: 1em; }
dl.footnote.brackets > dd {margin-left: 2em; }
-dl > dt.label { font-weight: normal; }
+dl.footnote > dt { font-weight: normal; }
a.footnote-reference.brackets:before,
dt.label > span.brackets:before { content: "["; }
a.footnote-reference.brackets:after,
@@ -175,19 +177,11 @@ dt.label > span.brackets:after { content: "]"; }
a.footnote-reference.superscript,
dl.footnote.superscript > dt.label {
vertical-align: super;
- font-size: smaller;
+ font-size: small;
}
dt.label > span.fn-backref { margin-left: 0.2em; }
dt.label > span.fn-backref > a { font-style: italic; }
-/* Line Blocks */
-div.line-block { display: block; }
-div.line-block div.line-block {
- margin-top: 0;
- margin-bottom: 0;
- margin-left: 40px;
-}
-
/* Figures, Images, and Tables */
.figure.align-left,
figure.align-left,
@@ -234,16 +228,18 @@ aside.sidebar {
blockquote,
div.topic,
div.admonition,
-div.system-message,
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- margin-left: 1.5em;
- margin-right: 1.5em;
+div.system-message {
+ margin-left: 2em;
+ margin-right: 2em;
}
+div.line-block { display: block; }
+div.line-block div.line-block {
+ margin: 0 0 0 2em;
+}
+pre { margin-left: 2em; }
pre.code .ln { color: gray; } /* line numbers */
+
/* Tables */
table { border-collapse: collapse; }
td, th {
@@ -257,7 +253,11 @@ td > p, th > p { margin-bottom: 0; }
table > caption {
text-align: left;
- margin-bottom: 0.25em
+ margin-top: 0.2em;
+ margin-bottom: 0.2em;
+}
+table.captionbelow {
+ caption-side: bottom;
}
table.borderless td, table.borderless th {
@@ -278,12 +278,13 @@ header, section, footer, aside, nav, main, article, figure {
</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 HTML writers. */
+/* 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: */
/* */
@@ -297,153 +298,194 @@ header, section, footer, aside, nav, main, article, figure {
/* .. _CSS3: http://www.w3.org/TR/CSS3 */
-/* Document Structure */
-/* ****************** */
+/* General Settings */
+/* ================ */
+
+/* Suited for all screen sizes or special to small ones (mobile first). */
+/* For adaption to larger screens see media queries below */
+@viewport {
+ zoom: 1.0;
+ width: extend-to-zoom;
+}
-/* "page layout" */
body {
- margin: 0;
- background-color: #dbdbdb;
+ background-color: #fafaf6;
+ font-size: larger;
+ line-height: 1.4;
+ margin: auto;
}
-div.document,
main {
- line-height:1.3;
- counter-reset: table figure;
- /* 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: 50em;
- padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */
- margin: auto;
+ counter-reset: figure table;
+}
+main, header, footer {
+ padding: 0.5em 5%;
background-color: white;
+ max-width: 66em;
}
-/* Sections */
-
-/* Transitions */
-
-hr.docutils {
- width: 80%;
- margin-top: 1em;
- margin-bottom: 1em;
- clear: both;
+main > *, section > * {
+ max-width: 55em; /* ca. 90…100 characters */
+}
+main > section, section > section {
+ max-width: 100%;
}
-/* Paragraphs */
-/* ========== */
-
-/* vertical space (parskip) */
-p, ol, ul, dl, li, dd,
+/* Vertical Space (Parskip) */
+p, ol, ul, dl, li,
div.line-block,
div.topic,
table {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
-p:first-child { margin-top: 0; }
-/* (:last-child is new in CSS 3) */
-p:last-child { margin-bottom: 0; }
-
h1, h2, h3, h4, h5, h6,
dl > dd {
margin-bottom: 0.5em;
}
+/* exceptions */
+p:first-child {
+ margin-top: 0;
+}
+p:last-child {
+ margin-bottom: 0;
+}
+blockquote > table,
+div.topic > table {
+ margin-top: 0;
+ margin-bottom: 0;
+}
-/* Lists */
-/* ===== */
+/* Indented Blocks */
+blockquote,
+figure,
+div.topic {
+ /* background-color: Honeydew; */
+ margin: 0.5em 2%;
+ padding-left: 1em;
+}
+div.line-block div.line-block,
+dl.option-list,
+.literal-block,
+pre {
+ /* background-color: LightCyan; */
+ margin-left: calc(2% + 1em);
+}
-/* Separate list entries in compound lists */
-dl > dd, ol > li,
+/* Object styling */
+/* ============== */
-/* Definition Lists */
-/* Indent lists nested in definition lists */
-/* (:only-child is new in CSS 3) */
-dd > ul:only-child, dd > ol:only-child { padding-left: 1em; }
+footer > *, header > *,
+aside.sidebar > *, .marginal > * {
+ font-size: smaller;
+}
-/* Description Lists */
-/* styled like in most dictionaries, encyclopedias etc. */
-dl.description > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
+/* Frontmatter */
+blockquote.dedication,
+div.topic.dedication {
padding: 0;
- padding-right: 0.5em;
+ margin-left: 0;
+ font-style: italic;
+ font-size: larger;
+}
+div.abstract p.topic-title {
+ margin-left: calc(-2% - 1em);
+}
+div.dedication p.topic-title {
+ display: none;
}
-/* Field Lists */
+blockquote p.attribution,
+div.topic p.attribution {
+ text-align: right;
+}
-/* example for custom field-name width */
-dl.field-list.narrow > dd {
- margin-left: 5em;
+/* Table of Contents */
+div.topic.contents {
+ padding: 0;
}
-/* run-in: start field-body on same line after long field names */
-dl.field-list.run-in > dd p {
- display: block;
+ul.auto-toc > li > p {
+ padding-left: 1em;
+ text-indent: -1em;
+}
+div.topic.contents ul {
+ padding-left: 1em;
}
-/* Bibliographic Fields */
+/* Transitions */
+hr {
+ margin: 1em 10%;
+}
-/* generally, bibliographic fields use special definition list dl.docinfo */
-/* but dedication and abstract are placed into "topic" divs */
-div.abstract p.topic-title {
- text-align: center;
+/* Lists */
+
+/* Smaller indent on small screens */
+ul, ol {
+ padding-left: 1.1em;
}
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic;
+dd {
+ margin-left: 1.5em;
}
-div.dedication p.topic-title {
- font-style: normal;
+dl.field-list > dd {
+ margin-left: 4em;
+}
+dl.field-list.narrow > dd,
+dl.docinfo > dd,
+dl.option-list > dd {
+ margin-left: 2.4em;
+}
+/* run-in: start field-body on same line after long field names */
+dl.field-list.run-in > dd p {
+ display: block;
}
-/* Citations */
-dl.citation dt.label {
+/* "description style" like in most dictionaries, encyclopedias etc. */
+dl.description > dt {
+ clear: left;
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 0.5em;
font-weight: bold;
}
-span.fn-backref {
- font-weight: normal;
+dl.description > dd:after {
+ display: block;
+ content: "";
+ clear: both;
}
-
-/* Text Blocks */
-/* =========== */
-
-/* Literal Blocks */
-
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- font-family: monospace;
+/* start lists nested in description/field lists on new line */
+dd > dl:first-child,
+dd > ul:first-child,
+dd > ol:first-child {
+ clear: left;
+}
+/* Footnotes and Citations */
+/* TODO: use <aside> */
+dl.footnote {
+ font-size: smaller;
+ padding-left: 0.5em;
+/* text-indent: -0.5em; */
+ border-left: solid;
+ border-left-width: thin;
}
-/* Block Quotes */
-
-blockquote > table,
-div.topic > table {
- margin-top: 0;
- margin-bottom: 0;
+/* Images, Figures, and Tables */
+img {
+ display: block;
}
-blockquote p.attribution,
-div.topic p.attribution {
- text-align: right;
- margin-left: 20%;
+p > img, p > a > img,
+figure > img, figure > a > img {
+ display: inline;
}
-/* Tables */
-/* ====== */
+table tr {
+ text-align: left;
+}
/* th { vertical-align: bottom; } */
-
-table tr { text-align: left; }
-
/* "booktabs" style (no vertical lines) */
table.booktabs {
- border: 0;
border-top: 2px solid;
border-bottom: 2px solid;
- border-collapse: collapse;
}
table.booktabs * {
border: 0;
@@ -452,101 +494,59 @@ 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 */
-dl.footnote {
- padding-left: 1ex;
- border-left: solid;
- border-left-width: thin;
-}
-
-/* Directives */
-/* ---------- */
-
-/* Body Elements */
-/* ~~~~~~~~~~~~~ */
-
-/* Images and Figures */
-
-/* let content flow to the side of aligned images and figures */
-.figure.align-left,
-figure.align-left,
-img.align-left,
-object.align-left {
- display: block;
- clear: left;
- float: left;
- margin-right: 1em;
+figcaption,
+table > caption {
+ /* font-size: smaller; */
+ font-style: italic;
}
-.figure.align-right,
-figure.align-right,
-img.align-right,
-object.align-right {
- display: block;
- clear: right;
- float: right;
- margin-left: 1em;
+figcaption > .legend {
+ font-size: smaller;
+ font-style: initial;
}
-/* Stop floating sidebars, images and figures at section level 1,2,3 */
-h1, h2, h3, h4 { clear: both; }
-/* Numbered figures */
figure.numbered > figcaption > p:before {
counter-increment: figure;
content: "Figure " counter(figure) ": ";
font-weight: bold;
+ font-style: initial;
+}
+table.numbered > caption:before {
+ counter-increment: table;
+ content: "Table " counter(table) ": ";
+ font-weight: bold;
+ font-style: initial;
}
-
/* Admonitions and System Messages */
-
div.admonition,
-div.system-message,
-aside.sidebar {
- border: medium outset;
- margin: 1em 1.5em;
- padding: 0.5em 1em;
+div.system-message {
+ box-sizing: border-box;
+ border-style: solid;
+ border-color: silver;
+ border-width: thin;
+ margin: 1em 2%;
+ padding: 0.5em;
}
-
div.caution p.admonition-title,
div.attention p.admonition-title,
div.danger p.admonition-title,
-div.error p.admonition-title,
div.warning p.admonition-title,
div.error {
- color: red;
+ color: maroon;
+}
+div.system-message > p > span.literal {
+ overflow-wrap: break-word;
}
-
-/* Sidebar */
-
-/* Move right. In a layout with fixed margins, */
-/* it can be moved into the margin. */
-div.sidebar,
-aside.sidebar {
- width: 30%;
- max-width: 26em;
- margin-left: 1em;
- margin-right: -2%;
- background-color: #ffffee;
+/* Literal and Code */
+pre {
+ /* font-family: Consolas, "Liberation Mono", Menlo, monospace; */
+ /* font-size: 0.9em; */
+/* overflow: auto; */
+ margin-right: -5%;
}
-/* Code */
-pre.code { padding: 0.7ex }
-pre.code, code { background-color: #eeeeee }
pre.code .ln { color: gray; } /* line numbers */
/* basic highlighting: for a complete scheme, see */
/* http://docutils.sourceforge.net/sandbox/stylesheets/ */
@@ -557,52 +557,160 @@ pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
-/* Math */
-/* styled separately (see math.css for math-output=HTML) */
-/* Epigraph */
-/* Highlights */
-/* Pull-Quote */
-/* Compound Paragraph */
-/* Container */
-/* Document Header and Footer */
+.sans {
+ font-family: "Gill Sans", "Gill Sans MT", Calibri, "Lucida Sans", "Noto Sans", sans-serif;
+ letter-spacing: .02em;
+}
-footer, header {
- font-size: smaller;
- clear: both;
- padding: 0.5em 2%;
- background-color: #ebebee;
- border: none;
+/* Hyperlink References */
+/* underline that clears descenders */
+a {
+ text-decoration: none;
+ text-decoration-skip-ink: auto; /* nonstandard selector */
+}
+a:link{
+ overflow-wrap: break-word;
+}
+/* undecorated links */
+a[href^="#system-message"],
+.contents a, a.toc-backref, a.image-reference,
+a.footnote-reference, a.fn-backref, .fn-backref a,
+a.citation-reference {
+ color: inherit;
+}
+a:link:hover {
+ text-decoration: underline;
}
-/* Inline Markup */
-/* ============= */
-/* Emphasis */
-/* em */
-/* Strong Emphasis */
-/* strong */
-/* Interpreted Text */
-/* span.interpreted */
-/* Title Reference */
-/* cite */
+/* Block Alignment */
+/* Let content flow to the side of aligned images and figures */
-/* Inline Literals */
-/* possible values: normal, nowrap, pre, pre-wrap, pre-line */
-/* span.docutils.literal { white-space: pre-wrap; } */
+/* no floats around this elements */
+dl.footnote, dl.citation, /* errors with internal floats */
+footer, header, hr,
+h1, h2, h3, .contents > p.topic-title {
+ clear: both;
+}
-/* Hyperlink References */
-a { text-decoration: none; }
+img.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,
+figure.align-right,
+table.align-right {
+ margin-left: 0.5em;
+ clear: right;
+ float: right;
+}
+
+/* Margin Elements */
+/* see below for screen size dependent rules */
+aside.sidebar {
+/* overwrite minimal.css */
+ width: auto;
+ max-width: 100%;
+/* float: none; */
+}
+aside.sidebar,
+.marginal,
+.admonition.marginal,
+.topic.marginal {
+ background-color: #efefea;
+ box-sizing: border-box;
+ margin: 0.5em 0;
+ padding: 0.5em;
+ clear: right;
+}
-/* External Targets */
-/* span.target.external */
-/* Internal Targets */
-/* span.target.internal */
-/* Footnote References */
-/* a.footnote-reference */
-/* Citation References */
-/* a.citation-reference */
+/* Adaptive page layout */
+
+/* larger margins and floating elements moderately small screens */
+/* main text more than around 40 characters/line */
+@media (min-width: 35em) {
+ /* wider margins */
+ main, header, footer {
+ padding: 0.5em calc(20% - 5rem);
+ line-height: 1.6
+ }
+ pre {
+ margin-right: calc(5rem - 20%);
+ }
+ /* floating margin elements */
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ max-width: min(45%, 18em);
+ margin-left: 1em;
+ clear: right;
+ float: right;
+ }
+ /* more indent for field-list values */
+ dl.field-list > dd,
+ dl.docinfo > dd {
+ margin-left: 6.4em;
+ }
+ dl.option-list > dd {
+ margin-left: 5em;
+ }
+}
+
+@media (min-width: 65em) {
+ /* 2 column layout with wide margin */
+ main, header, footer {
+ padding: 0.5em 15%;
+ }
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ background-color: inherit;
+ /* background-color: lavender; */
+ margin-right: -18%;
+ padding: 0;
+ }
+ .admonition.marginal { padding: 0.5em; }
+}
+
+/* Move ToC to the left */
+@media (min-width: 100em) {
+ main, header, footer {
+ margin-left: min(15%, 18em);
+ }
+ main > div.topic.contents {
+ position: fixed;
+ top: 0;
+ left: 0;
+ box-sizing: border-box;
+ width: min(25%, 28em);
+ height: 100vh;
+ margin: 0;
+ background-color: #fafaf6;
+ padding: 5.5em 2%;
+ overflow: auto;
+ }
+ main > div.topic.contents > * {
+ padding-left: 0;
+ }
+
+/* marginal elements outside of main text */
+@media (min-width: 126em) {
+ aside.sidebar,
+ figure.marginal,
+ .topic.marginal,
+ p.marginal {
+ width: min(45%, 18em);
+ }
+}
</style>
</head>
@@ -622,11 +730,8 @@ version 1.3 of this license or any later version.</p>
<dd class="identification"><pre class="literal-block">\ProvidesFile{alphabeta-tuenc}
[2020/10/30 2.0 Composite definitions for XeTeX and LuaTeX]</pre>
</dd>
-</dl>
-<p>Composite definitions for <span class="docutils literal">alphabeta.sty</span> with XeTeX and LuaTeX.</p>
-<dl>
-<dt>Changelog:</dt>
-<dd><table class="borderless">
+<dt class="changelog">Changelog</dt>
+<dd class="changelog"><table class="borderless">
<colgroup>
<col style="width: 8%" />
<col style="width: 14%" />
@@ -662,6 +767,10 @@ use <span class="docutils literal">\UTFencname</span> instead of <span class="do
</table>
</dd>
</dl>
+<div class="abstract topic">
+<p class="topic-title">Abstract</p>
+<p>Composite definitions for <span class="docutils literal">alphabeta.sty</span> with XeTeX and LuaTeX.</p>
+</div>
<p>The <a class="reference external" href="alphabeta.sty.html">alphabeta</a> package re-defines the math macros for Greek letters to work
in both, text and math mode, so that Greek letters can be specified with
the established command names in text, too.</p>
@@ -864,6 +973,7 @@ under XeTeX/LuaTeX.</p>
\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Omicron}{Ὸ}
\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Omega}{Ὼ}</pre>
<!-- References -->
+<!-- fix scaling in mobile browsers -->
</section>
</main>
</body>
diff --git a/language/greek/greek-fontenc/alphabeta.sty b/language/greek/greek-fontenc/alphabeta.sty
index ddc8df103a..5eb769625f 100644
--- a/language/greek/greek-fontenc/alphabeta.sty
+++ b/language/greek/greek-fontenc/alphabeta.sty
@@ -34,6 +34,8 @@
% 2.0 2020/10/13 Provide ``\Koppa``.
% ====== ========== =========================================================
%
+% .. contents::
+%
% Motivation
% ==========
%
diff --git a/language/greek/greek-fontenc/alphabeta.sty.html b/language/greek/greek-fontenc/alphabeta.sty.html
index 84a217a1d7..3bbd1ca681 100644
--- a/language/greek/greek-fontenc/alphabeta.sty.html
+++ b/language/greek/greek-fontenc/alphabeta.sty.html
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="utf-8"/>
-<meta name="generator" content="Docutils 0.17b.dev: http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.17b2.dev: http://docutils.sourceforge.net/" />
<title>alphabeta: Greek symbols in text and math</title>
<meta name="dcterms.rights" content="© 2010 Günter Milde" />
<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
@@ -39,7 +39,8 @@
.align-bottom { vertical-align: bottom; }
/* titles */
-h1.title, p.subtitle {
+h1.title,
+p.subtitle {
text-align: center;
}
p.topic-title,
@@ -49,12 +50,12 @@ p.admonition-title,
p.system-message-title {
font-weight: bold;
}
-h1 + p.subtitle,
-h2 + p.section-subtitle {
+h1 + p.subtitle {
font-size: 1.6em;
}
-h3 + p.section-subtitle {
- font-size: 1.28em;
+h2 + p.section-subtitle,
+p.sidebar-title {
+ font-size: 1.2em;
}
p.subtitle,
p.section-subtitle,
@@ -62,9 +63,6 @@ p.sidebar-subtitle {
font-weight: bold;
margin-top: -0.5em;
}
-p.sidebar-title {
- font-size: larger;
-}
p.rubric {
font-size: larger;
color: maroon;
@@ -156,7 +154,10 @@ dl.docinfo > dt:after {
}
/* Bibliographic Fields (docinfo) */
-pre.address { font: inherit; }
+pre.address {
+ font: inherit;
+ margin: 0.5em 0;
+}
dd.authors > p { margin: 0; }
/* Option Lists */
@@ -167,7 +168,7 @@ span.option { white-space: nowrap; }
/* Footnotes and Citations */
dl.footnote.superscript > dd {margin-left: 1em; }
dl.footnote.brackets > dd {margin-left: 2em; }
-dl > dt.label { font-weight: normal; }
+dl.footnote > dt { font-weight: normal; }
a.footnote-reference.brackets:before,
dt.label > span.brackets:before { content: "["; }
a.footnote-reference.brackets:after,
@@ -175,19 +176,11 @@ dt.label > span.brackets:after { content: "]"; }
a.footnote-reference.superscript,
dl.footnote.superscript > dt.label {
vertical-align: super;
- font-size: smaller;
+ font-size: small;
}
dt.label > span.fn-backref { margin-left: 0.2em; }
dt.label > span.fn-backref > a { font-style: italic; }
-/* Line Blocks */
-div.line-block { display: block; }
-div.line-block div.line-block {
- margin-top: 0;
- margin-bottom: 0;
- margin-left: 40px;
-}
-
/* Figures, Images, and Tables */
.figure.align-left,
figure.align-left,
@@ -234,16 +227,18 @@ aside.sidebar {
blockquote,
div.topic,
div.admonition,
-div.system-message,
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- margin-left: 1.5em;
- margin-right: 1.5em;
+div.system-message {
+ margin-left: 2em;
+ margin-right: 2em;
}
+div.line-block { display: block; }
+div.line-block div.line-block {
+ margin: 0 0 0 2em;
+}
+pre { margin-left: 2em; }
pre.code .ln { color: gray; } /* line numbers */
+
/* Tables */
table { border-collapse: collapse; }
td, th {
@@ -257,7 +252,11 @@ td > p, th > p { margin-bottom: 0; }
table > caption {
text-align: left;
- margin-bottom: 0.25em
+ margin-top: 0.2em;
+ margin-bottom: 0.2em;
+}
+table.captionbelow {
+ caption-side: bottom;
}
table.borderless td, table.borderless th {
@@ -278,12 +277,13 @@ header, section, footer, aside, nav, main, article, figure {
</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 HTML writers. */
+/* 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: */
/* */
@@ -297,153 +297,194 @@ header, section, footer, aside, nav, main, article, figure {
/* .. _CSS3: http://www.w3.org/TR/CSS3 */
-/* Document Structure */
-/* ****************** */
+/* General Settings */
+/* ================ */
+
+/* Suited for all screen sizes or special to small ones (mobile first). */
+/* For adaption to larger screens see media queries below */
+@viewport {
+ zoom: 1.0;
+ width: extend-to-zoom;
+}
-/* "page layout" */
body {
- margin: 0;
- background-color: #dbdbdb;
+ background-color: #fafaf6;
+ font-size: larger;
+ line-height: 1.4;
+ margin: auto;
}
-div.document,
main {
- line-height:1.3;
- counter-reset: table figure;
- /* 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: 50em;
- padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */
- margin: auto;
+ counter-reset: figure table;
+}
+main, header, footer {
+ padding: 0.5em 5%;
background-color: white;
+ max-width: 66em;
}
-/* Sections */
-
-/* Transitions */
-
-hr.docutils {
- width: 80%;
- margin-top: 1em;
- margin-bottom: 1em;
- clear: both;
+main > *, section > * {
+ max-width: 55em; /* ca. 90…100 characters */
+}
+main > section, section > section {
+ max-width: 100%;
}
-/* Paragraphs */
-/* ========== */
-
-/* vertical space (parskip) */
-p, ol, ul, dl, li, dd,
+/* Vertical Space (Parskip) */
+p, ol, ul, dl, li,
div.line-block,
div.topic,
table {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
-p:first-child { margin-top: 0; }
-/* (:last-child is new in CSS 3) */
-p:last-child { margin-bottom: 0; }
-
h1, h2, h3, h4, h5, h6,
dl > dd {
margin-bottom: 0.5em;
}
+/* exceptions */
+p:first-child {
+ margin-top: 0;
+}
+p:last-child {
+ margin-bottom: 0;
+}
+blockquote > table,
+div.topic > table {
+ margin-top: 0;
+ margin-bottom: 0;
+}
-/* Lists */
-/* ===== */
+/* Indented Blocks */
+blockquote,
+figure,
+div.topic {
+ /* background-color: Honeydew; */
+ margin: 0.5em 2%;
+ padding-left: 1em;
+}
+div.line-block div.line-block,
+dl.option-list,
+.literal-block,
+pre {
+ /* background-color: LightCyan; */
+ margin-left: calc(2% + 1em);
+}
-/* Separate list entries in compound lists */
-dl > dd, ol > li,
+/* Object styling */
+/* ============== */
-/* Definition Lists */
-/* Indent lists nested in definition lists */
-/* (:only-child is new in CSS 3) */
-dd > ul:only-child, dd > ol:only-child { padding-left: 1em; }
+footer > *, header > *,
+aside.sidebar > *, .marginal > * {
+ font-size: smaller;
+}
-/* Description Lists */
-/* styled like in most dictionaries, encyclopedias etc. */
-dl.description > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
+/* Frontmatter */
+blockquote.dedication,
+div.topic.dedication {
padding: 0;
- padding-right: 0.5em;
+ margin-left: 0;
+ font-style: italic;
+ font-size: larger;
+}
+div.abstract p.topic-title {
+ margin-left: calc(-2% - 1em);
+}
+div.dedication p.topic-title {
+ display: none;
}
-/* Field Lists */
+blockquote p.attribution,
+div.topic p.attribution {
+ text-align: right;
+}
-/* example for custom field-name width */
-dl.field-list.narrow > dd {
- margin-left: 5em;
+/* Table of Contents */
+div.topic.contents {
+ padding: 0;
}
-/* run-in: start field-body on same line after long field names */
-dl.field-list.run-in > dd p {
- display: block;
+ul.auto-toc > li > p {
+ padding-left: 1em;
+ text-indent: -1em;
+}
+div.topic.contents ul {
+ padding-left: 1em;
}
-/* Bibliographic Fields */
+/* Transitions */
+hr {
+ margin: 1em 10%;
+}
-/* generally, bibliographic fields use special definition list dl.docinfo */
-/* but dedication and abstract are placed into "topic" divs */
-div.abstract p.topic-title {
- text-align: center;
+/* Lists */
+
+/* Smaller indent on small screens */
+ul, ol {
+ padding-left: 1.1em;
}
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic;
+dd {
+ margin-left: 1.5em;
}
-div.dedication p.topic-title {
- font-style: normal;
+dl.field-list > dd {
+ margin-left: 4em;
+}
+dl.field-list.narrow > dd,
+dl.docinfo > dd,
+dl.option-list > dd {
+ margin-left: 2.4em;
+}
+/* run-in: start field-body on same line after long field names */
+dl.field-list.run-in > dd p {
+ display: block;
}
-/* Citations */
-dl.citation dt.label {
+/* "description style" like in most dictionaries, encyclopedias etc. */
+dl.description > dt {
+ clear: left;
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 0.5em;
font-weight: bold;
}
-span.fn-backref {
- font-weight: normal;
+dl.description > dd:after {
+ display: block;
+ content: "";
+ clear: both;
}
-
-/* Text Blocks */
-/* =========== */
-
-/* Literal Blocks */
-
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- font-family: monospace;
+/* start lists nested in description/field lists on new line */
+dd > dl:first-child,
+dd > ul:first-child,
+dd > ol:first-child {
+ clear: left;
+}
+/* Footnotes and Citations */
+/* TODO: use <aside> */
+dl.footnote {
+ font-size: smaller;
+ padding-left: 0.5em;
+/* text-indent: -0.5em; */
+ border-left: solid;
+ border-left-width: thin;
}
-/* Block Quotes */
-
-blockquote > table,
-div.topic > table {
- margin-top: 0;
- margin-bottom: 0;
+/* Images, Figures, and Tables */
+img {
+ display: block;
}
-blockquote p.attribution,
-div.topic p.attribution {
- text-align: right;
- margin-left: 20%;
+p > img, p > a > img,
+figure > img, figure > a > img {
+ display: inline;
}
-/* Tables */
-/* ====== */
+table tr {
+ text-align: left;
+}
/* th { vertical-align: bottom; } */
-
-table tr { text-align: left; }
-
/* "booktabs" style (no vertical lines) */
table.booktabs {
- border: 0;
border-top: 2px solid;
border-bottom: 2px solid;
- border-collapse: collapse;
}
table.booktabs * {
border: 0;
@@ -452,101 +493,59 @@ 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 */
-dl.footnote {
- padding-left: 1ex;
- border-left: solid;
- border-left-width: thin;
-}
-
-/* Directives */
-/* ---------- */
-
-/* Body Elements */
-/* ~~~~~~~~~~~~~ */
-
-/* Images and Figures */
-
-/* let content flow to the side of aligned images and figures */
-.figure.align-left,
-figure.align-left,
-img.align-left,
-object.align-left {
- display: block;
- clear: left;
- float: left;
- margin-right: 1em;
+figcaption,
+table > caption {
+ /* font-size: smaller; */
+ font-style: italic;
}
-.figure.align-right,
-figure.align-right,
-img.align-right,
-object.align-right {
- display: block;
- clear: right;
- float: right;
- margin-left: 1em;
+figcaption > .legend {
+ font-size: smaller;
+ font-style: initial;
}
-/* Stop floating sidebars, images and figures at section level 1,2,3 */
-h1, h2, h3, h4 { clear: both; }
-/* Numbered figures */
figure.numbered > figcaption > p:before {
counter-increment: figure;
content: "Figure " counter(figure) ": ";
font-weight: bold;
+ font-style: initial;
+}
+table.numbered > caption:before {
+ counter-increment: table;
+ content: "Table " counter(table) ": ";
+ font-weight: bold;
+ font-style: initial;
}
-
/* Admonitions and System Messages */
-
div.admonition,
-div.system-message,
-aside.sidebar {
- border: medium outset;
- margin: 1em 1.5em;
- padding: 0.5em 1em;
+div.system-message {
+ box-sizing: border-box;
+ border-style: solid;
+ border-color: silver;
+ border-width: thin;
+ margin: 1em 2%;
+ padding: 0.5em;
}
-
div.caution p.admonition-title,
div.attention p.admonition-title,
div.danger p.admonition-title,
-div.error p.admonition-title,
div.warning p.admonition-title,
div.error {
- color: red;
+ color: maroon;
+}
+div.system-message > p > span.literal {
+ overflow-wrap: break-word;
}
-
-/* Sidebar */
-
-/* Move right. In a layout with fixed margins, */
-/* it can be moved into the margin. */
-div.sidebar,
-aside.sidebar {
- width: 30%;
- max-width: 26em;
- margin-left: 1em;
- margin-right: -2%;
- background-color: #ffffee;
+/* Literal and Code */
+pre {
+ /* font-family: Consolas, "Liberation Mono", Menlo, monospace; */
+ /* font-size: 0.9em; */
+/* overflow: auto; */
+ margin-right: -5%;
}
-/* Code */
-pre.code { padding: 0.7ex }
-pre.code, code { background-color: #eeeeee }
pre.code .ln { color: gray; } /* line numbers */
/* basic highlighting: for a complete scheme, see */
/* http://docutils.sourceforge.net/sandbox/stylesheets/ */
@@ -557,52 +556,160 @@ pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
-/* Math */
-/* styled separately (see math.css for math-output=HTML) */
-/* Epigraph */
-/* Highlights */
-/* Pull-Quote */
-/* Compound Paragraph */
-/* Container */
-/* Document Header and Footer */
+.sans {
+ font-family: "Gill Sans", "Gill Sans MT", Calibri, "Lucida Sans", "Noto Sans", sans-serif;
+ letter-spacing: .02em;
+}
-footer, header {
- font-size: smaller;
+/* Hyperlink References */
+/* underline that clears descenders */
+a {
+ text-decoration: none;
+ text-decoration-skip-ink: auto; /* nonstandard selector */
+}
+a:link{
+ overflow-wrap: break-word;
+}
+/* undecorated links */
+a[href^="#system-message"],
+.contents a, a.toc-backref, a.image-reference,
+a.footnote-reference, a.fn-backref, .fn-backref a,
+a.citation-reference {
+ color: inherit;
+}
+a:link:hover {
+ text-decoration: underline;
+}
+
+
+/* Block Alignment */
+/* Let content flow to the side of aligned images and figures */
+
+/* no floats around this elements */
+dl.footnote, dl.citation, /* errors with internal floats */
+footer, header, hr,
+h1, h2, h3, .contents > p.topic-title {
clear: both;
- padding: 0.5em 2%;
- background-color: #ebebee;
- border: none;
}
-/* Inline Markup */
-/* ============= */
+img.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,
+figure.align-right,
+table.align-right {
+ margin-left: 0.5em;
+ clear: right;
+ float: right;
+}
-/* Emphasis */
-/* em */
-/* Strong Emphasis */
-/* strong */
-/* Interpreted Text */
-/* span.interpreted */
-/* Title Reference */
-/* cite */
+/* Margin Elements */
+/* see below for screen size dependent rules */
+aside.sidebar {
+/* overwrite minimal.css */
+ width: auto;
+ max-width: 100%;
+/* float: none; */
+}
+aside.sidebar,
+.marginal,
+.admonition.marginal,
+.topic.marginal {
+ background-color: #efefea;
+ box-sizing: border-box;
+ margin: 0.5em 0;
+ padding: 0.5em;
+ clear: right;
+}
-/* Inline Literals */
-/* possible values: normal, nowrap, pre, pre-wrap, pre-line */
-/* span.docutils.literal { white-space: pre-wrap; } */
+/* Adaptive page layout */
+
+/* larger margins and floating elements moderately small screens */
+/* main text more than around 40 characters/line */
+@media (min-width: 35em) {
+ /* wider margins */
+ main, header, footer {
+ padding: 0.5em calc(20% - 5rem);
+ line-height: 1.6
+ }
+ pre {
+ margin-right: calc(5rem - 20%);
+ }
+ /* floating margin elements */
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ max-width: min(45%, 18em);
+ margin-left: 1em;
+ clear: right;
+ float: right;
+ }
+ /* more indent for field-list values */
+ dl.field-list > dd,
+ dl.docinfo > dd {
+ margin-left: 6.4em;
+ }
+ dl.option-list > dd {
+ margin-left: 5em;
+ }
+}
-/* Hyperlink References */
-a { text-decoration: none; }
+@media (min-width: 65em) {
+ /* 2 column layout with wide margin */
+ main, header, footer {
+ padding: 0.5em 15%;
+ }
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ background-color: inherit;
+ /* background-color: lavender; */
+ margin-right: -18%;
+ padding: 0;
+ }
+ .admonition.marginal { padding: 0.5em; }
+}
-/* External Targets */
-/* span.target.external */
-/* Internal Targets */
-/* span.target.internal */
-/* Footnote References */
-/* a.footnote-reference */
-/* Citation References */
-/* a.citation-reference */
+/* Move ToC to the left */
+@media (min-width: 100em) {
+ main, header, footer {
+ margin-left: min(15%, 18em);
+ }
+ main > div.topic.contents {
+ position: fixed;
+ top: 0;
+ left: 0;
+ box-sizing: border-box;
+ width: min(25%, 28em);
+ height: 100vh;
+ margin: 0;
+ background-color: #fafaf6;
+ padding: 1em 2%;
+ overflow: auto;
+ }
+ main > div.topic.contents > * {
+ padding-left: 0;
+ }
+
+/* marginal elements outside of main text */
+@media (min-width: 126em) {
+ aside.sidebar,
+ figure.marginal,
+ .topic.marginal,
+ p.marginal {
+ width: min(45%, 18em);
+ }
+}
</style>
</head>
@@ -684,8 +791,34 @@ mode.</p>
</table>
</dd>
</dl>
+<div class="contents topic" id="contents">
+<p class="topic-title">Contents</p>
+<ul class="simple">
+<li><p><a class="reference internal" href="#motivation" id="id1">Motivation</a></p></li>
+<li><p><a class="reference internal" href="#usage" id="id2">Usage</a></p>
+<ul>
+<li><p><a class="reference internal" href="#conflicts" id="id3">Conflicts</a></p></li>
+</ul>
+</li>
+<li><p><a class="reference internal" href="#implementation" id="id4">Implementation</a></p>
+<ul>
+<li><p><a class="reference internal" href="#requirements" id="id5">Requirements</a></p></li>
+<li><p><a class="reference internal" href="#postpone-the-re-definitions" id="id6">Postpone the re-definitions</a></p></li>
+<li><p><a class="reference internal" href="#save-math-macros" id="id7">Save math macros</a></p></li>
+<li><p><a class="reference internal" href="#commands-to-access-greek-letters-by-name" id="id8">Commands to access Greek letters by name</a></p>
+<ul>
+<li><p><a class="reference internal" href="#archaic-letters" id="id9">Archaic letters</a></p></li>
+<li><p><a class="reference internal" href="#variant-shape-symbols" id="id10">Variant shape symbols</a></p></li>
+</ul>
+</li>
+<li><p><a class="reference internal" href="#textcompositecommands-for-the-generic-macros" id="id11">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="id12">Re-definition for Greek Unicode input in math mode</a></p></li>
+</ul>
+</li>
+</ul>
+</div>
<section id="motivation">
-<h2>Motivation</h2>
+<h2><a class="toc-backref" href="#id1">Motivation</a></h2>
<p>By default, the <span class="docutils literal">\alpha, \beta, ...</span> macros for Greek letters
are only valid in mathematical mode.</p>
<p>With this package, the math macros are redefined to work in both, text and
@@ -706,14 +839,14 @@ to ensure proper hyphenation.</p>
</div>
</section>
<section id="usage">
-<h2>Usage</h2>
+<h2><a class="toc-backref" href="#id2">Usage</a></h2>
<pre class="code latex literal-block"><code><span class="keyword">\usepackage</span><span class="name builtin">{</span>alphabeta<span class="name builtin">}</span></code></pre>
<p>The <a class="reference external" href="http://ctan.org/pkg/greek-inputenc">greek-inputenc</a> package provides support for Unicode (utf-8) input
of Greek characters with 8-bit TeX and the <a class="reference external" href="http://ctan.org/pkg/inputenc">inputenc</a> package:</p>
<pre class="code latex literal-block"><code><span class="keyword">\usepackage</span><span class="name attribute">[utf-8]</span><span class="name builtin">{</span>inputenc<span class="name builtin">}</span>
<span class="keyword">\usepackage</span><span class="name builtin">{</span>alphabeta<span class="name builtin">}</span></code></pre>
<section id="conflicts">
-<h3>Conflicts</h3>
+<h3><a class="toc-backref" href="#id3">Conflicts</a></h3>
<p><cite>alphabeta</cite> does not work if the <span class="docutils literal">utf8x</span> input encoding is selected.
(<span class="docutils literal">utf8x</span> is an interface to the <span class="docutils literal">ucs</span> package which uses a
non-compatible definition of <span class="docutils literal">\DeclareUnicodeCharacter</span>.)</p>
@@ -721,9 +854,9 @@ non-compatible definition of <span class="docutils literal">\DeclareUnicodeChara
</section>
</section>
<section id="implementation">
-<h2>Implementation</h2>
+<h2><a class="toc-backref" href="#id4">Implementation</a></h2>
<section id="requirements">
-<h3>Requirements</h3>
+<h3><a class="toc-backref" href="#id5">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>
@@ -736,13 +869,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>Postpone the re-definitions</h3>
+<h3><a class="toc-backref" href="#id6">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>Save math macros</h3>
+<h3><a class="toc-backref" href="#id7">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
@@ -799,7 +932,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>Commands to access Greek letters by name</h3>
+<h3><a class="toc-backref" href="#id8">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
@@ -869,7 +1002,7 @@ in both, text and math mode.</p>
\renewcommand*{\psi}{\TextOrMath{\textpsi}{\mathpsi}}
\renewcommand*{\omega}{\TextOrMath{\textomega}{\mathomega}}</pre>
<section id="archaic-letters">
-<h4>Archaic letters</h4>
+<h4><a class="toc-backref" href="#id9">Archaic letters</a></h4>
<pre class="literal-block">\renewcommand*{\digamma}{\TextOrMath{\textdigamma}{\mathdigamma}} % ϝ
\providecommand*{\Digamma}{\textDigamma} % Ϝ
\providecommand*{\stigma}{\textstigma} % ϛ
@@ -883,7 +1016,7 @@ in both, text and math mode.</p>
\providecommand*{\sampi}{\textsampi} % ϡ</pre>
</section>
<section id="variant-shape-symbols">
-<h4>Variant shape symbols</h4>
+<h4><a class="toc-backref" href="#id10">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>
@@ -921,7 +1054,7 @@ math (or, if not supported, the SYMBOL shape):</p>
</section>
</section>
<section id="textcompositecommands-for-the-generic-macros">
-<h3>TextCompositeCommands for the generic macros</h3>
+<h3><a class="toc-backref" href="#id11">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{\&gt;&quot;\alpha}</span></span> work as expected we define TextComposites with the
@@ -935,7 +1068,7 @@ is LGR).</p>
}{}</pre>
</section>
<section id="re-definition-for-greek-unicode-input-in-math-mode">
-<h3>Re-definition for Greek Unicode input in math mode</h3>
+<h3><a class="toc-backref" href="#id12">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">\&#64;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>
diff --git a/language/greek/greek-fontenc/diacritics.pdf b/language/greek/greek-fontenc/diacritics.pdf
index e4d03b8b78..5155ca6357 100644
--- a/language/greek/greek-fontenc/diacritics.pdf
+++ b/language/greek/greek-fontenc/diacritics.pdf
Binary files differ
diff --git a/language/greek/greek-fontenc/greek-euenc.def b/language/greek/greek-fontenc/greek-euenc.def
index d5201ac8ff..7d407be5ad 100644
--- a/language/greek/greek-fontenc/greek-euenc.def
+++ b/language/greek/greek-fontenc/greek-euenc.def
@@ -9,7 +9,7 @@
% version 1.3 of this license or any later version.
\ProvidesFile{greek-euenc.def}
-[2020/02/28 2.0 Greek LICRs for XeTeX and LuaTeX]
+[2020/10/30 2.0 Greek LICRs for XeTeX and LuaTeX]
% Just in case there is an old fontspec using EU1 or EU2::
diff --git a/language/greek/greek-fontenc/greek-fontenc.def.html b/language/greek/greek-fontenc/greek-fontenc.def.html
index a7dd6dc910..eb428d0557 100644
--- a/language/greek/greek-fontenc/greek-fontenc.def.html
+++ b/language/greek/greek-fontenc/greek-fontenc.def.html
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="utf-8"/>
-<meta name="generator" content="Docutils 0.17b.dev: http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.17b2.dev: http://docutils.sourceforge.net/" />
<title>greek-fontenc.def</title>
<meta name="dcterms.rights" content="© 2013 Günter Milde" />
<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
@@ -39,7 +39,8 @@
.align-bottom { vertical-align: bottom; }
/* titles */
-h1.title, p.subtitle {
+h1.title,
+p.subtitle {
text-align: center;
}
p.topic-title,
@@ -49,12 +50,12 @@ p.admonition-title,
p.system-message-title {
font-weight: bold;
}
-h1 + p.subtitle,
-h2 + p.section-subtitle {
+h1 + p.subtitle {
font-size: 1.6em;
}
-h3 + p.section-subtitle {
- font-size: 1.28em;
+h2 + p.section-subtitle,
+p.sidebar-title {
+ font-size: 1.2em;
}
p.subtitle,
p.section-subtitle,
@@ -62,9 +63,6 @@ p.sidebar-subtitle {
font-weight: bold;
margin-top: -0.5em;
}
-p.sidebar-title {
- font-size: larger;
-}
p.rubric {
font-size: larger;
color: maroon;
@@ -156,7 +154,10 @@ dl.docinfo > dt:after {
}
/* Bibliographic Fields (docinfo) */
-pre.address { font: inherit; }
+pre.address {
+ font: inherit;
+ margin: 0.5em 0;
+}
dd.authors > p { margin: 0; }
/* Option Lists */
@@ -167,7 +168,7 @@ span.option { white-space: nowrap; }
/* Footnotes and Citations */
dl.footnote.superscript > dd {margin-left: 1em; }
dl.footnote.brackets > dd {margin-left: 2em; }
-dl > dt.label { font-weight: normal; }
+dl.footnote > dt { font-weight: normal; }
a.footnote-reference.brackets:before,
dt.label > span.brackets:before { content: "["; }
a.footnote-reference.brackets:after,
@@ -175,19 +176,11 @@ dt.label > span.brackets:after { content: "]"; }
a.footnote-reference.superscript,
dl.footnote.superscript > dt.label {
vertical-align: super;
- font-size: smaller;
+ font-size: small;
}
dt.label > span.fn-backref { margin-left: 0.2em; }
dt.label > span.fn-backref > a { font-style: italic; }
-/* Line Blocks */
-div.line-block { display: block; }
-div.line-block div.line-block {
- margin-top: 0;
- margin-bottom: 0;
- margin-left: 40px;
-}
-
/* Figures, Images, and Tables */
.figure.align-left,
figure.align-left,
@@ -234,16 +227,18 @@ aside.sidebar {
blockquote,
div.topic,
div.admonition,
-div.system-message,
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- margin-left: 1.5em;
- margin-right: 1.5em;
+div.system-message {
+ margin-left: 2em;
+ margin-right: 2em;
}
+div.line-block { display: block; }
+div.line-block div.line-block {
+ margin: 0 0 0 2em;
+}
+pre { margin-left: 2em; }
pre.code .ln { color: gray; } /* line numbers */
+
/* Tables */
table { border-collapse: collapse; }
td, th {
@@ -257,7 +252,11 @@ td > p, th > p { margin-bottom: 0; }
table > caption {
text-align: left;
- margin-bottom: 0.25em
+ margin-top: 0.2em;
+ margin-bottom: 0.2em;
+}
+table.captionbelow {
+ caption-side: bottom;
}
table.borderless td, table.borderless th {
@@ -278,12 +277,13 @@ header, section, footer, aside, nav, main, article, figure {
</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 HTML writers. */
+/* 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: */
/* */
@@ -297,153 +297,193 @@ header, section, footer, aside, nav, main, article, figure {
/* .. _CSS3: http://www.w3.org/TR/CSS3 */
-/* Document Structure */
-/* ****************** */
+/* General Settings */
+/* ================ */
+
+/* Suited for all screen sizes or special to small ones (mobile first). */
+/* For adaption to larger screens see media queries below */
+@viewport {
+ zoom: 1.0;
+ width: extend-to-zoom;
+}
-/* "page layout" */
body {
- margin: 0;
- background-color: #dbdbdb;
+ background-color: #fafaf6;
+/* background-color: #fefdfb; */
+ font-size: larger;
+ line-height: 1.4;
+ margin: auto;
}
-div.document,
main {
- line-height:1.3;
- counter-reset: table figure;
- /* 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: 50em;
- padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */
- margin: auto;
- background-color: white;
+ counter-reset: figure table;
}
-
-/* Sections */
-
-/* Transitions */
-
-hr.docutils {
- width: 80%;
- margin-top: 1em;
- margin-bottom: 1em;
- clear: both;
+main, header, footer {
+ padding: 0.5em 5%;
+ background-color: #fefefc;
+ max-width: 66em;
}
-/* Paragraphs */
-/* ========== */
+main > *, section > * {
+ max-width: 55em; /* ca. 90…100 characters */
+}
+main > section, section > section {
+ max-width: 100%;
+}
-/* vertical space (parskip) */
-p, ol, ul, dl, li, dd,
+/* Vertical Space (Parskip) */
+p, ol, ul, dl, li,
div.line-block,
div.topic,
table {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
-p:first-child { margin-top: 0; }
-/* (:last-child is new in CSS 3) */
-p:last-child { margin-bottom: 0; }
-
h1, h2, h3, h4, h5, h6,
dl > dd {
margin-bottom: 0.5em;
}
+/* exceptions */
+p:first-child {
+ margin-top: 0;
+}
+p:last-child {
+ margin-bottom: 0;
+}
+blockquote > table,
+div.topic > table {
+ margin-top: 0;
+ margin-bottom: 0;
+}
-/* Lists */
-/* ===== */
+/* Indented Blocks */
+blockquote,
+figure,
+div.topic {
+ /* background-color: Honeydew; */
+ margin: 0.5em 2%;
+ padding-left: 1em;
+}
+div.line-block div.line-block,
+dl.option-list,
+.literal-block,
+pre {
+ /* background-color: LightCyan; */
+ margin-left: calc(2% + 1em);
+}
-/* Separate list entries in compound lists */
-dl > dd, ol > li,
+/* Object styling */
+/* ============== */
-/* Definition Lists */
-/* Indent lists nested in definition lists */
-/* (:only-child is new in CSS 3) */
-dd > ul:only-child, dd > ol:only-child { padding-left: 1em; }
+footer > *, header > *,
+aside.sidebar > *, .marginal > * {
+ font-size: smaller;
+}
-/* Description Lists */
-/* styled like in most dictionaries, encyclopedias etc. */
-dl.description > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
+/* Frontmatter */
+blockquote.dedication,
+div.topic.dedication {
padding: 0;
- padding-right: 0.5em;
+ margin-left: 0;
+ font-style: italic;
+ font-size: larger;
+}
+/* div.abstract p.topic-title, */
+div.dedication p.topic-title {
+ display: none;
}
-/* Field Lists */
+blockquote p.attribution,
+div.topic p.attribution {
+ text-align: right;
+}
-/* example for custom field-name width */
-dl.field-list.narrow > dd {
- margin-left: 5em;
+/* Table of Contents */
+div.topic.contents {
+ padding: 0;
}
-/* run-in: start field-body on same line after long field names */
-dl.field-list.run-in > dd p {
- display: block;
+ul.auto-toc > li > p {
+ padding-left: 1em;
+ text-indent: -1em;
+}
+div.topic.contents ul {
+ padding-left: 1em;
}
-/* Bibliographic Fields */
+/* Transitions */
+hr {
+ margin: 1em 10%;
+}
-/* generally, bibliographic fields use special definition list dl.docinfo */
-/* but dedication and abstract are placed into "topic" divs */
-div.abstract p.topic-title {
- text-align: center;
+/* Lists */
+
+/* Smaller indent on small screens */
+ul, ol {
+ padding-left: 1.1em;
}
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic;
+dd {
+ margin-left: 1.5em;
}
-div.dedication p.topic-title {
- font-style: normal;
+dl.field-list > dd {
+ margin-left: 4em;
+}
+dl.field-list.narrow > dd,
+dl.docinfo > dd,
+dl.option-list > dd {
+ margin-left: 2.4em;
+}
+/* run-in: start field-body on same line after long field names */
+dl.field-list.run-in > dd p {
+ display: block;
}
-/* Citations */
-dl.citation dt.label {
+/* "description style" like in most dictionaries, encyclopedias etc. */
+dl.description > dt {
+ clear: left;
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 0.5em;
font-weight: bold;
}
-span.fn-backref {
- font-weight: normal;
+dl.description > dd:after {
+ display: block;
+ content: "";
+ clear: both;
}
-
-/* Text Blocks */
-/* =========== */
-
-/* Literal Blocks */
-
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- font-family: monospace;
+/* start lists nested in description/field lists on new line */
+dd > dl:first-child,
+dd > ul:first-child,
+dd > ol:first-child {
+ clear: left;
+}
+/* Footnotes and Citations */
+/* TODO: use <aside> */
+dl.footnote {
+ font-size: smaller;
+ padding-left: 0.5em;
+/* text-indent: -0.5em; */
+ border-left: solid;
+ border-left-width: thin;
}
-/* Block Quotes */
-
-blockquote > table,
-div.topic > table {
- margin-top: 0;
- margin-bottom: 0;
+/* Images, Figures, and Tables */
+img {
+ display: block;
}
-blockquote p.attribution,
-div.topic p.attribution {
- text-align: right;
- margin-left: 20%;
+p > img, p > a > img,
+figure > img, figure > a > img {
+ display: inline;
}
-/* Tables */
-/* ====== */
+table tr {
+ text-align: left;
+}
/* th { vertical-align: bottom; } */
-
-table tr { text-align: left; }
-
/* "booktabs" style (no vertical lines) */
table.booktabs {
- border: 0;
border-top: 2px solid;
border-bottom: 2px solid;
- border-collapse: collapse;
}
table.booktabs * {
border: 0;
@@ -452,101 +492,59 @@ 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 */
-dl.footnote {
- padding-left: 1ex;
- border-left: solid;
- border-left-width: thin;
-}
-
-/* Directives */
-/* ---------- */
-
-/* Body Elements */
-/* ~~~~~~~~~~~~~ */
-
-/* Images and Figures */
-
-/* let content flow to the side of aligned images and figures */
-.figure.align-left,
-figure.align-left,
-img.align-left,
-object.align-left {
- display: block;
- clear: left;
- float: left;
- margin-right: 1em;
+figcaption,
+table > caption {
+ /* font-size: smaller; */
+ font-style: italic;
}
-.figure.align-right,
-figure.align-right,
-img.align-right,
-object.align-right {
- display: block;
- clear: right;
- float: right;
- margin-left: 1em;
+figcaption > .legend {
+ font-size: smaller;
+ font-style: initial;
}
-/* Stop floating sidebars, images and figures at section level 1,2,3 */
-h1, h2, h3, h4 { clear: both; }
-/* Numbered figures */
figure.numbered > figcaption > p:before {
counter-increment: figure;
content: "Figure " counter(figure) ": ";
font-weight: bold;
+ font-style: initial;
+}
+table.numbered > caption:before {
+ counter-increment: table;
+ content: "Table " counter(table) ": ";
+ font-weight: bold;
+ font-style: initial;
}
-
/* Admonitions and System Messages */
-
div.admonition,
-div.system-message,
-aside.sidebar {
- border: medium outset;
- margin: 1em 1.5em;
- padding: 0.5em 1em;
+div.system-message {
+ box-sizing: border-box;
+ border-style: solid;
+ border-color: silver;
+ border-width: thin;
+ margin: 1em 2%;
+ padding: 0.5em;
}
-
div.caution p.admonition-title,
div.attention p.admonition-title,
div.danger p.admonition-title,
-div.error p.admonition-title,
div.warning p.admonition-title,
div.error {
- color: red;
+ color: maroon;
+}
+div.system-message > p > span.literal {
+ overflow-wrap: break-word;
}
-
-/* Sidebar */
-
-/* Move right. In a layout with fixed margins, */
-/* it can be moved into the margin. */
-div.sidebar,
-aside.sidebar {
- width: 30%;
- max-width: 26em;
- margin-left: 1em;
- margin-right: -2%;
- background-color: #ffffee;
+/* Literal and Code */
+pre {
+ /* font-family: Consolas, "Liberation Mono", Menlo, monospace; */
+ /* font-size: 0.9em; */
+ overflow: auto;
+ margin-right: -5%;
}
-/* Code */
-pre.code { padding: 0.7ex }
-pre.code, code { background-color: #eeeeee }
pre.code .ln { color: gray; } /* line numbers */
/* basic highlighting: for a complete scheme, see */
/* http://docutils.sourceforge.net/sandbox/stylesheets/ */
@@ -557,52 +555,160 @@ pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
-/* Math */
-/* styled separately (see math.css for math-output=HTML) */
-/* Epigraph */
-/* Highlights */
-/* Pull-Quote */
-/* Compound Paragraph */
-/* Container */
-/* Document Header and Footer */
+.sans {
+ font-family: "Gill Sans", "Gill Sans MT", Calibri, "Lucida Sans", "Noto Sans", sans-serif;
+ letter-spacing: .02em;
+}
-footer, header {
- font-size: smaller;
+/* Hyperlink References */
+/* underline that clears descenders */
+a {
+ text-decoration: none;
+ text-decoration-skip-ink: auto; /* nonstandard selector */
+}
+a:link{
+ overflow-wrap: break-word;
+}
+/* undecorated links */
+a[href^="#system-message"],
+.contents a, a.toc-backref, a.image-reference,
+a.footnote-reference, a.fn-backref, .fn-backref a,
+a.citation-reference {
+ color: inherit;
+}
+a:link:hover {
+ text-decoration: underline;
+}
+
+
+/* Block Alignment */
+/* Let content flow to the side of aligned images and figures */
+
+/* no floats around this elements */
+dl.footnote, dl.citation, /* errors with internal floats */
+footer, header, hr,
+h1, h2, h3, .contents > p.topic-title {
clear: both;
- padding: 0.5em 2%;
- background-color: #ebebee;
- border: none;
}
-/* Inline Markup */
-/* ============= */
+img.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,
+figure.align-right,
+table.align-right {
+ margin-left: 0.5em;
+ clear: right;
+ float: right;
+}
+
+/* Margin Elements */
+/* see below for screen size dependent rules */
+aside.sidebar {
+/* overwrite minimal.css */
+ width: auto;
+ max-width: 100%;
+/* float: none; */
+}
+aside.sidebar,
+.marginal,
+.admonition.marginal,
+.topic.marginal {
+ background-color: #efefea;
+ box-sizing: border-box;
+ margin: 0.5em 0;
+ padding: 0.5em;
+ clear: right;
+}
-/* Emphasis */
-/* em */
-/* Strong Emphasis */
-/* strong */
-/* Interpreted Text */
-/* span.interpreted */
-/* Title Reference */
-/* cite */
+/* Adaptive page layout */
+
+/* larger margins and floating elements moderately small screens */
+/* main text more than around 40 characters/line */
+@media (min-width: 35em) {
+ /* wider margins */
+ main, header, footer {
+ padding: 0.5em calc(20% - 5rem);
+ line-height: 1.6
+ }
+ pre {
+ margin-right: calc(5rem - 20%);
+ }
+ /* floating margin elements */
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ max-width: min(45%, 18em);
+ margin-left: 1em;
+ clear: right;
+ float: right;
+ }
+ /* more indent for field-list values */
+ dl.field-list > dd,
+ dl.docinfo > dd {
+ margin-left: 6.4em;
+ }
+ dl.option-list > dd {
+ margin-left: 5em;
+ }
+}
-/* Inline Literals */
-/* possible values: normal, nowrap, pre, pre-wrap, pre-line */
-/* span.docutils.literal { white-space: pre-wrap; } */
+@media (min-width: 65em) {
+ /* 2 column layout with wide margin */
+ main, header, footer {
+ padding: 0.5em 15%;
+ }
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ background-color: inherit;
+ /* background-color: lavender; */
+ margin-right: -18%;
+ padding: 0;
+ }
+ .admonition.marginal { padding: 0.5em; }
+}
-/* Hyperlink References */
-a { text-decoration: none; }
-
-/* External Targets */
-/* span.target.external */
-/* Internal Targets */
-/* span.target.internal */
-/* Footnote References */
-/* a.footnote-reference */
-/* Citation References */
-/* a.citation-reference */
+/* Move ToC to the left */
+@media (min-width: 100em) {
+ main, header, footer {
+ padding-left: min(30%, 36em);
+ }
+ main > div.topic.contents {
+ position: fixed;
+ top: 0;
+ left: 0;
+ box-sizing: border-box;
+ width: min(25%, 28em);
+ height: 100vh;
+ margin: 0;
+ background-color: #fafaf6;
+ padding: 5.5em 2%;
+ overflow: auto;
+ }
+ main > div.topic.contents > * {
+ padding-left: 0;
+ }
+
+/* marginal elements outside of main text */
+@media (min-width: 126em) {
+ aside.sidebar,
+ figure.marginal,
+ .topic.marginal,
+ p.marginal {
+ width: min(45%, 18em);
+ }
+}
</style>
</head>
diff --git a/language/greek/greek-fontenc/greek-fontenc.html b/language/greek/greek-fontenc/greek-fontenc.html
index 6b9caa68f7..a1fcfab7ac 100644
--- a/language/greek/greek-fontenc/greek-fontenc.html
+++ b/language/greek/greek-fontenc/greek-fontenc.html
@@ -1,628 +1,32 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
-<meta charset="utf-8"/>
-<meta name="generator" content="Docutils 0.17b.dev: http://docutils.sourceforge.net/" />
+<meta charset="utf-8" />
+<meta name="viewport" content="width=device-width, initial-scale=1" />
+<meta name="generator" content="Docutils 0.19b.dev: https://docutils.sourceforge.io/" />
<title>greek-fontenc</title>
<meta name="author" content="Günter Milde" />
-<meta name="dcterms.rights" content="© 2013 Günter Milde &lt;milde&#64;users.sf.net&gt;" />
+<meta name="dcterms.rights" content="© 2010 – 2022 Günter Milde &lt;milde&#64;users.sf.net&gt;" />
<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
-<style type="text/css">
-
-/* Minimal style sheet for the HTML output of Docutils. */
-/* */
-/* :Author: Günter Milde, based on html4css1.css by David Goodger */
-/* :Id: $Id$ */
-/* :Copyright: © 2015 Günter Milde. */
-/* :License: Released under the terms of the `2-Clause BSD license`_, */
-/* in short: */
-/* */
-/* Copying and distribution of this file, with or without modification, */
-/* are permitted in any medium without royalty provided the copyright */
-/* notice and this notice are preserved. */
-/* */
-/* This file is offered as-is, without any warranty. */
-/* */
-/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
-
-/* This CSS2.1_ stylesheet defines rules for Docutils elements without */
-/* HTML equivalent. It is required to make the document semantic visible. */
-/* */
-/* .. _CSS2.1: http://www.w3.org/TR/CSS2 */
-/* .. _validates: http://jigsaw.w3.org/css-validator/validator$link */
-
-/* alignment of text and inline objects inside block objects*/
-.align-left { text-align: left; }
-.align-right { text-align: right; }
-.align-center { clear: both; text-align: center; }
-.align-top { vertical-align: top; }
-.align-middle { vertical-align: middle; }
-.align-bottom { vertical-align: bottom; }
-
-/* titles */
-h1.title, p.subtitle {
- text-align: center;
-}
-p.topic-title,
-p.sidebar-title,
-p.rubric,
-p.admonition-title,
-p.system-message-title {
- font-weight: bold;
-}
-h1 + p.subtitle,
-h2 + p.section-subtitle {
- font-size: 1.6em;
-}
-h3 + p.section-subtitle {
- font-size: 1.28em;
-}
-p.subtitle,
-p.section-subtitle,
-p.sidebar-subtitle {
- font-weight: bold;
- margin-top: -0.5em;
-}
-p.sidebar-title {
- font-size: larger;
-}
-p.rubric {
- font-size: larger;
- color: maroon;
-}
-a.toc-backref {
- color: black;
- text-decoration: none; }
-
-/* Warnings, Errors */
-div.system-messages h2,
-span.problematic,
-p.system-message-title {
- color: red;
-}
-
-/* inline literals */
-span.docutils.literal {
- font-family: monospace;
- white-space: pre-wrap;
-}
-/* do not wraph at hyphens and similar: */
-.literal > span.pre { white-space: nowrap; }
-
-/* Lists */
-
-/* compact and simple lists: no margin between items */
-.simple li, .compact li,
-.simple ul, .compact ul,
-.simple ol, .compact ol,
-.simple > li p, .compact > li p,
-dl.simple > dd, dl.compact > dd {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-/* Table of Contents */
-div.topic.contents { margin: 0.5em 0; }
-div.topic.contents ul {
- list-style-type: none;
- padding-left: 1.5em;
-}
-
-/* Enumerated Lists */
-ol.arabic { list-style: decimal }
-ol.loweralpha { list-style: lower-alpha }
-ol.upperalpha { list-style: upper-alpha }
-ol.lowerroman { list-style: lower-roman }
-ol.upperroman { list-style: upper-roman }
-
-dt span.classifier { font-style: italic }
-dt span.classifier:before {
- font-style: normal;
- margin: 0.5em;
- content: ":";
-}
-
-/* Field Lists and drivatives */
-/* bold field name, content starts on the same line */
-dl.field-list > dt,
-dl.option-list > dt,
-dl.docinfo > dt,
-dl.footnote > dt,
-dl.citation > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
- padding: 0;
- padding-right: 0.5em;
-}
-/* Offset for field content (corresponds to the --field-name-limit option) */
-dl.field-list > dd,
-dl.option-list > dd,
-dl.docinfo > dd {
- margin-left: 9em; /* ca. 14 chars in the test examples */
-}
-/* start field-body on a new line after long field names */
-dl.field-list > dd > *:first-child,
-dl.option-list > dd > *:first-child
-{
- display: inline-block;
- width: 100%;
- margin: 0;
-}
-/* field names followed by a colon */
-dl.field-list > dt:after,
-dl.docinfo > dt:after {
- content: ":";
-}
-
-/* Bibliographic Fields (docinfo) */
-pre.address { font: inherit; }
-dd.authors > p { margin: 0; }
-
-/* Option Lists */
-dl.option-list { margin-left: 1.5em; }
-dl.option-list > dt { font-weight: normal; }
-span.option { white-space: nowrap; }
-
-/* Footnotes and Citations */
-dl.footnote.superscript > dd {margin-left: 1em; }
-dl.footnote.brackets > dd {margin-left: 2em; }
-dl > dt.label { font-weight: normal; }
-a.footnote-reference.brackets:before,
-dt.label > span.brackets:before { content: "["; }
-a.footnote-reference.brackets:after,
-dt.label > span.brackets:after { content: "]"; }
-a.footnote-reference.superscript,
-dl.footnote.superscript > dt.label {
- vertical-align: super;
- font-size: smaller;
-}
-dt.label > span.fn-backref { margin-left: 0.2em; }
-dt.label > span.fn-backref > a { font-style: italic; }
-
-/* Line Blocks */
-div.line-block { display: block; }
-div.line-block div.line-block {
- margin-top: 0;
- margin-bottom: 0;
- margin-left: 40px;
-}
-
-/* Figures, Images, and Tables */
-.figure.align-left,
-figure.align-left,
-img.align-left,
-object.align-left,
-table.align-left {
- margin-right: auto;
-}
-.figure.align-center,
-figure.align-center,
-img.align-center,
-object.align-center,
-table.align-center {
- margin-left: auto;
- margin-right: auto;
-}
-.figure.align-right,
-figure.align-right,
-img.align-right,
-object.align-right,
-table.align-right {
- margin-left: auto;
-}
-img.align-center, img.align-right,
-object.align-center, object.align-right {
- display: block;
-}
-/* reset inner alignment in figures and tables */
-.figure.align-left, .figure.align-right,
-figure.align-left, figure.align-right,
-table.align-left, table.align-center, table.align-right {
- text-align: inherit;
-}
-
-/* Sidebar */
-aside.sidebar {
- width: 30%;
- max-width: 26em;
- float: right;
- clear: right;
-}
-
-/* Text Blocks */
-blockquote,
-div.topic,
-div.admonition,
-div.system-message,
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- margin-left: 1.5em;
- margin-right: 1.5em;
-}
-pre.code .ln { color: gray; } /* line numbers */
-
-/* Tables */
-table { border-collapse: collapse; }
-td, th {
- border-style: solid;
- border-color: silver;
- padding: 0 1ex;
- border-width: thin;
-}
-td > p:first-child, th > p:first-child { margin-top: 0; }
-td > p, th > p { margin-bottom: 0; }
-
-table > caption {
- text-align: left;
- margin-bottom: 0.25em
-}
-
-table.borderless td, table.borderless th {
- border: 0;
- padding: 0;
- padding-right: 0.5em /* separate table cells */
-}
-
-/* Document Header and Footer */
-header { border-bottom: 1px solid black; }
-footer { border-top: 1px solid black; }
-
-/* new HTML5 block elements: set display for older browsers */
-header, section, footer, aside, nav, main, article, figure {
- display: block;
-}
-
-</style>
-<style type="text/css">
-
-/* CSS31_ style sheet for the output of Docutils HTML writers. */
-/* Rules for easy reading and pre-defined style variants. */
-/* */
-/* :Author: Günter Milde, based on html4css1.css by David Goodger */
-/* :Id: $Id$ */
-/* :Copyright: © 2015 Günter Milde. */
-/* :License: Released under the terms of the `2-Clause BSD license`_, */
-/* in short: */
-/* */
-/* Copying and distribution of this file, with or without modification, */
-/* are permitted in any medium without royalty provided the copyright */
-/* notice and this notice are preserved. */
-/* */
-/* This file is offered as-is, without any warranty. */
-/* */
-/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
-/* .. _CSS3: http://www.w3.org/TR/CSS3 */
-
-
-/* Document Structure */
-/* ****************** */
-
-/* "page layout" */
-body {
- margin: 0;
- background-color: #dbdbdb;
-}
-div.document,
-main {
- line-height:1.3;
- counter-reset: table figure;
- /* 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: 50em;
- padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */
- margin: auto;
- background-color: white;
-}
-
-/* Sections */
-
-/* Transitions */
-
-hr.docutils {
- width: 80%;
- margin-top: 1em;
- margin-bottom: 1em;
- clear: both;
-}
-
-/* Paragraphs */
-/* ========== */
-
-/* vertical space (parskip) */
-p, ol, ul, dl, li, dd,
-div.line-block,
-div.topic,
-table {
- margin-top: 0.5em;
- margin-bottom: 0.5em;
-}
-p:first-child { margin-top: 0; }
-/* (:last-child is new in CSS 3) */
-p:last-child { margin-bottom: 0; }
-
-h1, h2, h3, h4, h5, h6,
-dl > dd {
- margin-bottom: 0.5em;
-}
-
-/* Lists */
-/* ===== */
-
-/* Separate list entries in compound lists */
-dl > dd, ol > li,
-
-/* Definition Lists */
-/* Indent lists nested in definition lists */
-/* (:only-child is new in CSS 3) */
-dd > ul:only-child, dd > ol:only-child { padding-left: 1em; }
-
-/* Description Lists */
-/* styled like in most dictionaries, encyclopedias etc. */
-dl.description > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
- padding: 0;
- padding-right: 0.5em;
-}
-
-/* Field Lists */
-
-/* example for custom field-name width */
-dl.field-list.narrow > dd {
- margin-left: 5em;
-}
-/* run-in: start field-body on same line after long field names */
-dl.field-list.run-in > dd p {
- display: block;
-}
-
-/* Bibliographic Fields */
-
-/* generally, bibliographic fields use special definition list dl.docinfo */
-/* but dedication and abstract are placed into "topic" divs */
-div.abstract p.topic-title {
- text-align: center;
-}
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic;
-}
-div.dedication p.topic-title {
- font-style: normal;
-}
-
-/* Citations */
-dl.citation dt.label {
- font-weight: bold;
-}
-span.fn-backref {
- font-weight: normal;
-}
-
-/* Text Blocks */
-/* =========== */
-
-/* Literal Blocks */
-
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- font-family: monospace;
-}
-
-/* Block Quotes */
-
-blockquote > table,
-div.topic > table {
- margin-top: 0;
- margin-bottom: 0;
-}
-blockquote p.attribution,
-div.topic p.attribution {
- text-align: right;
- margin-left: 20%;
-}
-
-/* Tables */
-/* ====== */
-
-/* th { vertical-align: bottom; } */
-
-table tr { text-align: left; }
-
-/* "booktabs" style (no vertical lines) */
-table.booktabs {
- border: 0;
- border-top: 2px solid;
- border-bottom: 2px solid;
- border-collapse: collapse;
-}
-table.booktabs * {
- border: 0;
-}
-table.booktabs th {
- border-bottom: thin solid;
-}
-
-/* numbered tables (counter defined in div.document) */
-table.numbered > caption:before {
- counter-increment: table;
- content: "Table " counter(table) ": ";
- font-weight: bold;
-}
-
-/* Explicit Markup Blocks */
-/* ====================== */
-
-/* Footnotes and Citations */
-/* ----------------------- */
-
-/* line on the left */
-dl.footnote {
- padding-left: 1ex;
- border-left: solid;
- border-left-width: thin;
-}
-
-/* Directives */
-/* ---------- */
-
-/* Body Elements */
-/* ~~~~~~~~~~~~~ */
-
-/* Images and Figures */
-
-/* let content flow to the side of aligned images and figures */
-.figure.align-left,
-figure.align-left,
-img.align-left,
-object.align-left {
- display: block;
- clear: left;
- float: left;
- margin-right: 1em;
-}
-.figure.align-right,
-figure.align-right,
-img.align-right,
-object.align-right {
- display: block;
- clear: right;
- float: right;
- margin-left: 1em;
-}
-/* Stop floating sidebars, images and figures at section level 1,2,3 */
-h1, h2, h3, h4 { clear: both; }
-
-/* Numbered figures */
-figure.numbered > figcaption > p:before {
- counter-increment: figure;
- content: "Figure " counter(figure) ": ";
- font-weight: bold;
-}
-
-
-/* Admonitions and System Messages */
-
-div.admonition,
-div.system-message,
-aside.sidebar {
- border: medium outset;
- margin: 1em 1.5em;
- padding: 0.5em 1em;
-}
-
-div.caution p.admonition-title,
-div.attention p.admonition-title,
-div.danger p.admonition-title,
-div.error p.admonition-title,
-div.warning p.admonition-title,
-div.error {
- color: red;
-}
-
-
-/* Sidebar */
-
-/* Move right. In a layout with fixed margins, */
-/* it can be moved into the margin. */
-div.sidebar,
-aside.sidebar {
- width: 30%;
- max-width: 26em;
- margin-left: 1em;
- margin-right: -2%;
- background-color: #ffffee;
-}
-
-/* Code */
-
-pre.code { padding: 0.7ex }
-pre.code, code { background-color: #eeeeee }
-pre.code .ln { color: gray; } /* line numbers */
-/* basic highlighting: for a complete scheme, see */
-/* http://docutils.sourceforge.net/sandbox/stylesheets/ */
-pre.code .comment, code .comment { color: #5C6576 }
-pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
-pre.code .literal.string, code .literal.string { color: #0C5404 }
-pre.code .name.builtin, code .name.builtin { color: #352B84 }
-pre.code .deleted, code .deleted { background-color: #DEB0A1}
-pre.code .inserted, code .inserted { background-color: #A3D289}
-
-/* Math */
-/* styled separately (see math.css for math-output=HTML) */
-
-/* Epigraph */
-/* Highlights */
-/* Pull-Quote */
-/* Compound Paragraph */
-/* Container */
-
-/* Document Header and Footer */
-
-footer, header {
- font-size: smaller;
- clear: both;
- padding: 0.5em 2%;
- background-color: #ebebee;
- border: none;
-}
-
-/* Inline Markup */
-/* ============= */
-
-/* Emphasis */
-/* em */
-/* Strong Emphasis */
-/* strong */
-/* Interpreted Text */
-/* span.interpreted */
-/* Title Reference */
-/* cite */
-
-/* Inline Literals */
-/* possible values: normal, nowrap, pre, pre-wrap, pre-line */
-/* span.docutils.literal { white-space: pre-wrap; } */
-
-/* Hyperlink References */
-a { text-decoration: none; }
-
-/* External Targets */
-/* span.target.external */
-/* Internal Targets */
-/* span.target.internal */
-/* Footnote References */
-/* a.footnote-reference */
-/* Citation References */
-/* a.citation-reference */
-
-</style>
+<link rel="stylesheet" href="minimal.css" type="text/css" />
+<link rel="stylesheet" href="responsive.css" type="text/css" />
</head>
-<body>
+<body class="with-toc">
<main id="greek-fontenc">
<h1 class="title">greek-fontenc</h1>
<p class="subtitle" id="greek-font-encoding-definition-files">Greek font encoding definition files</p>
<dl class="docinfo simple">
-<dt class="author">Author</dt>
+<dt class="author">Author<span class="colon">:</span></dt>
<dd class="author"><p>Günter Milde</p></dd>
-<dt class="copyright">Copyright</dt>
-<dd class="copyright">© 2013 Günter Milde &lt;<a class="reference external" href="mailto:milde&#64;users.sf.net">milde&#64;users.sf.net</a>&gt;</dd>
-<dt class="licence">Licence</dt>
+<dt class="copyright">Copyright<span class="colon">:</span></dt>
+<dd class="copyright">© 2010 – 2022 Günter Milde &lt;<a class="reference external" href="mailto:milde&#64;users.sf.net">milde&#64;users.sf.net</a>&gt;</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>
</dl>
-<div class="abstract topic">
+<div class="topic abstract" role="doc-abstract">
<p class="topic-title">Abstract</p>
<p><cite>LaTeX internal character representation</cite> (LICR) macros are a
verbose but failsafe 7-bit ASCII encoding that works unaltered
@@ -634,43 +38,38 @@ Greek script and encoding definition files for
or <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> (XeTeX/LuaTeX).</p>
<p>Included are also the LaTeX packages <a class="reference internal" href="#textalpha">textalpha</a> and <a class="reference internal" href="#alphabeta">alphabeta</a>.</p>
</div>
-<div class="contents topic" id="contents">
+<nav class="contents" id="contents" role="doc-toc">
<p class="topic-title">Contents</p>
<ul class="simple">
-<li><p><a class="reference internal" href="#changelog" id="id19">Changelog</a></p></li>
-<li><p><a class="reference internal" href="#tex-files" id="id20">TeX files</a></p></li>
-<li><p><a class="reference internal" href="#documentation-and-test-documents" id="id21">Documentation and test documents</a></p></li>
-<li><p><a class="reference internal" href="#experimental-files" id="id22">Experimental files</a></p></li>
-<li><p><a class="reference internal" href="#installation" id="id23">Installation</a></p></li>
-<li><p><a class="reference internal" href="#conflicts" id="id24">Conflicts</a></p></li>
-<li><p><a class="reference internal" href="#usage" id="id25">Usage</a></p></li>
-<li><p><a class="reference internal" href="#greek-text-font-encodings" id="id26">Greek text font encodings</a></p>
+<li><p><a class="reference internal" href="#changelog" id="toc-entry-1">Changelog</a></p></li>
+<li><p><a class="reference internal" href="#tex-files" id="toc-entry-2">TeX files</a></p></li>
+<li><p><a class="reference internal" href="#documentation-and-test-documents" id="toc-entry-3">Documentation and test documents</a></p></li>
+<li><p><a class="reference internal" href="#experimental-files" id="toc-entry-4">Experimental files</a></p></li>
+<li><p><a class="reference internal" href="#installation" id="toc-entry-5">Installation</a></p></li>
+<li><p><a class="reference internal" href="#conflicts" id="toc-entry-6">Conflicts</a></p></li>
+<li><p><a class="reference internal" href="#usage" id="toc-entry-7">Usage</a></p></li>
+<li><p><a class="reference internal" href="#greek-text-font-encodings" id="toc-entry-8">Greek text font encodings</a></p>
<ul>
-<li><p><a class="reference internal" href="#t7" id="id27">T7</a></p></li>
-<li><p><a class="reference internal" href="#lgr" id="id28">LGR</a></p></li>
-<li><p><a class="reference internal" href="#lgi" id="id29">LGI</a></p></li>
-<li><p><a class="reference internal" href="#tu" id="id30">TU</a></p></li>
-<li><p><a class="reference internal" href="#pu" id="id31">PU</a></p></li>
+<li><p><a class="reference internal" href="#t7" id="toc-entry-9">T7</a></p></li>
+<li><p><a class="reference internal" href="#lgr" id="toc-entry-10">LGR</a></p></li>
+<li><p><a class="reference internal" href="#lgi" id="toc-entry-11">LGI</a></p></li>
+<li><p><a class="reference internal" href="#tu" id="toc-entry-12">TU</a></p></li>
+<li><p><a class="reference internal" href="#pu" id="toc-entry-13">PU</a></p></li>
</ul>
</li>
-<li><p><a class="reference internal" href="#selecting-greek-licr-macro-names" id="id32">Selecting Greek LICR macro names</a></p>
+<li><p><a class="reference internal" href="#selecting-greek-licr-macro-names" id="toc-entry-14">Selecting Greek LICR macro names</a></p>
<ul>
-<li><p><a class="reference internal" href="#letters-and-symbols" id="id33">letters and symbols</a></p></li>
-<li><p><a class="reference internal" href="#accent-macros" id="id34">accent macros</a></p></li>
-<li><p><a class="reference internal" href="#symbol-variants" id="id35">symbol variants</a></p></li>
+<li><p><a class="reference internal" href="#letters-and-symbols" id="toc-entry-15">letters and symbols</a></p></li>
+<li><p><a class="reference internal" href="#accent-macros" id="toc-entry-16">accent macros</a></p></li>
+<li><p><a class="reference internal" href="#symbol-variants" id="toc-entry-17">symbol variants</a></p></li>
</ul>
</li>
-<li><p><a class="reference internal" href="#references" id="id36">References</a></p></li>
+<li><p><a class="reference internal" href="#references" id="toc-entry-18">References</a></p></li>
</ul>
-</div>
+</nav>
<section id="changelog">
-<h2><a class="toc-backref" href="#id19">Changelog</a></h2>
+<h2><a class="toc-backref" href="#toc-entry-1" role="doc-backlink">Changelog</a></h2>
<table class="borderless">
-<colgroup>
-<col style="width: 8%" />
-<col style="width: 14%" />
-<col style="width: 78%" />
-</colgroup>
<tbody>
<tr><td><p>0.9</p></td>
<td><p>2013-07-03</p></td>
@@ -857,11 +256,16 @@ of <span class="docutils literal">\UTFencname</span> for the Unicode font encodi
<td></td>
<td><p>Documentation update.</p></td>
</tr>
+<tr><td><p>2.1</p></td>
+<td><p>2022-06-14</p></td>
+<td><p>Support the correct spelling <span class="docutils literal">\guillemet…</span> for « and ».
+See <a class="reference external" href="https://github.com/latex3/latex2e/issues/65">https://github.com/latex3/latex2e/issues/65</a></p></td>
+</tr>
</tbody>
</table>
</section>
<section id="tex-files">
-<h2><a class="toc-backref" href="#id20">TeX files</a></h2>
+<h2><a class="toc-backref" href="#toc-entry-2" role="doc-backlink">TeX files</a></h2>
<dl>
<dt><a class="reference external" href="lgrenc.def">lgrenc.def</a></dt>
<dd><p><a class="reference external" href="lgrenc.def.html">LGR Greek font encoding definitions</a>.</p>
@@ -903,7 +307,7 @@ encoding, and TeX engine.</p>
with <a class="reference external" href="http://docutils.sourceforge.net/rst.html">Docutils</a> to the HTML documentation.</p>
</section>
<section id="documentation-and-test-documents">
-<h2><a class="toc-backref" href="#id21">Documentation and test documents</a></h2>
+<h2><a class="toc-backref" href="#toc-entry-3" role="doc-backlink">Documentation and test documents</a></h2>
<dl class="simple">
<dt>Overview:</dt>
<dd><p><a class="reference external" href="README">README</a>, <a class="reference external" href="greek-fontenc.html">greek-fontenc.html</a></p>
@@ -932,7 +336,7 @@ with <a class="reference external" href="http://docutils.sourceforge.net/rst.htm
</dl>
</section>
<section id="experimental-files">
-<h2><a class="toc-backref" href="#id22">Experimental files</a></h2>
+<h2><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">Experimental files</a></h2>
<p>These files are still in development and will eventually be moved to/merged
with other packages or removed in future versions:</p>
<dl class="simple">
@@ -942,7 +346,7 @@ with other packages or removed in future versions:</p>
</dl>
</section>
<section id="installation">
-<h2><a class="toc-backref" href="#id23">Installation</a></h2>
+<h2><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Installation</a></h2>
<p>If possible, get the bundle from your distribution using its installation
manager.</p>
<p>Otherwise, make sure LaTeX can find the package and definition files:</p>
@@ -954,14 +358,14 @@ the current working directory (e.g. for testing).</p></li>
</ul>
</section>
<section id="conflicts">
-<h2><a class="toc-backref" href="#id24">Conflicts</a></h2>
+<h2><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">Conflicts</a></h2>
<p>The <a class="reference external" href="https://www.ctan.org/pkg/arabi">arabi</a> package provides the Babel <span class="docutils literal">arabic</span> option which loads
<span class="docutils literal">arabicfnt.sty</span> for font setup. This package overwrites the LICR macros
<span class="docutils literal">\omega</span> and <span class="docutils literal">\textomega</span> with font selecting commands. See the report
for Debian <a class="reference external" href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858987">bug 858987</a> for details and the <a class="reference internal" href="#arabi-workaround">arabi workaround</a> below.</p>
</section>
<section id="usage">
-<h2><a class="toc-backref" href="#id25">Usage</a></h2>
+<h2><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">Usage</a></h2>
<p>There are several alternatives to set up the support for a Greek font
encoding provided by this bundle, e.g.:</p>
<dl>
@@ -997,7 +401,7 @@ mode in both, text and math mode, write</p>
Latin) as default font encoding and LGR for Greek with</p>
<pre class="literal-block">\usepackage[LGR,T1]{fontenc}</pre>
<p>Note that without <a class="reference internal" href="#textalpha">textalpha</a> or <a class="reference internal" href="#alphabeta">alphabeta</a>, Greek text macros work
-only if the current font encoding supports Greek. See <a class="citation-reference" href="#fntguide" id="id6">[fntguide]</a> for
+only if the current font encoding supports Greek. See <a class="citation-reference" href="#fntguide" id="citation-reference-1" role="doc-biblioref">[fntguide]</a> for
details and <a class="reference external" href="test-lgrenc.tex">test-lgrenc.tex</a> for an example.</p>
<p>It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding
also with XeTeX/LuaTeX, if the <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a> package is loaded before
@@ -1027,19 +431,19 @@ is loaded after <span class="docutils literal">arabic</span>:</p>
\renewcommand{\omega}{\mathomega}</pre>
</section>
<section id="greek-text-font-encodings">
-<h2><a class="toc-backref" href="#id26">Greek text font encodings</a></h2>
+<h2><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">Greek text font encodings</a></h2>
<p>Greek TeX font encodings are the envisaged <a class="reference internal" href="#t7">T7</a>, <a class="reference internal" href="#lgr">LGR</a>, and <a class="reference internal" href="#lgi">LGI</a>.
Greek letters and symbols are also defined in the Unicode-based font
encodings <a class="reference internal" href="#tu">TU</a>, and <a class="reference internal" href="#pu">PU</a>.</p>
<section id="t7">
-<h3><a class="toc-backref" href="#id27">T7</a></h3>
-<p>The <a class="citation-reference" href="#encguide" id="id12">[encguide]</a> reserves the name T7 for a Greek <cite>standard font encoding</cite>.
+<h3><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">T7</a></h3>
+<p>The <a class="citation-reference" href="#encguide" id="citation-reference-2" role="doc-biblioref">[encguide]</a> reserves the name T7 for a Greek <cite>standard font encoding</cite>.
However, up to now, there is no agreement on an implementation because the
restrictions for general text encodings are too severe for typesetting
polytonic Greek.</p>
</section>
<section id="lgr">
-<h3><a class="toc-backref" href="#id28">LGR</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-10" role="doc-backlink">LGR</a></h3>
<p>The LGR font encoding is the de-facto standard for typesetting Greek with
(8-bit) LaTeX. <cite>greek-fontenc</cite> provides a comprehensive <a class="reference internal" href="#lgr-font-encoding-definition-file">LGR font
encoding definition file</a>.</p>
@@ -1050,7 +454,7 @@ matching Latin fonts is facilitated by the <a class="reference external" href="h
<p>The LGR font encoding allows to access Greek characters via an ASCII
transliteration. This enables simple input with a Latin keyboard.
Characters with diacritics can be selected by ligature definitions in the
-font (see <a class="citation-reference" href="#greek-usage" id="id13">[greek-usage]</a>, <a class="citation-reference" href="#teubner-doc" id="id14">[teubner-doc]</a>, <a class="citation-reference" href="#cbfonts" id="id15">[cbfonts]</a>).</p>
+font (see <a class="citation-reference" href="#greek-usage" id="citation-reference-3" role="doc-biblioref">[greek-usage]</a>, <a class="citation-reference" href="#teubner-doc" id="citation-reference-4" role="doc-biblioref">[teubner-doc]</a>, <a class="citation-reference" href="#cbfonts" id="citation-reference-5" role="doc-biblioref">[cbfonts]</a>).</p>
<p>A major drawback of the transliteration is, that you cannot access Latin
letters if LGR is the active font encoding (e.g. in documents or parts of
documents given the <cite>Babel</cite> language <span class="docutils literal">greek</span> or <span class="docutils literal">polutionikogreek</span>).
@@ -1060,15 +464,15 @@ font-encoding comprising Latin and Greek like the envisaged <a class="reference
Unicode (with XeTeX or LuaTeX).</p>
</section>
<section id="lgi">
-<h3><a class="toc-backref" href="#id29">LGI</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-11" role="doc-backlink">LGI</a></h3>
<p>The ‘Ibycus’ fonts from the package <a class="reference external" href="http://www.ctan.org/pkg/ibygrk">ibygrk</a> implement an alternative
-transliteration scheme (also explained in <a class="citation-reference" href="#babel-patch" id="id16">[babel-patch]</a>).
+transliteration scheme (also explained in <a class="citation-reference" href="#babel-patch" id="citation-reference-6" role="doc-biblioref">[babel-patch]</a>).
It is currently not supported by <cite>greek-fontenc</cite>.</p>
<p>The font encoding file <span class="docutils literal">lgienc.def</span> from <a class="reference external" href="http://www.ctan.org/pkg/ibycus-babel">ibycus-babel</a> provides a basic
setup (without any LICR macros or composite definitions).</p>
</section>
<section id="tu">
-<h3><a class="toc-backref" href="#id30">TU</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-12" role="doc-backlink">TU</a></h3>
<p>Standard Unicode font encoding for XeTeX and LuaTeX loaded by <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a>
(since v2.5a) rsp. the LaTeX kernel since 2017/01/01 [LaTeX2e News Issue 26]_.
<cite>greek-fontenc</cite> adds support for the Greek script (see <a class="reference internal" href="#tuenc-greek">tuenc-greek</a>).</p>
@@ -1090,7 +494,7 @@ normalization to Greek text in LuaTeX.</p>
respectively were superseded by TU in the 2017 <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> release.</p>
</section>
<section id="pu">
-<h3><a class="toc-backref" href="#id31">PU</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-13" role="doc-backlink">PU</a></h3>
<p>The package <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> defines the PU font encoding for use in PDF strings
(ToC, bookmarks) which supports monotonic Greek. <cite>greek-fontenc</cite> adds
support for polytonic Greek and some archaic characters also supported in
@@ -1098,19 +502,19 @@ LGR and TU (see <a class="reference external" href="hyperref-with-greek.tex">hyp
</section>
</section>
<section id="selecting-greek-licr-macro-names">
-<h2><a class="toc-backref" href="#id32">Selecting Greek LICR macro names</a></h2>
-<div class="admonition note">
+<h2><a class="toc-backref" href="#toc-entry-14" role="doc-backlink">Selecting Greek LICR macro names</a></h2>
+<aside class="admonition note">
<p class="admonition-title">Note</p>
<p>The LICR macro names for Greek symbols are chosen pending
endorsement by the TeX community and related packages.</p>
<p>Names for archaic characters, accents/diacritics, and
punctuation may change in future versions.</p>
-</div>
+</aside>
<p>This bundle provides LaTeX internal character representations (LICR macros)
for Greek letters and diacritics. Macro names were selected based on the
following considerations:</p>
<section id="letters-and-symbols">
-<h3><a class="toc-backref" href="#id33">letters and symbols</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-15" role="doc-backlink">letters and symbols</a></h3>
<ul>
<li><p>The <a class="reference internal" href="#fntguide">fntguide</a> (section 6.4 Naming conventions) recommends:</p>
<blockquote>
@@ -1198,7 +602,7 @@ additional packages (e.g. <a class="reference external" href="alphabeta.sty">alp
</ul>
</section>
<section id="accent-macros">
-<h3><a class="toc-backref" href="#id34">accent macros</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-16" role="doc-backlink">accent macros</a></h3>
<ul>
<li><p>standard accent macros (<span class="docutils literal">\DeclareTextAccent</span> definitions in
<span class="docutils literal"><span class="pre">latex/base/...</span></span>) are one-symbol macros (<span class="docutils literal">\' \&quot; ... \u \v ...</span>) .</p></li>
@@ -1222,7 +626,7 @@ provided. (The non-standard macros <span class="docutils literal">\&lt;</span> a
<a class="reference internal" href="#textalpha">textalpha</a> or <a class="reference internal" href="#alphabeta">alphabeta</a>.)</p>
</section>
<section id="symbol-variants">
-<h3><a class="toc-backref" href="#id35">symbol variants</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-17" role="doc-backlink">symbol variants</a></h3>
<p>See also <a class="reference external" href="http://en.wikipedia.org/wiki/Greek_alphabet#Glyph_variants">http://en.wikipedia.org/wiki/Greek_alphabet#Glyph_variants</a></p>
<p>Mathematical notation distinguishes variant shapes for beta (β|ϐ), theta
(θ|ϑ), phi (φ|ϕ), pi (π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon
@@ -1251,7 +655,7 @@ variants).</p></li>
</section>
</section>
<section id="references">
-<h2><a class="toc-backref" href="#id36">References</a></h2>
+<h2><a class="toc-backref" href="#toc-entry-18" role="doc-backlink">References</a></h2>
<p>An alternative, more complete set of short mnemonic character names is
the <a class="reference external" href="http://www.w3.org/TR/xml-entity-names/">XML Entity Definitions for Characters</a> W3C Recommendation from
01 April 2010.</p>
@@ -1260,40 +664,46 @@ Syropoulos and <span class="docutils literal"><span class="pre">xl-lgr.enc</span
<span class="docutils literal">lgr.cmap</span> provides a mapping to Unicode characters.</p>
<p>A full set of <span class="docutils literal">\text*</span> symbol macros is defined in <span class="docutils literal">ucsencs.def</span>
from the <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a> package.</p>
-<dl class="citation">
-<dt class="label" id="fntguide"><span class="brackets"><a class="fn-backref" href="#id6">fntguide</a></span></dt>
-<dd><p>LaTeX3 Project Team, <cite>LaTeX2ε font selection</cite>, 2005.
+<div role="list" class="citation-list">
+<div class="citation" id="fntguide" role="doc-biblioentry">
+<span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#citation-reference-1">fntguide</a><span class="fn-bracket">]</span></span>
+<p>LaTeX3 Project Team, <cite>LaTeX2ε font selection</cite>, 2005.
<a class="reference external" href="http://mirror.ctan.org/macros/latex/base/fntguide.pdf">http://mirror.ctan.org/macros/latex/base/fntguide.pdf</a></p>
-</dd>
-<dt class="label" id="encguide"><span class="brackets"><a class="fn-backref" href="#id12">encguide</a></span></dt>
-<dd><p>Frank Mittelbach, Robin Fairbairns, Werner Lemberg,
+</div>
+<div class="citation" id="encguide" role="doc-biblioentry">
+<span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#citation-reference-2">encguide</a><span class="fn-bracket">]</span></span>
+<p>Frank Mittelbach, Robin Fairbairns, Werner Lemberg,
LaTeX3 Project Team, <cite>LaTeX font encodings</cite>, 2006.
<a class="reference external" href="http://mirror.ctan.org/macros/latex/base/encguide.pdf">http://mirror.ctan.org/macros/latex/base/encguide.pdf</a></p>
-</dd>
-<dt class="label" id="greek-usage"><span class="brackets"><a class="fn-backref" href="#id13">greek-usage</a></span></dt>
-<dd><p>Apostolos Syropoulos, <cite>Writing Greek with the greek option
+</div>
+<div class="citation" id="greek-usage" role="doc-biblioentry">
+<span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#citation-reference-3">greek-usage</a><span class="fn-bracket">]</span></span>
+<p>Apostolos Syropoulos, <cite>Writing Greek with the greek option
of the babel package</cite>, 1997.
<a class="reference external" href="http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf">http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf</a></p>
-</dd>
-<dt class="label" id="cbfonts"><span class="brackets"><a class="fn-backref" href="#id15">cbfonts</a></span></dt>
-<dd><p>Claudio Beccari, <cite>The CB Greek fonts</cite>, Εὔτυπον, τεῦχος № 21, 2008.
+</div>
+<div class="citation" id="cbfonts" role="doc-biblioentry">
+<span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#citation-reference-5">cbfonts</a><span class="fn-bracket">]</span></span>
+<p>Claudio Beccari, <cite>The CB Greek fonts</cite>, Εὔτυπον, τεῦχος № 21, 2008.
<a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf">http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf</a></p>
-</dd>
-<dt class="label" id="teubner-doc"><span class="brackets"><a class="fn-backref" href="#id14">teubner-doc</a></span></dt>
-<dd><p>Claudio Beccari, <span class="docutils literal">teubner.sty</span>
+</div>
+<div class="citation" id="teubner-doc" role="doc-biblioentry">
+<span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#citation-reference-4">teubner-doc</a><span class="fn-bracket">]</span></span>
+<p>Claudio Beccari, <span class="docutils literal">teubner.sty</span>
<cite>An extension to the greek option of the babel package</cite>, 2011.
<a class="reference external" href="http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf">http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf</a></p>
-</dd>
-</dl>
+</div>
+</div>
<!-- [LaTeX2e News Issue 26]
https://www.latex-project.org/news/latex2e-news/ltnews26.pdf -->
-<dl class="citation">
-<dt class="label" id="babel-patch"><span class="brackets"><a class="fn-backref" href="#id16">babel-patch</a></span></dt>
-<dd><p>Werner Lemberg, <cite>Unicode support for the Greek LGR
+<div role="list" class="citation-list">
+<div class="citation" id="babel-patch" role="doc-biblioentry">
+<span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#citation-reference-6">babel-patch</a><span class="fn-bracket">]</span></span>
+<p>Werner Lemberg, <cite>Unicode support for the Greek LGR
encoding</cite> Εὔτυπον, τεῦχος № 20, 2008.
<a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf</a></p>
-</dd>
-</dl>
+</div>
+</div>
</section>
</main>
</body>
diff --git a/language/greek/greek-fontenc/hyperref-with-greek.pdf b/language/greek/greek-fontenc/hyperref-with-greek.pdf
index f187a8d635..6b3bca1cdb 100644
--- a/language/greek/greek-fontenc/hyperref-with-greek.pdf
+++ b/language/greek/greek-fontenc/hyperref-with-greek.pdf
Binary files differ
diff --git a/language/greek/greek-fontenc/lgr2licr.lua b/language/greek/greek-fontenc/lgr2licr.lua
index da64c0ad73..74d52f0c92 100755
--- a/language/greek/greek-fontenc/lgr2licr.lua
+++ b/language/greek/greek-fontenc/lgr2licr.lua
@@ -140,8 +140,8 @@ s = string.gsub(s, "(\\?)([a-zA-Z]*)([^\\]?)", lgr_replace)
-- Ligatures::
-s = string.gsub(s, "%(%(", "\\guillemotleft{}")
-s = string.gsub(s, "%)%)", "\\guillemotright{}")
+s = string.gsub(s, "%(%(", "\\guillemetleft{}")
+s = string.gsub(s, "%)%)", "\\guillemetright{}")
s = string.gsub(s, "\\'\\'", "\\textquoteright{}") -- ''
s = string.gsub(s, "\\`\\`", "\\textquoteleft{}") -- ``
s = string.gsub(s, '\"(%s)', "\\textquoteright{}%1")
diff --git a/language/greek/greek-fontenc/lgr2licr.lua.html b/language/greek/greek-fontenc/lgr2licr.lua.html
index 82d424e598..df32b6ba5d 100644
--- a/language/greek/greek-fontenc/lgr2licr.lua.html
+++ b/language/greek/greek-fontenc/lgr2licr.lua.html
@@ -1,549 +1,22 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.13: http://docutils.sourceforge.net/" />
+<meta charset="utf-8" />
+<meta name="viewport" content="width=device-width, initial-scale=1" />
+<meta name="generator" content="Docutils 0.19b.dev: https://docutils.sourceforge.io/" />
<title>LGR Transcription to Greek LICR transformation</title>
-<style type="text/css">
-
-/* Minimal style sheet for the HTML output of Docutils. */
-/* */
-/* :Author: Günter Milde, based on html4css1.css by David Goodger */
-/* :Id: $Id: minimal.css 7893 2015-05-11 15:38:58Z milde $ */
-/* :Copyright: © 2015 Günter Milde. */
-/* :License: Released under the terms of the `2-Clause BSD license`_, */
-/* in short: */
-/* */
-/* Copying and distribution of this file, with or without modification, */
-/* are permitted in any medium without royalty provided the copyright */
-/* notice and this notice are preserved. */
-/* */
-/* This file is offered as-is, without any warranty. */
-/* */
-/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
-
-/* This CSS2.1_ stylesheet defines rules for Docutils elements without */
-/* HTML equivalent. It is required to make the document semantic visible. */
-/* */
-/* .. _CSS2.1: http://www.w3.org/TR/CSS2 */
-/* .. _validates: http://jigsaw.w3.org/css-validator/validator$link */
-
-/* Figure/table alignment */
-.align-left { text-align: left; }
-.align-right { text-align: right; }
-.align-center { clear: both; text-align: center;}
-
-/* titles */
-h1.title, p.subtitle {
- text-align: center;
-}
-p.admonition-title,
-p.topic-title,
-p.sidebar-title,
-p.rubric,
-p.system-message-title {
- font-weight: bold;
-}
-h1 + p.subtitle,
-h1 + p.section-subtitle {
- font-size: 1.6em;
-}
-h2 + p.section-subtitle { font-size: 1.28em; }
-p.subtitle,
-p.section-subtitle,
-p.sidebar-subtitle {
- font-weight: bold;
- margin-top: -0.5em;
-}
-p.sidebar-title,
-p.rubric {
- font-size: larger;
-}
-p.rubric { color: maroon; }
-a.toc-backref {
- color: black;
- text-decoration: none; }
-
-/* Warnings, Errors */
-div.caution p.admonition-title,
-div.attention p.admonition-title,
-div.danger p.admonition-title,
-div.error p.admonition-title,
-div.warning p.admonition-title,
-div.system-messages h1,
-div.error,
-span.problematic,
-p.system-message-title {
- color: red;
-}
-
-/* inline literals */
-span.docutils.literal {
- font-family: monospace;
- white-space: pre-wrap;
-}
-/* do not wraph at hyphens and similar: */
-.literal > span.pre { white-space: nowrap; }
-
-/* Lists */
-
-/* compact and simple lists: no margin between items */
-.simple li, .compact li,
-.simple ul, .compact ul,
-.simple ol, .compact ol,
-.simple > li p, .compact > li p,
-dl.simple > dd, dl.compact > dd {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-/* Table of Contents */
-div.topic.contents { margin: 0; }
-ul.auto-toc {
- list-style-type: none;
- padding-left: 1.5em; }
-
-/* Enumerated Lists */
-ol.arabic { list-style: decimal }
-ol.loweralpha { list-style: lower-alpha }
-ol.upperalpha { list-style: upper-alpha }
-ol.lowerroman { list-style: lower-roman }
-ol.upperroman { list-style: upper-roman }
-
-dt span.classifier { font-style: italic }
-dt span.classifier:before {
- font-style: normal;
- margin: 0.5em;
- content: ":";
-}
-
-/* Field Lists and drivatives */
-/* bold field name, content starts on the same line */
-dl.field-list > dt,
-dl.option-list > dt,
-dl.docinfo > dt,
-dl.footnote > dt,
-dl.citation > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
- padding: 0;
- padding-right: 0.5em;
-}
-/* Offset for field content (corresponds to the --field-name-limit option) */
-dl.field-list > dd,
-dl.option-list > dd,
-dl.docinfo > dd {
- margin-left: 9em; /* ca. 14 chars in the test examples */
-}
-/* start field-body on a new line after long field names */
-dl.field-list > dd > *:first-child,
-dl.option-list > dd > *:first-child
-{
- display: inline-block;
- width: 100%;
- margin: 0;
-}
-/* field names followed by a colon */
-dl.field-list > dt:after,
-dl.docinfo > dt:after {
- content: ":";
-}
-
-/* Bibliographic Fields (docinfo) */
-pre.address { font: inherit; }
-dd.authors > p { margin: 0; }
-
-/* Option Lists */
-dl.option-list { margin-left: 40px; }
-dl.option-list > dt { font-weight: normal; }
-span.option { white-space: nowrap; }
-
-/* Footnotes and Citations */
-dl > dt.label { font-weight: normal; }
-dt.label > span.fn-backref { margin: 0.2em; }
-dt.label > span.fn-backref > a { font-style: italic; }
-
-/* Line Blocks */
-div.line-block { display: block; }
-div.line-block div.line-block {
- margin-top: 0;
- margin-bottom: 0;
- margin-left: 40px;
-}
-
-/* Images and Figures */
-img.align-left,
-.figure.align-left,
-object.align-left {
- display: block;
- margin-right: auto;
-}
-img.align-center,
-.figure.align-center,
-object.align-center {
- display: block;
- margin-left: auto;
- margin-right: auto;
-}
-img.align-right,
-.figure.align-right,
-object.align-right {
- display: block;
- margin-left: auto;
-}
-/* reset inner alignment in figures */
-div.align-right { text-align: inherit }
-
-/* Admonitions and System Messages */
-div.admonition,
-div.system-message,
-div.sidebar{
- margin: 40px;
- border: medium outset;
- padding-right: 1em;
- padding-left: 1em;
-}
-
-/* Sidebar */
-div.sidebar {
- width: 30%;
- max-width: 26em;
- float: right;
- clear: right;
-}
-
-/* Text Blocks */
-div.topic,
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- margin-right: 40px;
- margin-left: 40px;
-}
-pre.code .ln { color: gray; } /* line numbers */
-
-/* Tables */
-table { border-collapse: collapse; }
-td, th {
- border-style: solid;
- border-color: silver;
- padding: 0 1ex;
- border-width: thin;
-}
-td > p:first-child, th > p:first-child { margin-top: 0; }
-td > p, th > p { margin-bottom: 0; }
-
-table > caption {
- text-align: left;
- margin-bottom: 0.25em
-}
-
-table.borderless td, table.borderless th {
- border: 0;
- padding: 0;
- padding-right: 0.5em /* separate table cells */
-}
-
-</style>
-<style type="text/css">
-
-/* CSS31_ style sheet for the output of Docutils HTML writers. */
-/* Rules for easy reading and pre-defined style variants. */
-/* */
-/* :Author: Günter Milde, based on html4css1.css by David Goodger */
-/* :Id: $Id: plain.css 7893 2015-05-11 15:38:58Z milde $ */
-/* :Copyright: © 2015 Günter Milde. */
-/* :License: Released under the terms of the `2-Clause BSD license`_, */
-/* in short: */
-/* */
-/* Copying and distribution of this file, with or without modification, */
-/* are permitted in any medium without royalty provided the copyright */
-/* notice and this notice are preserved. */
-/* */
-/* This file is offered as-is, without any warranty. */
-/* */
-/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
-/* .. _CSS3: http://www.w3.org/TR/CSS3 */
-
-
-/* Document Structure */
-/* ****************** */
-
-/* "page layout" */
-body {
- padding: 0 5%;
- margin: 8px 0;
-}
-div.document {
- line-height:1.3;
- counter-reset: table;
- /* counter-reset: figure; */
- /* avoid long lines --> better reading */
- /* OTOH: lines should not be too short because of missing hyphenation, */
- max-width: 50em;
- margin: auto;
-}
-
-/* Sections */
-
-/* Transitions */
-
-hr.docutils {
- width: 80%;
- margin-top: 1em;
- margin-bottom: 1em;
- clear: both;
-}
-
-/* Paragraphs */
-/* ========== */
-
-/* vertical space (parskip) */
-p, ol, ul, dl,
-div.line-block,
-table{
- margin-top: 0.5em;
- margin-bottom: 0.5em;
-}
-h1, h2, h3, h4, h5, h6,
-dl > dd {
- margin-bottom: 0.5em;
-}
-
-/* Lists */
-/* ========== */
-
-/* Definition Lists */
-
-dl > dd p:first-child { margin-top: 0; }
-/* :last-child is not part of CSS 2.1 (introduced in CSS 3) */
-/* dl > dd p:last-child { margin-bottom: 0; } */
-
-/* lists nested in definition lists */
-/* :only-child is not part of CSS 2.1 (introduced in CSS 3) */
-dd > ul:only-child, dd > ol:only-child { padding-left: 1em; }
-
-/* Description Lists */
-/* styled like in most dictionaries, encyclopedias etc. */
-dl.description > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
- padding: 0;
- padding-right: 0.5em;
-}
-
-/* Field Lists */
-
-/* example for custom field-name width */
-dl.field-list.narrow > dd {
- margin-left: 5em;
-}
-/* run-in: start field-body on same line after long field names */
-dl.field-list.run-in > dd p {
- display: block;
-}
-
-/* Bibliographic Fields */
-
-/* generally, bibliographic fields use special definition list dl.docinfo */
-/* but dedication and abstract are placed into "topic" divs */
-div.abstract p.topic-title {
- text-align: center;
-}
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic;
-}
-div.dedication p.topic-title {
- font-style: normal;
-}
-
-/* Citations */
-dl.citation dt.label {
- font-weight: bold;
-}
-span.fn-backref {
- font-weight: normal;
-}
-
-/* Text Blocks */
-/* ============ */
-
-/* Literal Blocks */
-pre.literal-block, pre.doctest-block,
-pre.math, pre.code {
- margin-left: 1.5em;
- margin-right: 1.5em
-}
-
-/* Block Quotes */
-
-blockquote,
-div.topic {
- margin-left: 1.5em;
- margin-right: 1.5em
-}
-blockquote > table,
-div.topic > table {
- margin-top: 0;
- margin-bottom: 0;
-}
-blockquote p.attribution,
-div.topic p.attribution {
- text-align: right;
- margin-left: 20%;
-}
-
-/* Tables */
-/* ====== */
-
-/* th { vertical-align: bottom; } */
-
-/* "booktabs" style (no vertical lines) */
-table.booktabs {
- border: 0;
- border-top: 2px solid;
- border-bottom: 2px solid;
- border-collapse: collapse;
-}
-table.booktabs * {
- border: 0;
-}
-table.booktabs th {
- border-bottom: thin solid;
- text-align: left;
-}
-
-/* numbered tables (counter defined in div.document) */
-table.numbered > caption:before {
- counter-increment: table;
- content: "Table " counter(table) ": ";
- font-weight: bold;
-}
-
-/* Explicit Markup Blocks */
-/* ====================== */
-
-/* Footnotes and Citations */
-/* ----------------------- */
-
-/* line on the left */
-dl.footnote {
- padding-left: 1ex;
- border-left: solid;
- border-left-width: thin;
-}
-
-/* Directives */
-/* ---------- */
-
-/* Body Elements */
-/* ~~~~~~~~~~~~~ */
-
-/* Images and Figures */
-img.align-left,
-.figure.align-left,
-object.align-left {
- clear: left;
- float: left;
- margin-right: 1em
-}
-img.align-right,
-.figure.align-right,
-object.align-right {
- clear: right;
- float: right;
- margin-left: 1em
-}
-/* Stop floating sidebars, images and figures at section level 1,2,3 */
-h1, h2, h3 { clear: both; }
-
-/* Sidebar */
-
-/* Move into the margin. In a layout with fixed margins, */
-/* it can be moved into the margin completely. */
-div.sidebar {
- width: 30%;
- max-width: 26em;
- margin-left: 1em;
- margin-right: -5.5%;
- background-color: #ffffee ;
-}
-
-/* Code */
-
-pre.code, code { background-color: #eeeeee }
-pre.code .ln { color: gray; } /* line numbers */
-/* basic highlighting: for a complete scheme, see */
-/* http://docutils.sourceforge.net/sandbox/stylesheets/ */
-pre.code .comment, code .comment { color: #5C6576 }
-pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
-pre.code .literal.string, code .literal.string { color: #0C5404 }
-pre.code .name.builtin, code .name.builtin { color: #352B84 }
-pre.code .deleted, code .deleted { background-color: #DEB0A1}
-pre.code .inserted, code .inserted { background-color: #A3D289}
-
-/* Math */
-/* styled separately (see math.css for math-output=HTML) */
-
-/* Epigraph */
-/* Highlights */
-/* Pull-Quote */
-/* Compound Paragraph */
-/* Container */
-
-/* can be styled in a custom stylesheet */
-
-/* Document Header and Footer */
-
-div.footer, div.header {
- clear: both;
- font-size: smaller;
-}
-
-/* Inline Markup */
-/* ============= */
-
-/* Emphasis */
-/* em */
-/* Strong Emphasis */
-/* strong */
-/* Interpreted Text */
-/* span.interpreted */
-/* Title Reference */
-/* cite */
-/* Inline Literals */
-/* possible values: normal, nowrap, pre, pre-wrap, pre-line */
-/* span.docutils.literal { white-space: pre-wrap; } */
-
-/* Hyperlink References */
-a { text-decoration: none; }
-
-/* External Targets */
-/* span.target.external */
-/* Internal Targets */
-/* span.target.internal */
-/* Footnote References */
-/* a.footnote-reference */
-/* Citation References */
-/* a.citation-reference */
-
-</style>
+<meta name="dcterms.rights" content="© 2010 Günter Milde" />
+<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
+<link rel="stylesheet" href="minimal.css" type="text/css" />
+<link rel="stylesheet" href="responsive.css" type="text/css" />
</head>
<body>
-<div class="document" id="lgr-transcription-to-greek-licr-transformation">
+<main id="lgr-transcription-to-greek-licr-transformation">
<h1 class="title">LGR Transcription to Greek LICR transformation</h1>
-
<dl class="docinfo simple">
-<dt class="copyright">Copyright</dt>
+<dt class="copyright">Copyright<span class="colon">:</span></dt>
<dd class="copyright">© 2010 Günter Milde</dd>
-<dt class="licence">Licence</dt>
+<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>
@@ -667,8 +140,8 @@ end
-- *([a-zA-Z'`~&lt;&gt;|\&quot;;?]
s = string.gsub(s, &quot;(\\?)([a-zA-Z]*)([^\\]?)&quot;, lgr_replace)</pre>
<p>Ligatures:</p>
-<pre class="literal-block">s = string.gsub(s, &quot;%(%(&quot;, &quot;\\guillemotleft{}&quot;)
-s = string.gsub(s, &quot;%)%)&quot;, &quot;\\guillemotright{}&quot;)
+<pre class="literal-block">s = string.gsub(s, &quot;%(%(&quot;, &quot;\\guillemetleft{}&quot;)
+s = string.gsub(s, &quot;%)%)&quot;, &quot;\\guillemetright{}&quot;)
s = string.gsub(s, &quot;\\'\\'&quot;, &quot;\\textquoteright{}&quot;) -- ''
s = string.gsub(s, &quot;\\`\\`&quot;, &quot;\\textquoteleft{}&quot;) -- ``
s = string.gsub(s, '\&quot;(%s)', &quot;\\textquoteright{}%1&quot;)</pre>
@@ -688,6 +161,6 @@ s = string.gsub(s, &quot;\\textautosigma(\\textanoteleia)&quot;, &quot;\\textfin
s = string.gsub(s, &quot;\\textautosigma$&quot;, &quot;\\textfinalsigma&quot;)</pre>
<p>Write the result to stdout:</p>
<pre class="literal-block">io.write(s)</pre>
-</div>
+</main>
</body>
</html>
diff --git a/language/greek/greek-fontenc/lgrenc.def b/language/greek/greek-fontenc/lgrenc.def
index a5a9e9d315..2558c9729f 100644
--- a/language/greek/greek-fontenc/lgrenc.def
+++ b/language/greek/greek-fontenc/lgrenc.def
@@ -4,7 +4,7 @@
% LGR Greek font encoding definitions
% ===================================
%
-% :Copyright: © 2010, 2014 Günter Milde
+% :Copyright: © 2010 -- 2022 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.
@@ -57,6 +57,7 @@
% 1.0 2020-09-25 ``\textKoppa`` as alias for ``\textkoppa``
% (there is no capital Koppa in LGR).
% 2.0 2020-10-13 Move common alias definitions to ``greek-fontenc.def``.
+% 2.1 2022-06-14 Support the correct spelling ``\guillemet…`` for « ».
% ====== ============ ========================================================
%
% Usage
@@ -96,7 +97,7 @@
% ::
\ProvidesFile{lgrenc.def}
-[2020/10/13 2.0 LGR Greek font encoding definitions]
+[2022/06/14 2.1 LGR Greek font encoding definitions]
% Copyright © 2010 Günter Milde
% This file is part of the "greek-fontenc" package.
% It may be distributed and/or modified under the
@@ -298,6 +299,9 @@
% T1::
+\DeclareTextSymbol{\guillemetleft}{LGR}{123} % «
+\DeclareTextSymbol{\guillemetright}{LGR}{125} % »
+% legacy names
\DeclareTextSymbol{\guillemotleft}{LGR}{123} % «
\DeclareTextSymbol{\guillemotright}{LGR}{125} % »
diff --git a/language/greek/greek-fontenc/lgrenc.def.html b/language/greek/greek-fontenc/lgrenc.def.html
index d9d95697cb..0c2330ae62 100644
--- a/language/greek/greek-fontenc/lgrenc.def.html
+++ b/language/greek/greek-fontenc/lgrenc.def.html
@@ -1,625 +1,29 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
-<meta charset="utf-8"/>
-<meta name="generator" content="Docutils 0.17b.dev: http://docutils.sourceforge.net/" />
+<meta charset="utf-8" />
+<meta name="viewport" content="width=device-width, initial-scale=1" />
+<meta name="generator" content="Docutils 0.19b.dev: https://docutils.sourceforge.io/" />
<title>lgrenc.def</title>
-<meta name="dcterms.rights" content="© 2010, 2014 Günter Milde" />
+<meta name="dcterms.rights" content="© 2010 – 2022 Günter Milde" />
<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
-<style type="text/css">
-
-/* Minimal style sheet for the HTML output of Docutils. */
-/* */
-/* :Author: Günter Milde, based on html4css1.css by David Goodger */
-/* :Id: $Id$ */
-/* :Copyright: © 2015 Günter Milde. */
-/* :License: Released under the terms of the `2-Clause BSD license`_, */
-/* in short: */
-/* */
-/* Copying and distribution of this file, with or without modification, */
-/* are permitted in any medium without royalty provided the copyright */
-/* notice and this notice are preserved. */
-/* */
-/* This file is offered as-is, without any warranty. */
-/* */
-/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
-
-/* This CSS2.1_ stylesheet defines rules for Docutils elements without */
-/* HTML equivalent. It is required to make the document semantic visible. */
-/* */
-/* .. _CSS2.1: http://www.w3.org/TR/CSS2 */
-/* .. _validates: http://jigsaw.w3.org/css-validator/validator$link */
-
-/* alignment of text and inline objects inside block objects*/
-.align-left { text-align: left; }
-.align-right { text-align: right; }
-.align-center { clear: both; text-align: center; }
-.align-top { vertical-align: top; }
-.align-middle { vertical-align: middle; }
-.align-bottom { vertical-align: bottom; }
-
-/* titles */
-h1.title, p.subtitle {
- text-align: center;
-}
-p.topic-title,
-p.sidebar-title,
-p.rubric,
-p.admonition-title,
-p.system-message-title {
- font-weight: bold;
-}
-h1 + p.subtitle,
-h2 + p.section-subtitle {
- font-size: 1.6em;
-}
-h3 + p.section-subtitle {
- font-size: 1.28em;
-}
-p.subtitle,
-p.section-subtitle,
-p.sidebar-subtitle {
- font-weight: bold;
- margin-top: -0.5em;
-}
-p.sidebar-title {
- font-size: larger;
-}
-p.rubric {
- font-size: larger;
- color: maroon;
-}
-a.toc-backref {
- color: black;
- text-decoration: none; }
-
-/* Warnings, Errors */
-div.system-messages h2,
-span.problematic,
-p.system-message-title {
- color: red;
-}
-
-/* inline literals */
-span.docutils.literal {
- font-family: monospace;
- white-space: pre-wrap;
-}
-/* do not wraph at hyphens and similar: */
-.literal > span.pre { white-space: nowrap; }
-
-/* Lists */
-
-/* compact and simple lists: no margin between items */
-.simple li, .compact li,
-.simple ul, .compact ul,
-.simple ol, .compact ol,
-.simple > li p, .compact > li p,
-dl.simple > dd, dl.compact > dd {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-/* Table of Contents */
-div.topic.contents { margin: 0.5em 0; }
-div.topic.contents ul {
- list-style-type: none;
- padding-left: 1.5em;
-}
-
-/* Enumerated Lists */
-ol.arabic { list-style: decimal }
-ol.loweralpha { list-style: lower-alpha }
-ol.upperalpha { list-style: upper-alpha }
-ol.lowerroman { list-style: lower-roman }
-ol.upperroman { list-style: upper-roman }
-
-dt span.classifier { font-style: italic }
-dt span.classifier:before {
- font-style: normal;
- margin: 0.5em;
- content: ":";
-}
-
-/* Field Lists and drivatives */
-/* bold field name, content starts on the same line */
-dl.field-list > dt,
-dl.option-list > dt,
-dl.docinfo > dt,
-dl.footnote > dt,
-dl.citation > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
- padding: 0;
- padding-right: 0.5em;
-}
-/* Offset for field content (corresponds to the --field-name-limit option) */
-dl.field-list > dd,
-dl.option-list > dd,
-dl.docinfo > dd {
- margin-left: 9em; /* ca. 14 chars in the test examples */
-}
-/* start field-body on a new line after long field names */
-dl.field-list > dd > *:first-child,
-dl.option-list > dd > *:first-child
-{
- display: inline-block;
- width: 100%;
- margin: 0;
-}
-/* field names followed by a colon */
-dl.field-list > dt:after,
-dl.docinfo > dt:after {
- content: ":";
-}
-
-/* Bibliographic Fields (docinfo) */
-pre.address { font: inherit; }
-dd.authors > p { margin: 0; }
-
-/* Option Lists */
-dl.option-list { margin-left: 1.5em; }
-dl.option-list > dt { font-weight: normal; }
-span.option { white-space: nowrap; }
-
-/* Footnotes and Citations */
-dl.footnote.superscript > dd {margin-left: 1em; }
-dl.footnote.brackets > dd {margin-left: 2em; }
-dl > dt.label { font-weight: normal; }
-a.footnote-reference.brackets:before,
-dt.label > span.brackets:before { content: "["; }
-a.footnote-reference.brackets:after,
-dt.label > span.brackets:after { content: "]"; }
-a.footnote-reference.superscript,
-dl.footnote.superscript > dt.label {
- vertical-align: super;
- font-size: smaller;
-}
-dt.label > span.fn-backref { margin-left: 0.2em; }
-dt.label > span.fn-backref > a { font-style: italic; }
-
-/* Line Blocks */
-div.line-block { display: block; }
-div.line-block div.line-block {
- margin-top: 0;
- margin-bottom: 0;
- margin-left: 40px;
-}
-
-/* Figures, Images, and Tables */
-.figure.align-left,
-figure.align-left,
-img.align-left,
-object.align-left,
-table.align-left {
- margin-right: auto;
-}
-.figure.align-center,
-figure.align-center,
-img.align-center,
-object.align-center,
-table.align-center {
- margin-left: auto;
- margin-right: auto;
-}
-.figure.align-right,
-figure.align-right,
-img.align-right,
-object.align-right,
-table.align-right {
- margin-left: auto;
-}
-img.align-center, img.align-right,
-object.align-center, object.align-right {
- display: block;
-}
-/* reset inner alignment in figures and tables */
-.figure.align-left, .figure.align-right,
-figure.align-left, figure.align-right,
-table.align-left, table.align-center, table.align-right {
- text-align: inherit;
-}
-
-/* Sidebar */
-aside.sidebar {
- width: 30%;
- max-width: 26em;
- float: right;
- clear: right;
-}
-
-/* Text Blocks */
-blockquote,
-div.topic,
-div.admonition,
-div.system-message,
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- margin-left: 1.5em;
- margin-right: 1.5em;
-}
-pre.code .ln { color: gray; } /* line numbers */
-
-/* Tables */
-table { border-collapse: collapse; }
-td, th {
- border-style: solid;
- border-color: silver;
- padding: 0 1ex;
- border-width: thin;
-}
-td > p:first-child, th > p:first-child { margin-top: 0; }
-td > p, th > p { margin-bottom: 0; }
-
-table > caption {
- text-align: left;
- margin-bottom: 0.25em
-}
-
-table.borderless td, table.borderless th {
- border: 0;
- padding: 0;
- padding-right: 0.5em /* separate table cells */
-}
-
-/* Document Header and Footer */
-header { border-bottom: 1px solid black; }
-footer { border-top: 1px solid black; }
-
-/* new HTML5 block elements: set display for older browsers */
-header, section, footer, aside, nav, main, article, figure {
- display: block;
-}
-
-</style>
-<style type="text/css">
-
-/* CSS31_ style sheet for the output of Docutils HTML writers. */
-/* Rules for easy reading and pre-defined style variants. */
-/* */
-/* :Author: Günter Milde, based on html4css1.css by David Goodger */
-/* :Id: $Id$ */
-/* :Copyright: © 2015 Günter Milde. */
-/* :License: Released under the terms of the `2-Clause BSD license`_, */
-/* in short: */
-/* */
-/* Copying and distribution of this file, with or without modification, */
-/* are permitted in any medium without royalty provided the copyright */
-/* notice and this notice are preserved. */
-/* */
-/* This file is offered as-is, without any warranty. */
-/* */
-/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
-/* .. _CSS3: http://www.w3.org/TR/CSS3 */
-
-
-/* Document Structure */
-/* ****************** */
-
-/* "page layout" */
-body {
- margin: 0;
- background-color: #dbdbdb;
-}
-div.document,
-main {
- line-height:1.3;
- counter-reset: table figure;
- /* 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: 50em;
- padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */
- margin: auto;
- background-color: white;
-}
-
-/* Sections */
-
-/* Transitions */
-
-hr.docutils {
- width: 80%;
- margin-top: 1em;
- margin-bottom: 1em;
- clear: both;
-}
-
-/* Paragraphs */
-/* ========== */
-
-/* vertical space (parskip) */
-p, ol, ul, dl, li, dd,
-div.line-block,
-div.topic,
-table {
- margin-top: 0.5em;
- margin-bottom: 0.5em;
-}
-p:first-child { margin-top: 0; }
-/* (:last-child is new in CSS 3) */
-p:last-child { margin-bottom: 0; }
-
-h1, h2, h3, h4, h5, h6,
-dl > dd {
- margin-bottom: 0.5em;
-}
-
-/* Lists */
-/* ===== */
-
-/* Separate list entries in compound lists */
-dl > dd, ol > li,
-
-/* Definition Lists */
-/* Indent lists nested in definition lists */
-/* (:only-child is new in CSS 3) */
-dd > ul:only-child, dd > ol:only-child { padding-left: 1em; }
-
-/* Description Lists */
-/* styled like in most dictionaries, encyclopedias etc. */
-dl.description > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
- padding: 0;
- padding-right: 0.5em;
-}
-
-/* Field Lists */
-
-/* example for custom field-name width */
-dl.field-list.narrow > dd {
- margin-left: 5em;
-}
-/* run-in: start field-body on same line after long field names */
-dl.field-list.run-in > dd p {
- display: block;
-}
-
-/* Bibliographic Fields */
-
-/* generally, bibliographic fields use special definition list dl.docinfo */
-/* but dedication and abstract are placed into "topic" divs */
-div.abstract p.topic-title {
- text-align: center;
-}
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic;
-}
-div.dedication p.topic-title {
- font-style: normal;
-}
-
-/* Citations */
-dl.citation dt.label {
- font-weight: bold;
-}
-span.fn-backref {
- font-weight: normal;
-}
-
-/* Text Blocks */
-/* =========== */
-
-/* Literal Blocks */
-
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- font-family: monospace;
-}
-
-/* Block Quotes */
-
-blockquote > table,
-div.topic > table {
- margin-top: 0;
- margin-bottom: 0;
-}
-blockquote p.attribution,
-div.topic p.attribution {
- text-align: right;
- margin-left: 20%;
-}
-
-/* Tables */
-/* ====== */
-
-/* th { vertical-align: bottom; } */
-
-table tr { text-align: left; }
-
-/* "booktabs" style (no vertical lines) */
-table.booktabs {
- border: 0;
- border-top: 2px solid;
- border-bottom: 2px solid;
- border-collapse: collapse;
-}
-table.booktabs * {
- border: 0;
-}
-table.booktabs th {
- border-bottom: thin solid;
-}
-
-/* numbered tables (counter defined in div.document) */
-table.numbered > caption:before {
- counter-increment: table;
- content: "Table " counter(table) ": ";
- font-weight: bold;
-}
-
-/* Explicit Markup Blocks */
-/* ====================== */
-
-/* Footnotes and Citations */
-/* ----------------------- */
-
-/* line on the left */
-dl.footnote {
- padding-left: 1ex;
- border-left: solid;
- border-left-width: thin;
-}
-
-/* Directives */
-/* ---------- */
-
-/* Body Elements */
-/* ~~~~~~~~~~~~~ */
-
-/* Images and Figures */
-
-/* let content flow to the side of aligned images and figures */
-.figure.align-left,
-figure.align-left,
-img.align-left,
-object.align-left {
- display: block;
- clear: left;
- float: left;
- margin-right: 1em;
-}
-.figure.align-right,
-figure.align-right,
-img.align-right,
-object.align-right {
- display: block;
- clear: right;
- float: right;
- margin-left: 1em;
-}
-/* Stop floating sidebars, images and figures at section level 1,2,3 */
-h1, h2, h3, h4 { clear: both; }
-
-/* Numbered figures */
-figure.numbered > figcaption > p:before {
- counter-increment: figure;
- content: "Figure " counter(figure) ": ";
- font-weight: bold;
-}
-
-
-/* Admonitions and System Messages */
-
-div.admonition,
-div.system-message,
-aside.sidebar {
- border: medium outset;
- margin: 1em 1.5em;
- padding: 0.5em 1em;
-}
-
-div.caution p.admonition-title,
-div.attention p.admonition-title,
-div.danger p.admonition-title,
-div.error p.admonition-title,
-div.warning p.admonition-title,
-div.error {
- color: red;
-}
-
-
-/* Sidebar */
-
-/* Move right. In a layout with fixed margins, */
-/* it can be moved into the margin. */
-div.sidebar,
-aside.sidebar {
- width: 30%;
- max-width: 26em;
- margin-left: 1em;
- margin-right: -2%;
- background-color: #ffffee;
-}
-
-/* Code */
-
-pre.code { padding: 0.7ex }
-pre.code, code { background-color: #eeeeee }
-pre.code .ln { color: gray; } /* line numbers */
-/* basic highlighting: for a complete scheme, see */
-/* http://docutils.sourceforge.net/sandbox/stylesheets/ */
-pre.code .comment, code .comment { color: #5C6576 }
-pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
-pre.code .literal.string, code .literal.string { color: #0C5404 }
-pre.code .name.builtin, code .name.builtin { color: #352B84 }
-pre.code .deleted, code .deleted { background-color: #DEB0A1}
-pre.code .inserted, code .inserted { background-color: #A3D289}
-
-/* Math */
-/* styled separately (see math.css for math-output=HTML) */
-
-/* Epigraph */
-/* Highlights */
-/* Pull-Quote */
-/* Compound Paragraph */
-/* Container */
-
-/* Document Header and Footer */
-
-footer, header {
- font-size: smaller;
- clear: both;
- padding: 0.5em 2%;
- background-color: #ebebee;
- border: none;
-}
-
-/* Inline Markup */
-/* ============= */
-
-/* Emphasis */
-/* em */
-/* Strong Emphasis */
-/* strong */
-/* Interpreted Text */
-/* span.interpreted */
-/* Title Reference */
-/* cite */
-
-/* Inline Literals */
-/* possible values: normal, nowrap, pre, pre-wrap, pre-line */
-/* span.docutils.literal { white-space: pre-wrap; } */
-
-/* Hyperlink References */
-a { text-decoration: none; }
-
-/* External Targets */
-/* span.target.external */
-/* Internal Targets */
-/* span.target.internal */
-/* Footnote References */
-/* a.footnote-reference */
-/* Citation References */
-/* a.citation-reference */
-
-</style>
+<link rel="stylesheet" href="minimal.css" type="text/css" />
+<link rel="stylesheet" href="responsive.css" type="text/css" />
</head>
-<body>
+<body class="with-toc">
<main id="lgrenc-def">
<h1 class="title">lgrenc.def</h1>
<p class="subtitle" id="lgr-greek-font-encoding-definitions">LGR Greek font encoding definitions</p>
<dl class="docinfo simple">
-<dt class="copyright">Copyright</dt>
-<dd class="copyright">© 2010, 2014 Günter Milde</dd>
-<dt class="licence">Licence</dt>
+<dt class="copyright">Copyright<span class="colon">:</span></dt>
+<dd class="copyright">© 2010 – 2022 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>
</dl>
-<div class="abstract topic">
+<div class="topic abstract" role="doc-abstract">
<p class="topic-title">Abstract</p>
<p>The LGR font encoding is the de-facto standard for Greek
typesetting with LaTeX. This file provides a comprehensive set
@@ -627,64 +31,59 @@ of macros to typeset Greek with LGR encoded fonts. It works for
both, monotonic and polytonic Greek, independent of the <cite>babel</cite>
package.</p>
</div>
-<div class="contents topic" id="contents">
+<nav class="contents" id="contents" role="doc-toc">
<p class="topic-title">Contents</p>
<ul class="simple">
-<li><p><a class="reference internal" href="#changelog" id="id2">Changelog</a></p></li>
-<li><p><a class="reference internal" href="#usage" id="id3">Usage</a></p></li>
-<li><p><a class="reference internal" href="#implementation" id="id4">Implementation</a></p>
+<li><p><a class="reference internal" href="#changelog" id="toc-entry-1">Changelog</a></p></li>
+<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="#read-this-file-only-once" id="id5">Read this file only once</a></p></li>
-<li><p><a class="reference internal" href="#identification" id="id6">Identification</a></p></li>
-<li><p><a class="reference internal" href="#base-setup" id="id7">Base setup</a></p></li>
-<li><p><a class="reference internal" href="#text-symbols" id="id8">Text symbols</a></p>
+<li><p><a class="reference internal" href="#read-this-file-only-once" id="toc-entry-4">Read this file only once</a></p></li>
+<li><p><a class="reference internal" href="#identification" id="toc-entry-5">Identification</a></p></li>
+<li><p><a class="reference internal" href="#base-setup" id="toc-entry-6">Base setup</a></p></li>
+<li><p><a class="reference internal" href="#text-symbols" id="toc-entry-7">Text symbols</a></p>
<ul>
-<li><p><a class="reference internal" href="#greek-alphabet" id="id9">Greek Alphabet</a></p></li>
-<li><p><a class="reference internal" href="#additional-greek-symbols" id="id10">Additional Greek symbols</a></p>
+<li><p><a class="reference internal" href="#greek-alphabet" id="toc-entry-8">Greek Alphabet</a></p></li>
+<li><p><a class="reference internal" href="#additional-greek-symbols" id="toc-entry-9">Additional Greek symbols</a></p>
<ul>
-<li><p><a class="reference internal" href="#ancient-greek-numbers-athenian-numerals" id="id11">Ancient Greek Numbers (Athenian Numerals)</a></p></li>
-<li><p><a class="reference internal" href="#archaic-letters" id="id12">Archaic letters</a></p></li>
-<li><p><a class="reference internal" href="#numeral-signs" id="id13">Numeral signs</a></p></li>
-<li><p><a class="reference internal" href="#variant-symbols" id="id14">variant symbols</a></p></li>
+<li><p><a class="reference internal" href="#ancient-greek-numbers-athenian-numerals" id="toc-entry-10">Ancient Greek Numbers (Athenian Numerals)</a></p></li>
+<li><p><a class="reference internal" href="#archaic-letters" id="toc-entry-11">Archaic letters</a></p></li>
+<li><p><a class="reference internal" href="#numeral-signs" id="toc-entry-12">Numeral signs</a></p></li>
+<li><p><a class="reference internal" href="#variant-symbols" id="toc-entry-13">variant symbols</a></p></li>
</ul>
</li>
-<li><p><a class="reference internal" href="#other" id="id15">Other</a></p></li>
-<li><p><a class="reference internal" href="#not-implemented" id="id16">Not implemented</a></p></li>
+<li><p><a class="reference internal" href="#other" id="toc-entry-14">Other</a></p></li>
+<li><p><a class="reference internal" href="#not-implemented" id="toc-entry-15">Not implemented</a></p></li>
</ul>
</li>
-<li><p><a class="reference internal" href="#diacritics" id="id17">Diacritics</a></p>
+<li><p><a class="reference internal" href="#diacritics" id="toc-entry-16">Diacritics</a></p>
<ul>
-<li><p><a class="reference internal" href="#named-macros" id="id18">Named macros</a></p></li>
-<li><p><a class="reference internal" href="#aliases" id="id19">Aliases</a></p></li>
+<li><p><a class="reference internal" href="#named-macros" id="toc-entry-17">Named macros</a></p></li>
+<li><p><a class="reference internal" href="#aliases" id="toc-entry-18">Aliases</a></p></li>
</ul>
</li>
-<li><p><a class="reference internal" href="#common-greek-font-encoding-definitions" id="id20">Common Greek font encoding definitions</a></p></li>
-<li><p><a class="reference internal" href="#composite-definitions" id="id21">Composite definitions</a></p>
+<li><p><a class="reference internal" href="#common-greek-font-encoding-definitions" id="toc-entry-19">Common Greek font encoding definitions</a></p></li>
+<li><p><a class="reference internal" href="#composite-definitions" id="toc-entry-20">Composite definitions</a></p>
<ul>
-<li><p><a class="reference internal" href="#composite-diacritics" id="id22">Composite diacritics</a></p></li>
-<li><p><a class="reference internal" href="#pre-composed-letters" id="id23">Pre-composed letters</a></p>
+<li><p><a class="reference internal" href="#composite-diacritics" id="toc-entry-21">Composite diacritics</a></p></li>
+<li><p><a class="reference internal" href="#pre-composed-letters" id="toc-entry-22">Pre-composed letters</a></p>
<ul>
-<li><p><a class="reference internal" href="#small-letters-with-diacritics" id="id24">Small letters with diacritics</a></p></li>
-<li><p><a class="reference internal" href="#capital-letters-with-diacritics" id="id25">Capital letters with diacritics</a></p></li>
+<li><p><a class="reference internal" href="#small-letters-with-diacritics" id="toc-entry-23">Small letters with diacritics</a></p></li>
+<li><p><a class="reference internal" href="#capital-letters-with-diacritics" id="toc-entry-24">Capital letters with diacritics</a></p></li>
</ul>
</li>
</ul>
</li>
-<li><p><a class="reference internal" href="#uppercase" id="id26">UPPERCASE</a></p></li>
+<li><p><a class="reference internal" href="#uppercase" id="toc-entry-25">UPPERCASE</a></p></li>
</ul>
</li>
</ul>
-</div>
+</nav>
<section id="changelog">
-<h2><a class="toc-backref" href="#id2">Changelog</a></h2>
+<h2><a class="toc-backref" href="#toc-entry-1" role="doc-backlink">Changelog</a></h2>
<p>Development of this file started under the name “lgrxenc.def” as part of the
<a class="reference external" href="http://ctan.org/pkg/lgrx">lgrx</a> bundle. With version 0.8, it moved to <span class="docutils literal"><span class="pre">greek-fontenc/lgrx.def</span></span>.</p>
<table class="borderless">
-<colgroup>
-<col style="width: 8%" />
-<col style="width: 16%" />
-<col style="width: 76%" />
-</colgroup>
<tbody>
<tr><td><p>0.1</p></td>
<td><p>2010-03-31</p></td>
@@ -814,11 +213,15 @@ package.</p>
<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><p>2.1</p></td>
+<td><p>2022-06-14</p></td>
+<td><p>Support the correct spelling <span class="docutils literal">\guillemet…</span> for « ».</p></td>
+</tr>
</tbody>
</table>
</section>
<section id="usage">
-<h2><a class="toc-backref" href="#id3">Usage</a></h2>
+<h2><a class="toc-backref" href="#toc-entry-2" role="doc-backlink">Usage</a></h2>
<p>Load this file by calling <a class="reference external" href="http://ctan.org/pkg/fontenc">fontenc</a> with the <span class="docutils literal">LGR</span> option
or indirectly via the <a class="reference external" href="http://ctan.org/pkg/babel">babel</a>, <a class="reference external" href="textalpha.sty.html">textalpha</a> or <a class="reference external" href="alphabeta.sty.html">alphabeta</a> packages.</p>
<dl>
@@ -831,17 +234,17 @@ or indirectly via the <a class="reference external" href="http://ctan.org/pkg/ba
</dl>
</section>
<section id="implementation">
-<h2><a class="toc-backref" href="#id4">Implementation</a></h2>
+<h2><a class="toc-backref" href="#toc-entry-3" role="doc-backlink">Implementation</a></h2>
<section id="read-this-file-only-once">
-<h3><a class="toc-backref" href="#id5">Read this file only once</a></h3>
-<div class="admonition note">
+<h3><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">Read this file only once</a></h3>
+<aside class="admonition note">
<p class="admonition-title">Note</p>
<p>The use of <span class="docutils literal">\&#64;ifundefined</span> has the side-effect that the tested
macro becomes defined and set to <span class="docutils literal">\relax</span> (polluting the namespace and
interfering with tests via eTeX’s <span class="docutils literal">\ifdefined</span>). However, in this case
no harm is done as the macro is defined by the <a class="reference internal" href="#identification">identification</a> below
anyway.</p>
-</div>
+</aside>
<pre class="literal-block">% read this file only once
\&#64;ifundefined{ver&#64;lgrenc.def}
{}
@@ -850,9 +253,9 @@ anyway.</p>
}</pre>
</section>
<section id="identification">
-<h3><a class="toc-backref" href="#id6">Identification</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Identification</a></h3>
<pre class="literal-block">\ProvidesFile{lgrenc.def}
-[2020/10/13 2.0 LGR Greek font encoding definitions]
+[2022/06/14 2.1 LGR Greek font encoding definitions]
% Copyright © 2010 Günter Milde
% This file is part of the &quot;greek-fontenc&quot; package.
% It may be distributed and/or modified under the
@@ -863,15 +266,15 @@ anyway.</p>
<p>or using <a class="reference external" href="http://ctan.org/pkg/ltxcmds">ltxcmds</a>’ <span class="docutils literal">\&#64;iffilelater</span>.</p>
</section>
<section id="base-setup">
-<h3><a class="toc-backref" href="#id7">Base setup</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">Base setup</a></h3>
<p>Declare the LGR font encoding and base substitutions:</p>
<pre class="literal-block">\DeclareFontEncoding{LGR}{}{}
\DeclareFontSubstitution{LGR}{cmr}{m}{n}</pre>
</section>
<section id="text-symbols">
-<h3><a class="toc-backref" href="#id8">Text symbols</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">Text symbols</a></h3>
<section id="greek-alphabet">
-<h4><a class="toc-backref" href="#id9">Greek Alphabet</a></h4>
+<h4><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">Greek Alphabet</a></h4>
<p>Greek letters are accessible by the Latin transcription, but the mapping is
specific to the LGR font encoding.</p>
<p>The LICR macros provide a way to access the symbols independent of the
@@ -934,9 +337,9 @@ encoding.</p>
\DeclareTextSymbol{\textomega}{LGR}{119}</pre>
</section>
<section id="additional-greek-symbols">
-<h4><a class="toc-backref" href="#id10">Additional Greek symbols</a></h4>
+<h4><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">Additional Greek symbols</a></h4>
<section id="ancient-greek-numbers-athenian-numerals">
-<h5><a class="toc-backref" href="#id11">Ancient Greek Numbers (Athenian Numerals)</a></h5>
+<h5><a class="toc-backref" href="#toc-entry-10" role="doc-backlink">Ancient Greek Numbers (Athenian Numerals)</a></h5>
<p>Names from <a class="reference external" href="http://ctan.org/pkg/unicode">ucs</a> (<span class="docutils literal">ucsencs.def</span>)
(In ucs, five hundred is (wrongly?) named textpentehkaton.)</p>
<pre class="literal-block">\DeclareTextSymbol{\textpentedeka}{LGR}{2} % GREEK ACROPHONIC ATTIC FIFTY
@@ -945,7 +348,7 @@ encoding.</p>
\DeclareTextSymbol{\textpentemuria}{LGR}{5} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND</pre>
</section>
<section id="archaic-letters">
-<h5><a class="toc-backref" href="#id12">Archaic letters</a></h5>
+<h5><a class="toc-backref" href="#toc-entry-11" role="doc-backlink">Archaic letters</a></h5>
<p>Names after <a class="reference external" href="http://ctan.org/pkg/teubner">teubner</a> and <a class="reference external" href="http://ctan.org/pkg/unicode">ucs</a>.</p>
<p>ϟ (capital numeral koppa) not distinct in LGR but required for
<span class="docutils literal">\Greeknumeral</span> in <a class="reference external" href="http://ctan.org/pkg/babel-greek">babel-greek</a>
@@ -966,14 +369,14 @@ with <span class="docutils literal">\MakeUppercase</span>):</p>
\DeclareTextSymbol{\textDigamma}{LGR}{195} % Ϝ (ucs)</pre>
</section>
<section id="numeral-signs">
-<h5><a class="toc-backref" href="#id13">Numeral signs</a></h5>
+<h5><a class="toc-backref" href="#toc-entry-12" role="doc-backlink">Numeral signs</a></h5>
<p>See also <a class="reference external" href="http://en.wikipedia.org/wiki/Greek_numerals">http://en.wikipedia.org/wiki/Greek_numerals</a></p>
<p>Names from <a class="reference external" href="http://ctan.org/pkg/unicode">ucs</a>:</p>
<pre class="literal-block">\DeclareTextSymbol{\textdexiakeraia}{LGR}{254} % ʹ (Dexia keraia)
\DeclareTextSymbol{\textaristerikeraia}{LGR}{255} % ͵ (Aristeri keraia)</pre>
</section>
<section id="variant-symbols">
-<h5><a class="toc-backref" href="#id14">variant symbols</a></h5>
+<h5><a class="toc-backref" href="#toc-entry-13" role="doc-backlink">variant symbols</a></h5>
<p>Mathematical notation distinguishes variant shapes for pi, phi, rho, theta
(small and capital), beta, and kappa (characters for the latter three
symbols are not included in TeX’s math fonts). These variations have no
@@ -1011,7 +414,7 @@ provide fallback LICR macros with detailed error reporting:</p>
</section>
</section>
<section id="other">
-<h4><a class="toc-backref" href="#id15">Other</a></h4>
+<h4><a class="toc-backref" href="#toc-entry-14" role="doc-backlink">Other</a></h4>
<p>Characters that also exist in other font encodings:</p>
<ul class="simple">
<li><p>define them for LGR if there is a matching glyph,</p></li>
@@ -1026,7 +429,10 @@ provide fallback LICR macros with detailed error reporting:</p>
\DeclareTextSymbol{\textcompwordmark}{LGR}{118} % ZERO WIDTH NO JOINER
\DeclareTextSymbol{\textemdash}{LGR}{127} % EM DASH</pre>
<p>T1:</p>
-<pre class="literal-block">\DeclareTextSymbol{\guillemotleft}{LGR}{123} % «
+<pre class="literal-block">\DeclareTextSymbol{\guillemetleft}{LGR}{123} % «
+\DeclareTextSymbol{\guillemetright}{LGR}{125} % »
+% legacy names
+\DeclareTextSymbol{\guillemotleft}{LGR}{123} % «
\DeclareTextSymbol{\guillemotright}{LGR}{125} % »</pre>
<p>TS1:</p>
<pre class="literal-block">\ProvideTextCommand{\textasciibreve}{LGR}{\char30\textcompwordmark} % ˘
@@ -1089,7 +495,7 @@ systematical basis:</p>
</ul>
</section>
<section id="not-implemented">
-<h4><a class="toc-backref" href="#id16">Not implemented</a></h4>
+<h4><a class="toc-backref" href="#toc-entry-15" role="doc-backlink">Not implemented</a></h4>
<p>The characters at position 16 and 17 are used in the <span class="docutils literal">\nexus</span> macro
of the <a class="reference external" href="http://ctan.org/pkg/teubner">teubner</a> package to form an extensible, hat-like bracket. In
<span class="docutils literal">CB.enc</span>, they are mapped to</p>
@@ -1107,7 +513,7 @@ defined in <span class="docutils literal">babel.def</span>. They were moved to <
</section>
</section>
<section id="diacritics">
-<h3><a class="toc-backref" href="#id17">Diacritics</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-16" role="doc-backlink">Diacritics</a></h3>
<p>This section defines <a class="reference internal" href="#named-macros">named macros</a> for Greek diacritics and standard
<a class="reference internal" href="#symbol-macros">symbol macros</a> as alias for simple diacritics. Convenient input
conventions for <a class="reference internal" href="#composite-diacritics">composite diacritics</a> are defined as <a class="reference internal" href="#composite-definitions">composite
@@ -1126,7 +532,7 @@ working also inside the tabbing environment.</p></li>
conventions (cf. <a class="reference internal" href="#uppercase">UPPERCASE</a> below) and for composite diacritics.</p></li>
</ul>
<section id="named-macros">
-<h4><a class="toc-backref" href="#id18">Named macros</a></h4>
+<h4><a class="toc-backref" href="#toc-entry-17" role="doc-backlink">Named macros</a></h4>
<p>Definitions are based on the <a class="reference external" href="http://ctan.org/pkg/teubner">teubner</a> package by Claudio Beccari, the <a class="reference external" href="http://ctan.org/pkg/unicode">ucs</a>
package, and the <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> by Werner Lemberg. Names are derived from
the Unicode name with the prefix “acc” (cf. <cite>How to name accent macros?</cite>
@@ -1166,7 +572,7 @@ of additional diacritic symbols:</p>
\DeclareTextAccent{\=}{LGR}{31} % MACRON</pre>
</section>
<section id="aliases">
-<h4><a class="toc-backref" href="#id19">Aliases</a></h4>
+<h4><a class="toc-backref" href="#toc-entry-18" role="doc-backlink">Aliases</a></h4>
<p>The standard <span class="target" id="symbol-macros">symbol macros</span> are exclusively used for Greek diacritics
in LGR:</p>
<pre class="literal-block">\DeclareTextCommand{\&quot;}{LGR}{\accdialytika}
@@ -1176,15 +582,15 @@ in LGR:</p>
</section>
</section>
<section id="common-greek-font-encoding-definitions">
-<h3><a class="toc-backref" href="#id20">Common Greek font encoding definitions</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-19" role="doc-backlink">Common Greek font encoding definitions</a></h3>
<p>The file greek-fontenc.def contains font encoding definitions that are
shared by font encodings providing Greek characters:</p>
<pre class="literal-block">\input{greek-fontenc.def}</pre>
</section>
<section id="composite-definitions">
-<h3><a class="toc-backref" href="#id21">Composite definitions</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-20" role="doc-backlink">Composite definitions</a></h3>
<section id="composite-diacritics">
-<h4><a class="toc-backref" href="#id22">Composite diacritics</a></h4>
+<h4><a class="toc-backref" href="#toc-entry-21" role="doc-backlink">Composite diacritics</a></h4>
<p>Composite accents can be input as sequence of simple diacritics (in
arbitrary order) via named macro, symbol macro and “transcription
characters”, e.g. <span class="docutils literal">\accdialytica\accvaria\textalpha</span>, <span class="docutils literal"><span class="pre">\&quot;\'\textalpha</span></span>,
@@ -1193,9 +599,9 @@ characters”, e.g. <span class="docutils literal">\accdialytica\accvaria\textal
definitions</a>.</p>
</section>
<section id="pre-composed-letters">
-<h4><a class="toc-backref" href="#id23">Pre-composed letters</a></h4>
+<h4><a class="toc-backref" href="#toc-entry-22" role="doc-backlink">Pre-composed letters</a></h4>
<section id="small-letters-with-diacritics">
-<h5><a class="toc-backref" href="#id24">Small letters with diacritics</a></h5>
+<h5><a class="toc-backref" href="#toc-entry-23" role="doc-backlink">Small letters with diacritics</a></h5>
<p>(from <a class="reference external" href="http://ctan.org/pkg/teubner">teubner</a> with changed names of the composite accents):</p>
<pre class="literal-block">\DeclareTextComposite{\accvaria}{LGR}{a}{128}
\DeclareTextComposite{\accdasia}{LGR}{a}{129}
@@ -1362,7 +768,7 @@ definitions</a>.</p>
\DeclareTextComposite{\accpsili}{LGR}{\textrho}{252}</pre>
</section>
<section id="capital-letters-with-diacritics">
-<h5><a class="toc-backref" href="#id25">Capital letters with diacritics</a></h5>
+<h5><a class="toc-backref" href="#toc-entry-24" role="doc-backlink">Capital letters with diacritics</a></h5>
<blockquote>
<p>In Greek, diacritics are omitted in all-uppercase words, but kept as part
of an uppercase initial (written before rather than above the letter).</p>
@@ -1522,7 +928,7 @@ in cases where they are not needed when writing in lowercase)</p>
</section>
</section>
<section id="uppercase">
-<h3><a class="toc-backref" href="#id26">UPPERCASE</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-25" role="doc-backlink">UPPERCASE</a></h3>
<p>The <a class="reference internal" href="#common-greek-font-encoding-definitions">common Greek font encoding definitions</a> in <span class="docutils literal"><span class="pre">greek-fontenc.def</span></span> extend
the <cite>uclclist</cite> with Greek LICR macros. Here, we add LGR specific “hiatus”
handling.</p>
diff --git a/language/greek/greek-fontenc/makeattest.pdf b/language/greek/greek-fontenc/makeattest.pdf
new file mode 100644
index 0000000000..252610ab8d
--- /dev/null
+++ b/language/greek/greek-fontenc/makeattest.pdf
Binary files differ
diff --git a/language/greek/greek-fontenc/makeattest.tex b/language/greek/greek-fontenc/makeattest.tex
new file mode 100644
index 0000000000..c7f733b748
--- /dev/null
+++ b/language/greek/greek-fontenc/makeattest.tex
@@ -0,0 +1,26 @@
+\documentclass{article}
+
+\usepackage{lmodern}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage{textalpha}
+
+\usepackage[unicode]{hyperref}
+
+\begin{document}
+
+Test the problem with `makeatother' in textalpha.sty.
+
+\section{Ἀριστοτέλης}
+
+When commenting out the `makeat...' lines, there is
+spurious output (command parts from the indirectly loaded greek-fontenc)
+before the document starts.
+
+\section{\ensuregreek{\accpsili\textAlpha\textrho\textiota\textsigma\texttau
+ \textomicron\texttau\'\textepsilon\textlambda\texteta\textfinalsigma}}
+
+Without loading `puenc.def', this heading becomes
+>Αριστοτέλη in the PDF sidebar.
+
+\end{document}
diff --git a/language/greek/greek-fontenc/puenc-greek.def.html b/language/greek/greek-fontenc/puenc-greek.def.html
index 9b9cef6b30..68ad597359 100644
--- a/language/greek/greek-fontenc/puenc-greek.def.html
+++ b/language/greek/greek-fontenc/puenc-greek.def.html
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="utf-8"/>
-<meta name="generator" content="Docutils 0.17b.dev: http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.17b2.dev: http://docutils.sourceforge.net/" />
<title>puenc-greek.def</title>
<meta name="dcterms.rights" content="© 2020 Günter Milde" />
<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
@@ -39,7 +39,8 @@
.align-bottom { vertical-align: bottom; }
/* titles */
-h1.title, p.subtitle {
+h1.title,
+p.subtitle {
text-align: center;
}
p.topic-title,
@@ -49,12 +50,12 @@ p.admonition-title,
p.system-message-title {
font-weight: bold;
}
-h1 + p.subtitle,
-h2 + p.section-subtitle {
+h1 + p.subtitle {
font-size: 1.6em;
}
-h3 + p.section-subtitle {
- font-size: 1.28em;
+h2 + p.section-subtitle,
+p.sidebar-title {
+ font-size: 1.2em;
}
p.subtitle,
p.section-subtitle,
@@ -62,9 +63,6 @@ p.sidebar-subtitle {
font-weight: bold;
margin-top: -0.5em;
}
-p.sidebar-title {
- font-size: larger;
-}
p.rubric {
font-size: larger;
color: maroon;
@@ -156,7 +154,10 @@ dl.docinfo > dt:after {
}
/* Bibliographic Fields (docinfo) */
-pre.address { font: inherit; }
+pre.address {
+ font: inherit;
+ margin: 0.5em 0;
+}
dd.authors > p { margin: 0; }
/* Option Lists */
@@ -167,7 +168,7 @@ span.option { white-space: nowrap; }
/* Footnotes and Citations */
dl.footnote.superscript > dd {margin-left: 1em; }
dl.footnote.brackets > dd {margin-left: 2em; }
-dl > dt.label { font-weight: normal; }
+dl.footnote > dt { font-weight: normal; }
a.footnote-reference.brackets:before,
dt.label > span.brackets:before { content: "["; }
a.footnote-reference.brackets:after,
@@ -175,19 +176,11 @@ dt.label > span.brackets:after { content: "]"; }
a.footnote-reference.superscript,
dl.footnote.superscript > dt.label {
vertical-align: super;
- font-size: smaller;
+ font-size: small;
}
dt.label > span.fn-backref { margin-left: 0.2em; }
dt.label > span.fn-backref > a { font-style: italic; }
-/* Line Blocks */
-div.line-block { display: block; }
-div.line-block div.line-block {
- margin-top: 0;
- margin-bottom: 0;
- margin-left: 40px;
-}
-
/* Figures, Images, and Tables */
.figure.align-left,
figure.align-left,
@@ -234,16 +227,18 @@ aside.sidebar {
blockquote,
div.topic,
div.admonition,
-div.system-message,
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- margin-left: 1.5em;
- margin-right: 1.5em;
+div.system-message {
+ margin-left: 2em;
+ margin-right: 2em;
}
+div.line-block { display: block; }
+div.line-block div.line-block {
+ margin: 0 0 0 2em;
+}
+pre { margin-left: 2em; }
pre.code .ln { color: gray; } /* line numbers */
+
/* Tables */
table { border-collapse: collapse; }
td, th {
@@ -257,7 +252,11 @@ td > p, th > p { margin-bottom: 0; }
table > caption {
text-align: left;
- margin-bottom: 0.25em
+ margin-top: 0.2em;
+ margin-bottom: 0.2em;
+}
+table.captionbelow {
+ caption-side: bottom;
}
table.borderless td, table.borderless th {
@@ -278,12 +277,13 @@ header, section, footer, aside, nav, main, article, figure {
</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 HTML writers. */
+/* 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: */
/* */
@@ -297,153 +297,193 @@ header, section, footer, aside, nav, main, article, figure {
/* .. _CSS3: http://www.w3.org/TR/CSS3 */
-/* Document Structure */
-/* ****************** */
+/* General Settings */
+/* ================ */
+
+/* Suited for all screen sizes or special to small ones (mobile first). */
+/* For adaption to larger screens see media queries below */
+@viewport {
+ zoom: 1.0;
+ width: extend-to-zoom;
+}
-/* "page layout" */
body {
- margin: 0;
- background-color: #dbdbdb;
+ background-color: #fafaf6;
+/* background-color: #fefdfb; */
+ font-size: larger;
+ line-height: 1.4;
+ margin: auto;
}
-div.document,
main {
- line-height:1.3;
- counter-reset: table figure;
- /* 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: 50em;
- padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */
- margin: auto;
- background-color: white;
+ counter-reset: figure table;
}
-
-/* Sections */
-
-/* Transitions */
-
-hr.docutils {
- width: 80%;
- margin-top: 1em;
- margin-bottom: 1em;
- clear: both;
+main, header, footer {
+ padding: 0.5em 5%;
+ background-color: #fefefc;
+ max-width: 66em;
}
-/* Paragraphs */
-/* ========== */
+main > *, section > * {
+ max-width: 55em; /* ca. 90…100 characters */
+}
+main > section, section > section {
+ max-width: 100%;
+}
-/* vertical space (parskip) */
-p, ol, ul, dl, li, dd,
+/* Vertical Space (Parskip) */
+p, ol, ul, dl, li,
div.line-block,
div.topic,
table {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
-p:first-child { margin-top: 0; }
-/* (:last-child is new in CSS 3) */
-p:last-child { margin-bottom: 0; }
-
h1, h2, h3, h4, h5, h6,
dl > dd {
margin-bottom: 0.5em;
}
+/* exceptions */
+p:first-child {
+ margin-top: 0;
+}
+p:last-child {
+ margin-bottom: 0;
+}
+blockquote > table,
+div.topic > table {
+ margin-top: 0;
+ margin-bottom: 0;
+}
-/* Lists */
-/* ===== */
+/* Indented Blocks */
+blockquote,
+figure,
+div.topic {
+ /* background-color: Honeydew; */
+ margin: 0.5em 2%;
+ padding-left: 1em;
+}
+div.line-block div.line-block,
+dl.option-list,
+.literal-block,
+pre {
+ /* background-color: LightCyan; */
+ margin-left: calc(2% + 1em);
+}
-/* Separate list entries in compound lists */
-dl > dd, ol > li,
+/* Object styling */
+/* ============== */
-/* Definition Lists */
-/* Indent lists nested in definition lists */
-/* (:only-child is new in CSS 3) */
-dd > ul:only-child, dd > ol:only-child { padding-left: 1em; }
+footer > *, header > *,
+aside.sidebar > *, .marginal > * {
+ font-size: smaller;
+}
-/* Description Lists */
-/* styled like in most dictionaries, encyclopedias etc. */
-dl.description > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
+/* Frontmatter */
+blockquote.dedication,
+div.topic.dedication {
padding: 0;
- padding-right: 0.5em;
+ margin-left: 0;
+ font-style: italic;
+ font-size: larger;
+}
+/* div.abstract p.topic-title, */
+div.dedication p.topic-title {
+ display: none;
}
-/* Field Lists */
+blockquote p.attribution,
+div.topic p.attribution {
+ text-align: right;
+}
-/* example for custom field-name width */
-dl.field-list.narrow > dd {
- margin-left: 5em;
+/* Table of Contents */
+div.topic.contents {
+ padding: 0;
}
-/* run-in: start field-body on same line after long field names */
-dl.field-list.run-in > dd p {
- display: block;
+ul.auto-toc > li > p {
+ padding-left: 1em;
+ text-indent: -1em;
+}
+div.topic.contents ul {
+ padding-left: 1em;
}
-/* Bibliographic Fields */
+/* Transitions */
+hr {
+ margin: 1em 10%;
+}
-/* generally, bibliographic fields use special definition list dl.docinfo */
-/* but dedication and abstract are placed into "topic" divs */
-div.abstract p.topic-title {
- text-align: center;
+/* Lists */
+
+/* Smaller indent on small screens */
+ul, ol {
+ padding-left: 1.1em;
}
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic;
+dd {
+ margin-left: 1.5em;
}
-div.dedication p.topic-title {
- font-style: normal;
+dl.field-list > dd {
+ margin-left: 4em;
+}
+dl.field-list.narrow > dd,
+dl.docinfo > dd,
+dl.option-list > dd {
+ margin-left: 2.4em;
+}
+/* run-in: start field-body on same line after long field names */
+dl.field-list.run-in > dd p {
+ display: block;
}
-/* Citations */
-dl.citation dt.label {
+/* "description style" like in most dictionaries, encyclopedias etc. */
+dl.description > dt {
+ clear: left;
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 0.5em;
font-weight: bold;
}
-span.fn-backref {
- font-weight: normal;
+dl.description > dd:after {
+ display: block;
+ content: "";
+ clear: both;
}
-
-/* Text Blocks */
-/* =========== */
-
-/* Literal Blocks */
-
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- font-family: monospace;
+/* start lists nested in description/field lists on new line */
+dd > dl:first-child,
+dd > ul:first-child,
+dd > ol:first-child {
+ clear: left;
+}
+/* Footnotes and Citations */
+/* TODO: use <aside> */
+dl.footnote {
+ font-size: smaller;
+ padding-left: 0.5em;
+/* text-indent: -0.5em; */
+ border-left: solid;
+ border-left-width: thin;
}
-/* Block Quotes */
-
-blockquote > table,
-div.topic > table {
- margin-top: 0;
- margin-bottom: 0;
+/* Images, Figures, and Tables */
+img {
+ display: block;
}
-blockquote p.attribution,
-div.topic p.attribution {
- text-align: right;
- margin-left: 20%;
+p > img, p > a > img,
+figure > img, figure > a > img {
+ display: inline;
}
-/* Tables */
-/* ====== */
+table tr {
+ text-align: left;
+}
/* th { vertical-align: bottom; } */
-
-table tr { text-align: left; }
-
/* "booktabs" style (no vertical lines) */
table.booktabs {
- border: 0;
border-top: 2px solid;
border-bottom: 2px solid;
- border-collapse: collapse;
}
table.booktabs * {
border: 0;
@@ -452,101 +492,59 @@ 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 */
-dl.footnote {
- padding-left: 1ex;
- border-left: solid;
- border-left-width: thin;
-}
-
-/* Directives */
-/* ---------- */
-
-/* Body Elements */
-/* ~~~~~~~~~~~~~ */
-
-/* Images and Figures */
-
-/* let content flow to the side of aligned images and figures */
-.figure.align-left,
-figure.align-left,
-img.align-left,
-object.align-left {
- display: block;
- clear: left;
- float: left;
- margin-right: 1em;
+figcaption,
+table > caption {
+ /* font-size: smaller; */
+ font-style: italic;
}
-.figure.align-right,
-figure.align-right,
-img.align-right,
-object.align-right {
- display: block;
- clear: right;
- float: right;
- margin-left: 1em;
+figcaption > .legend {
+ font-size: smaller;
+ font-style: initial;
}
-/* Stop floating sidebars, images and figures at section level 1,2,3 */
-h1, h2, h3, h4 { clear: both; }
-/* Numbered figures */
figure.numbered > figcaption > p:before {
counter-increment: figure;
content: "Figure " counter(figure) ": ";
font-weight: bold;
+ font-style: initial;
+}
+table.numbered > caption:before {
+ counter-increment: table;
+ content: "Table " counter(table) ": ";
+ font-weight: bold;
+ font-style: initial;
}
-
/* Admonitions and System Messages */
-
div.admonition,
-div.system-message,
-aside.sidebar {
- border: medium outset;
- margin: 1em 1.5em;
- padding: 0.5em 1em;
+div.system-message {
+ box-sizing: border-box;
+ border-style: solid;
+ border-color: silver;
+ border-width: thin;
+ margin: 1em 2%;
+ padding: 0.5em;
}
-
div.caution p.admonition-title,
div.attention p.admonition-title,
div.danger p.admonition-title,
-div.error p.admonition-title,
div.warning p.admonition-title,
div.error {
- color: red;
+ color: maroon;
+}
+div.system-message > p > span.literal {
+ overflow-wrap: break-word;
}
-
-/* Sidebar */
-
-/* Move right. In a layout with fixed margins, */
-/* it can be moved into the margin. */
-div.sidebar,
-aside.sidebar {
- width: 30%;
- max-width: 26em;
- margin-left: 1em;
- margin-right: -2%;
- background-color: #ffffee;
+/* Literal and Code */
+pre {
+ /* font-family: Consolas, "Liberation Mono", Menlo, monospace; */
+ /* font-size: 0.9em; */
+ overflow: auto;
+ margin-right: -5%;
}
-/* Code */
-pre.code { padding: 0.7ex }
-pre.code, code { background-color: #eeeeee }
pre.code .ln { color: gray; } /* line numbers */
/* basic highlighting: for a complete scheme, see */
/* http://docutils.sourceforge.net/sandbox/stylesheets/ */
@@ -557,52 +555,160 @@ pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
-/* Math */
-/* styled separately (see math.css for math-output=HTML) */
-/* Epigraph */
-/* Highlights */
-/* Pull-Quote */
-/* Compound Paragraph */
-/* Container */
-/* Document Header and Footer */
+.sans {
+ font-family: "Gill Sans", "Gill Sans MT", Calibri, "Lucida Sans", "Noto Sans", sans-serif;
+ letter-spacing: .02em;
+}
-footer, header {
- font-size: smaller;
+/* Hyperlink References */
+/* underline that clears descenders */
+a {
+ text-decoration: none;
+ text-decoration-skip-ink: auto; /* nonstandard selector */
+}
+a:link{
+ overflow-wrap: break-word;
+}
+/* undecorated links */
+a[href^="#system-message"],
+.contents a, a.toc-backref, a.image-reference,
+a.footnote-reference, a.fn-backref, .fn-backref a,
+a.citation-reference {
+ color: inherit;
+}
+a:link:hover {
+ text-decoration: underline;
+}
+
+
+/* Block Alignment */
+/* Let content flow to the side of aligned images and figures */
+
+/* no floats around this elements */
+dl.footnote, dl.citation, /* errors with internal floats */
+footer, header, hr,
+h1, h2, h3, .contents > p.topic-title {
clear: both;
- padding: 0.5em 2%;
- background-color: #ebebee;
- border: none;
}
-/* Inline Markup */
-/* ============= */
+img.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,
+figure.align-right,
+table.align-right {
+ margin-left: 0.5em;
+ clear: right;
+ float: right;
+}
+
+/* Margin Elements */
+/* see below for screen size dependent rules */
+aside.sidebar {
+/* overwrite minimal.css */
+ width: auto;
+ max-width: 100%;
+/* float: none; */
+}
+aside.sidebar,
+.marginal,
+.admonition.marginal,
+.topic.marginal {
+ background-color: #efefea;
+ box-sizing: border-box;
+ margin: 0.5em 0;
+ padding: 0.5em;
+ clear: right;
+}
-/* Emphasis */
-/* em */
-/* Strong Emphasis */
-/* strong */
-/* Interpreted Text */
-/* span.interpreted */
-/* Title Reference */
-/* cite */
+/* Adaptive page layout */
+
+/* larger margins and floating elements moderately small screens */
+/* main text more than around 40 characters/line */
+@media (min-width: 35em) {
+ /* wider margins */
+ main, header, footer {
+ padding: 0.5em calc(20% - 5rem);
+ line-height: 1.6
+ }
+ pre {
+ margin-right: calc(5rem - 20%);
+ }
+ /* floating margin elements */
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ max-width: min(45%, 18em);
+ margin-left: 1em;
+ clear: right;
+ float: right;
+ }
+ /* more indent for field-list values */
+ dl.field-list > dd,
+ dl.docinfo > dd {
+ margin-left: 6.4em;
+ }
+ dl.option-list > dd {
+ margin-left: 5em;
+ }
+}
-/* Inline Literals */
-/* possible values: normal, nowrap, pre, pre-wrap, pre-line */
-/* span.docutils.literal { white-space: pre-wrap; } */
+@media (min-width: 65em) {
+ /* 2 column layout with wide margin */
+ main, header, footer {
+ padding: 0.5em 15%;
+ }
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ background-color: inherit;
+ /* background-color: lavender; */
+ margin-right: -18%;
+ padding: 0;
+ }
+ .admonition.marginal { padding: 0.5em; }
+}
-/* Hyperlink References */
-a { text-decoration: none; }
-
-/* External Targets */
-/* span.target.external */
-/* Internal Targets */
-/* span.target.internal */
-/* Footnote References */
-/* a.footnote-reference */
-/* Citation References */
-/* a.citation-reference */
+/* Move ToC to the left */
+@media (min-width: 100em) {
+ main, header, footer {
+ padding-left: min(30%, 36em);
+ }
+ main > div.topic.contents {
+ position: fixed;
+ top: 0;
+ left: 0;
+ box-sizing: border-box;
+ width: min(25%, 28em);
+ height: 100vh;
+ margin: 0;
+ background-color: #fafaf6;
+ padding: 5.5em 2%;
+ overflow: auto;
+ }
+ main > div.topic.contents > * {
+ padding-left: 0;
+ }
+
+/* marginal elements outside of main text */
+@media (min-width: 126em) {
+ aside.sidebar,
+ figure.marginal,
+ .topic.marginal,
+ p.marginal {
+ width: min(45%, 18em);
+ }
+}
</style>
</head>
diff --git a/language/greek/greek-fontenc/test-inputenc.pdf b/language/greek/greek-fontenc/test-inputenc.pdf
index ab04aa6c89..2c5e2d6fbc 100644
--- a/language/greek/greek-fontenc/test-inputenc.pdf
+++ b/language/greek/greek-fontenc/test-inputenc.pdf
Binary files differ
diff --git a/language/greek/greek-fontenc/test-inputenc.tex b/language/greek/greek-fontenc/test-inputenc.tex
index 7242256de8..52e5248eb2 100644
--- a/language/greek/greek-fontenc/test-inputenc.tex
+++ b/language/greek/greek-fontenc/test-inputenc.tex
@@ -32,10 +32,6 @@
\usepackage{lmodern}
\fi
-% Declare the font encoding and Greek LICR definitions:
-% \makeatletter
-% \input{puenc-greek.def}
-% \makeatother
\usepackage[normalize-symbols]{textalpha}
diff --git a/language/greek/greek-fontenc/test-lgrenc.pdf b/language/greek/greek-fontenc/test-lgrenc.pdf
index ecb9e81e92..5346faefa8 100644
--- a/language/greek/greek-fontenc/test-lgrenc.pdf
+++ b/language/greek/greek-fontenc/test-lgrenc.pdf
Binary files differ
diff --git a/language/greek/greek-fontenc/test-lgrenc.tex b/language/greek/greek-fontenc/test-lgrenc.tex
index 1606bfcb6f..d6c52cc48b 100644
--- a/language/greek/greek-fontenc/test-lgrenc.tex
+++ b/language/greek/greek-fontenc/test-lgrenc.tex
@@ -136,8 +136,8 @@ Quotes:\footnote{%
\Latin but not \LGR `a' 'e' "i"\Latin
}
%
-\Latin \guillemotleft{}a\guillemotright{}
-\LGR \guillemotleft{}a\guillemotright{},
+\Latin \guillemetleft{}a\guillemetright{}
+\LGR \guillemetleft{}a\guillemetright{},
%
\Latin \textquoteleft{}a\textquoteright{}
\LGR \textquoteleft{}a\textquoteright{},
@@ -146,7 +146,7 @@ Quotes:\footnote{%
\LGR \textquotedblleft{}a\textquotedblright{}
\Latin (double quotes wrong with Kerkis fonts)
-Single guillemots and base-quotes
+Single guillemets and base-quotes
(\guilsinglleft{}a\guilsinglright{}
\quotedblbase{}a\textquotedblright{}
\quotesinglbase{}a\textquoteright{})
diff --git a/language/greek/greek-fontenc/textalpha-doc.pdf b/language/greek/greek-fontenc/textalpha-doc.pdf
index 3967a2b8f3..a849c4518b 100644
--- a/language/greek/greek-fontenc/textalpha-doc.pdf
+++ b/language/greek/greek-fontenc/textalpha-doc.pdf
Binary files differ
diff --git a/language/greek/greek-fontenc/textalpha-tu.pdf b/language/greek/greek-fontenc/textalpha-tu.pdf
index 04ecaa1d01..4f3454fac9 100644
--- a/language/greek/greek-fontenc/textalpha-tu.pdf
+++ b/language/greek/greek-fontenc/textalpha-tu.pdf
Binary files differ
diff --git a/language/greek/greek-fontenc/textalpha.sty.html b/language/greek/greek-fontenc/textalpha.sty.html
index 3ff75859bd..242b78f0b1 100644
--- a/language/greek/greek-fontenc/textalpha.sty.html
+++ b/language/greek/greek-fontenc/textalpha.sty.html
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="utf-8"/>
-<meta name="generator" content="Docutils 0.17b.dev: http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.17b2.dev: http://docutils.sourceforge.net/" />
<title>textalpha.sty</title>
<meta name="dcterms.rights" content="© 2010 Günter Milde" />
<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
@@ -39,7 +39,8 @@
.align-bottom { vertical-align: bottom; }
/* titles */
-h1.title, p.subtitle {
+h1.title,
+p.subtitle {
text-align: center;
}
p.topic-title,
@@ -49,12 +50,12 @@ p.admonition-title,
p.system-message-title {
font-weight: bold;
}
-h1 + p.subtitle,
-h2 + p.section-subtitle {
+h1 + p.subtitle {
font-size: 1.6em;
}
-h3 + p.section-subtitle {
- font-size: 1.28em;
+h2 + p.section-subtitle,
+p.sidebar-title {
+ font-size: 1.2em;
}
p.subtitle,
p.section-subtitle,
@@ -62,9 +63,6 @@ p.sidebar-subtitle {
font-weight: bold;
margin-top: -0.5em;
}
-p.sidebar-title {
- font-size: larger;
-}
p.rubric {
font-size: larger;
color: maroon;
@@ -156,7 +154,10 @@ dl.docinfo > dt:after {
}
/* Bibliographic Fields (docinfo) */
-pre.address { font: inherit; }
+pre.address {
+ font: inherit;
+ margin: 0.5em 0;
+}
dd.authors > p { margin: 0; }
/* Option Lists */
@@ -167,7 +168,7 @@ span.option { white-space: nowrap; }
/* Footnotes and Citations */
dl.footnote.superscript > dd {margin-left: 1em; }
dl.footnote.brackets > dd {margin-left: 2em; }
-dl > dt.label { font-weight: normal; }
+dl.footnote > dt { font-weight: normal; }
a.footnote-reference.brackets:before,
dt.label > span.brackets:before { content: "["; }
a.footnote-reference.brackets:after,
@@ -175,19 +176,11 @@ dt.label > span.brackets:after { content: "]"; }
a.footnote-reference.superscript,
dl.footnote.superscript > dt.label {
vertical-align: super;
- font-size: smaller;
+ font-size: small;
}
dt.label > span.fn-backref { margin-left: 0.2em; }
dt.label > span.fn-backref > a { font-style: italic; }
-/* Line Blocks */
-div.line-block { display: block; }
-div.line-block div.line-block {
- margin-top: 0;
- margin-bottom: 0;
- margin-left: 40px;
-}
-
/* Figures, Images, and Tables */
.figure.align-left,
figure.align-left,
@@ -234,16 +227,18 @@ aside.sidebar {
blockquote,
div.topic,
div.admonition,
-div.system-message,
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- margin-left: 1.5em;
- margin-right: 1.5em;
+div.system-message {
+ margin-left: 2em;
+ margin-right: 2em;
}
+div.line-block { display: block; }
+div.line-block div.line-block {
+ margin: 0 0 0 2em;
+}
+pre { margin-left: 2em; }
pre.code .ln { color: gray; } /* line numbers */
+
/* Tables */
table { border-collapse: collapse; }
td, th {
@@ -257,7 +252,11 @@ td > p, th > p { margin-bottom: 0; }
table > caption {
text-align: left;
- margin-bottom: 0.25em
+ margin-top: 0.2em;
+ margin-bottom: 0.2em;
+}
+table.captionbelow {
+ caption-side: bottom;
}
table.borderless td, table.borderless th {
@@ -278,12 +277,13 @@ header, section, footer, aside, nav, main, article, figure {
</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 HTML writers. */
+/* 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: */
/* */
@@ -297,153 +297,193 @@ header, section, footer, aside, nav, main, article, figure {
/* .. _CSS3: http://www.w3.org/TR/CSS3 */
-/* Document Structure */
-/* ****************** */
+/* General Settings */
+/* ================ */
+
+/* Suited for all screen sizes or special to small ones (mobile first). */
+/* For adaption to larger screens see media queries below */
+@viewport {
+ zoom: 1.0;
+ width: extend-to-zoom;
+}
-/* "page layout" */
body {
- margin: 0;
- background-color: #dbdbdb;
+ background-color: #fafaf6;
+/* background-color: #fefdfb; */
+ font-size: larger;
+ line-height: 1.4;
+ margin: auto;
}
-div.document,
main {
- line-height:1.3;
- counter-reset: table figure;
- /* 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: 50em;
- padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */
- margin: auto;
- background-color: white;
+ counter-reset: figure table;
}
-
-/* Sections */
-
-/* Transitions */
-
-hr.docutils {
- width: 80%;
- margin-top: 1em;
- margin-bottom: 1em;
- clear: both;
+main, header, footer {
+ padding: 0.5em 5%;
+ background-color: #fefefc;
+ max-width: 66em;
}
-/* Paragraphs */
-/* ========== */
+main > *, section > * {
+ max-width: 55em; /* ca. 90…100 characters */
+}
+main > section, section > section {
+ max-width: 100%;
+}
-/* vertical space (parskip) */
-p, ol, ul, dl, li, dd,
+/* Vertical Space (Parskip) */
+p, ol, ul, dl, li,
div.line-block,
div.topic,
table {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
-p:first-child { margin-top: 0; }
-/* (:last-child is new in CSS 3) */
-p:last-child { margin-bottom: 0; }
-
h1, h2, h3, h4, h5, h6,
dl > dd {
margin-bottom: 0.5em;
}
+/* exceptions */
+p:first-child {
+ margin-top: 0;
+}
+p:last-child {
+ margin-bottom: 0;
+}
+blockquote > table,
+div.topic > table {
+ margin-top: 0;
+ margin-bottom: 0;
+}
-/* Lists */
-/* ===== */
+/* Indented Blocks */
+blockquote,
+figure,
+div.topic {
+ /* background-color: Honeydew; */
+ margin: 0.5em 2%;
+ padding-left: 1em;
+}
+div.line-block div.line-block,
+dl.option-list,
+.literal-block,
+pre {
+ /* background-color: LightCyan; */
+ margin-left: calc(2% + 1em);
+}
-/* Separate list entries in compound lists */
-dl > dd, ol > li,
+/* Object styling */
+/* ============== */
-/* Definition Lists */
-/* Indent lists nested in definition lists */
-/* (:only-child is new in CSS 3) */
-dd > ul:only-child, dd > ol:only-child { padding-left: 1em; }
+footer > *, header > *,
+aside.sidebar > *, .marginal > * {
+ font-size: smaller;
+}
-/* Description Lists */
-/* styled like in most dictionaries, encyclopedias etc. */
-dl.description > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
+/* Frontmatter */
+blockquote.dedication,
+div.topic.dedication {
padding: 0;
- padding-right: 0.5em;
+ margin-left: 0;
+ font-style: italic;
+ font-size: larger;
+}
+/* div.abstract p.topic-title, */
+div.dedication p.topic-title {
+ display: none;
}
-/* Field Lists */
+blockquote p.attribution,
+div.topic p.attribution {
+ text-align: right;
+}
-/* example for custom field-name width */
-dl.field-list.narrow > dd {
- margin-left: 5em;
+/* Table of Contents */
+div.topic.contents {
+ padding: 0;
}
-/* run-in: start field-body on same line after long field names */
-dl.field-list.run-in > dd p {
- display: block;
+ul.auto-toc > li > p {
+ padding-left: 1em;
+ text-indent: -1em;
+}
+div.topic.contents ul {
+ padding-left: 1em;
}
-/* Bibliographic Fields */
+/* Transitions */
+hr {
+ margin: 1em 10%;
+}
-/* generally, bibliographic fields use special definition list dl.docinfo */
-/* but dedication and abstract are placed into "topic" divs */
-div.abstract p.topic-title {
- text-align: center;
+/* Lists */
+
+/* Smaller indent on small screens */
+ul, ol {
+ padding-left: 1.1em;
}
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic;
+dd {
+ margin-left: 1.5em;
}
-div.dedication p.topic-title {
- font-style: normal;
+dl.field-list > dd {
+ margin-left: 4em;
+}
+dl.field-list.narrow > dd,
+dl.docinfo > dd,
+dl.option-list > dd {
+ margin-left: 2.4em;
+}
+/* run-in: start field-body on same line after long field names */
+dl.field-list.run-in > dd p {
+ display: block;
}
-/* Citations */
-dl.citation dt.label {
+/* "description style" like in most dictionaries, encyclopedias etc. */
+dl.description > dt {
+ clear: left;
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 0.5em;
font-weight: bold;
}
-span.fn-backref {
- font-weight: normal;
+dl.description > dd:after {
+ display: block;
+ content: "";
+ clear: both;
}
-
-/* Text Blocks */
-/* =========== */
-
-/* Literal Blocks */
-
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- font-family: monospace;
+/* start lists nested in description/field lists on new line */
+dd > dl:first-child,
+dd > ul:first-child,
+dd > ol:first-child {
+ clear: left;
+}
+/* Footnotes and Citations */
+/* TODO: use <aside> */
+dl.footnote {
+ font-size: smaller;
+ padding-left: 0.5em;
+/* text-indent: -0.5em; */
+ border-left: solid;
+ border-left-width: thin;
}
-/* Block Quotes */
-
-blockquote > table,
-div.topic > table {
- margin-top: 0;
- margin-bottom: 0;
+/* Images, Figures, and Tables */
+img {
+ display: block;
}
-blockquote p.attribution,
-div.topic p.attribution {
- text-align: right;
- margin-left: 20%;
+p > img, p > a > img,
+figure > img, figure > a > img {
+ display: inline;
}
-/* Tables */
-/* ====== */
+table tr {
+ text-align: left;
+}
/* th { vertical-align: bottom; } */
-
-table tr { text-align: left; }
-
/* "booktabs" style (no vertical lines) */
table.booktabs {
- border: 0;
border-top: 2px solid;
border-bottom: 2px solid;
- border-collapse: collapse;
}
table.booktabs * {
border: 0;
@@ -452,101 +492,59 @@ 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 */
-dl.footnote {
- padding-left: 1ex;
- border-left: solid;
- border-left-width: thin;
-}
-
-/* Directives */
-/* ---------- */
-
-/* Body Elements */
-/* ~~~~~~~~~~~~~ */
-
-/* Images and Figures */
-
-/* let content flow to the side of aligned images and figures */
-.figure.align-left,
-figure.align-left,
-img.align-left,
-object.align-left {
- display: block;
- clear: left;
- float: left;
- margin-right: 1em;
+figcaption,
+table > caption {
+ /* font-size: smaller; */
+ font-style: italic;
}
-.figure.align-right,
-figure.align-right,
-img.align-right,
-object.align-right {
- display: block;
- clear: right;
- float: right;
- margin-left: 1em;
+figcaption > .legend {
+ font-size: smaller;
+ font-style: initial;
}
-/* Stop floating sidebars, images and figures at section level 1,2,3 */
-h1, h2, h3, h4 { clear: both; }
-/* Numbered figures */
figure.numbered > figcaption > p:before {
counter-increment: figure;
content: "Figure " counter(figure) ": ";
font-weight: bold;
+ font-style: initial;
+}
+table.numbered > caption:before {
+ counter-increment: table;
+ content: "Table " counter(table) ": ";
+ font-weight: bold;
+ font-style: initial;
}
-
/* Admonitions and System Messages */
-
div.admonition,
-div.system-message,
-aside.sidebar {
- border: medium outset;
- margin: 1em 1.5em;
- padding: 0.5em 1em;
+div.system-message {
+ box-sizing: border-box;
+ border-style: solid;
+ border-color: silver;
+ border-width: thin;
+ margin: 1em 2%;
+ padding: 0.5em;
}
-
div.caution p.admonition-title,
div.attention p.admonition-title,
div.danger p.admonition-title,
-div.error p.admonition-title,
div.warning p.admonition-title,
div.error {
- color: red;
+ color: maroon;
+}
+div.system-message > p > span.literal {
+ overflow-wrap: break-word;
}
-
-/* Sidebar */
-
-/* Move right. In a layout with fixed margins, */
-/* it can be moved into the margin. */
-div.sidebar,
-aside.sidebar {
- width: 30%;
- max-width: 26em;
- margin-left: 1em;
- margin-right: -2%;
- background-color: #ffffee;
+/* Literal and Code */
+pre {
+ /* font-family: Consolas, "Liberation Mono", Menlo, monospace; */
+ /* font-size: 0.9em; */
+ overflow: auto;
+ margin-right: -5%;
}
-/* Code */
-pre.code { padding: 0.7ex }
-pre.code, code { background-color: #eeeeee }
pre.code .ln { color: gray; } /* line numbers */
/* basic highlighting: for a complete scheme, see */
/* http://docutils.sourceforge.net/sandbox/stylesheets/ */
@@ -557,52 +555,160 @@ pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
-/* Math */
-/* styled separately (see math.css for math-output=HTML) */
-/* Epigraph */
-/* Highlights */
-/* Pull-Quote */
-/* Compound Paragraph */
-/* Container */
-/* Document Header and Footer */
+.sans {
+ font-family: "Gill Sans", "Gill Sans MT", Calibri, "Lucida Sans", "Noto Sans", sans-serif;
+ letter-spacing: .02em;
+}
-footer, header {
- font-size: smaller;
+/* Hyperlink References */
+/* underline that clears descenders */
+a {
+ text-decoration: none;
+ text-decoration-skip-ink: auto; /* nonstandard selector */
+}
+a:link{
+ overflow-wrap: break-word;
+}
+/* undecorated links */
+a[href^="#system-message"],
+.contents a, a.toc-backref, a.image-reference,
+a.footnote-reference, a.fn-backref, .fn-backref a,
+a.citation-reference {
+ color: inherit;
+}
+a:link:hover {
+ text-decoration: underline;
+}
+
+
+/* Block Alignment */
+/* Let content flow to the side of aligned images and figures */
+
+/* no floats around this elements */
+dl.footnote, dl.citation, /* errors with internal floats */
+footer, header, hr,
+h1, h2, h3, .contents > p.topic-title {
clear: both;
- padding: 0.5em 2%;
- background-color: #ebebee;
- border: none;
}
-/* Inline Markup */
-/* ============= */
+img.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,
+figure.align-right,
+table.align-right {
+ margin-left: 0.5em;
+ clear: right;
+ float: right;
+}
+
+/* Margin Elements */
+/* see below for screen size dependent rules */
+aside.sidebar {
+/* overwrite minimal.css */
+ width: auto;
+ max-width: 100%;
+/* float: none; */
+}
+aside.sidebar,
+.marginal,
+.admonition.marginal,
+.topic.marginal {
+ background-color: #efefea;
+ box-sizing: border-box;
+ margin: 0.5em 0;
+ padding: 0.5em;
+ clear: right;
+}
-/* Emphasis */
-/* em */
-/* Strong Emphasis */
-/* strong */
-/* Interpreted Text */
-/* span.interpreted */
-/* Title Reference */
-/* cite */
+/* Adaptive page layout */
-/* Inline Literals */
-/* possible values: normal, nowrap, pre, pre-wrap, pre-line */
-/* span.docutils.literal { white-space: pre-wrap; } */
+/* larger margins and floating elements moderately small screens */
+/* main text more than around 40 characters/line */
+@media (min-width: 35em) {
+ /* wider margins */
+ main, header, footer {
+ padding: 0.5em calc(20% - 5rem);
+ line-height: 1.6
+ }
+ pre {
+ margin-right: calc(5rem - 20%);
+ }
+ /* floating margin elements */
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ max-width: min(45%, 18em);
+ margin-left: 1em;
+ clear: right;
+ float: right;
+ }
+ /* more indent for field-list values */
+ dl.field-list > dd,
+ dl.docinfo > dd {
+ margin-left: 6.4em;
+ }
+ dl.option-list > dd {
+ margin-left: 5em;
+ }
+}
-/* Hyperlink References */
-a { text-decoration: none; }
-
-/* External Targets */
-/* span.target.external */
-/* Internal Targets */
-/* span.target.internal */
-/* Footnote References */
-/* a.footnote-reference */
-/* Citation References */
-/* a.citation-reference */
+@media (min-width: 65em) {
+ /* 2 column layout with wide margin */
+ main, header, footer {
+ padding: 0.5em 15%;
+ }
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ background-color: inherit;
+ /* background-color: lavender; */
+ margin-right: -18%;
+ padding: 0;
+ }
+ .admonition.marginal { padding: 0.5em; }
+}
+
+/* Move ToC to the left */
+@media (min-width: 100em) {
+ main, header, footer {
+ padding-left: min(30%, 36em);
+ }
+ main > div.topic.contents {
+ position: fixed;
+ top: 0;
+ left: 0;
+ box-sizing: border-box;
+ width: min(25%, 28em);
+ height: 100vh;
+ margin: 0;
+ background-color: #fafaf6;
+ padding: 5.5em 2%;
+ overflow: auto;
+ }
+ main > div.topic.contents > * {
+ padding-left: 0;
+ }
+
+/* marginal elements outside of main text */
+@media (min-width: 126em) {
+ aside.sidebar,
+ figure.marginal,
+ .topic.marginal,
+ p.marginal {
+ width: min(45%, 18em);
+ }
+}
</style>
</head>
diff --git a/language/greek/greek-fontenc/tuenc-greek.def.html b/language/greek/greek-fontenc/tuenc-greek.def.html
index f621c681c4..d25a97d1ad 100644
--- a/language/greek/greek-fontenc/tuenc-greek.def.html
+++ b/language/greek/greek-fontenc/tuenc-greek.def.html
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="utf-8"/>
-<meta name="generator" content="Docutils 0.17b.dev: http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.17b2.dev: http://docutils.sourceforge.net/" />
<title>tuenc-greek.def</title>
<meta name="dcterms.rights" content="© 2013 Günter Milde" />
<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
@@ -39,7 +39,8 @@
.align-bottom { vertical-align: bottom; }
/* titles */
-h1.title, p.subtitle {
+h1.title,
+p.subtitle {
text-align: center;
}
p.topic-title,
@@ -49,12 +50,12 @@ p.admonition-title,
p.system-message-title {
font-weight: bold;
}
-h1 + p.subtitle,
-h2 + p.section-subtitle {
+h1 + p.subtitle {
font-size: 1.6em;
}
-h3 + p.section-subtitle {
- font-size: 1.28em;
+h2 + p.section-subtitle,
+p.sidebar-title {
+ font-size: 1.2em;
}
p.subtitle,
p.section-subtitle,
@@ -62,9 +63,6 @@ p.sidebar-subtitle {
font-weight: bold;
margin-top: -0.5em;
}
-p.sidebar-title {
- font-size: larger;
-}
p.rubric {
font-size: larger;
color: maroon;
@@ -156,7 +154,10 @@ dl.docinfo > dt:after {
}
/* Bibliographic Fields (docinfo) */
-pre.address { font: inherit; }
+pre.address {
+ font: inherit;
+ margin: 0.5em 0;
+}
dd.authors > p { margin: 0; }
/* Option Lists */
@@ -167,7 +168,7 @@ span.option { white-space: nowrap; }
/* Footnotes and Citations */
dl.footnote.superscript > dd {margin-left: 1em; }
dl.footnote.brackets > dd {margin-left: 2em; }
-dl > dt.label { font-weight: normal; }
+dl.footnote > dt { font-weight: normal; }
a.footnote-reference.brackets:before,
dt.label > span.brackets:before { content: "["; }
a.footnote-reference.brackets:after,
@@ -175,19 +176,11 @@ dt.label > span.brackets:after { content: "]"; }
a.footnote-reference.superscript,
dl.footnote.superscript > dt.label {
vertical-align: super;
- font-size: smaller;
+ font-size: small;
}
dt.label > span.fn-backref { margin-left: 0.2em; }
dt.label > span.fn-backref > a { font-style: italic; }
-/* Line Blocks */
-div.line-block { display: block; }
-div.line-block div.line-block {
- margin-top: 0;
- margin-bottom: 0;
- margin-left: 40px;
-}
-
/* Figures, Images, and Tables */
.figure.align-left,
figure.align-left,
@@ -234,16 +227,18 @@ aside.sidebar {
blockquote,
div.topic,
div.admonition,
-div.system-message,
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- margin-left: 1.5em;
- margin-right: 1.5em;
+div.system-message {
+ margin-left: 2em;
+ margin-right: 2em;
}
+div.line-block { display: block; }
+div.line-block div.line-block {
+ margin: 0 0 0 2em;
+}
+pre { margin-left: 2em; }
pre.code .ln { color: gray; } /* line numbers */
+
/* Tables */
table { border-collapse: collapse; }
td, th {
@@ -257,7 +252,11 @@ td > p, th > p { margin-bottom: 0; }
table > caption {
text-align: left;
- margin-bottom: 0.25em
+ margin-top: 0.2em;
+ margin-bottom: 0.2em;
+}
+table.captionbelow {
+ caption-side: bottom;
}
table.borderless td, table.borderless th {
@@ -278,12 +277,13 @@ header, section, footer, aside, nav, main, article, figure {
</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 HTML writers. */
+/* 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: */
/* */
@@ -297,153 +297,193 @@ header, section, footer, aside, nav, main, article, figure {
/* .. _CSS3: http://www.w3.org/TR/CSS3 */
-/* Document Structure */
-/* ****************** */
+/* General Settings */
+/* ================ */
+
+/* Suited for all screen sizes or special to small ones (mobile first). */
+/* For adaption to larger screens see media queries below */
+@viewport {
+ zoom: 1.0;
+ width: extend-to-zoom;
+}
-/* "page layout" */
body {
- margin: 0;
- background-color: #dbdbdb;
+ background-color: #fafaf6;
+/* background-color: #fefdfb; */
+ font-size: larger;
+ line-height: 1.4;
+ margin: auto;
}
-div.document,
main {
- line-height:1.3;
- counter-reset: table figure;
- /* 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: 50em;
- padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */
- margin: auto;
- background-color: white;
+ counter-reset: figure table;
}
-
-/* Sections */
-
-/* Transitions */
-
-hr.docutils {
- width: 80%;
- margin-top: 1em;
- margin-bottom: 1em;
- clear: both;
+main, header, footer {
+ padding: 0.5em 5%;
+ background-color: #fefefc;
+ max-width: 66em;
}
-/* Paragraphs */
-/* ========== */
+main > *, section > * {
+ max-width: 55em; /* ca. 90…100 characters */
+}
+main > section, section > section {
+ max-width: 100%;
+}
-/* vertical space (parskip) */
-p, ol, ul, dl, li, dd,
+/* Vertical Space (Parskip) */
+p, ol, ul, dl, li,
div.line-block,
div.topic,
table {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
-p:first-child { margin-top: 0; }
-/* (:last-child is new in CSS 3) */
-p:last-child { margin-bottom: 0; }
-
h1, h2, h3, h4, h5, h6,
dl > dd {
margin-bottom: 0.5em;
}
+/* exceptions */
+p:first-child {
+ margin-top: 0;
+}
+p:last-child {
+ margin-bottom: 0;
+}
+blockquote > table,
+div.topic > table {
+ margin-top: 0;
+ margin-bottom: 0;
+}
-/* Lists */
-/* ===== */
+/* Indented Blocks */
+blockquote,
+figure,
+div.topic {
+ /* background-color: Honeydew; */
+ margin: 0.5em 2%;
+ padding-left: 1em;
+}
+div.line-block div.line-block,
+dl.option-list,
+.literal-block,
+pre {
+ /* background-color: LightCyan; */
+ margin-left: calc(2% + 1em);
+}
-/* Separate list entries in compound lists */
-dl > dd, ol > li,
+/* Object styling */
+/* ============== */
-/* Definition Lists */
-/* Indent lists nested in definition lists */
-/* (:only-child is new in CSS 3) */
-dd > ul:only-child, dd > ol:only-child { padding-left: 1em; }
+footer > *, header > *,
+aside.sidebar > *, .marginal > * {
+ font-size: smaller;
+}
-/* Description Lists */
-/* styled like in most dictionaries, encyclopedias etc. */
-dl.description > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
+/* Frontmatter */
+blockquote.dedication,
+div.topic.dedication {
padding: 0;
- padding-right: 0.5em;
+ margin-left: 0;
+ font-style: italic;
+ font-size: larger;
+}
+/* div.abstract p.topic-title, */
+div.dedication p.topic-title {
+ display: none;
}
-/* Field Lists */
+blockquote p.attribution,
+div.topic p.attribution {
+ text-align: right;
+}
-/* example for custom field-name width */
-dl.field-list.narrow > dd {
- margin-left: 5em;
+/* Table of Contents */
+div.topic.contents {
+ padding: 0;
}
-/* run-in: start field-body on same line after long field names */
-dl.field-list.run-in > dd p {
- display: block;
+ul.auto-toc > li > p {
+ padding-left: 1em;
+ text-indent: -1em;
+}
+div.topic.contents ul {
+ padding-left: 1em;
}
-/* Bibliographic Fields */
+/* Transitions */
+hr {
+ margin: 1em 10%;
+}
-/* generally, bibliographic fields use special definition list dl.docinfo */
-/* but dedication and abstract are placed into "topic" divs */
-div.abstract p.topic-title {
- text-align: center;
+/* Lists */
+
+/* Smaller indent on small screens */
+ul, ol {
+ padding-left: 1.1em;
}
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic;
+dd {
+ margin-left: 1.5em;
}
-div.dedication p.topic-title {
- font-style: normal;
+dl.field-list > dd {
+ margin-left: 4em;
+}
+dl.field-list.narrow > dd,
+dl.docinfo > dd,
+dl.option-list > dd {
+ margin-left: 2.4em;
+}
+/* run-in: start field-body on same line after long field names */
+dl.field-list.run-in > dd p {
+ display: block;
}
-/* Citations */
-dl.citation dt.label {
+/* "description style" like in most dictionaries, encyclopedias etc. */
+dl.description > dt {
+ clear: left;
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 0.5em;
font-weight: bold;
}
-span.fn-backref {
- font-weight: normal;
+dl.description > dd:after {
+ display: block;
+ content: "";
+ clear: both;
}
-
-/* Text Blocks */
-/* =========== */
-
-/* Literal Blocks */
-
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- font-family: monospace;
+/* start lists nested in description/field lists on new line */
+dd > dl:first-child,
+dd > ul:first-child,
+dd > ol:first-child {
+ clear: left;
+}
+/* Footnotes and Citations */
+/* TODO: use <aside> */
+dl.footnote {
+ font-size: smaller;
+ padding-left: 0.5em;
+/* text-indent: -0.5em; */
+ border-left: solid;
+ border-left-width: thin;
}
-/* Block Quotes */
-
-blockquote > table,
-div.topic > table {
- margin-top: 0;
- margin-bottom: 0;
+/* Images, Figures, and Tables */
+img {
+ display: block;
}
-blockquote p.attribution,
-div.topic p.attribution {
- text-align: right;
- margin-left: 20%;
+p > img, p > a > img,
+figure > img, figure > a > img {
+ display: inline;
}
-/* Tables */
-/* ====== */
+table tr {
+ text-align: left;
+}
/* th { vertical-align: bottom; } */
-
-table tr { text-align: left; }
-
/* "booktabs" style (no vertical lines) */
table.booktabs {
- border: 0;
border-top: 2px solid;
border-bottom: 2px solid;
- border-collapse: collapse;
}
table.booktabs * {
border: 0;
@@ -452,101 +492,59 @@ 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 */
-dl.footnote {
- padding-left: 1ex;
- border-left: solid;
- border-left-width: thin;
-}
-
-/* Directives */
-/* ---------- */
-
-/* Body Elements */
-/* ~~~~~~~~~~~~~ */
-
-/* Images and Figures */
-
-/* let content flow to the side of aligned images and figures */
-.figure.align-left,
-figure.align-left,
-img.align-left,
-object.align-left {
- display: block;
- clear: left;
- float: left;
- margin-right: 1em;
+figcaption,
+table > caption {
+ /* font-size: smaller; */
+ font-style: italic;
}
-.figure.align-right,
-figure.align-right,
-img.align-right,
-object.align-right {
- display: block;
- clear: right;
- float: right;
- margin-left: 1em;
+figcaption > .legend {
+ font-size: smaller;
+ font-style: initial;
}
-/* Stop floating sidebars, images and figures at section level 1,2,3 */
-h1, h2, h3, h4 { clear: both; }
-/* Numbered figures */
figure.numbered > figcaption > p:before {
counter-increment: figure;
content: "Figure " counter(figure) ": ";
font-weight: bold;
+ font-style: initial;
+}
+table.numbered > caption:before {
+ counter-increment: table;
+ content: "Table " counter(table) ": ";
+ font-weight: bold;
+ font-style: initial;
}
-
/* Admonitions and System Messages */
-
div.admonition,
-div.system-message,
-aside.sidebar {
- border: medium outset;
- margin: 1em 1.5em;
- padding: 0.5em 1em;
+div.system-message {
+ box-sizing: border-box;
+ border-style: solid;
+ border-color: silver;
+ border-width: thin;
+ margin: 1em 2%;
+ padding: 0.5em;
}
-
div.caution p.admonition-title,
div.attention p.admonition-title,
div.danger p.admonition-title,
-div.error p.admonition-title,
div.warning p.admonition-title,
div.error {
- color: red;
+ color: maroon;
+}
+div.system-message > p > span.literal {
+ overflow-wrap: break-word;
}
-
-/* Sidebar */
-
-/* Move right. In a layout with fixed margins, */
-/* it can be moved into the margin. */
-div.sidebar,
-aside.sidebar {
- width: 30%;
- max-width: 26em;
- margin-left: 1em;
- margin-right: -2%;
- background-color: #ffffee;
+/* Literal and Code */
+pre {
+ /* font-family: Consolas, "Liberation Mono", Menlo, monospace; */
+ /* font-size: 0.9em; */
+ overflow: auto;
+ margin-right: -5%;
}
-/* Code */
-pre.code { padding: 0.7ex }
-pre.code, code { background-color: #eeeeee }
pre.code .ln { color: gray; } /* line numbers */
/* basic highlighting: for a complete scheme, see */
/* http://docutils.sourceforge.net/sandbox/stylesheets/ */
@@ -557,52 +555,160 @@ pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
-/* Math */
-/* styled separately (see math.css for math-output=HTML) */
-/* Epigraph */
-/* Highlights */
-/* Pull-Quote */
-/* Compound Paragraph */
-/* Container */
-/* Document Header and Footer */
+.sans {
+ font-family: "Gill Sans", "Gill Sans MT", Calibri, "Lucida Sans", "Noto Sans", sans-serif;
+ letter-spacing: .02em;
+}
-footer, header {
- font-size: smaller;
+/* Hyperlink References */
+/* underline that clears descenders */
+a {
+ text-decoration: none;
+ text-decoration-skip-ink: auto; /* nonstandard selector */
+}
+a:link{
+ overflow-wrap: break-word;
+}
+/* undecorated links */
+a[href^="#system-message"],
+.contents a, a.toc-backref, a.image-reference,
+a.footnote-reference, a.fn-backref, .fn-backref a,
+a.citation-reference {
+ color: inherit;
+}
+a:link:hover {
+ text-decoration: underline;
+}
+
+
+/* Block Alignment */
+/* Let content flow to the side of aligned images and figures */
+
+/* no floats around this elements */
+dl.footnote, dl.citation, /* errors with internal floats */
+footer, header, hr,
+h1, h2, h3, .contents > p.topic-title {
clear: both;
- padding: 0.5em 2%;
- background-color: #ebebee;
- border: none;
}
-/* Inline Markup */
-/* ============= */
+img.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,
+figure.align-right,
+table.align-right {
+ margin-left: 0.5em;
+ clear: right;
+ float: right;
+}
+
+/* Margin Elements */
+/* see below for screen size dependent rules */
+aside.sidebar {
+/* overwrite minimal.css */
+ width: auto;
+ max-width: 100%;
+/* float: none; */
+}
+aside.sidebar,
+.marginal,
+.admonition.marginal,
+.topic.marginal {
+ background-color: #efefea;
+ box-sizing: border-box;
+ margin: 0.5em 0;
+ padding: 0.5em;
+ clear: right;
+}
-/* Emphasis */
-/* em */
-/* Strong Emphasis */
-/* strong */
-/* Interpreted Text */
-/* span.interpreted */
-/* Title Reference */
-/* cite */
+/* Adaptive page layout */
+
+/* larger margins and floating elements moderately small screens */
+/* main text more than around 40 characters/line */
+@media (min-width: 35em) {
+ /* wider margins */
+ main, header, footer {
+ padding: 0.5em calc(20% - 5rem);
+ line-height: 1.6
+ }
+ pre {
+ margin-right: calc(5rem - 20%);
+ }
+ /* floating margin elements */
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ max-width: min(45%, 18em);
+ margin-left: 1em;
+ clear: right;
+ float: right;
+ }
+ /* more indent for field-list values */
+ dl.field-list > dd,
+ dl.docinfo > dd {
+ margin-left: 6.4em;
+ }
+ dl.option-list > dd {
+ margin-left: 5em;
+ }
+}
-/* Inline Literals */
-/* possible values: normal, nowrap, pre, pre-wrap, pre-line */
-/* span.docutils.literal { white-space: pre-wrap; } */
+@media (min-width: 65em) {
+ /* 2 column layout with wide margin */
+ main, header, footer {
+ padding: 0.5em 15%;
+ }
+ aside.sidebar,
+ .marginal,
+ .admonition.marginal,
+ .topic.marginal {
+ background-color: inherit;
+ /* background-color: lavender; */
+ margin-right: -18%;
+ padding: 0;
+ }
+ .admonition.marginal { padding: 0.5em; }
+}
-/* Hyperlink References */
-a { text-decoration: none; }
-
-/* External Targets */
-/* span.target.external */
-/* Internal Targets */
-/* span.target.internal */
-/* Footnote References */
-/* a.footnote-reference */
-/* Citation References */
-/* a.citation-reference */
+/* Move ToC to the left */
+@media (min-width: 100em) {
+ main, header, footer {
+ padding-left: min(30%, 36em);
+ }
+ main > div.topic.contents {
+ position: fixed;
+ top: 0;
+ left: 0;
+ box-sizing: border-box;
+ width: min(25%, 28em);
+ height: 100vh;
+ margin: 0;
+ background-color: #fafaf6;
+ padding: 5.5em 2%;
+ overflow: auto;
+ }
+ main > div.topic.contents > * {
+ padding-left: 0;
+ }
+
+/* marginal elements outside of main text */
+@media (min-width: 126em) {
+ aside.sidebar,
+ figure.marginal,
+ .topic.marginal,
+ p.marginal {
+ width: min(45%, 18em);
+ }
+}
</style>
</head>