diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/greek-fontenc/puenc-greek.def.html')
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/puenc-greek.def.html | 839 |
1 files changed, 454 insertions, 385 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/puenc-greek.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/puenc-greek.def.html index 68ad597359b..0743c622df6 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/puenc-greek.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/puenc-greek.def.html @@ -1,18 +1,19 @@ <!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/" /> +<meta charset="utf-8" /> +<meta name="generator" content="Docutils 0.20b.dev: https://docutils.sourceforge.io/" /> +<meta name="viewport" content="width=device-width, initial-scale=1" /> +<meta name="dcterms.rights" content="© 2020, 2023 Günter Milde" /> <title>puenc-greek.def</title> -<meta name="dcterms.rights" content="© 2020 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. */ +/* :Id: $Id$ */ +/* :Copyright: © 2015, 2021 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ /* */ @@ -24,38 +25,24 @@ /* */ /* .. _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; } +/* This CSS3 stylesheet defines rules for Docutils elements without */ +/* HTML equivalent. It is required to make the document semantics visible. */ +/* */ +/* .. _validates: http://jigsaw.w3.org/css-validator/validator$link */ /* 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; +p.sidebar-title, +p.rubric { + font-weight: bold; + font-size: larger; } -h2 + p.section-subtitle, -p.sidebar-title { - font-size: 1.2em; +p.rubric { + color: maroon; } p.subtitle, p.section-subtitle, @@ -63,46 +50,47 @@ p.sidebar-subtitle { font-weight: bold; margin-top: -0.5em; } -p.rubric { - font-size: larger; - color: maroon; +h1 + p.subtitle { + font-size: 1.6em; } a.toc-backref { - color: black; - text-decoration: none; } + color: inherit; + text-decoration: none; +} /* Warnings, Errors */ -div.system-messages h2, -span.problematic, -p.system-message-title { +.system-messages h2, +.system-message-title, +span.problematic { color: red; } -/* inline literals */ -span.docutils.literal { +/* Inline Literals */ +.docutils.literal { font-family: monospace; white-space: pre-wrap; } -/* do not wraph at hyphens and similar: */ +/* do not wrap 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 { +.simple li, .simple ul, .simple ol, +.compact li, .compact ul, .compact ol, +.simple > li p, dl.simple > dd, +.compact > li p, dl.compact > dd { margin-top: 0; margin-bottom: 0; } +/* Nested Paragraphs */ +p:first-child { margin-top: 0; } +p:last-child { margin-bottom: 0; } +details > p:last-child { margin-bottom: 1em; } /* Table of Contents */ -div.topic.contents { margin: 0.5em 0; } -div.topic.contents ul { +.contents ul.auto-toc { /* section numbers present */ list-style-type: none; - padding-left: 1.5em; } /* Enumerated Lists */ @@ -112,32 +100,41 @@ 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 { +/* Definition Lists and Derivatives */ +dt .classifier { font-style: italic } +dt .classifier:before { font-style: normal; margin: 0.5em; content: ":"; } - -/* Field Lists and drivatives */ +/* Field Lists and similar */ /* bold field name, content starts on the same line */ +dl.field-list, +dl.option-list, +dl.docinfo { + display: flow-root; +} dl.field-list > dt, dl.option-list > dt, -dl.docinfo > dt, -dl.footnote > dt, -dl.citation > dt { +dl.docinfo > dt { font-weight: bold; clear: left; float: left; margin: 0; padding: 0; - padding-right: 0.5em; + padding-right: 0.2em; } /* 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 */ + margin-left: 9em; /* ca. 14 chars in the test examples, fit all Docinfo fields */ +} +/* start nested lists on new line */ +dd > dl:first-child, +dd > ul:first-child, +dd > ol:first-child { + clear: left; } /* start field-body on a new line after long field names */ dl.field-list > dd > *:first-child, @@ -147,108 +144,124 @@ dl.option-list > dd > *:first-child 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; +dl.docinfo pre.address { + font: inherit; margin: 0.5em 0; } -dd.authors > p { margin: 0; } +dl.docinfo > 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 { + +.footnote, .citation { margin: 1em 0; } /* default paragraph skip (Firefox) */ +/* hanging indent */ +.citation { padding-left: 2em; } +.footnote { padding-left: 1.7em; } +.footnote.superscript { padding-left: 1.0em; } +.citation > .label { margin-left: -2em; } +.footnote > .label { margin-left: -1.7em; } +.footnote.superscript > .label { margin-left: -1.0em; } + +.footnote > .label + *, +.citation > .label + * { + display: inline-block; + margin-top: 0; + vertical-align: top; +} +.footnote > .backrefs + *, +.citation > .backrefs + * { + margin-top: 0; +} +.footnote > .label + p, .footnote > .backrefs + p, +.citation > .label + p, .citation > .backrefs + p { + display: inline; + vertical-align: inherit; +} + +.backrefs { user-select: none; } +.backrefs > a { font-style: italic; } + +/* superscript footnotes */ +a[role="doc-noteref"].superscript, +.footnote.superscript > .label, +.footnote.superscript > .backrefs { vertical-align: super; - font-size: small; + font-size: smaller; + line-height: 1; +} +a[role="doc-noteref"].superscript > .fn-bracket, +.footnote.superscript > .label > .fn-bracket { + /* hide brackets in display but leave for copy/paste */ + display: inline-block; + width: 0; + overflow: hidden; +} +[role="doc-noteref"].superscript + [role="doc-noteref"].superscript { + padding-left: 0.15em; /* separate consecutive footnote references */ + /* TODO: unfortunately, "+" also selects with text between the references. */ } -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 { +/* Alignment */ +.align-left { + text-align: left; margin-right: auto; } -.figure.align-center, -figure.align-center, -img.align-center, -object.align-center, -table.align-center { +.align-center { + text-align: center; margin-left: auto; margin-right: auto; } -.figure.align-right, -figure.align-right, -img.align-right, -object.align-right, -table.align-right { +.align-right { + text-align: right; margin-left: auto; } -img.align-center, img.align-right, -object.align-center, object.align-right { - display: block; -} +.align-top { vertical-align: top; } +.align-middle { vertical-align: middle; } +.align-bottom { vertical-align: bottom; } + /* 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; +.topic { margin: 1em 2em; } +.sidebar, +.admonition, +.system-message { + margin: 1em 2em; + border: thin solid; + padding: 0.5em 1em; } 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 */ +div.line-block div.line-block, pre { margin-left: 2em; } +/* Code line numbers: dropped when copying text from the page */ +pre.code .ln { display: none; } +pre.code code:before { + content: attr(data-lineno); /* …, none) fallback not supported by any browser */ + color: gray; +} /* Tables */ -table { border-collapse: collapse; } +table { + border-collapse: collapse; +} td, th { - border-style: solid; - border-color: silver; + border: thin solid 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; } +.borderless td, .borderless th { + border: 0; + padding: 0; + padding-right: 0.5em /* separate table cells */ +} table > caption { text-align: left; @@ -259,25 +272,24 @@ 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 { +/* Images are block-level by default in Docutils */ +/* New HTML5 block elements: set display for older browsers */ +img, header, footer, main, aside, nav, section, figure, video, details { display: block; } +/* inline images */ +p img, p video, figure img, figure video { + display: inline; +} </style> <style type="text/css"> -/* CSS3_ style sheet for the output of Docutils HTML writers. */ +/* CSS3_ style sheet for the output of Docutils HTML5 writer. */ /* Generic responsive design for all screen sizes. */ /* */ /* :Author: Günter Milde */ @@ -294,119 +306,113 @@ header, section, footer, aside, nav, main, article, figure { /* 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 */ +/* .. _CSS3: https://www.w3.org/Style/CSS/ */ + +/* Note: */ +/* This style sheet is provisional: */ +/* the API is not settled and may change with any minor Docutils version. */ + /* 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; -} + +* { box-sizing: border-box; } body { background-color: #fafaf6; -/* background-color: #fefdfb; */ - font-size: larger; - line-height: 1.4; margin: auto; + --field-indent: 6.6em; /* indent of fields in field lists */ + --sidebar-margin-right: 0; /* adapted in media queries below */ } main { counter-reset: figure table; } -main, header, footer { - padding: 0.5em 5%; - background-color: #fefefc; - max-width: 66em; -} - -main > *, section > * { - max-width: 55em; /* ca. 90…100 characters */ +body > * { + background-color: white; + line-height: 1.6; + padding: 0.5rem calc(29% - 7.2rem); /* go from 5% to 15% (8.15em/54em) */ + margin: auto; + max-width: 100rem; } -main > section, section > section { - max-width: 100%; +sup, sub { /* avoid additional inter-line space for lines with sup/sub */ + line-height: 1; } /* Vertical Space (Parskip) */ p, ol, ul, dl, li, div.line-block, -div.topic, +.topic, +.footnote, .citation, +div > math, table { margin-top: 0.5em; margin-bottom: 0.5em; } h1, h2, h3, h4, h5, h6, -dl > dd { +dl > dd, details > p:last-child { 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%; +blockquote, figure, .topic { + margin: 1em 2%; padding-left: 1em; } div.line-block div.line-block, -dl.option-list, -.literal-block, -pre { - /* background-color: LightCyan; */ +pre, dd, dl.option-list { margin-left: calc(2% + 1em); } /* Object styling */ /* ============== */ -footer > *, header > *, -aside.sidebar > *, .marginal > * { - font-size: smaller; +footer, header { + font-size: small; } /* Frontmatter */ -blockquote.dedication, -div.topic.dedication { +div.dedication { padding: 0; - margin-left: 0; + margin: 1.4em 0; font-style: italic; - font-size: larger; + font-size: large; } -/* div.abstract p.topic-title, */ -div.dedication p.topic-title { +.dedication p.topic-title { display: none; } blockquote p.attribution, -div.topic p.attribution { +.topic p.attribution { text-align: right; } /* Table of Contents */ -div.topic.contents { - padding: 0; +nav.contents ul { + padding-left: 1em; } -ul.auto-toc > li > p { +ul.auto-toc > li > p { /* hanging indent */ padding-left: 1em; text-indent: -1em; } -div.topic.contents ul { - padding-left: 1em; +main > nav.contents ul:not(.auto-toc) { + list-style-type: square; +} +main > nav.contents ul ul:not(.auto-toc) { + list-style-type: disc; +} +main > nav.contents ul ul ul:not(.auto-toc) { + list-style-type: '\2B29\ '; +} +main > nav.contents ul ul ul ul:not(.auto-toc) { + list-style-type: '\2B1D\ '; +} +main > nav.contents ul ul ul ul ul:not(.auto-toc) { + list-style-type: '\2B2A\ '; +} +nav.contents ul > li::marker { + color: grey; } /* Transitions */ @@ -416,54 +422,51 @@ hr { /* Lists */ -/* Smaller indent on small screens */ ul, ol { - padding-left: 1.1em; -} -dd { - margin-left: 1.5em; + padding-left: 1.1em; /* indent by bullet width (Firefox, DejaVu fonts) */ } -dl.field-list > dd { - margin-left: 4em; +dl.field-list > dd, +dl.docinfo > dd { + margin-left: var(--field-indent); /* adapted in media queries or HTML */ } -dl.field-list.narrow > dd, -dl.docinfo > dd, dl.option-list > dd { - margin-left: 2.4em; + margin-left: 20%; } /* run-in: start field-body on same line after long field names */ dl.field-list.run-in > dd p { display: block; } - /* "description style" like in most dictionaries, encyclopedias etc. */ +dl.description { + display: flow-root; +} dl.description > dt { clear: left; float: left; margin: 0; padding: 0; - padding-right: 0.5em; + padding-right: 0.3em; font-weight: bold; } dl.description > dd:after { - display: block; + display: table; content: ""; - clear: both; + clear: left; /* clearfix for empty descriptions */ } /* start lists nested in description/field lists on new line */ dd > dl:first-child, dd > ul:first-child, dd > ol:first-child { - clear: left; + clear: left; } + +/* disclosures */ +details { padding-left: 1em; } +summary { margin-left: -1em; } + /* 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; +.footnote { + font-size: small; } /* Images, Figures, and Tables */ @@ -475,39 +478,36 @@ 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-size: small; */ font-style: italic; } figcaption > .legend { - font-size: smaller; + font-size: small; font-style: initial; } - figure.numbered > figcaption > p:before { counter-increment: figure; content: "Figure " counter(figure) ": "; font-weight: bold; font-style: initial; } + +table tr { + text-align: left; + vertical-align: baseline; +} +table.booktabs { /* "booktabs" style (no vertical lines) */ + border-top: 2px solid; + border-bottom: 2px solid; +} +table.booktabs * { + border: 0; +} +table.booktabs th { + border-bottom: thin solid; +} table.numbered > caption:before { counter-increment: table; content: "Table " counter(table) ": "; @@ -516,19 +516,16 @@ table.numbered > caption:before { } /* Admonitions and System Messages */ -div.admonition, +.admonition, div.system-message { - box-sizing: border-box; - border-style: solid; - border-color: silver; - border-width: thin; + border: thin solid silver; margin: 1em 2%; - padding: 0.5em; + padding: 0.5em 1em; } -div.caution p.admonition-title, -div.attention p.admonition-title, -div.danger p.admonition-title, -div.warning p.admonition-title, +.caution p.admonition-title, +.attention p.admonition-title, +.danger p.admonition-title, +.warning p.admonition-title, div.error { color: maroon; } @@ -537,17 +534,19 @@ div.system-message > p > span.literal { } /* Literal and Code */ -pre { - /* font-family: Consolas, "Liberation Mono", Menlo, monospace; */ - /* font-size: 0.9em; */ - overflow: auto; - margin-right: -5%; +pre.literal-block, pre.doctest{ + padding: 0.2em; + overflow-x: auto; +} +.literal-block, .doctest, span.literal { + background-color: #f6f9f8; +} +.system-message span.literal { + background-color: inherit; } - -pre.code .ln { color: gray; } /* line numbers */ /* basic highlighting: for a complete scheme, see */ -/* http://docutils.sourceforge.net/sandbox/stylesheets/ */ +/* https://docutils.sourceforge.io/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 } @@ -555,45 +554,57 @@ 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 */ -} -a:link{ + text-decoration: none; /* for chromium */ + /* Wrap links at any place, if this is the only way to prevent overflow */ 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 { +.contents a, a.toc-backref, a.citation-reference { + overflow-wrap: inherit; +} +/* Undecorated Links (see also minimal.css) */ +/* a.citation-reference, */ +.citation a.fn-backref { color: inherit; } -a:link:hover { +a:hover { text-decoration: underline; } - +*:hover > a.toc-backref:after { + content: " \2191"; /* ↑ UPWARDS ARROW */ + color: grey; +} +*:hover > a.self-link:after { + content: "\1F517"; /* LINK SYMBOL */ + color: grey; + font-size: smaller; + margin-left: 0.2em; +} +/* highlight the target of the current URL */ +section:target > h2, section:target > h3, section:target > h4, +section:target > h5, section:target > h6, +.contents :target, +.contents:target > .topic-title, +[role="doc-biblioentry"]:target > .label, +[role="doc-biblioref"]:target, +[role="note"]:target, /* Docutils 0.18 ... 0.19 */ +[role="doc-footnote"]:target, /* Docutils >= 0.20 */ +[role="doc-noteref"]:target { + background-color: #d2e6ec; +} /* Block Alignment */ /* Let content flow to the side of aligned images and figures */ /* no floats around this elements */ -dl.footnote, dl.citation, /* errors with internal floats */ -footer, header, hr, -h1, h2, h3, .contents > p.topic-title { +footer, header, hr, +h1, h2, h3 { clear: both; } img.align-left, +video.align-left, figure.align-left, table.align-left { margin-left: 0; @@ -603,111 +614,175 @@ table.align-left { float: left; } img.align-right, +video.align-right, figure.align-right, table.align-right { margin-left: 0.5em; + margin-right: 0; clear: right; float: right; } /* Margin Elements */ /* see below for screen size dependent rules */ -aside.sidebar { -/* overwrite minimal.css */ - width: auto; - max-width: 100%; -/* float: none; */ -} -aside.sidebar, +.sidebar, .marginal, -.admonition.marginal, -.topic.marginal { +.admonition.marginal { + max-width: 40%; + border: none; background-color: #efefea; - box-sizing: border-box; - margin: 0.5em 0; + margin: 0.5em var(--sidebar-margin-right) 0.5em 1em; padding: 0.5em; + padding-left: 0.7em; clear: right; + float: right; + font-size: small; +} +.sidebar { + width: 40%; } -/* Adaptive page layout */ +/* Math */ +/* for math-output=MathML (for math-output=HTML, see math.css) */ +math .boldsymbol { + font-weight: bold; +} +mstyle.mathscr, mi.mathscr { + font-family: STIX; +} -/* 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%); +/* Adaptive page layout */ +/* ==================== */ + +@media (max-width: 30em) { + /* Smaller margins and no floating elements for small screens */ + /* (main text less than 40 characters/line) */ + body > * { + padding: 0.5rem 5%; + line-height: 1.4 } - /* floating margin elements */ - aside.sidebar, + .sidebar, .marginal, - .admonition.marginal, - .topic.marginal { - max-width: min(45%, 18em); - margin-left: 1em; - clear: right; - float: right; + .admonition.marginal { + width: auto; + max-width: 100%; + float: none; } - /* more indent for field-list values */ - dl.field-list > dd, - dl.docinfo > dd { - margin-left: 6.4em; + dl.option-list, + pre { + margin-left: 0; } - dl.option-list > dd { - margin-left: 5em; + body { + --field-indent: 4em; } -} - -@media (min-width: 65em) { - /* 2 column layout with wide margin */ - main, header, footer { - padding: 0.5em 15%; + dl.field-list.narrow, dl.docinfo, dl.option-list { + --field-indent: 2.4em; } - aside.sidebar, - .marginal, - .admonition.marginal, - .topic.marginal { - background-color: inherit; - /* background-color: lavender; */ - margin-right: -18%; - padding: 0; + pre, pre * { + font-size: 0.9em; + /* overflow: auto; */ } - .admonition.marginal { padding: 0.5em; } } -/* Move ToC to the left */ -@media (min-width: 100em) { - main, header, footer { - padding-left: min(30%, 36em); +@media (min-width: 54em) { + /* Move ToC to the left */ + /* Main text width before: 70% ≙ 35em ≙ 75…95 chrs (Dejavu/Times) */ + /* after: ≳ 30em ≙ 54…70 chrs (Dejavu/Times) */ + body.with-toc { + padding-left: 8%; + } + body.with-toc > * { + margin-left: 0; + padding-left: 22rem; /* fallback for webkit */ + padding-left: min(22%, 22rem); + padding-right: 7%; } - main > div.topic.contents { + main > nav.contents { /* global ToC */ position: fixed; top: 0; left: 0; - box-sizing: border-box; - width: min(25%, 28em); + width: min(25%, 25em); height: 100vh; margin: 0; background-color: #fafaf6; - padding: 5.5em 2%; + padding: 1em 2% 0 2%; overflow: auto; } - main > div.topic.contents > * { + main > nav.contents > * { padding-left: 0; + line-height: 1.4; + } + main > nav.contents a { + color: inherit; + } +} + +@media (min-width: 70em) { + body { + --field-indent: 9em; + } +} + +@media (min-width: 77em) { + /* Move marginalia to 6rem from right border */ + /* .sidebar, */ + /* .marginal, */ + /* .admonition.marginal { */ + /* margin-right: calc(6rem - 15%); */ + /* } */ + /* BUG: margin is calculated for break point width */ + /* workaround: variable + many breakpoints */ + body > * { + padding-left: 18%; + padding-right: 28%; /* fallback for webkit */ + padding-right: min(28%, 28rem); + --sidebar-margin-right: -20rem; + } + /* limit main text to ~ 50em ≙ 85…100 characters DejaVu rsp. …120 Times */ + body.with-toc > * { + padding-left: min(22%, 22rem); + padding-right: calc(78% - 50rem); /* fallback for webkit */ + padding-right: min(78% - 50rem, 28rem); + --sidebar-margin-right: 0; + } +} + +@media (min-width: 85em) { + body.with-toc > * { + --sidebar-margin-right: -9rem; + } +} + +@media (min-width: 90em) { + /* move marginalia into the margin */ + body > * { + padding-left: min(22%, 22rem); + --sidebar-margin-right: -23rem; + } + body.with-toc > * { + --sidebar-margin-right: -14rem; + } +} + +@media (min-width: 99em) { + /* move marginalia out of main text area */ + body.with-toc > * { + --sidebar-margin-right: -20rem; + } + body > *, body.with-toc > * { /* for webkit */ + padding-left: 22rem; + padding-right: 28rem; + } + .admonition.marginal, + .marginal { + width: 40%; /* make marginal figures, ... "full width" */ + } +} + +@media (min-width: 104em) { + body.with-toc > * { + --sidebar-margin-right: -23rem; } - -/* marginal elements outside of main text */ -@media (min-width: 126em) { - aside.sidebar, - figure.marginal, - .topic.marginal, - p.marginal { - width: min(45%, 18em); - } } </style> @@ -717,36 +792,35 @@ aside.sidebar, <h1 class="title">puenc-greek.def</h1> <p class="subtitle" id="greek-licr-definitions-for-pdf-strings-hyperref">Greek LICR definitions for PDF strings (hyperref)</p> <dl class="docinfo"> -<dt class="copyright">Copyright</dt> -<dd class="copyright">© 2020 Günter Milde</dd> -<dt class="licence">Licence</dt> +<dt class="copyright">Copyright<span class="colon">:</span></dt> +<dd class="copyright">© 2020, 2023 Günter Milde</dd> +<dt class="licence">Licence<span class="colon">:</span></dt> <dd class="licence"><p>This work may be distributed and/or modified under the conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either version 1.3 of this license or any later version.</p> </dd> -<dt class="identification">Identification</dt> +<dt class="identification">Identification<span class="colon">:</span></dt> <dd class="identification"><pre class="literal-block">\ProvidesFile{puenc-greek.def} -[2020/10/18 2.0 Greek LICRs for PDF strings]</pre> +[2023/02/28 2.2 Greek LICRs for PDF strings]</pre> </dd> </dl> -<div class="abstract topic"> +<div class="topic abstract" role="doc-abstract"> <p class="topic-title">Abstract</p> <p>Support for Greek LICR macros in PDF bookmarks. Extends <span class="docutils literal">puenc.def</span> -from the <a class="reference external" href="https://ctan.org/pkg/hyperref">hyperref</a> package. -Used by <a class="reference external" href="http://ctan.org/pkg/babel-greek">babel-greek</a> and <a class="reference external" href="textalpha.sty.html">textalpha</a>.</p> +and supersedes <span class="docutils literal"><span class="pre">puenc-greekbasic.def</span></span> from the <a class="reference external" href="https://ctan.org/pkg/hyperref">hyperref</a> package. +Used by <a class="reference external" href="https://ctan.org/pkg/babel-greek">babel-greek</a> and <a class="reference external" href="textalpha.sty.html">textalpha</a>.</p> </div> <dl> -<dt><strong>History</strong>:</dt> +<dt><strong>Changelog</strong>:</dt> <dd><table class="borderless"> -<colgroup> -<col style="width: 8%" /> -<col style="width: 14%" /> -<col style="width: 78%" /> -</colgroup> <tbody> <tr><td><p>2.0</p></td> <td><p>2020-10-18</p></td> -<td><p>initial version</p></td> +<td><p>Initial version.</p></td> +</tr> +<tr><td><p>2.2</p></td> +<td><p>2023-02-28</p></td> +<td><p>Add compatibility definitions for hyperref.</p></td> </tr> </tbody> </table> @@ -798,20 +872,12 @@ Distinguish MICRO SIGN from letter mu:</p> </section> <section id="greek-and-coptic"> <h3>Greek and Coptic</h3> -<pre class="literal-block">% NR Unicode Name % babel name, PU name -% 0370 GREEK CAPITAL LETTER HETA % Ͱ -% 0371 GREEK SMALL LETTER HETA % ͱ -% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ -% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % ͳ -\DeclareTextCommand{\textdexiakeraia}{PU}{\83\164} % ʹ \anwtonos, \textnumeralsigngreek -\DeclareTextCommand{\textaristerikeraia}{PU}{\83\165} % ͵ \katwtonos, \textnumeralsignlowergreek -% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ -% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ</pre> +<p>Without coptic and archaic letters (except the ones used in Greek numerals).</p> +<pre class="literal-block">% NR Unicode Name % PU name (alias in greek-fontenc.def) +\DeclareTextCommand{\textdexiakeraia}{PU}{\83\164} % ʹ \textnumeralsigngreek +\DeclareTextCommand{\textaristerikeraia}{PU}{\83\165} % ͵ \textnumeralsignlowergreek</pre> <p>037A GREEK YPOGEGRAMMENI (use textcompwordmarkypogegrammeni) % ͺ -037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL -037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL -037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL</p> -<p>Erotimatiko: use 003B SEMICOLON, not 037E GREEK QUESTION MARK; dont use the +Erotimatiko: use 003B SEMICOLON, not 037E GREEK QUESTION MARK; dont use the literal char, as it is active with textalpha’s “keep-semicolon” option:</p> <pre class="literal-block">\DeclareTextCommand{\texterotimatiko}{PU}{\80\073} @@ -853,12 +919,14 @@ literal char, as it is active with textalpha’s “keep-semicolon” option:</p \DeclareTextCommand{\textPsi}{PU}{\83\250} % Ψ "03A8 \DeclareTextCommand{\textOmega}{PU}{\83\251} % Ω "03A9 \DeclareTextCompositeCommand{\"}{PU}{\textIota}{\83\252} % Ϊ "03AA +\DeclareTextCommand{\textIotadieresis}{PU}{\83\252}% U+03AA \DeclareTextCompositeCommand{\"}{PU}{\textUpsilon}{\83\253} % Ϋ "03AB \DeclareTextCompositeCommand{\'}{PU}{\textalpha}{\83\254} % ά "03AC \DeclareTextCompositeCommand{\'}{PU}{\textepsilon}{\83\255} % έ "03AD \DeclareTextCompositeCommand{\'}{PU}{\texteta}{\83\256} % ή "03AE \DeclareTextCompositeCommand{\'}{PU}{\textiota}{\83\257} % ί "03AF \DeclareTextCompositeCommand{\accdialytikatonos}{PU}{\textupsilon}{\83\260} % ΰ "03B0 +\DeclareTextCompositeCommand{\"}{PU}{\textupsilonacute}{\83\260}% U+03B0 \DeclareTextCommand{\textalpha}{PU}{\83\261} % α "03B1 \DeclareTextCommand{\textbeta}{PU}{\83\262} % β "03B2 \DeclareTextCommand{\textgamma}{PU}{\83\263} % γ "03B3 @@ -876,7 +944,7 @@ literal char, as it is active with textalpha’s “keep-semicolon” option:</p \DeclareTextCommand{\textomicron}{PU}{\83\277} % ο "03BF \DeclareTextCommand{\textpi}{PU}{\83\300} % π "03C0 \DeclareTextCommand{\textrho}{PU}{\83\301} % ρ "03C1 -\DeclareTextCommand{\textfinalsigma}{PU}{\83\302} % ς "03C2 final sigma +\DeclareTextCommand{\textfinalsigma}{PU}{\83\302} % ς "03C2 \textvarsigma \DeclareTextCommand{\textsigma}{PU}{\83\303} % σ "03C3 \DeclareTextCommand{\texttau}{PU}{\83\304} % τ "03C4 \DeclareTextCommand{\textupsilon}{PU}{\83\305} % υ "03C5 @@ -884,11 +952,11 @@ literal char, as it is active with textalpha’s “keep-semicolon” option:</p \DeclareTextCommand{\textchi}{PU}{\83\307} % χ "03C7 \DeclareTextCommand{\textpsi}{PU}{\83\310} % ψ "03C8 \DeclareTextCommand{\textomega}{PU}{\83\311} % ω "03C9 - \DeclareTextCompositeCommand{\"}{PU}{\textiota}{\83\312}% ϊ "03CA \DeclareTextCompositeCommand{\"}{PU}{\textupsilon}{\83\313}% ϋ "03CB \DeclareTextCompositeCommand{\'}{PU}{\textomicron}{\83\314}% ό "03CC \DeclareTextCompositeCommand{\'}{PU}{\textupsilon}{\83\315}% ύ "03CD +\DeclareTextCommand{\textupsilonacute}{PU}{\83\315}% U+03CD \DeclareTextCompositeCommand{\'}{PU}{\textomega}{\83\316}% ώ "03CE</pre> <p>Archaic letters (still used in Greek numerals) and symbol variants:</p> @@ -900,23 +968,24 @@ and symbol variants:</p> \DeclareTextCommand{\textQoppa}{PU}{\83\330} % Ϙ "03D8 \DeclareTextCommand{\textqoppa}{PU}{\83\331} % ϙ "03D9 -\DeclareTextCommand{\textStigma}{PU}{\83\332} % Ϛ "03DA -\DeclareTextCommand{\textstigma}{PU}{\83\333} % ϛ "03DB -\DeclareTextCommand{\textDigamma}{PU}{\83\334} % Ϝ "03DC -\DeclareTextCommand{\textdigamma}{PU}{\83\335} % ϝ "03DD -\DeclareTextCommand{\textKoppa}{PU}{\83\336} % Ϟ "03DE in LGR identic to \textkoppa -\DeclareTextCommand{\textkoppa}{PU}{\83\337} % ϟ "03DF \koppa, \textqoppa [sic!] -\DeclareTextCommand{\textSampi}{PU}{\83\340} % Ϡ "03E0 -\DeclareTextCommand{\textsampi}{PU}{\83\341} % ϡ "03E1 +\DeclareTextCommand{\textStigma}{PU}{\83\332} % Ϛ "03DA \textStigmagreek +\DeclareTextCommand{\textstigma}{PU}{\83\333} % ϛ "03DB \textstigmagreek +\DeclareTextCommand{\textDigamma}{PU}{\83\334} % Ϝ "03DC \textDigammagreek +\DeclareTextCommand{\textdigamma}{PU}{\83\335} % ϝ "03DD \textdigammagreek +\DeclareTextCommand{\textKoppa}{PU}{\83\336} % Ϟ "03DE \textKoppagreek in LGR identic to \textkoppa +\DeclareTextCommand{\textkoppa}{PU}{\83\337} % ϟ "03DF \textkoppagreek +\DeclareTextCommand{\textSampi}{PU}{\83\340} % Ϡ "03E0 \textSampigreek +\DeclareTextCommand{\textsampi}{PU}{\83\341} % ϡ "03E1 \textsampigreek \DeclareTextCommand{\textkappasymbol}{PU}{\83\360} % ϰ "03F0 \DeclareTextCommand{\textrhosymbol}{PU}{\83\361} % ϱ "03F1 \DeclareTextCommand{\textThetasymbol}{PU}{\83\364} % ϴ "03F4 -\DeclareTextCommand{\textepsilonsymbol}{PU}{\83\365} % ϵ "03F5</pre> -<p>Dummy definition (textautosigma is lowercase of textSigma) -TODO: implement autosigma for PU and TU:</p> -<pre class="literal-block">\ProvideTextCommand{\textautosigma}{PU}{\textsigma}</pre> +\DeclareTextCommand{\textepsilonsymbol}{PU}{\83\365} % ϵ "03F5 +\DeclareTextCommand{\textbackepsilon}{PU}{\83\366} % ϶ "03F6 # not in LGR</pre> +<p><span class="docutils literal">\textautosigma</span> is lowercase of textSigma +(since 2022/06, <span class="docutils literal">\MakeLowercase</span> use a context-sensitive sigma)</p> +<pre class="literal-block">\ProvideTextCommand{\textautosigma}{PU}{\MakeLowercase{\textSigma}}</pre> </section> <section id="greek-extended"> <h3>Greek Extended</h3> @@ -1134,7 +1203,7 @@ block.</p> <section id="ancient-greek-numbers"> <h3>Ancient Greek Numbers</h3> <p>TODO: map other chars to corresponding Greek letters. -See also the <a class="reference external" href="http://ctan.org/pkg/grnumalt">grnumalt</a> package.</p> +See also the <a class="reference external" href="https://ctan.org/pkg/grnumalt">grnumalt</a> package.</p> <p>Definition with literal Unicode characters, because the code-point has 5 hexadecimal digits:</p> <pre class="literal-block">\DeclareTextCommand{\textpentedeka}{PU}{𐅄} % "10144 GREEK ACROPHONIC ATTIC FIFTY |