diff options
author | Norbert Preining <norbert@preining.info> | 2020-11-05 03:02:04 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-11-05 03:02:04 +0000 |
commit | b8f26d1a3ca0ba4b66477af6bd2cff2071ddd0fc (patch) | |
tree | f4f4a5d17850094c77b0ef61d004cd2532b9ad9e /language/greek/greek-fontenc | |
parent | 07794af1099869d326e5904c42f1224de759fd56 (diff) |
CTAN sync 202011050302
Diffstat (limited to 'language/greek/greek-fontenc')
43 files changed, 5263 insertions, 3014 deletions
diff --git a/language/greek/greek-fontenc/Makefile b/language/greek/greek-fontenc/Makefile index 05fd97cdfd..5472c479a9 100644 --- a/language/greek/greek-fontenc/Makefile +++ b/language/greek/greek-fontenc/Makefile @@ -22,7 +22,7 @@ SH = sh # programs PYLIT = pylit # text <-> source converter for literal programming RST2HTML = rst2html5 # text -> HTML converter, see docutils.sf.net -RUBBER = rubber -f # wrapper around `latex`, run until references resolved +RUBBER = rubber -f --pdf -m hyperref # wrapper around `latex`, run until references resolved LATEX = pdflatex -interaction batchmode # LaTeX source files @@ -70,17 +70,14 @@ lgr2licr.lua: lgr2licr.lua.txt doc: html pdf -html: greek-fontenc.html tuenc-greek.def.html greek-fontenc.def.html \ - lgrenc.def.html textalpha.sty.html alphabeta.sty.html \ +html: greek-fontenc.html lgrenc.def.html puenc-greek.def.html \ + tuenc-greek.def.html greek-fontenc.def.html \ + textalpha.sty.html alphabeta.sty.html \ alphabeta-tuenc.def.html alphabeta-lgr.def.html lgr2licr.lua.html greek-fontenc.html: README $(RST2HTML) README greek-fontenc.html -tuenc-greek.def.html: tuenc-greek.def - $(PYLIT) tuenc-greek.def - $(RST2HTML) tuenc-greek.def.txt tuenc-greek.def.html - greek-fontenc.def.html: greek-fontenc.def $(PYLIT) greek-fontenc.def $(RST2HTML) greek-fontenc.def.txt greek-fontenc.def.html @@ -89,6 +86,14 @@ lgrenc.def.html: lgrenc.def $(PYLIT) lgrenc.def $(RST2HTML) lgrenc.def.txt lgrenc.def.html +tuenc-greek.def.html: tuenc-greek.def + $(PYLIT) tuenc-greek.def + $(RST2HTML) tuenc-greek.def.txt tuenc-greek.def.html + +puenc-greek.def.html: puenc-greek.def + $(PYLIT) puenc-greek.def + $(RST2HTML) puenc-greek.def.txt puenc-greek.def.html + textalpha.sty.html: textalpha.sty $(PYLIT) textalpha.sty $(RST2HTML) textalpha.sty.txt textalpha.sty.html @@ -112,34 +117,43 @@ lgr2licr.lua.html: lgr2licr.lua # User documentation # ================== -pdf: alphabeta-doc.pdf diacritics.pdf tuenc-greek-doc.pdf greekhyperref.pdf \ - lgrenc-test.pdf textalpha-doc.pdf +pdf: alphabeta-doc.pdf alphabeta-tu.pdf diacritics.pdf \ + textalpha-doc.pdf textalpha-tu.pdf hyperref-with-greek.pdf \ + test-inputenc.pdf test-lgrenc.pdf test-tuenc-greek.pdf -TEXTALPHA = textalpha.sty greek-fontenc.def +TEXTALPHA = textalpha.sty greek-fontenc.def lgrenc.def tuenc-greek.def puenc-greek.def ALPHABETA = $(TEXTALPHA) alphabeta.sty -lgrenc-test.pdf: lgrenc-test.tex lgrenc.def greek-fontenc.def - $(LATEX) lgrenc-test.tex - -tuenc-greek-doc.pdf: tuenc-greek-doc.tex tuenc-greek.def greek-fontenc.def - $(RUBBER) -m xelatex tuenc-greek-doc.tex +alphabeta-doc.pdf: alphabeta-doc.tex $(ALPHABETA) + $(RUBBER) alphabeta-doc.tex -textalpha-doc.pdf: textalpha-doc.tex lgrenc.def $(TEXTALPHA) - $(LATEX) textalpha-doc.tex +alphabeta-tu.pdf: alphabeta-doc.tex $(ALPHABETA) + $(RUBBER) -m xelatex --jobname=alphabeta-tu alphabeta-doc.tex -alphabeta-doc.pdf: alphabeta-doc.tex $(ALPHABETA) lgrenc.def - $(LATEX) alphabeta-doc.tex +textalpha-doc.pdf: textalpha-doc.tex $(TEXTALPHA) + $(RUBBER) textalpha-doc.tex -alphabeta-doc-tuenc.pdf: alphabeta-doc.tex $(ALPHABETA) tuenc-greek.def - $(RUBBER) -m xelatex alphabeta-doc.tex - mv alphabeta-doc.pdf alphabeta-doc-tuenc.pdf - -greekhyperref.pdf: greekhyperref.tex $(ALPHABETA) lgrenc.def - $(LATEX) greekhyperref.tex +textalpha-tu.pdf: textalpha-doc.tex lgrenc.def $(TEXTALPHA) + $(RUBBER) -m xelatex --jobname=textalpha-tu textalpha-doc.tex diacritics.pdf: diacritics.tex lgrenc.def greek-fontenc.def $(LATEX) diacritics.tex +hyperref-with-greek.pdf: hyperref-with-greek.tex $(ALPHABETA) + $(RUBBER) hyperref-with-greek.tex + +test-lgrenc.pdf: test-lgrenc.tex lgrenc.def greek-fontenc.def + $(LATEX) test-lgrenc.tex + +test-tuenc-greek.pdf: test-tuenc-greek.tex tuenc-greek.def greek-fontenc.def + $(RUBBER) -m xelatex test-tuenc-greek.tex + +test-inputenc.pdf: test-inputenc.tex $(TEXTALPHA) + $(RUBBER) test-inputenc.tex + +test-inputenc-tu.pdf: test-inputenc.tex lgrenc.def $(TEXTALPHA) + $(RUBBER) -m lualatex --jobname=test-inputenc-tu test-inputenc.tex + # Installation # ------------ @@ -164,5 +178,5 @@ install-doc: doc .PHONY: clean clean: - rm -f *.aux *.log *.toc *~ + rm -f *.aux *.log *.toc *.out *~ diff --git a/language/greek/greek-fontenc/README b/language/greek/greek-fontenc/README index fe1ffd9a64..bd6c0ce0cd 100644 --- a/language/greek/greek-fontenc/README +++ b/language/greek/greek-fontenc/README @@ -14,24 +14,21 @@ Greek font encoding definition files under both, 8-bit TeX and XeTeX/LuaTeX. Use cases are macro definitions and generated text - This package provides `Greek LICR macros`_ and encoding - definition files for `Greek text font encodings`_ for use with - fontenc_ (8-bit TeX) or fontspec_ (XeTeX/LuaTeX). + This bundle provides LICR macros for characters from the + Greek script and encoding definition files for + `Greek text font encodings`_ for use with fontenc_ (8-bit TeX) + or fontspec_ (XeTeX/LuaTeX). Included are also the LaTeX packages textalpha_ and alphabeta_. -.. note:: The LICR macro names for Greek symbols are chosen pending - endorsement by the TeX community and related packages. - - Names for archaic characters, accents/diacritics, and - punctuation may change in future versions. +.. contents:: Changelog ========= .. class:: borderless -====== =========== ========================================================== +====== =========== =========================================================== 0.9 2013-07-03 greek-fontenc.def_ "outsourced" from lgrxenc.def .. experimental files xunicode-greek.sty and greek-euenc.def: LICRs for XeTeX/LuaTeX. @@ -73,7 +70,18 @@ Changelog ``\encodingdefault``. .. ``\textKoppa`` as alias for ``\textkoppa`` in LGR. .. Update URLs. -====== =========== ========================================================== +2.0 2020-10-30 Move common alias definitions to ``greek-fontenc.def``. +.. `textalpha`_ loads TU with Xe/LuaTeX by default and + provides ``\textmicro`` and LICR macros for archaic + symbols from the Greek and Coptic Unicode block. +.. Use ``\UnicodeEncodingName`` (by the LaTeX kernel) instead + of ``\UTFencname`` for the Unicode font encoding name. +.. Replace utf8 literals in ``tuenc-greek.def``. +.. New file puenc-greek.def: setup for PU encoding + (defined by hyperref_ for PDF strings). +.. Don't use ``\textcompwordmark`` as base in accent commands. +.. Documentation update. +====== =========== =========================================================== __ http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and-also-psili-problem-with-accent-and-lgr-encodin .. _ltxbugs 4399: @@ -83,25 +91,33 @@ __ http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and- TeX files ========= -`<greek-fontenc.def>`_ - `Common Greek font encoding definitions <greek-fontenc.def.html>`_. - -`<greek-euenc.def>`_ - Backwards compatibility file loading tuenc-greek_. - -.. _LGR font encoding definition file: - `<lgrenc.def>`_ `LGR Greek font encoding definitions <lgrenc.def.html>`_. This file is the successor of the basic LGR encoding definition file which comes with babel_'s Greek support and the now obsolete lgrx_ bundle. + .. _tuenc-greek: + +`<tuenc-greek.def>`_ + `Font setup for Greek with XeTeX/LuaTeX <tuenc-greek.def.html>`_. + +`<puenc-greek.def>`_ + `Greek LICR definitions for PDF strings <puenc-greek.def.html>`_. + +`<greek-fontenc.def>`_ + `Common Greek font encoding definitions <greek-fontenc.def.html>`_. + + .. _LGR font encoding definition file: + +`<greek-euenc.def>`_ + Backwards compatibility file loading tuenc-greek_. + .. _textalpha: `<textalpha.sty>`_ `Greek symbols in text <textalpha.sty.html>`_ - + Use ``\textalpha`` ... ``\textOmega`` independent of font encoding and TeX engine. @@ -109,18 +125,17 @@ TeX files `<alphabeta.sty>`_ `Greek symbols in text and math <alphabeta.sty.html>`_. - + Use ``\alpha`` ... ``\Omega`` independent of text/math mode, font encoding, and TeX engine. - -`<alphabeta-tuenc.def>`_ - `Composite definitions with XeTeX/LuaTeX. <alphabeta-tuenc.def.html>`_. - .. _tuenc-greek: + `<alphabeta-lgr.def>`_ + `Composite definitions for 8-bit TeX. <alphabeta-lgr.def.html>`_. + + `<alphabeta-tuenc.def>`_ + `Composite definitions with XeTeX/LuaTeX. <alphabeta-tuenc.def.html>`_. -`<tuenc-greek.def>`_ - `Font setup for Greek with XeTeX/LuaTeX <tuenc-greek.def.html>`_. Literate source files were converted with PyLit_ to reStructuredText_ and with Docutils_ to the HTML documentation. @@ -129,23 +144,30 @@ with Docutils_ to the HTML documentation. Documentation and test documents ================================ -`textalpha` package documentation: - `<textalpha-doc.tex>`__, `<textalpha-doc.pdf>`_ +Overview: + `<README>`__, `<greek-fontenc.html>`_ + +textalpha_ package documentation: + `<textalpha-doc.tex>`__, `<textalpha-doc.pdf>`_, `<textalpha-tu.pdf>`_ -`alphabeta` package documentation: - `<alphabeta-doc.tex>`__ `<alphabeta-doc.pdf>`_ +alphabeta_ package documentation: + `<alphabeta-doc.tex>`__, `<alphabeta-doc.pdf>`_, `<alphabeta-tu.pdf>`_ -Test and usage example - `<lgrenc-test.tex>`_, `<lgrenc-test.pdf>`_ +LGR test and usage example + `<test-lgrenc.tex>`_, `<test-lgrenc.pdf>`_ -Font setup for Greek with XeTeX/LuaTeX - `<tuenc-greek-doc.tex>`_, `<tuenc-greek-doc.pdf>`_ +TU test and usage example + `<test-tuenc-greek.tex>`_, `<test-tuenc-greek.pdf>`_ -Greek script in PDF metadata - `<greekhyperref.tex>`_, `<greekhyperref.pdf>`_ +Hyperref_ test and usage example + `<hyperref-with-greek.tex>`_, `<hyperref-with-greek.pdf>`_ + +Test with input encodings other than utf-8 + `<test-inputenc.tex>`_, `<test-inputenc.pdf>`_ + +Greek diacritics with standard accent macros + `<diacritics.tex>`_, `<diacritics.pdf>`_ - The package hyperref_ defines the PU font encoding which also supports - (monotonic) Greek. Experimental files ================== @@ -161,7 +183,7 @@ with other packages or removed in future versions: Installation ============ -If possible, get this package from your distribution using its installation +If possible, get the bundle from your distribution using its installation manager. Otherwise, make sure LaTeX can find the package and definition files: @@ -186,18 +208,25 @@ Usage ===== There are several alternatives to set up the support for a Greek font -encoding provided by this package, e.g.: +encoding provided by this bundle, e.g.: + +Babel: + Use the ``greek`` option with Babel_:: + + \usepackage[greek]{babel} + + This automatically loads ``lgrenc.def`` with 8-bit TeX and + ``tuenc-greek.def`` with XeTeX/LuaTeX and provides localized auto-strings, + hyphenation and other localizations (see babel-greek_). + + Babel can be used together with textalpha_ or alphabeta_. textalpha_: Ensure support for Greek characters in text mode:: \usepackage{textalpha} - eventually with the normalize-symbols_ option to handle `symbol - variants`_ :: - - \usepackage[normalize-symbols]{textalpha} - + eventually with the normalize-symbols_ option to handle `symbol variants`_ and/or the keep-semicolon_ option to use the `semicolon as erotimatiko`_ also in LGR :: @@ -206,7 +235,7 @@ textalpha_: This sets up LICR macros for Greek text charactes under both, 8-bit TeX and Xe-/LuaTeX. For details see `<textalpha-doc.tex>`_ and `<textalpha-doc.pdf>`_ (8-bit - TeX) as well as `<tuenc-greek-doc.tex>`_ and `<tuenc-greek-doc.pdf>`_ + TeX) as well as `<test-tuenc-greek.tex>`_ and `<test-tuenc-greek.pdf>`_ (XeTeX/LuaTeX). .. _normalize-symbols: textalpha.sty.html#normalize-symbols @@ -221,17 +250,6 @@ alphabeta_: For details see `<alphabeta-doc.tex>`_ and `<alphabeta-doc.pdf>`_. -Babel: - Use the ``greek`` option with Babel_:: - - \usepackage[greek]{babel} - - This automatically loads ``lgrenc.def`` with 8-bit TeX and - ``tuenc-greek.def`` with XeTeX/LuaTeX and provides localized auto-strings, - hyphenation and other localizations (see babel-greek_). - - Babel can be used together with textalpha_ or alphabeta_. - fontenc: Declare LGR via fontenc_. For example, specify T1 (8-bit Latin) as default font encoding and LGR for Greek with :: @@ -240,11 +258,11 @@ fontenc: Note that without textalpha_ or alphabeta_, Greek text macros work only if the current font encoding supports Greek. See [fntguide]_ for - details and `<lgrenc-test.tex>`_ for an example. + details and `<test-lgrenc.tex>`_ for an example. It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding also with XeTeX/LuaTeX, if the fontenc_ package is loaded before - fontspec_ and textalpha_ or alphabeta_, e.g. :: + Babel, textalpha_, or alphabeta_, e.g. :: \usepackage[LGR]{fontenc} \usepackage{fontspec} @@ -252,8 +270,8 @@ fontenc: \setsansfont{Linux Biolinum O} \usepackage{textalpha} - See `<tuenc-greek-doc.tex>`_, `<tuenc-greek-doc.pdf>`_ and - `<lgrenc-test.tex>`_, `<lgrenc-test.pdf>`_. + See `<test-tuenc-greek.tex>`_, `<test-tuenc-greek.pdf>`_ and + `<test-lgrenc.tex>`_, `<test-lgrenc.pdf>`_. .. _arabi workaround: @@ -281,7 +299,7 @@ Greek text font encodings Greek TeX font encodings are the envisaged T7_, LGR_, and LGI_. Greek letters and symbols are also defined in the Unicode-based font -encodings TU_, `EU1, EU2`_, and PU (hyperref_). +encodings TU_, and PU_. T7 -- @@ -291,7 +309,6 @@ 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. - LGR --- @@ -332,8 +349,8 @@ TU -- Standard Unicode font encoding for XeTeX and LuaTeX loaded by fontspec_ -(since v2.5a). `greek-fontenc` adds support for the Greek script (see -tuenc-greek_). +(since v2.5a) rsp. the LaTeX kernel since 2017/01/01 [LaTeX2e News Issue 26]_. +`greek-fontenc` adds support for the Greek script (see tuenc-greek_). Xe/LuaTeX works with any system-wide installed `OpenType font`_. Suitable fonts supporting Greek include `CM Unicode`_, `Deja Vu`_, `EB Garamond`_, @@ -342,17 +359,38 @@ Tempora_, and `UM Typewriter`_ (all available on CTAN) but also many commercial fonts. Unfortunately, the fontspec_ default, `Latin Modern`_ misses most Greek characters. -EU1, EU2 --------- +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). + +TODO: The `lua-uni-algos`_ package may be helpfull to implement a NTC +normalization to Greek text in LuaTeX. + +The legacy Unicode font encodings EU1 and EU2 for XeTeX and LuaTeX +respectively were superseded by TU in the 2017 fontspec_ release. + +PU +-- + +The package hyperref_ defines the PU font encoding for use in PDF strings +(ToC, bookmarks) which supports monotonic Greek. `greek-fontenc` adds +support for polytonic Greek and some archaic characters also supported in +LGR and TU (see `<hyperref-with-greek.tex>`_, `<hyperref-with-greek.pdf>`_). -Legacy Unicode font encodings for XeTeX and LuaTeX respectively. Superseded -by TU_. +Selecting Greek LICR macro names +================================ -Greek LICR macros -================= +.. note:: The LICR macro names for Greek symbols are chosen pending + endorsement by the TeX community and related packages. -This package provides LaTeX internal character representations (LICR macros) + Names for archaic characters, accents/diacritics, and + punctuation may change in future versions. + +This bundle provides LaTeX internal character representations (LICR macros) for Greek letters and diacritics. Macro names were selected based on the following considerations: @@ -493,7 +531,7 @@ characters: References ----------- +========== An alternative, more complete set of short mnemonic character names is the `XML Entity Definitions for Characters`_ W3C Recommendation from @@ -506,11 +544,6 @@ Syropoulos and ``xl-lgr.enc`` from the libertine_ (legacy) package. A full set of ``\text*`` symbol macros is defined in ``ucsencs.def`` from the ucs_ package. -Aliases from ``puenc.def`` ensure that the hyperref_ package can convert -Greek text in "LICR encoding" to a PDF-string (utf-8 encoded input is used -as-is). - - .. [fntguide] LaTeX3 Project Team, `LaTeX2ε font selection`, 2005. http://mirror.ctan.org/macros/latex/base/fntguide.pdf .. [encguide] Frank Mittelbach, Robin Fairbairns, Werner Lemberg, @@ -524,7 +557,8 @@ as-is). .. [teubner-doc] Claudio Beccari, ``teubner.sty`` `An extension to the greek option of the babel package`, 2011. http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf - +.. [LaTeX2e News Issue 26] + https://www.latex-project.org/news/latex2e-news/ltnews26.pdf .. [babel-patch] Werner Lemberg, `Unicode support for the Greek LGR encoding` Εὔτυπον, τεῦχος № 20, 2008. http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf @@ -569,6 +603,7 @@ as-is). .. _ibygrk: http://www.ctan.org/pkg/ibygrk .. _lgrx: http://www.ctan.org/pkg/lgrx .. _libertine: http://www.ctan.org/pkg/libertine-legacy +.. _lua-uni-algos: https://ctan.org/pkg/lua-uni-algos .. _substitutefont: http://www.ctan.org/pkg/substitutefont .. _tempora: https://www.ctan.org/pkg/tempora .. _teubner: http://www.ctan.org/pkg/teubner diff --git a/language/greek/greek-fontenc/alphabeta-doc.pdf b/language/greek/greek-fontenc/alphabeta-doc.pdf Binary files differindex a696c0ca3a..987bc06e23 100644 --- a/language/greek/greek-fontenc/alphabeta-doc.pdf +++ b/language/greek/greek-fontenc/alphabeta-doc.pdf diff --git a/language/greek/greek-fontenc/alphabeta-doc.tex b/language/greek/greek-fontenc/alphabeta-doc.tex index 4a69d5a464..618713a127 100644 --- a/language/greek/greek-fontenc/alphabeta-doc.tex +++ b/language/greek/greek-fontenc/alphabeta-doc.tex @@ -14,13 +14,20 @@ \documentclass{article} \usepackage[unicode,colorlinks=true,linkcolor=blue]{hyperref} -\usepackage{bookmark} +% \usepackage{bookmark} \hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue,pdfencoding=auto} % \usepackage{parskip} -\usepackage{amsmath} +\usepackage{amssymb, amsmath} \frenchspacing -\newcommand{\setupUnicodeFonts}{ +\ifdefined \UnicodeEncodingName % set by LaTeX for Unicode-aware engines + \ifdefined\XeTeXrevision + \newcommand{\engine}{XeTeX} + \fi + \ifdefined\luatexversion + \newcommand{\engine}{LuaTeX} + \fi + % Setup for Unicode fonts (Xe-/LuaTeX) \usepackage[no-math,tuenc]{fontspec} \setmainfont{Linux Libertine O} \setsansfont{Linux Biolinum O} @@ -28,8 +35,10 @@ \usepackage[libertine,slantedGreek]{newtxmath} % \usepackage{unicode-math} % package conflict \newcommand{\fontset}{fontspec with Unicode fonts} -} -\newcommand{\setupTeXFonts}{ +\else + \newcommand{\engine}{8-bit TeX} + \usepackage[utf8]{inputenc} + \DeclareUnicodeCharacter{03DE}{\textKoppa} % in LGR mapped to \textkoppa \usepackage[LGR,T1]{fontenc} \usepackage{textcomp} \usepackage{lmodern} @@ -41,18 +50,7 @@ % \substitutefont{LGR}{\rmdefault}{artemisia} \usepackage{isomath} \newcommand{\fontset}{fontenc with TeX fonts} -} -\ifdefined\XeTeXrevision - \newcommand{\engine}{XeTeX} - \setupUnicodeFonts -\else\ifdefined\luatexversion - \newcommand{\engine}{LuaTeX} - \setupUnicodeFonts -\else - \newcommand{\engine}{8-bit TeX} - \usepackage[utf8]{inputenc} - \setupTeXFonts -\fi\fi +\fi % load alphabeta after math setup and encoding setup! % \usepackage{alphabeta}[2015/08/08] @@ -60,12 +58,13 @@ % Fallback macros: +\newcommand*{\missing}{\ensuremath{\oslash}} % varstigma only defined with 8-bit LGR fonts -\providecommand*{\varstigma}{$\oslash$} -% varkappa, only defined with newtxmath, other var... only with unicode-math -\providecommand*{\varkappa}{\oslash} -\providecommand*{\varbeta}{\oslash} -\providecommand*{\varTheta}{\oslash} +\ProvideTextCommandDefault{\textvarstigma}{\missing} +% varkappa, only defined with newtxmath +\providecommand*{\varkappa}{\missing} +% varbeta and varTheta only defined with unicode-math +\providecommand*{\varbeta}{\missing} % print current font encoding: \makeatletter @@ -76,6 +75,7 @@ \title{The \emph{alphabeta} package} \author{Günter Milde} +\date{2020/10/30} \maketitle \begin{abstract}\noindent @@ -87,11 +87,24 @@ the characters are taken from the text or math font. With 8-bit TeX and \emph{\href{http://www.ctan.org/pkg/greek-inputenc}{greek-inputenc}}, literal Unicode charactes can also be used in mathematical mode. +\footnote{ + This document was compiled using the \href{https://ctan.org/pkg/encguide}% + {font encoding} \encodingdefault{} + \ifdefined \UTFencname % defined by fontspec + (Unicode fonts). + For a version using 8-bit fonts, see + \href{alphabeta-doc.pdf}{alphabeta-doc.pdf}. + \else + (8-bit fonts). + For a version using Unicode fonts, see + \href{alphabeta-tu.pdf}{alphabeta-tu.pdf}. + \fi +} \end{abstract} % \tableofcontents -\section{Requirements} +\section{Requirements and Conflicts} The \emph{alphabeta} package depends on \emph{\href{textalpha-doc.pdf}{textalpha}} (both are part of @@ -143,14 +156,14 @@ usage example. \subsection{options} -Package options are passed to the \href{alphabeta-doc.pdf}{\emph{alphabeta}} +Package options are passed to the \href{textalpha-doc.pdf}{\emph{textalpha}} package. Example call with options: \begin{verbatim} \usepackage[normalize-symbols,keep-semicolon]{alphabeta} \end{verbatim} -\texttt{normalize-symbols} merges ``letters'' and ``symbol`` variants of +\texttt{normalize-symbols} merges ``letter'' and ``symbol`` variants of some Greek letters to the ``letter'' character: \footnote{The normalize-symbols option was added in version 0.13 (2015-08-03). Unicode input of the symbol variants requires at least version~1.6 @@ -165,8 +178,9 @@ symbol variants may be important (e.g. in a mathematical or scientific context). Use XeTeX/LuaTeX with Unicode fonts or the respective characters in mathematical mode (e.g. $\pi$ vs. $\varpi$). -The option \texttt{keep-semicolon} prevents conversion of the semicolon to -an \emph{ano teleia} (see \emph{\href{textalpha-doc.pdf}{textalpha-doc}}). +The option \texttt{keep-semicolon} prevents conversion of the +semicolon to an \emph{ano teleia} in 8-bit TeX +(see \emph{\href{textalpha-doc.pdf}{textalpha-doc}}). \subsection{symbol variants} @@ -179,10 +193,10 @@ Unicode defines separate code points for the symbol variants. TeX supports some of the variant shape symbols in mathematical mode, but its concept of “standard” vs. “variant” symbols differs from the distinction between “GREEK LETTER ...” vs. “GREEK ... SYMBOL” in the Unicode standard. -See \href{tuenc-greek-doc.pdf}{tuenc-greek-doc}. The \emph{alphabeta} package defines generic macros for these variants that -are short forms of the set defined in \texttt{tuenc-greek.def}: +are short forms of the set defined in \texttt{tuenc-greek.def} +(cf. \href{test-tuenc-greek.pdf}{test-tuenc-greek}): \begin{quote} \verb|\<name>| selects the Unicode GREEK LETTER ... variant, @@ -199,6 +213,9 @@ See Table \ref{tab:symbol-variant-macros} for the full list. With 8-bit TeX, the limitations described in the \href{textalpha-doc.pdf}{textalpha documentation} apply. See also the tests in section \hyperref[sec:8-bit-limitations]{8 bit limitations}. +These limitations are lifted, if the text language is switched to ``greek'' +with Babel, the text part is wrapped in \verb+\ensuregreek+, or the +document is compiled with XeTeX/LuaTeX. With XeTeX/LuaTeX and Unicode fonts, literal Unicode characters cannot be used in formulas (the log file reports missing characters) This is a generic @@ -213,7 +230,7 @@ However, \emph{unicode-math} conflicts with \emph{alphabeta}. \subsection{Greek alphabet} Greek letters via generic ``name'' macros without language/font-encoding -switch: +switch (active font encoding \encodingdefault): \begin{quote} \Alpha{} \Beta{} \Gamma{} \Delta{} \Epsilon{} \Zeta{} \Eta{} \Theta{} @@ -225,19 +242,23 @@ switch: \sigma{} \varsigma{} \tau{} \upsilon{} \phi{} \chi{} \psi{} \omega{} \\ \digamma{} \Digamma{} \stigma{} \varstigma{}% - \footnote{There is no separate Unicode code point for a stigma variant - symbol, \texttt{\textbackslash varstigma} is not defined with - Xe/LuaTeX and similar to \texttt{\textbackslash stigma} in some fonts.} - \koppa{} \qoppa{} \Qoppa{} - \Stigma{} \Sampi{} \sampi{} + \footnote{There is no separate Unicode code point for a stigma variant + symbol, \texttt{\textbackslash varstigma} is not defined with + Xe/LuaTeX and similar to \texttt{\textbackslash stigma} in some fonts.} + \koppa{} \Koppa{}% + \footnote{In LGR, there is no separate code point for Koppa as + typographical practice normally does not observe a + contrast between uppercase and lowercase forms for numeric koppa.} + % https://en.wikipedia.org/wiki/Koppa_(letter) + \qoppa{} \Qoppa{} \Stigma{} \Sampi{} \sampi{} \end{quote} % -Greek letters via Unicode input without language/font-encoding switch: +Greek letters via Unicode (active font encoding \encodingdefault): \begin{quote} Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ Φ Χ Ψ Ω\\ α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω\\ - ϝ Ϝ ϛ ϟ ϙ Ϙ Ϛ Ϡ ϡ + ϝ Ϝ ϛ ϟ Ϟ ϙ Ϙ Ϛ Ϡ ϡ \end{quote} \subsection{Diacritics} @@ -270,9 +291,9 @@ variants of some Greek letters to the ``letter'' character. It is ignored, if the document uses Unicode fonts and is compiled with XeTeX or LuaTeX. (This document is compiled using \engine.) \begin{quote} - This quote uses both variants for beta (β|ϐ), theta (θ|ϑ), phi (φ|ϕ), pi - (π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon (ε|ϵ) in the LaTeX - source.% + The source of this quote uses both variants for beta (β|ϐ), + epsilon (ε|ϵ), phi (φ|ϕ), kappa (κ|ϰ), pi (π|ϖ), rho (ρ|ϱ), theta (θ|ϑ), + and Theta (Θ|ϴ) in the LaTeX source.% \end{quote} @@ -284,22 +305,23 @@ With the alphabeta package, you get Greek letters in both, the document body and PDF metadata generated by hyperref if the input uses Unicode literals or macros. Wrapping in \verb+\ensuregreek+ ensures the right placement of the accents and breathings (before, not above capital letters). With LICR input -(accent macros + symbol macros), non-standard diacritics are missing in the -PDF data, as hyperref's PU encoding currently does not support polytonic -Greek. (Here, the dasia is dropped at the start of the word in parentheses in -the PDF toc. The warning ``\texttt{Glyph not defined in PU encoding, -removing `\textbackslash<' on input line 145.}'' is written to the log.) +(accent macros as well as symbol macros), non-standard diacritics are +missing in the PDF data, as hyperref's PU encoding currently does not +support polytonic Greek. (Here, the dasia is dropped at the start of the +word in parentheses in the PDF toc. The warning ``\texttt{Glyph not defined +in PU encoding, removing `\textbackslash<' on input line 145.}'' is written +to the log.) -\subsection{Greek in math $\Gamma = \sin\alpha / \cos{\beta}$} +\subsection{Greek in maths $\Gamma = \sin\alpha / \cos{\beta}$} In the main document, Greek in math mode should work as usual: \[\Gamma = \frac{\sin\alpha}{\cos{\beta}}. \] - -Greek letters and symbols in math input as macro (there are no math macros -for Greek letters wich exist with similar shape in the Latin alphabet): +Greek letters and symbols in math input as macro:% +\footnote{There are no math macros for Greek letters wich exist with similar +shape in the Latin alphabet} \begin{align*} & % \Alpha{} \Beta{} @@ -327,7 +349,7 @@ for Greek letters wich exist with similar shape in the Latin alphabet): \\& \vartheta \varphi \varpi \digamma{} \varrho \varepsilon \end{align*} - +% PDF strings do not know math mode. The content of a formula or equation is evaluated in text mode with non-valid commands discarded (and warnings written to the log). This works resonably well for simple formulas (but not, @@ -339,7 +361,7 @@ also for Greek letters. With the \texttt{utf8} option of \emph{inputenc} and \href{http://www.ctan.org/pkg/greek-inputenc}{\emph{greek-inputenc}}, literal Greek Unicode characters are supported also in -mathematical mode: +mathematical mode. \ifdefined\DeclareUnicodeCharacter \[ @@ -347,26 +369,22 @@ mathematical mode: \] Greek letters and symbols in math input as Unicode literals: \begin{align*} - & Γ ΔΘΛΞΠΣΥ ΦΨ Ω \\ + & Γ ΔΘΛΞΠΣΥ ΦΨ Ω \\ & αβγδεζηθικλμνξπρσςτυφχψω \\ - & ϑϕϖϝϱϵ + & ϑϕϖϝϱϵ \end{align*} \fi This does not work with XeTeX/LuaTeX (unless in 8-bit emulation mode). - -The ``normal'' vs. ``variant'' shape of phi and epsilon is inverted when using -traditional makros or Unicode letter vs. symbol characters respectively. -This is to keep backwards compatibility of the math macros as well -as consistent input-output mapping for Unicode in text and math. -It corresponds to the behaviour of -\href{http://www.ctan.org/pkg/unicode-math}{\emph{unicode-math}} -with the default option \texttt{vargreek-shape=TeX}. +The ``normal'' vs. ``variant'' shape of letters is used so that the output +matches the Unicode reference glyph (cf. Table +\ref{tab:symbol-variant-macros}). This corresponds to the behaviour of +\href{http://www.ctan.org/pkg/unicode-math}{\emph{unicode-math}}. \subsection{8-bit limitations \label{sec:8-bit-limitations}} -These limitations are lifted, if the document is compiled with XeTeX/LuaTeX. +Certain limitations apply if Greek symbols are used in non-Greek context. \begin{itemize} @@ -390,16 +408,16 @@ These limitations are lifted, if the document is compiled with XeTeX/LuaTeX. \item There is no kerning between Greek letters, if the font encoding does not support Greek: compare \ensuregreek{\Alpha\Upsilon\Alpha{} (\currentEncoding)} to \Alpha\Upsilon\Alpha{} (\currentEncoding). - Because of this (and for proper hyphenation), use of the Babel package - and correct language setting is recommended for Greek quotes. - \end{itemize} - +% The \verb+\ensuregreek+ macro ensures that the argument is typeset with a font encoding supporting Greek. This keeps kerning (if the kerning pair is inside the argument, \ensuregreek{\Alpha\"\Upsilon\Alpha}), and allows combining of accent macros where pre-composed characters are selected (\ensuregreek{\<'\alpha}). +Setting the corrct language for Greek quotes with the \emph{Babel} package +additionally ensures correct hyphenation . + \begin{table}[bp] \centering @@ -407,17 +425,9 @@ combining of accent macros where pre-composed characters are selected \hline macro & text & math \\ \hline - \verb$\pi$ & \pi & $\pi$ \\ - \verb$\varpi$ & \varpi & $\varpi$ \\ - \verb$\pisymbol$ & \pisymbol & $\pisymbol$ \\ - \hline - \verb$\rho$ & \rho & $\rho$ \\ - \verb$\varrho$ & \varrho & $\varrho$ \\ - \verb$\rhosymbol$ & \rhosymbol & $\rhosymbol$ \\ - \hline - \verb$\theta$ & \theta & $\theta$ \\ - \verb$\vartheta$ & \vartheta & $\vartheta$ \\ - \verb$\thetasymbol$ & \thetasymbol & $\thetasymbol$ \\ + \verb$\beta$ & \beta & $\beta$ \\ + \verb$\varbeta$ & \varbeta & $\varbeta$ \\ + \verb$\betasymbol$ & \betasymbol & $\betasymbol$ \\ \hline \verb$\epsilon$ & \epsilon & $\epsilon$ \\ \verb$\varepsilon$ & \varepsilon & $\varepsilon$ \\ @@ -427,23 +437,36 @@ combining of accent macros where pre-composed characters are selected \verb$\varphi$ & \varphi & $\varphi$ \\ \verb$\phisymbol$ & \phisymbol & $\phisymbol$ \\ \hline - \verb$\beta$ & \beta & $\beta$ \\ - \verb$\varbeta$ & \varbeta & $\varbeta$ \\ - \verb$\betasymbol$ & \betasymbol & $\betasymbol$ \\ - \hline \verb$\kappa$ & \kappa & $\kappa$ \\ \verb$\varkappa$ & \varkappa & $\varkappa$ \\ - \verb$\kappasymbol$ & \kappasymbol & $\kappasymbol$\\ + \verb$\kappasymbol$ & \kappasymbol & $\kappasymbol$ \\ + \hline + \verb$\pi$ & \pi & $\pi$ \\ + \verb$\varpi$ & \varpi & $\varpi$ \\ + \verb$\pisymbol$ & \pisymbol & $\pisymbol$ \\ + \hline + \verb$\rho$ & \rho & $\rho$ \\ + \verb$\varrho$ & \varrho & $\varrho$ \\ + \verb$\rhosymbol$ & \rhosymbol & $\rhosymbol$ \\ + \hline + \verb$\sigma$ & \sigma & $\sigma$ \\ + \verb$\varsigma$ & \varsigma & $\varsigma$ \\ + \verb$\finalsigma$ & \finalsigma & $\finalsigma$ \\ + \hline + \verb$\theta$ & \theta & $\theta$ \\ + \verb$\vartheta$ & \vartheta & $\vartheta$ \\ + \verb$\thetasymbol$ & \thetasymbol & $\thetasymbol$ \\ \hline \verb$\Theta$ & \Theta & $\Theta$ \\ - \verb$\varTheta$ & & $\varTheta$ \\ - \verb$\Thetasymbol$ & \Thetasymbol & \\ + \verb$\varTheta$ & \missing & $\varTheta$ \\ + \verb$\Thetasymbol$ & \Thetasymbol & \missing \\ \hline \end{tabular} - \caption{Macros for Greek symbol variants ($\oslash$ = symbol missing). - With 8-bit TeX and the \texttt{normalize-symbols} option, the output for - both variants in text mode is the same (8-bit Greek text fonts contain - only one symbol variant). \label{tab:symbol-variant-macros}} + \caption{Macros for Greek symbol variants (\missing = symbol only + available with additional packages). + With 8-bit TeX and the \texttt{normalize-symbols} option, the output for + both variants in text mode is the same (8-bit Greek text fonts contain + only one symbol variant). \label{tab:symbol-variant-macros}} \end{table} \end{document} diff --git a/language/greek/greek-fontenc/alphabeta-lgr.def b/language/greek/greek-fontenc/alphabeta-lgr.def index efdce493e0..e976eafd56 100644 --- a/language/greek/greek-fontenc/alphabeta-lgr.def +++ b/language/greek/greek-fontenc/alphabeta-lgr.def @@ -2,7 +2,7 @@ % =================== % Composite definitions for 8-bit TeX % ****************************************** -% +% % :Copyright: © 2014 Günter Milde % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either @@ -11,27 +11,28 @@ % :: \ProvidesFile{alphabeta-lgr} -[2014/09/04 1.0 Composite definitions for 8-bit TeX] +[2020/09/25 1.0 Composite definitions for 8-bit TeX] % :Changelog: % .. class:: borderless -% -% ========== ====== ======================================================= -% 2014-09-04 0.11.2 outsourced from ``alphabeta.sty``. -% ========== ====== ======================================================= -% +% +% ====== ========== ===================================================== +% 0.11.2 2014-09-04 outsourced from ``alphabeta.sty``. +% 1.0 2020-09-25 New package version. No changes in this file. +% ====== ========== ===================================================== +% % The alphabeta_ 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. -% +% % The NFSS TextComposite mechanism looks for the next token without expanding % it. In order to let compositions like ``\>"\alpha`` work as expected we % define TextComposites with the `letter name commands`. -% +% % This file expands the font encoding definitions in lgrenc.def_ with % composite commands for use with 8-bit TeX fonts. It is sourced by % alphabeta_ under 8-bit TeX (pdfTeX, eTeX, TeX). -% +% % :: \DeclareTextComposite{\accvaria}{LGR}{\alpha}{128} @@ -182,7 +183,7 @@ % .. References -% +% % .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt % .. _alphabeta: alphabeta.sty.html % .. _lgrenc.def: lgrenc.def.html diff --git a/language/greek/greek-fontenc/alphabeta-lgr.def.html b/language/greek/greek-fontenc/alphabeta-lgr.def.html index 4ce4aa4208..5aff2d5211 100644 --- a/language/greek/greek-fontenc/alphabeta-lgr.def.html +++ b/language/greek/greek-fontenc/alphabeta-lgr.def.html @@ -620,20 +620,24 @@ version 1.3 of this license or any later version.</p> </dd> <dt class="identification">Identification</dt> <dd class="identification"><pre class="literal-block">\ProvidesFile{alphabeta-lgr} -[2014/09/04 1.0 Composite definitions for 8-bit TeX]</pre> +[2020/09/25 1.0 Composite definitions for 8-bit TeX]</pre> </dd> <dt class="changelog">Changelog</dt> <dd class="changelog"><table class="borderless"> <colgroup> +<col style="width: 9%" /> <col style="width: 14%" /> -<col style="width: 8%" /> <col style="width: 77%" /> </colgroup> <tbody> -<tr><td><p>2014-09-04</p></td> -<td><p>0.11.2</p></td> +<tr><td><p>0.11.2</p></td> +<td><p>2014-09-04</p></td> <td><p>outsourced from <span class="docutils literal">alphabeta.sty</span>.</p></td> </tr> +<tr><td><p>1.0</p></td> +<td><p>2020-09-25</p></td> +<td><p>New package version. No changes in this file.</p></td> +</tr> </tbody> </table> </dd> diff --git a/language/greek/greek-fontenc/alphabeta-tu.pdf b/language/greek/greek-fontenc/alphabeta-tu.pdf Binary files differnew file mode 100644 index 0000000000..2af317702c --- /dev/null +++ b/language/greek/greek-fontenc/alphabeta-tu.pdf diff --git a/language/greek/greek-fontenc/alphabeta-tuenc.def b/language/greek/greek-fontenc/alphabeta-tuenc.def index 14305d563e..663f58c117 100644 --- a/language/greek/greek-fontenc/alphabeta-tuenc.def +++ b/language/greek/greek-fontenc/alphabeta-tuenc.def @@ -11,20 +11,23 @@ % :: \ProvidesFile{alphabeta-tuenc} -[2020/02/28 1.0 Composite definitions for XeTeX and LuaTeX] +[2020/10/30 2.0 Composite definitions for XeTeX and LuaTeX] % Composite definitions for ``alphabeta.sty`` with XeTeX and LuaTeX. % % Changelog: % .. class:: borderless % -% ========== ====== ======================================================== -% 2013-09-12 0.1 initial version -% 2013-10-01 0.1.1 remove clashing defs for legacy characters with oxia. -% 2014-09-04 0.11.2 documentation update -% 2020/02/28 0.14 rename to ``alphabeta-tuenc.def``, -% use ``\UTFencname`` instead of ``\LastDeclaredEncoding`` -% ========== ====== ======================================================== +% ====== ========== ======================================================== +% 0.1 2013-09-12 initial version +% 0.1.1 2013-10-01 remove clashing defs for legacy characters with oxia. +% 0.11.2 2014-09-04 documentation update +% 0.14 2020-02-28 rename to ``alphabeta-tuenc.def``, +% use ``\UTFencname`` instead of ``\LastDeclaredEncoding`` +% 1.0 2020-09-25 New package version. No changes in this file. +% 2.0 2020-10-30 Use ``\UnicodeEncodingName`` instead of ``\UTFencname``. +% ====== ========== ======================================================== +% % % The alphabeta_ 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 @@ -42,28 +45,28 @@ % ~~~~~~~~~~~~~~~~ % :: -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Alpha}{Ά} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Epsilon}{Έ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Eta}{Ή} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Iota}{Ί} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Omicron}{Ό} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Upsilon}{Ύ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Omega}{Ώ} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\iota}{ΐ} - -\DeclareTextCompositeCommand{\"}{\UTFencname}{\Iota}{Ϊ} -\DeclareTextCompositeCommand{\"}{\UTFencname}{\Upsilon}{Ϋ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\alpha}{ά} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\epsilon}{έ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\eta}{ή} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\iota}{ί} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\upsilon}{ΰ} - -\DeclareTextCompositeCommand{\"}{\UTFencname}{\iota}{ϊ} -\DeclareTextCompositeCommand{\"}{\UTFencname}{\upsilon}{ϋ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\omicron}{ό} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\upsilon}{ύ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\omega}{ώ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Alpha}{Ά} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Epsilon}{Έ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Eta}{Ή} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Iota}{Ί} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Omicron}{Ό} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Upsilon}{Ύ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Omega}{Ώ} +\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\iota}{ΐ} + +\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\Iota}{Ϊ} +\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\Upsilon}{Ϋ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\alpha}{ά} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\epsilon}{έ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\eta}{ή} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\iota}{ί} +\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\upsilon}{ΰ} + +\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\iota}{ϊ} +\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\upsilon}{ϋ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\omicron}{ό} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\upsilon}{ύ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\omega}{ώ} % Greek Extended @@ -71,170 +74,170 @@ % Postfix ypogegrammeni cannot be second part of composite defs. % :: -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\alpha}{ἀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\alpha}{ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\alpha}{ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\alpha}{ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\alpha}{ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\alpha}{ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\alpha}{ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\alpha}{ἇ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Alpha}{Ἀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Alpha}{Ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Alpha}{Ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Alpha}{Ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Alpha}{Ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Alpha}{Ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Alpha}{Ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Alpha}{Ἇ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\epsilon}{ἐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\epsilon}{ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\epsilon}{ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\epsilon}{ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\epsilon}{ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\epsilon}{ἕ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Epsilon}{Ἐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Epsilon}{Ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Epsilon}{Ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Epsilon}{Ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Epsilon}{Ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Epsilon}{Ἕ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\eta}{ἠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\eta}{ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\eta}{ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\eta}{ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\eta}{ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\eta}{ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\eta}{ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\eta}{ἧ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Eta}{Ἠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Eta}{Ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Eta}{Ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Eta}{Ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Eta}{Ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Eta}{Ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Eta}{Ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Eta}{Ἧ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\iota}{ἰ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\iota}{ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\iota}{ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\iota}{ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\iota}{ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\iota}{ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\iota}{ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\iota}{ἷ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Iota}{Ἰ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Iota}{Ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Iota}{Ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Iota}{Ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Iota}{Ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Iota}{Ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Iota}{Ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Iota}{Ἷ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\omicron}{ὀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\omicron}{ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\omicron}{ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\omicron}{ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\omicron}{ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\omicron}{ὅ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Omicron}{Ὀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Omicron}{Ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Omicron}{Ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Omicron}{Ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Omicron}{Ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Omicron}{Ὅ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\upsilon}{ὐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\upsilon}{ὑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\upsilon}{ὒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\upsilon}{ὓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\upsilon}{ὔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\upsilon}{ὕ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\upsilon}{ὖ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\upsilon}{ὗ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Upsilon}{Ὑ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Upsilon}{Ὓ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Upsilon}{Ὕ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Upsilon}{Ὗ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\omega}{ὠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\omega}{ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\omega}{ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\omega}{ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\omega}{ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\omega}{ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\omega}{ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\omega}{ὧ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Omega}{Ὠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Omega}{Ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Omega}{Ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Omega}{Ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Omega}{Ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Omega}{Ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Omega}{Ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Omega}{Ὧ} - -\DeclareTextCompositeCommand{\`}{\UTFencname}{\alpha}{ὰ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\epsilon}{ὲ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\eta}{ὴ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\iota}{ὶ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\omicron}{ὸ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\upsilon}{ὺ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\omega}{ὼ} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\alpha}{ᾰ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\alpha}{ᾱ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\alpha}{ᾶ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\alpha}{ᾶ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\Alpha}{Ᾰ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\Alpha}{Ᾱ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Alpha}{Ὰ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Alpha}{Ὰ} - -\DeclareTextCompositeCommand{\~}{\UTFencname}{\eta}{ῆ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\eta}{ῆ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Epsilon}{Ὲ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Eta}{Ὴ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Epsilon}{Ὲ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Eta}{Ὴ} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\iota}{ῐ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\iota}{ῑ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\iota}{ῒ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\iota}{ΐ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\iota}{ῖ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\iota}{ῖ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\iota}{ῗ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\Iota}{Ῐ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\Iota}{Ῑ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Iota}{Ὶ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Iota}{Ὶ} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\upsilon}{ῠ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\upsilon}{ῡ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\upsilon}{ῢ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\upsilon}{ΰ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\rho}{ῤ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\rho}{ῥ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\upsilon}{ῦ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\upsilon}{ῦ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\upsilon}{ῧ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\Upsilon}{Ῠ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\Upsilon}{Ῡ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Upsilon}{Ὺ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Upsilon}{Ὺ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Rho}{Ῥ} - -\DeclareTextCompositeCommand{\~}{\UTFencname}{\omega}{ῶ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\omega}{ῶ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Omicron}{Ὸ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Omega}{Ὼ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Omicron}{Ὸ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Omega}{Ὼ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\alpha}{ἀ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\alpha}{ἁ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\alpha}{ἂ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\alpha}{ἃ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\alpha}{ἄ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\alpha}{ἅ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\alpha}{ἆ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\alpha}{ἇ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Alpha}{Ἀ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Alpha}{Ἁ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Alpha}{Ἂ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Alpha}{Ἃ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Alpha}{Ἄ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Alpha}{Ἅ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Alpha}{Ἆ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Alpha}{Ἇ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\epsilon}{ἐ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\epsilon}{ἑ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\epsilon}{ἒ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\epsilon}{ἓ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\epsilon}{ἔ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\epsilon}{ἕ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Epsilon}{Ἐ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Epsilon}{Ἑ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Epsilon}{Ἒ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Epsilon}{Ἓ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Epsilon}{Ἔ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Epsilon}{Ἕ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\eta}{ἠ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\eta}{ἡ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\eta}{ἢ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\eta}{ἣ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\eta}{ἤ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\eta}{ἥ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\eta}{ἦ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\eta}{ἧ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Eta}{Ἠ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Eta}{Ἡ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Eta}{Ἢ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Eta}{Ἣ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Eta}{Ἤ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Eta}{Ἥ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Eta}{Ἦ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Eta}{Ἧ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\iota}{ἰ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\iota}{ἱ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\iota}{ἲ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\iota}{ἳ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\iota}{ἴ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\iota}{ἵ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\iota}{ἶ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\iota}{ἷ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Iota}{Ἰ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Iota}{Ἱ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Iota}{Ἲ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Iota}{Ἳ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Iota}{Ἴ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Iota}{Ἵ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Iota}{Ἶ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Iota}{Ἷ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\omicron}{ὀ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\omicron}{ὁ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\omicron}{ὂ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\omicron}{ὃ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\omicron}{ὄ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\omicron}{ὅ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Omicron}{Ὀ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Omicron}{Ὁ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Omicron}{Ὂ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Omicron}{Ὃ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Omicron}{Ὄ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Omicron}{Ὅ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\upsilon}{ὐ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\upsilon}{ὑ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\upsilon}{ὒ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\upsilon}{ὓ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\upsilon}{ὔ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\upsilon}{ὕ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\upsilon}{ὖ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\upsilon}{ὗ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Upsilon}{Ὑ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Upsilon}{Ὓ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Upsilon}{Ὕ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Upsilon}{Ὗ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\omega}{ὠ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\omega}{ὡ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\omega}{ὢ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\omega}{ὣ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\omega}{ὤ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\omega}{ὥ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\omega}{ὦ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\omega}{ὧ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Omega}{Ὠ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Omega}{Ὡ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Omega}{Ὢ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Omega}{Ὣ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Omega}{Ὤ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Omega}{Ὥ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Omega}{Ὦ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Omega}{Ὧ} + +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\alpha}{ὰ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\epsilon}{ὲ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\eta}{ὴ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\iota}{ὶ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\omicron}{ὸ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\upsilon}{ὺ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\omega}{ὼ} + +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\alpha}{ᾰ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\alpha}{ᾱ} +\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\alpha}{ᾶ} +\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\alpha}{ᾶ} +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\Alpha}{Ᾰ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\Alpha}{Ᾱ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Alpha}{Ὰ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Alpha}{Ὰ} + +\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\eta}{ῆ} +\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\eta}{ῆ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Epsilon}{Ὲ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Eta}{Ὴ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Epsilon}{Ὲ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Eta}{Ὴ} + +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\iota}{ῐ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\iota}{ῑ} +\DeclareTextCompositeCommand{\accdialytikavaria}{\UnicodeEncodingName}{\iota}{ῒ} +\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\iota}{ΐ} +\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\iota}{ῖ} +\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\iota}{ῖ} +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UnicodeEncodingName}{\iota}{ῗ} +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\Iota}{Ῐ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\Iota}{Ῑ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Iota}{Ὶ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Iota}{Ὶ} + +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\upsilon}{ῠ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\upsilon}{ῡ} +\DeclareTextCompositeCommand{\accdialytikavaria}{\UnicodeEncodingName}{\upsilon}{ῢ} +\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\upsilon}{ΰ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\rho}{ῤ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\rho}{ῥ} +\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\upsilon}{ῦ} +\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\upsilon}{ῦ} +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UnicodeEncodingName}{\upsilon}{ῧ} +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\Upsilon}{Ῠ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\Upsilon}{Ῡ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Upsilon}{Ὺ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Upsilon}{Ὺ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Rho}{Ῥ} + +\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\omega}{ῶ} +\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\omega}{ῶ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Omicron}{Ὸ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Omega}{Ὼ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Omicron}{Ὸ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Omega}{Ὼ} % .. References % diff --git a/language/greek/greek-fontenc/alphabeta-tuenc.def.html b/language/greek/greek-fontenc/alphabeta-tuenc.def.html index 9978e53b82..dfa7a48f5c 100644 --- a/language/greek/greek-fontenc/alphabeta-tuenc.def.html +++ b/language/greek/greek-fontenc/alphabeta-tuenc.def.html @@ -620,7 +620,7 @@ version 1.3 of this license or any later version.</p> </dd> <dt class="identification">Identification</dt> <dd class="identification"><pre class="literal-block">\ProvidesFile{alphabeta-tuenc} -[2020/02/28 1.0 Composite definitions for XeTeX and LuaTeX]</pre> +[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> @@ -628,28 +628,36 @@ version 1.3 of this license or any later version.</p> <dt>Changelog:</dt> <dd><table class="borderless"> <colgroup> -<col style="width: 14%" /> <col style="width: 8%" /> +<col style="width: 14%" /> <col style="width: 78%" /> </colgroup> <tbody> -<tr><td><p>2013-09-12</p></td> -<td><p>0.1</p></td> +<tr><td><p>0.1</p></td> +<td><p>2013-09-12</p></td> <td><p>initial version</p></td> </tr> -<tr><td><p>2013-10-01</p></td> -<td><p>0.1.1</p></td> +<tr><td><p>0.1.1</p></td> +<td><p>2013-10-01</p></td> <td><p>remove clashing defs for legacy characters with oxia.</p></td> </tr> -<tr><td><p>2014-09-04</p></td> -<td><p>0.11.2</p></td> +<tr><td><p>0.11.2</p></td> +<td><p>2014-09-04</p></td> <td><p>documentation update</p></td> </tr> -<tr><td><p>2020/02/28</p></td> -<td><p>0.14</p></td> +<tr><td><p>0.14</p></td> +<td><p>2020-02-28</p></td> <td><p>rename to <span class="docutils literal"><span class="pre">alphabeta-tuenc.def</span></span>, use <span class="docutils literal">\UTFencname</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>New package version. No changes in this file.</p></td> +</tr> +<tr><td><p>2.0</p></td> +<td><p>2020-10-30</p></td> +<td><p>Use <span class="docutils literal">\UnicodeEncodingName</span> instead of <span class="docutils literal">\UTFencname</span>.</p></td> +</tr> </tbody> </table> </dd> @@ -665,196 +673,196 @@ composite commands for use with Unicode fonts. It is sourced by <a class="refere under XeTeX/LuaTeX.</p> <section id="greek-and-coptic"> <h2>Greek and Coptic</h2> -<pre class="literal-block">\DeclareTextCompositeCommand{\'}{\UTFencname}{\Alpha}{Ά} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Epsilon}{Έ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Eta}{Ή} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Iota}{Ί} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Omicron}{Ό} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Upsilon}{Ύ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Omega}{Ώ} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\iota}{ΐ} - -\DeclareTextCompositeCommand{\"}{\UTFencname}{\Iota}{Ϊ} -\DeclareTextCompositeCommand{\"}{\UTFencname}{\Upsilon}{Ϋ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\alpha}{ά} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\epsilon}{έ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\eta}{ή} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\iota}{ί} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\upsilon}{ΰ} - -\DeclareTextCompositeCommand{\"}{\UTFencname}{\iota}{ϊ} -\DeclareTextCompositeCommand{\"}{\UTFencname}{\upsilon}{ϋ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\omicron}{ό} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\upsilon}{ύ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\omega}{ώ}</pre> +<pre class="literal-block">\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Alpha}{Ά} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Epsilon}{Έ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Eta}{Ή} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Iota}{Ί} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Omicron}{Ό} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Upsilon}{Ύ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Omega}{Ώ} +\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\iota}{ΐ} + +\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\Iota}{Ϊ} +\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\Upsilon}{Ϋ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\alpha}{ά} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\epsilon}{έ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\eta}{ή} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\iota}{ί} +\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\upsilon}{ΰ} + +\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\iota}{ϊ} +\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\upsilon}{ϋ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\omicron}{ό} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\upsilon}{ύ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\omega}{ώ}</pre> </section> <section id="greek-extended"> <h2>Greek Extended</h2> <p>Postfix ypogegrammeni cannot be second part of composite defs.</p> -<pre class="literal-block">\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\alpha}{ἀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\alpha}{ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\alpha}{ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\alpha}{ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\alpha}{ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\alpha}{ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\alpha}{ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\alpha}{ἇ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Alpha}{Ἀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Alpha}{Ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Alpha}{Ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Alpha}{Ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Alpha}{Ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Alpha}{Ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Alpha}{Ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Alpha}{Ἇ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\epsilon}{ἐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\epsilon}{ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\epsilon}{ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\epsilon}{ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\epsilon}{ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\epsilon}{ἕ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Epsilon}{Ἐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Epsilon}{Ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Epsilon}{Ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Epsilon}{Ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Epsilon}{Ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Epsilon}{Ἕ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\eta}{ἠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\eta}{ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\eta}{ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\eta}{ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\eta}{ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\eta}{ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\eta}{ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\eta}{ἧ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Eta}{Ἠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Eta}{Ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Eta}{Ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Eta}{Ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Eta}{Ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Eta}{Ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Eta}{Ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Eta}{Ἧ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\iota}{ἰ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\iota}{ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\iota}{ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\iota}{ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\iota}{ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\iota}{ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\iota}{ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\iota}{ἷ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Iota}{Ἰ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Iota}{Ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Iota}{Ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Iota}{Ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Iota}{Ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Iota}{Ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Iota}{Ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Iota}{Ἷ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\omicron}{ὀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\omicron}{ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\omicron}{ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\omicron}{ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\omicron}{ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\omicron}{ὅ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Omicron}{Ὀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Omicron}{Ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Omicron}{Ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Omicron}{Ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Omicron}{Ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Omicron}{Ὅ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\upsilon}{ὐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\upsilon}{ὑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\upsilon}{ὒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\upsilon}{ὓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\upsilon}{ὔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\upsilon}{ὕ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\upsilon}{ὖ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\upsilon}{ὗ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Upsilon}{Ὑ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Upsilon}{Ὓ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Upsilon}{Ὕ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Upsilon}{Ὗ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\omega}{ὠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\omega}{ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\omega}{ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\omega}{ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\omega}{ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\omega}{ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\omega}{ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\omega}{ὧ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Omega}{Ὠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Omega}{Ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Omega}{Ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Omega}{Ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Omega}{Ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Omega}{Ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Omega}{Ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Omega}{Ὧ} - -\DeclareTextCompositeCommand{\`}{\UTFencname}{\alpha}{ὰ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\epsilon}{ὲ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\eta}{ὴ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\iota}{ὶ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\omicron}{ὸ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\upsilon}{ὺ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\omega}{ὼ} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\alpha}{ᾰ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\alpha}{ᾱ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\alpha}{ᾶ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\alpha}{ᾶ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\Alpha}{Ᾰ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\Alpha}{Ᾱ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Alpha}{Ὰ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Alpha}{Ὰ} - -\DeclareTextCompositeCommand{\~}{\UTFencname}{\eta}{ῆ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\eta}{ῆ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Epsilon}{Ὲ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Eta}{Ὴ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Epsilon}{Ὲ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Eta}{Ὴ} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\iota}{ῐ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\iota}{ῑ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\iota}{ῒ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\iota}{ΐ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\iota}{ῖ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\iota}{ῖ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\iota}{ῗ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\Iota}{Ῐ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\Iota}{Ῑ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Iota}{Ὶ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Iota}{Ὶ} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\upsilon}{ῠ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\upsilon}{ῡ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\upsilon}{ῢ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\upsilon}{ΰ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\rho}{ῤ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\rho}{ῥ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\upsilon}{ῦ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\upsilon}{ῦ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\upsilon}{ῧ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\Upsilon}{Ῠ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\Upsilon}{Ῡ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Upsilon}{Ὺ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Upsilon}{Ὺ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Rho}{Ῥ} - -\DeclareTextCompositeCommand{\~}{\UTFencname}{\omega}{ῶ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\omega}{ῶ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Omicron}{Ὸ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Omega}{Ὼ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Omicron}{Ὸ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Omega}{Ὼ}</pre> +<pre class="literal-block">\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\alpha}{ἀ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\alpha}{ἁ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\alpha}{ἂ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\alpha}{ἃ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\alpha}{ἄ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\alpha}{ἅ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\alpha}{ἆ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\alpha}{ἇ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Alpha}{Ἀ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Alpha}{Ἁ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Alpha}{Ἂ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Alpha}{Ἃ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Alpha}{Ἄ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Alpha}{Ἅ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Alpha}{Ἆ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Alpha}{Ἇ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\epsilon}{ἐ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\epsilon}{ἑ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\epsilon}{ἒ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\epsilon}{ἓ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\epsilon}{ἔ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\epsilon}{ἕ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Epsilon}{Ἐ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Epsilon}{Ἑ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Epsilon}{Ἒ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Epsilon}{Ἓ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Epsilon}{Ἔ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Epsilon}{Ἕ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\eta}{ἠ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\eta}{ἡ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\eta}{ἢ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\eta}{ἣ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\eta}{ἤ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\eta}{ἥ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\eta}{ἦ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\eta}{ἧ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Eta}{Ἠ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Eta}{Ἡ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Eta}{Ἢ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Eta}{Ἣ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Eta}{Ἤ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Eta}{Ἥ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Eta}{Ἦ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Eta}{Ἧ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\iota}{ἰ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\iota}{ἱ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\iota}{ἲ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\iota}{ἳ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\iota}{ἴ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\iota}{ἵ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\iota}{ἶ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\iota}{ἷ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Iota}{Ἰ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Iota}{Ἱ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Iota}{Ἲ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Iota}{Ἳ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Iota}{Ἴ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Iota}{Ἵ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Iota}{Ἶ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Iota}{Ἷ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\omicron}{ὀ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\omicron}{ὁ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\omicron}{ὂ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\omicron}{ὃ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\omicron}{ὄ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\omicron}{ὅ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Omicron}{Ὀ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Omicron}{Ὁ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Omicron}{Ὂ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Omicron}{Ὃ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Omicron}{Ὄ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Omicron}{Ὅ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\upsilon}{ὐ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\upsilon}{ὑ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\upsilon}{ὒ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\upsilon}{ὓ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\upsilon}{ὔ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\upsilon}{ὕ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\upsilon}{ὖ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\upsilon}{ὗ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Upsilon}{Ὑ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Upsilon}{Ὓ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Upsilon}{Ὕ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Upsilon}{Ὗ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\omega}{ὠ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\omega}{ὡ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\omega}{ὢ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\omega}{ὣ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\omega}{ὤ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\omega}{ὥ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\omega}{ὦ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\omega}{ὧ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Omega}{Ὠ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Omega}{Ὡ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Omega}{Ὢ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Omega}{Ὣ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Omega}{Ὤ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Omega}{Ὥ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Omega}{Ὦ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Omega}{Ὧ} + +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\alpha}{ὰ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\epsilon}{ὲ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\eta}{ὴ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\iota}{ὶ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\omicron}{ὸ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\upsilon}{ὺ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\omega}{ὼ} + +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\alpha}{ᾰ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\alpha}{ᾱ} +\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\alpha}{ᾶ} +\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\alpha}{ᾶ} +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\Alpha}{Ᾰ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\Alpha}{Ᾱ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Alpha}{Ὰ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Alpha}{Ὰ} + +\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\eta}{ῆ} +\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\eta}{ῆ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Epsilon}{Ὲ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Eta}{Ὴ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Epsilon}{Ὲ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Eta}{Ὴ} + +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\iota}{ῐ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\iota}{ῑ} +\DeclareTextCompositeCommand{\accdialytikavaria}{\UnicodeEncodingName}{\iota}{ῒ} +\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\iota}{ΐ} +\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\iota}{ῖ} +\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\iota}{ῖ} +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UnicodeEncodingName}{\iota}{ῗ} +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\Iota}{Ῐ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\Iota}{Ῑ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Iota}{Ὶ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Iota}{Ὶ} + +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\upsilon}{ῠ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\upsilon}{ῡ} +\DeclareTextCompositeCommand{\accdialytikavaria}{\UnicodeEncodingName}{\upsilon}{ῢ} +\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\upsilon}{ΰ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\rho}{ῤ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\rho}{ῥ} +\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\upsilon}{ῦ} +\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\upsilon}{ῦ} +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UnicodeEncodingName}{\upsilon}{ῧ} +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\Upsilon}{Ῠ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\Upsilon}{Ῡ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Upsilon}{Ὺ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Upsilon}{Ὺ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Rho}{Ῥ} + +\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\omega}{ῶ} +\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\omega}{ῶ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Omicron}{Ὸ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Omega}{Ὼ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Omicron}{Ὸ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Omega}{Ὼ}</pre> <!-- References --> </section> </main> diff --git a/language/greek/greek-fontenc/alphabeta-tuenc.html b/language/greek/greek-fontenc/alphabeta-tuenc.html deleted file mode 100644 index 1e2857bca3..0000000000 --- a/language/greek/greek-fontenc/alphabeta-tuenc.html +++ /dev/null @@ -1,862 +0,0 @@ -<!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/" /> -<title>alphabeta-tuenc.def</title> -<meta name="dcterms.rights" content="© 2013 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> -</head> -<body> -<main id="alphabeta-tuenc-def"> -<h1 class="title">alphabeta-tuenc.def</h1> -<p class="subtitle" id="composite-definitions-for-xetex-and-luatex">Composite definitions for XeTeX and LuaTeX</p> -<dl class="docinfo"> -<dt class="copyright">Copyright</dt> -<dd class="copyright">© 2013 Günter Milde</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> -<dt class="identification">Identification</dt> -<dd class="identification"><pre class="literal-block">\ProvidesFile{alphabeta-tuenc} -[2020/02/28 0.14 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"> -<colgroup> -<col style="width: 14%" /> -<col style="width: 8%" /> -<col style="width: 78%" /> -</colgroup> -<tbody> -<tr><td><p>2013-09-12</p></td> -<td><p>0.1</p></td> -<td><p>initial version</p></td> -</tr> -<tr><td><p>2013-10-01</p></td> -<td><p>0.1.1</p></td> -<td><p>remove clashing defs for legacy characters with oxia.</p></td> -</tr> -<tr><td><p>2014-09-04</p></td> -<td><p>0.11.2</p></td> -<td><p>documentation update</p></td> -</tr> -<tr><td><p>2020/02/28</p></td> -<td><p>0.14</p></td> -<td><p>rename to <span class="docutils literal"><span class="pre">alphabeta-tuenc.def</span></span>, -use <span class="docutils literal">\UTFencname</span> instead of <span class="docutils literal">\LastDeclaredEncoding</span></p></td> -</tr> -</tbody> -</table> -</dd> -</dl> -<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> -<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">\>"\alpha</span></span> work as expected we -define TextComposites with the <cite>letter name commands</cite>.</p> -<p>This file expands the font encoding definitions in <a class="reference external" href="tuenc-greek.def.html">tuenc-greek.def</a> with -composite commands for use with Unicode fonts. It is sourced by <a class="reference external" href="alphabeta.sty.html">alphabeta</a> -under XeTeX/LuaTeX.</p> -<section id="greek-and-coptic"> -<h2>Greek and Coptic</h2> -<pre class="literal-block">\DeclareTextCompositeCommand{\'}{\UTFencname}{\Alpha}{Ά} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Epsilon}{Έ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Eta}{Ή} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Iota}{Ί} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Omicron}{Ό} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Upsilon}{Ύ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Omega}{Ώ} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\iota}{ΐ} - -\DeclareTextCompositeCommand{\"}{\UTFencname}{\Iota}{Ϊ} -\DeclareTextCompositeCommand{\"}{\UTFencname}{\Upsilon}{Ϋ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\alpha}{ά} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\epsilon}{έ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\eta}{ή} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\iota}{ί} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\upsilon}{ΰ} - -\DeclareTextCompositeCommand{\"}{\UTFencname}{\iota}{ϊ} -\DeclareTextCompositeCommand{\"}{\UTFencname}{\upsilon}{ϋ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\omicron}{ό} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\upsilon}{ύ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\omega}{ώ}</pre> -</section> -<section id="greek-extended"> -<h2>Greek Extended</h2> -<p>Postfix ypogegrammeni cannot be second part of composite defs.</p> -<pre class="literal-block">\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\alpha}{ἀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\alpha}{ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\alpha}{ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\alpha}{ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\alpha}{ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\alpha}{ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\alpha}{ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\alpha}{ἇ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Alpha}{Ἀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Alpha}{Ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Alpha}{Ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Alpha}{Ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Alpha}{Ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Alpha}{Ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Alpha}{Ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Alpha}{Ἇ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\epsilon}{ἐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\epsilon}{ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\epsilon}{ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\epsilon}{ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\epsilon}{ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\epsilon}{ἕ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Epsilon}{Ἐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Epsilon}{Ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Epsilon}{Ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Epsilon}{Ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Epsilon}{Ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Epsilon}{Ἕ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\eta}{ἠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\eta}{ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\eta}{ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\eta}{ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\eta}{ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\eta}{ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\eta}{ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\eta}{ἧ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Eta}{Ἠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Eta}{Ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Eta}{Ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Eta}{Ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Eta}{Ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Eta}{Ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Eta}{Ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Eta}{Ἧ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\iota}{ἰ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\iota}{ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\iota}{ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\iota}{ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\iota}{ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\iota}{ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\iota}{ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\iota}{ἷ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Iota}{Ἰ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Iota}{Ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Iota}{Ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Iota}{Ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Iota}{Ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Iota}{Ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Iota}{Ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Iota}{Ἷ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\omicron}{ὀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\omicron}{ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\omicron}{ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\omicron}{ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\omicron}{ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\omicron}{ὅ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Omicron}{Ὀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Omicron}{Ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Omicron}{Ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Omicron}{Ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Omicron}{Ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Omicron}{Ὅ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\upsilon}{ὐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\upsilon}{ὑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\upsilon}{ὒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\upsilon}{ὓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\upsilon}{ὔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\upsilon}{ὕ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\upsilon}{ὖ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\upsilon}{ὗ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Upsilon}{Ὑ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Upsilon}{Ὓ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Upsilon}{Ὕ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Upsilon}{Ὗ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\omega}{ὠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\omega}{ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\omega}{ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\omega}{ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\omega}{ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\omega}{ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\omega}{ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\omega}{ὧ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Omega}{Ὠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Omega}{Ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Omega}{Ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Omega}{Ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Omega}{Ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Omega}{Ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Omega}{Ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Omega}{Ὧ} - -\DeclareTextCompositeCommand{\`}{\UTFencname}{\alpha}{ὰ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\epsilon}{ὲ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\eta}{ὴ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\iota}{ὶ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\omicron}{ὸ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\upsilon}{ὺ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\omega}{ὼ} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\alpha}{ᾰ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\alpha}{ᾱ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\alpha}{ᾶ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\alpha}{ᾶ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\Alpha}{Ᾰ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\Alpha}{Ᾱ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Alpha}{Ὰ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Alpha}{Ὰ} - -\DeclareTextCompositeCommand{\~}{\UTFencname}{\eta}{ῆ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\eta}{ῆ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Epsilon}{Ὲ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Eta}{Ὴ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Epsilon}{Ὲ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Eta}{Ὴ} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\iota}{ῐ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\iota}{ῑ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\iota}{ῒ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\iota}{ΐ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\iota}{ῖ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\iota}{ῖ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\iota}{ῗ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\Iota}{Ῐ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\Iota}{Ῑ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Iota}{Ὶ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Iota}{Ὶ} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\upsilon}{ῠ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\upsilon}{ῡ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\upsilon}{ῢ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\upsilon}{ΰ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\rho}{ῤ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\rho}{ῥ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\upsilon}{ῦ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\upsilon}{ῦ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\upsilon}{ῧ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\Upsilon}{Ῠ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\Upsilon}{Ῡ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Upsilon}{Ὺ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Upsilon}{Ὺ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Rho}{Ῥ} - -\DeclareTextCompositeCommand{\~}{\UTFencname}{\omega}{ῶ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\omega}{ῶ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Omicron}{Ὸ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Omega}{Ὼ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Omicron}{Ὸ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Omega}{Ὼ}</pre> -<!-- References --> -</section> -</main> -</body> -</html> diff --git a/language/greek/greek-fontenc/alphabeta.sty b/language/greek/greek-fontenc/alphabeta.sty index 53027da0b9..ddc8df103a 100644 --- a/language/greek/greek-fontenc/alphabeta.sty +++ b/language/greek/greek-fontenc/alphabeta.sty @@ -14,7 +14,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{alphabeta} - [2020/02/28 1.0 macros for Greek letters in text and math] + [2020/10/13 2.0 macros for Greek letters in text and math] % Changelog: % .. class:: borderless @@ -30,6 +30,8 @@ % (new in fontspec v2.5a). % 0.14 2020/02/28 rename ``alphabeta-euenc.def`` to % ``alphabeta-tuenc.def``. +% 1.0 2020/09/25 New package version. No changes in this file. +% 2.0 2020/10/13 Provide ``\Koppa``. % ====== ========== ========================================================= % % Motivation @@ -118,7 +120,7 @@ % Save math macros % ---------------- % -% Provide an alias for the standard math commands:: +% Map the standard math commands to maths-specific names:: \let\mathGamma\Gamma \let\mathDelta\Delta @@ -263,6 +265,7 @@ \providecommand*{\stigma}{\textstigma} % ϛ \providecommand*{\varstigma}{\textvarstigma} % stigma variant (CB.enc, teubner) \providecommand*{\koppa}{\textkoppa} % ϟ (greek small letter koppa) +\providecommand*{\Koppa}{\textKoppa} % Ϟ (greek letter koppa) \providecommand*{\qoppa}{\textqoppa} % ϙ (archaic koppa) \providecommand*{\Qoppa}{\textQoppa} % Ϙ (archaic Koppa) \providecommand*{\Stigma}{\textStigma} % Ϛ (in some fonts ϹΤ ligature) @@ -274,7 +277,7 @@ % % 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 `<tuenc-greek-doc.pdf>`_). +% standard (see `<test-tuenc-greek.pdf>`_). % % The ``\...symbol`` macros select the GREEK ... SYMBOL in both, text and % math mode. For ``\epsilonsymbol`` and ``\phisymbol`` this is the default @@ -319,12 +322,12 @@ % `letter name commands`. (Composition only works if the active font encoding % is LGR). :: -\ifdefined\UTFencname +\@ifl@aded{def}{tuenc-greek}{ \input{alphabeta-tuenc.def} -\else % 8-bit TeX +}{} +\@ifl@aded{def}{lgrenc}{ \input{alphabeta-lgr.def} -\fi - +}{} % Re-definition for Greek Unicode input in math mode % -------------------------------------------------- diff --git a/language/greek/greek-fontenc/alphabeta.sty.html b/language/greek/greek-fontenc/alphabeta.sty.html index 97581b7a0d..84a217a1d7 100644 --- a/language/greek/greek-fontenc/alphabeta.sty.html +++ b/language/greek/greek-fontenc/alphabeta.sty.html @@ -620,7 +620,7 @@ version 1.3 of this license or any later version.</p> <dt class="identification">Identification</dt> <dd class="identification"><pre class="literal-block">\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{alphabeta} - [2020/02/28 1.0 macros for Greek letters in text and math]</pre> + [2020/10/13 2.0 macros for Greek letters in text and math]</pre> </dd> </dl> <div class="abstract topic"> @@ -672,6 +672,14 @@ mode.</p> <td><p>rename <span class="docutils literal"><span class="pre">alphabeta-euenc.def</span></span> to <span class="docutils literal"><span class="pre">alphabeta-tuenc.def</span></span>.</p></td> </tr> +<tr><td><p>1.0</p></td> +<td><p>2020/09/25</p></td> +<td><p>New package version. No changes in this file.</p></td> +</tr> +<tr><td><p>2.0</p></td> +<td><p>2020/10/13</p></td> +<td><p>Provide <span class="docutils literal">\Koppa</span>.</p></td> +</tr> </tbody> </table> </dd> @@ -735,7 +743,7 @@ the next steps until the start of the document body:</p> </section> <section id="save-math-macros"> <h3>Save math macros</h3> -<p>Provide an alias for the standard math commands:</p> +<p>Map the standard math commands to maths-specific names:</p> <pre class="literal-block">\let\mathGamma\Gamma \let\mathDelta\Delta \let\mathTheta\Theta @@ -867,6 +875,7 @@ in both, text and math mode.</p> \providecommand*{\stigma}{\textstigma} % ϛ \providecommand*{\varstigma}{\textvarstigma} % stigma variant (CB.enc, teubner) \providecommand*{\koppa}{\textkoppa} % ϟ (greek small letter koppa) +\providecommand*{\Koppa}{\textKoppa} % Ϟ (greek letter koppa) \providecommand*{\qoppa}{\textqoppa} % ϙ (archaic koppa) \providecommand*{\Qoppa}{\textQoppa} % Ϙ (archaic Koppa) \providecommand*{\Stigma}{\textStigma} % Ϛ (in some fonts ϹΤ ligature) @@ -877,7 +886,7 @@ in both, text and math mode.</p> <h4>Variant shape symbols</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="tuenc-greek-doc.pdf">tuenc-greek-doc.pdf</a>).</p> +standard (see <a class="reference external" href="test-tuenc-greek.pdf">test-tuenc-greek.pdf</a>).</p> <p>The <span class="docutils literal"><span class="pre">\...symbol</span></span> macros select the GREEK … SYMBOL in both, text and math mode. For <span class="docutils literal">\epsilonsymbol</span> and <span class="docutils literal">\phisymbol</span> this is the default shape in math mode. The <span class="docutils literal"><span class="pre">\var...</span></span> macros select the shape used by TeX @@ -918,11 +927,12 @@ it. In order to let compositions like <span class="docutils literal"><span class <span class="docutils literal"><span class="pre">\ensuregreek{\>"\alpha}</span></span> work as expected we define TextComposites with the <cite>letter name commands</cite>. (Composition only works if the active font encoding is LGR).</p> -<pre class="literal-block">\ifdefined\UTFencname +<pre class="literal-block">\@ifl@aded{def}{tuenc-greek}{ \input{alphabeta-tuenc.def} -\else % 8-bit TeX +}{} +\@ifl@aded{def}{lgrenc}{ \input{alphabeta-lgr.def} -\fi</pre> +}{}</pre> </section> <section id="re-definition-for-greek-unicode-input-in-math-mode"> <h3>Re-definition for Greek Unicode input in math mode</h3> diff --git a/language/greek/greek-fontenc/diacritics.pdf b/language/greek/greek-fontenc/diacritics.pdf Binary files differindex 59e6183c97..e4d03b8b78 100644 --- a/language/greek/greek-fontenc/diacritics.pdf +++ b/language/greek/greek-fontenc/diacritics.pdf diff --git a/language/greek/greek-fontenc/diacritics.tex b/language/greek/greek-fontenc/diacritics.tex index b885c948f5..dddfbc2560 100644 --- a/language/greek/greek-fontenc/diacritics.tex +++ b/language/greek/greek-fontenc/diacritics.tex @@ -2,7 +2,7 @@ \documentclass[a4paper,polutonikogreek,british]{article} \pagestyle{empty} \usepackage[margin=2.9cm]{geometry} -\usepackage{cmap} % fix search and cut-and-paste in Acrobat Reader +% \usepackage{cmap} % fix search and cut-and-paste in Acrobat Reader \usepackage% {lmodern} @@ -47,6 +47,7 @@ \title{Greek diacritics with standard accent macros} \author{G\"unter Milde} +\date{\filedate} \maketitle The font encoding definition file \texttt{lgrenc.def} defines LICR macros @@ -90,15 +91,7 @@ Improvements over the ligature-based approach in LGR: % \begin{itemize} -\item Accents can be placed on any character:% - \footnote{In babel-greek versions < 1.4, Babel's \emph{polutonikogreek} - option re-defined \textbackslash\textasciitilde (even for - Latin with \textbackslash textlatin). - This document reverted the babel definition in the preamble - to make the tilde/perispomeni-accent work as usual in both, - English (\textgreek{ni\~n\~o} ni\~n\~o) and Greek % - % (\foreignlanguage{greek}{ni\~n\~o \textlatin{ni\~n\~o}}). - .} +\item Accents can be placed on any character: \textgreek{\"k \`l \'m \~<n \<o \>'p \>9 \`\>-} \item Kerning is preserved diff --git a/language/greek/greek-fontenc/greek-euenc.def b/language/greek/greek-fontenc/greek-euenc.def index 3835e17e5c..d5201ac8ff 100644 --- a/language/greek/greek-fontenc/greek-euenc.def +++ b/language/greek/greek-fontenc/greek-euenc.def @@ -9,6 +9,12 @@ % version 1.3 of this license or any later version. \ProvidesFile{greek-euenc.def} -[2020/02/28 1.0 Greek LICRs for XeTeX and LuaTeX] +[2020/02/28 2.0 Greek LICRs for XeTeX and LuaTeX] + +% Just in case there is an old fontspec using EU1 or EU2:: + +\ifdefined \UTFencname % set by fontspec + \providecommand*{\UnicodeEncodingName}{\UTFencname} % TU, EU1, or EU2 +\fi \input{tuenc-greek.def} diff --git a/language/greek/greek-fontenc/greek-fontenc.def b/language/greek/greek-fontenc/greek-fontenc.def index 0af15b2cab..8f90f9362e 100644 --- a/language/greek/greek-fontenc/greek-fontenc.def +++ b/language/greek/greek-fontenc/greek-fontenc.def @@ -12,7 +12,7 @@ % :: \ProvidesFile{greek-fontenc.def} -[2020/09/25 1.0 Common Greek font encoding definitions] +[2020/10/30 2.0 Common Greek font encoding definitions] % :Abstract: This file provides definitions that are shared between % font encodings providing Greek characters. @@ -27,7 +27,8 @@ % 0.12 2014-12-12 Remove symbol macros for breathing accents. % 0.13 2015-08-04 No @uclclist entry for ypogegrammeni/prosgegrammeni. % 0.13.4 2019-07-10 ``@uclclist`` entry for ``\prosgegrammeni``. -% 1.0 2020/09/25 ``\textKoppa`` as alias for ``\textkoppa`` in LGR. +% 1.0 2020-09-25 ``\textKoppagreek`` and ``\textstigmagreek`` aliases. +% 2.0 2020/10/30 Alias definitions matching mathematical variant symbols. % ====== ============ ========================================================= % % Usage @@ -67,9 +68,25 @@ % % Aliases are defined via `DeclareTextCommand` so that up/downcasing works % without the need for additional uclclist_ entries. -% + + +% Names matching mathematical variant symbols:: + +% \var... matching GREEK ... SYMBOL +\DeclareTextCommand{\textvarbeta}{\LastDeclaredEncoding}{\textbetasymbol} % ϐ +\DeclareTextCommand{\textvarkappa}{\LastDeclaredEncoding}{\textkappasymbol} % ϰ +\DeclareTextCommand{\textvarTheta}{\LastDeclaredEncoding}{\textThetasymbol} % ϴ +\DeclareTextCommand{\textvartheta}{\LastDeclaredEncoding}{\textthetasymbol} % ϑ +\DeclareTextCommand{\textvarpi}{\LastDeclaredEncoding}{\textpisymbol} % ϖ +\DeclareTextCommand{\textvarrho}{\LastDeclaredEncoding}{\textrhosymbol} % ϱ +% \var... matching GREEK LETTER ... +\DeclareTextCommand{\textvarepsilon}{\LastDeclaredEncoding}{\textepsilon} % ε +\DeclareTextCommand{\textvarphi}{\LastDeclaredEncoding}{\textphi} % φ +\DeclareTextCommand{\textvarsigma}{\LastDeclaredEncoding}{\textfinalsigma} % ς + % Compatibility aliases for hyperref_'s puenc.def:: +\DeclareTextCommand{\textmugreek}{\LastDeclaredEncoding}{\textmu} \DeclareTextCommand{\textkoppagreek}{\LastDeclaredEncoding}{\textkoppa} \DeclareTextCommand{\textKoppagreek}{\LastDeclaredEncoding}{\textKoppa} \DeclareTextCommand{\textStigmagreek}{\LastDeclaredEncoding}{\textStigma} @@ -92,6 +109,7 @@ % Two Unicode code points and names for one character:: \DeclareTextCommand{\accoxia}{\LastDeclaredEncoding}{\acctonos} +\DeclareTextCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\accdialyikatonos} \DeclareTextCommand{\acckoronis}{\LastDeclaredEncoding}{\accpsili} % Symbol macros for the breathings: @@ -129,6 +147,7 @@ % % .. code:: latex % +% \accdialyticavaria\textalpha, % \accdialytica\accvaria\textalpha, % \"\'\textalpha, % \"'\textalpha, or @@ -249,7 +268,7 @@ % % Based on the `babel patch`_ and ``fontenc.sty``. % -% The definition of an auxiliary, self-restting macro makes this idempotent +% The definition of an auxiliary, self-resetting macro makes this idempotent % (only the first use of this function will expand the ``@uclclist``). % The second and third lines are TeX' way of writing ``uclclist += …``:: @@ -271,38 +290,38 @@ \accdialytikaperispomeni\LGR@accDialytika \accperispomeni\LGR@accdropped \LGR@ypogegrammeni\prosgegrammeni - \textalpha \textAlpha - \textbeta \textBeta - \textgamma \textGamma - \textdelta \textDelta - \textepsilon \textEpsilon - \textzeta \textZeta - \texteta \textEta - \texttheta \textTheta - \textiota \textIota - \textkappa \textKappa - \textlambda \textLambda - \textmu \textMu - \textnu \textNu - \textxi \textXi - \textomicron \textOmicron - \textpi \textPi - \textrho \textRho - \textvarsigma \textSigma - \textsigma \textSigma - \textautosigma \textSigma - \texttau \textTau - \textupsilon \textUpsilon - \textphi \textPhi - \textchi \textChi - \textpsi \textPsi - \textomega \textOmega - \textkoppa \textKoppa - \textqoppa \textQoppa - \textvarstigma \textStigma - \textstigma \textStigma - \textsampi \textSampi - \textdigamma \textDigamma + \textalpha \textAlpha + \textbeta \textBeta + \textgamma \textGamma + \textdelta \textDelta + \textepsilon \textEpsilon + \textzeta \textZeta + \texteta \textEta + \texttheta \textTheta + \textiota \textIota + \textkappa \textKappa + \textlambda \textLambda + \textmu \textMu + \textnu \textNu + \textxi \textXi + \textomicron \textOmicron + \textpi \textPi + \textrho \textRho + \textfinalsigma \textSigma + \textsigma \textSigma + \textautosigma \textSigma + \texttau \textTau + \textupsilon \textUpsilon + \textphi \textPhi + \textchi \textChi + \textpsi \textPsi + \textomega \textOmega + \textkoppa \textKoppa + \textqoppa \textQoppa + \textvarstigma \textStigma + \textstigma \textStigma + \textsampi \textSampi + \textdigamma \textDigamma }% \let\update@uclc@with@greek\relax } @@ -354,8 +373,8 @@ % Epsilon. As ``\@ifnextchar`` gobbles spaces the lookahead macro definition % from ``amsgen.sty`` is used: % -% This macro is a new version of LaTeX’s ``\@ifnextchar``, macro -% that does not skip over spaces. +% This macro is a variant of LaTeX’s ``\@ifnextchar``, macro +% that does not skip over spaces. % % :: @@ -370,7 +389,6 @@ } - % .. References % ---------- % diff --git a/language/greek/greek-fontenc/greek-fontenc.def.html b/language/greek/greek-fontenc/greek-fontenc.def.html index 1cc5050126..a7dd6dc910 100644 --- a/language/greek/greek-fontenc/greek-fontenc.def.html +++ b/language/greek/greek-fontenc/greek-fontenc.def.html @@ -620,7 +620,7 @@ version 1.3 of this license or any later version.</p> </dd> <dt class="identification">Identification</dt> <dd class="identification"><pre class="literal-block">\ProvidesFile{greek-fontenc.def} -[2020/09/25 1.0 Common Greek font encoding definitions]</pre> +[2020/10/30 2.0 Common Greek font encoding definitions]</pre> </dd> </dl> <div class="abstract topic"> @@ -662,8 +662,12 @@ font encodings providing Greek characters.</p> <td><p><span class="docutils literal">@uclclist</span> entry for <span class="docutils literal">\prosgegrammeni</span>.</p></td> </tr> <tr><td><p>1.0</p></td> -<td><p>2020/09/25</p></td> -<td><p><span class="docutils literal">\textKoppa</span> as alias for <span class="docutils literal">\textkoppa</span> in LGR.</p></td> +<td><p>2020-09-25</p></td> +<td><p><span class="docutils literal">\textKoppagreek</span> and <span class="docutils literal">\textstigmagreek</span> aliases.</p></td> +</tr> +<tr><td><p>2.0</p></td> +<td><p>2020/10/30</p></td> +<td><p>Alias definitions matching mathematical variant symbols.</p></td> </tr> </tbody> </table> @@ -697,8 +701,21 @@ the Greek script, if required. The following definition announces the <h3>Aliases</h3> <p>Aliases are defined via <cite>DeclareTextCommand</cite> so that up/downcasing works without the need for additional <a class="reference internal" href="#uclclist">uclclist</a> entries.</p> +<p>Names matching mathematical variant symbols:</p> +<pre class="literal-block">% \var... matching GREEK ... SYMBOL +\DeclareTextCommand{\textvarbeta}{\LastDeclaredEncoding}{\textbetasymbol} % ϐ +\DeclareTextCommand{\textvarkappa}{\LastDeclaredEncoding}{\textkappasymbol} % ϰ +\DeclareTextCommand{\textvarTheta}{\LastDeclaredEncoding}{\textThetasymbol} % ϴ +\DeclareTextCommand{\textvartheta}{\LastDeclaredEncoding}{\textthetasymbol} % ϑ +\DeclareTextCommand{\textvarpi}{\LastDeclaredEncoding}{\textpisymbol} % ϖ +\DeclareTextCommand{\textvarrho}{\LastDeclaredEncoding}{\textrhosymbol} % ϱ +% \var... matching GREEK LETTER ... +\DeclareTextCommand{\textvarepsilon}{\LastDeclaredEncoding}{\textepsilon} % ε +\DeclareTextCommand{\textvarphi}{\LastDeclaredEncoding}{\textphi} % φ +\DeclareTextCommand{\textvarsigma}{\LastDeclaredEncoding}{\textfinalsigma} % ς</pre> <p>Compatibility aliases for <a class="reference external" href="http://ctan.org/pkg/hyperref">hyperref</a>’s puenc.def:</p> -<pre class="literal-block">\DeclareTextCommand{\textkoppagreek}{\LastDeclaredEncoding}{\textkoppa} +<pre class="literal-block">\DeclareTextCommand{\textmugreek}{\LastDeclaredEncoding}{\textmu} +\DeclareTextCommand{\textkoppagreek}{\LastDeclaredEncoding}{\textkoppa} \DeclareTextCommand{\textKoppagreek}{\LastDeclaredEncoding}{\textKoppa} \DeclareTextCommand{\textStigmagreek}{\LastDeclaredEncoding}{\textStigma} \DeclareTextCommand{\textstigmagreek}{\LastDeclaredEncoding}{\textstigma} @@ -714,6 +731,7 @@ without the need for additional <a class="reference internal" href="#uclclist">u </span><span class="keyword">\DeclareTextCommand</span><span class="name builtin">{</span><span class="keyword">\katwtonos</span><span class="name builtin">}{</span><span class="keyword">\LastDeclaredEncoding</span><span class="name builtin">}{</span><span class="keyword">\textaristerikeraia</span><span class="name builtin">}</span> <span class="comment">% ͵</span></code></pre> <p>Two Unicode code points and names for one character:</p> <pre class="literal-block">\DeclareTextCommand{\accoxia}{\LastDeclaredEncoding}{\acctonos} +\DeclareTextCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\accdialyikatonos} \DeclareTextCommand{\acckoronis}{\LastDeclaredEncoding}{\accpsili}</pre> <p>Symbol macros for the breathings:</p> <p>Moved to <span class="docutils literal">textalpha.sty</span> to avoid clashes with local definitions @@ -738,7 +756,8 @@ table, LCI encoding)?</p> <p>Composite accents can be input as sequence of simple diacritics (in arbitrary order) via named macro, symbol macro and “transcription characters”, e.g. one of</p> -<pre class="code latex literal-block"><code><span class="keyword">\accdialytica\accvaria\textalpha</span>, +<pre class="code latex literal-block"><code><span class="keyword">\accdialyticavaria\textalpha</span>, +<span class="keyword">\accdialytica\accvaria\textalpha</span>, <span class="keyword">\"\'\textalpha</span>, <span class="keyword">\"</span>'<span class="keyword">\textalpha</span>, or <span class="keyword">\'</span>"<span class="keyword">\textalpha</span>.</code></pre> @@ -845,7 +864,7 @@ the CB Fonts, a small capital adscript iota is used.</p> <section id="uclclist-extension"> <h4>@uclclist extension</h4> <p>Based on the <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> and <span class="docutils literal">fontenc.sty</span>.</p> -<p>The definition of an auxiliary, self-restting macro makes this idempotent +<p>The definition of an auxiliary, self-resetting macro makes this idempotent (only the first use of this function will expand the <span class="docutils literal">@uclclist</span>). The second and third lines are TeX’ way of writing <span class="docutils literal">uclclist += …</span>:</p> <pre class="literal-block">\providecommand*\update@uclc@with@greek{% @@ -866,38 +885,38 @@ The second and third lines are TeX’ way of writing <span class="docutils liter \accdialytikaperispomeni\LGR@accDialytika \accperispomeni\LGR@accdropped \LGR@ypogegrammeni\prosgegrammeni - \textalpha \textAlpha - \textbeta \textBeta - \textgamma \textGamma - \textdelta \textDelta - \textepsilon \textEpsilon - \textzeta \textZeta - \texteta \textEta - \texttheta \textTheta - \textiota \textIota - \textkappa \textKappa - \textlambda \textLambda - \textmu \textMu - \textnu \textNu - \textxi \textXi - \textomicron \textOmicron - \textpi \textPi - \textrho \textRho - \textvarsigma \textSigma - \textsigma \textSigma - \textautosigma \textSigma - \texttau \textTau - \textupsilon \textUpsilon - \textphi \textPhi - \textchi \textChi - \textpsi \textPsi - \textomega \textOmega - \textkoppa \textKoppa - \textqoppa \textQoppa - \textvarstigma \textStigma - \textstigma \textStigma - \textsampi \textSampi - \textdigamma \textDigamma + \textalpha \textAlpha + \textbeta \textBeta + \textgamma \textGamma + \textdelta \textDelta + \textepsilon \textEpsilon + \textzeta \textZeta + \texteta \textEta + \texttheta \textTheta + \textiota \textIota + \textkappa \textKappa + \textlambda \textLambda + \textmu \textMu + \textnu \textNu + \textxi \textXi + \textomicron \textOmicron + \textpi \textPi + \textrho \textRho + \textfinalsigma \textSigma + \textsigma \textSigma + \textautosigma \textSigma + \texttau \textTau + \textupsilon \textUpsilon + \textphi \textPhi + \textchi \textChi + \textpsi \textPsi + \textomega \textOmega + \textkoppa \textKoppa + \textqoppa \textQoppa + \textvarstigma \textStigma + \textstigma \textStigma + \textsampi \textSampi + \textdigamma \textDigamma }% \let\update@uclc@with@greek\relax }</pre> @@ -933,10 +952,8 @@ second vowel if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑ <p>The following macro can be used to test if the next character is an Alpha or Epsilon. As <span class="docutils literal">\@ifnextchar</span> gobbles spaces the lookahead macro definition from <span class="docutils literal">amsgen.sty</span> is used:</p> -<blockquote> -<p>This macro is a new version of LaTeX’s <span class="docutils literal">\@ifnextchar</span>, macro +<p>This macro is a variant of LaTeX’s <span class="docutils literal">\@ifnextchar</span>, macro that does not skip over spaces.</p> -</blockquote> <pre class="literal-block">\providecommand*{\LGR@ifnextchar}[3]{% \let\reserved@d= #1% \def\reserved@a{#2}\def\reserved@b{#3}% diff --git a/language/greek/greek-fontenc/greek-fontenc.html b/language/greek/greek-fontenc/greek-fontenc.html index e0e864507f..6b9caa68f7 100644 --- a/language/greek/greek-fontenc/greek-fontenc.html +++ b/language/greek/greek-fontenc/greek-fontenc.html @@ -628,25 +628,48 @@ version 1.3 of this license or any later version.</p> 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 package provides <a class="reference internal" href="#greek-licr-macros">Greek LICR macros</a> 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>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="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 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>Changelog</h2> +<h2><a class="toc-backref" href="#id19">Changelog</a></h2> <table class="borderless"> <colgroup> <col style="width: 8%" /> -<col style="width: 15%" /> -<col style="width: 77%" /> +<col style="width: 14%" /> +<col style="width: 78%" /> </colgroup> <tbody> <tr><td><p>0.9</p></td> @@ -796,25 +819,67 @@ Rename <span class="docutils literal"><span class="pre">greek-euenc</span></span <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>TeX files</h2> -<dl class="simple"> -<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><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> -</dl> -<dl id="lgr-font-encoding-definition-file"> +<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 @@ -824,41 +889,50 @@ engine.</p> <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> -<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> +</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>Documentation and test documents</h2> -<dl> -<dt><cite>textalpha</cite> 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></p> +<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><cite>alphabeta</cite> 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></p> +<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>Test and usage example</dt> -<dd><p><a class="reference external" href="lgrenc-test.tex">lgrenc-test.tex</a>, <a class="reference external" href="lgrenc-test.pdf">lgrenc-test.pdf</a></p> +<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>Font setup for Greek with XeTeX/LuaTeX</dt> -<dd><p><a class="reference external" href="tuenc-greek-doc.tex">tuenc-greek-doc.tex</a>, <a class="reference external" href="tuenc-greek-doc.pdf">tuenc-greek-doc.pdf</a></p> +<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>Greek script in PDF metadata</dt> -<dd><p><a class="reference external" href="greekhyperref.tex">greekhyperref.tex</a>, <a class="reference external" href="greekhyperref.pdf">greekhyperref.pdf</a></p> -<p>The package <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> defines the PU font encoding which also supports -(monotonic) Greek.</p> +<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>Experimental files</h2> +<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"> @@ -868,8 +942,8 @@ with other packages or removed in future versions:</p> </dl> </section> <section id="installation"> -<h2>Installation</h2> -<p>If possible, get this package from your distribution using its 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"> @@ -880,30 +954,36 @@ the current working directory (e.g. for testing).</p></li> </ul> </section> <section id="conflicts"> -<h2>Conflicts</h2> +<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>Usage</h2> +<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 package, e.g.:</p> +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></p> -<pre class="literal-block">\usepackage[normalize-symbols]{textalpha}</pre> -<p>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> +<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="tuenc-greek-doc.tex">tuenc-greek-doc.tex</a> and <a class="reference external" href="tuenc-greek-doc.pdf">tuenc-greek-doc.pdf</a> +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> @@ -912,31 +992,23 @@ 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>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>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="lgrenc-test.tex">lgrenc-test.tex</a> for an example.</p> +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 -<a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> and <a class="reference internal" href="#textalpha">textalpha</a> or <a class="reference internal" href="#alphabeta">alphabeta</a>, e.g.</p> +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="tuenc-greek-doc.tex">tuenc-greek-doc.tex</a>, <a class="reference external" href="tuenc-greek-doc.pdf">tuenc-greek-doc.pdf</a> and -<a class="reference external" href="lgrenc-test.tex">lgrenc-test.tex</a>, <a class="reference external" href="lgrenc-test.pdf">lgrenc-test.pdf</a>.</p> +<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> @@ -955,19 +1027,19 @@ is loaded after <span class="docutils literal">arabic</span>:</p> \renewcommand{\omega}{\mathomega}</pre> </section> <section id="greek-text-font-encodings"> -<h2>Greek text font encodings</h2> +<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>, <a class="reference internal" href="#eu1-eu2">EU1, EU2</a>, and PU (<a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a>).</p> +encodings <a class="reference internal" href="#tu">TU</a>, and <a class="reference internal" href="#pu">PU</a>.</p> <section id="t7"> -<h3>T7</h3> +<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>LGR</h3> +<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> @@ -988,7 +1060,7 @@ font-encoding comprising Latin and Greek like the envisaged <a class="reference Unicode (with XeTeX or LuaTeX).</p> </section> <section id="lgi"> -<h3>LGI</h3> +<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> @@ -996,30 +1068,49 @@ It is currently not supported by <cite>greek-fontenc</cite>.</p> setup (without any LICR macros or composite definitions).</p> </section> <section id="tu"> -<h3>TU</h3> +<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). <cite>greek-fontenc</cite> adds support for the Greek script (see -<a class="reference internal" href="#tuenc-greek">tuenc-greek</a>).</p> +(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="eu1-eu2"> -<h3>EU1, EU2</h3> -<p>Legacy Unicode font encodings for XeTeX and LuaTeX respectively. Superseded -by <a class="reference internal" href="#tu">TU</a>.</p> +<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="greek-licr-macros"> -<h2>Greek LICR macros</h2> -<p>This package provides LaTeX internal character representations (LICR macros) +<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>letters and symbols</h3> +<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> @@ -1107,7 +1198,7 @@ additional packages (e.g. <a class="reference external" href="alphabeta.sty">alp </ul> </section> <section id="accent-macros"> -<h3>accent macros</h3> +<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">\' \" ... \u \v ...</span>) .</p></li> @@ -1131,7 +1222,7 @@ provided. (The non-standard macros <span class="docutils literal">\<</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>symbol variants</h3> +<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 @@ -1158,8 +1249,9 @@ the corresponding letter with the <span class="docutils literal"><span class="pr variants).</p></li> </ul> </section> +</section> <section id="references"> -<h3>References</h3> +<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> @@ -1168,9 +1260,6 @@ 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> -<p>Aliases from <span class="docutils literal">puenc.def</span> ensure that the <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> package can convert -Greek text in “LICR encoding” to a PDF-string (utf-8 encoded input is used -as-is).</p> <dl class="citation"> <dt class="label" id="fntguide"><span class="brackets"><a class="fn-backref" href="#id6">fntguide</a></span></dt> <dd><p>LaTeX3 Project Team, <cite>LaTeX2ε font selection</cite>, 2005. @@ -1195,6 +1284,10 @@ of the babel package</cite>, 1997. <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. @@ -1202,7 +1295,6 @@ encoding</cite> Εὔτυπον, τεῦχος № 20, 2008. </dd> </dl> </section> -</section> </main> </body> </html> diff --git a/language/greek/greek-fontenc/greekhyperref.pdf b/language/greek/greek-fontenc/greekhyperref.pdf Binary files differdeleted file mode 100644 index 3d5f049461..0000000000 --- a/language/greek/greek-fontenc/greekhyperref.pdf +++ /dev/null diff --git a/language/greek/greek-fontenc/greekhyperref.tex b/language/greek/greek-fontenc/greekhyperref.tex deleted file mode 100644 index ed3c8b5cb3..0000000000 --- a/language/greek/greek-fontenc/greekhyperref.tex +++ /dev/null @@ -1,127 +0,0 @@ -\documentclass{article} -\usepackage{fixltx2e} % LaTeX patches, \textsubscript -\usepackage{cmap} % fix search and cut-and-paste in Acrobat -\usepackage[LGR,T1]{fontenc} -\usepackage{lmodern} - -\usepackage[unicode,colorlinks=true,linkcolor=blue]{hyperref} -\usepackage{bookmark} - -\usepackage[greek,english]{babel} -\usepackage{alphabeta} -\usepackage[utf8]{inputenc} - - -% \pagestyle{headings} - -\begin{document} - -\title{Greek and hyperref} -\maketitle - -\noindent -On 2010-11-05, Heiko Oberdiek wrote in comp.text.tex: -% -\begin{quote} - \textbackslash pdfstringdef (converting TeX code to PDF strings for - bookmarks) supports NFSS2 and needs active characters. Encoding - stuff based on the internal font machinery of TeX (letters with - catcode 11 or 12, ligatures) does not work, because the strings - don't reach TeX's stomach. -\end{quote} -% -The \emph{greek-fontenc} package allows input of Greek characters in a way -that ``reaches TeX's stomach'' and hence works in both, the main document as -well as in PDF strings (e.g. bookmarks). Hyperref's ``puenc.def`` font -encoding file defines LICR macros for monotonic Greek (Greek characters of -the ``Greek and Coptic'' unicode block). - -All utf8-encoded literal Unicode characters work in PDF strings. With -\emph{greek-fontenc} and \emph{greek-inputenc}, this enables use of all -Greek character in text and PDF strings. - -\section{Transcription: \ensuregreek{logos}, \foreignlanguage{greek}{logos}} - -\textbackslash{}textgreek + LGR transcription or -Greek language (babel) + LGR transcription: -In the PDF-bookmark are Latin letters instead of Greek ones. - - -\section{Macros: - \textlambda\textomicron\textgamma\textomicron\textvarsigma{}, - \lambda\omicron\gamma\omicron\varsigma{}, - λογος} - -textalpha package with \textbackslash{}textgreek* macros, -alphabeta package with \textbackslash{}alpha ... \textbackslash{}Omega macros, -and literal Greek Unicode characters. - -Works, if the ``unicode'' or ``pdfencoding=auto'' option is given to hyperref. -(With the ``xpdf'' viewer, Greek letters are not shown in PDF bookmarks.) - -The generic short macros from the \emph{alphabeta} package result in -hyperref warnings. See ``alphabeta-doc.tex`` and ``alphabeta-doc.pdf`` -from the `lgrx` package for details an workarounds. - - -\section{LGR + Macros: \foreignlanguage{greek}{ - \textlambda\textomicron\textgamma\textomicron\textvarsigma{}}} - -LICR-macro input works also if the font encoding is LGR. - -\section{% - Kerning: \textAlpha\textUpsilon\textLambda{} - \ensuregreek{\textAlpha\textUpsilon\textLambda} - \foreignlanguage{greek}{\textAlpha\textUpsilon\textLambda}% -} - -Kerning is impossible if the font encoding is switched for every single -character. Wrap the Greek part in a command switching to LGR font encoding -to fix this, either \verb+\ensuregreek{...}+ (with package textalpha) or -\verb+\foreignlanguage{greek}{...}+ (with babel). - -% letters of the Greek and Coptic Unicode Block supported by LGR: -\newcommand{\GreekAndCoptic}{ʹ͵ͺ; ΄ ΅ Ά·ΈΉΊΌΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫϘϚϜϠ} -\newcommand{\greekandcoptic}{άέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώϙϛϝϟϡ} - -\section{Literal Unicode input} -The following subsection headings contain all characters from the ``Greek -and Coptic'' and ``Greek Extended'' Unicode Blocks that are supported by the -LGR font encoding as literal Unicode characters. -\subsection{\GreekAndCoptic} -\subsection{\greekandcoptic} -\subsection{ἀἁἂἃἄἅἆἇἈἉἊἋἌἍἎἏ ἐἑἒἓἔἕἘἙἚἛἜἝ} -\subsection{ἠἡἢἣἤἥἦἧἨἩἪἫἬἭἮἯ ἰἱἲἳἴἵἶἷἸἹἺἻἼἽἾἿ} -\subsection{ὀὁὂὃὄὅὈὉὊὋὌὍ ὐὑὒὓὔὕὖὗὙὛὝὟ} -\subsection{ὠὡὢὣὤὥὦὧὨὩὪὫὬὭὮὯ ὰάὲέὴήὶίὸόὺύὼώ} -\subsection{ᾀᾁᾂᾃᾄᾅᾆᾇᾈᾉᾊᾋᾌᾍᾎᾏ ᾐᾑᾒᾓᾔᾕᾖᾗᾘᾙᾚᾛᾜᾝᾞᾟ} -\subsection{ᾠᾡᾢᾣᾤᾥᾦᾧᾨᾩᾪᾫᾬᾭᾮᾯ ᾰᾱᾲᾳᾴᾶᾷᾸᾹᾺΆᾼ᾽ι᾿} -\subsection{῀῁ῂῃῄῆῇῈΈῊΉῌ῍῎῏ ῐῑῒΐῖῗῘῙῚΊ῝῞῟} -\subsection{ῠῡῢΰῤῥῦῧῨῩῪΎῬ῭΅` ῲῳῴῶῷῸΌῺΏῼ´῾} - -\section{non-standard and combined diacritics: - \ensuregreek{\>\textalpha \'"\textalpha}} - -Currently, there is no hyperref support for LICR input with non-standard -accents or combined diacritics characters. Input as literal precomposed -Unicode character works fine. - -\section{Makeuppercase} - -According to Greek typesetting conventions, -diacritics (except the dialytika) are dropped in ALL CAPS. - -However, \verb|\Makeuppercase| is not supported in PDF-strings, so we -do not need to care for this. - -\section{Conclusion} - -For Greek text parts in section headers use either literal Unicode -characters or macros. For multi-accented letters or non-standard accents, -use literal pre-composed Unicode characters. (Combining Unicode characters -do not work with inputenc and 8-bit LaTeX. This is a general restriction.) - -For proper kerning in the main document, combine this with the -\verb+\textgreek+ or \verb+\foreignlanguage{greek}+ macros. - -\end{document} diff --git a/language/greek/greek-fontenc/hyperref-with-greek.pdf b/language/greek/greek-fontenc/hyperref-with-greek.pdf Binary files differnew file mode 100644 index 0000000000..f187a8d635 --- /dev/null +++ b/language/greek/greek-fontenc/hyperref-with-greek.pdf diff --git a/language/greek/greek-fontenc/hyperref-with-greek.tex b/language/greek/greek-fontenc/hyperref-with-greek.tex new file mode 100644 index 0000000000..e0c8d94b15 --- /dev/null +++ b/language/greek/greek-fontenc/hyperref-with-greek.tex @@ -0,0 +1,509 @@ +\documentclass{article} +\usepackage[LGR,T1]{fontenc} +\usepackage{lmodern} + +\usepackage[unicode,colorlinks=true,linkcolor=blue]{hyperref} +% \usepackage{bookmark} + +\usepackage[greek,english]{babel} +\usepackage[normalize-symbols]{alphabeta} +\usepackage[utf8]{inputenc} + +% \pagestyle{headings} + +\begin{document} + +\title{Greek and hyperref} +\author{Günter Milde} +\date{2020/10/30} +\maketitle + +\noindent +On 2010-11-05, Heiko Oberdiek wrote in comp.text.tex: +% +\begin{quote} + \textbackslash pdfstringdef (converting TeX code to PDF strings for + bookmarks) supports NFSS2 and needs active characters. Encoding + stuff based on the internal font machinery of TeX (letters with + catcode 11 or 12, ligatures) does not work, because the strings + don't reach TeX's stomach. +\end{quote} +% +The \emph{greek-fontenc} package allows input of Greek characters in a way +that ``reaches TeX's stomach'' and hence works in both, the main document as +well as in PDF strings (e.g. bookmarks). Hyperref's ``puenc.def`` font +encoding file defines LICR macros for monotonic Greek (Greek characters of +the ``Greek and Coptic'' unicode block). + +All utf8-encoded literal Unicode characters work in PDF strings. With +\emph{greek-fontenc} and \emph{greek-inputenc}, this enables use of all +Greek character in text and PDF strings. + +\section{Transcription: \ensuregreek{logos}, \foreignlanguage{greek}{logos}} + +\textbackslash{}textgreek + LGR transcription or +Greek language (babel) + LGR transcription: +In the PDF-bookmark are Latin letters instead of Greek ones. + + +\section{Macros: + \textlambda\textomicron\textgamma\textomicron\textvarsigma{}, + \lambda\omicron\gamma\omicron\varsigma{}, + λογος} + +\emph{textalpha} package with \textbackslash{}textalpha \ldots +\textbackslash{}textomega macros or \emph{alphabeta} package with +\textbackslash{}alpha \ldots \textbackslash{}Omega macros. With 8-bit TeX +engines (pdflatex), literal Greek Unicode characters are converted to LICR +Macros, too. + +Works, if the \texttt{unicode} or \texttt{pdfencoding=auto} option is given +to \emph{hyperref}.% +\footnote{With the ``xpdf'' viewer, Greek letters are not shown + in PDF bookmarks.} + +The generic short macros from the \emph{alphabeta} package result in +hyperref warnings. See \href{alphabeta-doc.pdf}{alphabeta-doc.pdf} and +\href{alphabeta-doc.tex}{alphabeta-doc.tex} +for details and workarounds. + + +\section{LGR + Macros: \foreignlanguage{greek}{ + \textlambda\textomicron\textgamma\textomicron\textvarsigma{}}} + +LICR-macro input works also if the font encoding is LGR. + +\section{% + Kerning: \textAlpha\textUpsilon\textLambda{} + \ensuregreek{\textAlpha\textUpsilon\textLambda} + \foreignlanguage{greek}{\textAlpha\textUpsilon\textLambda}% +} + +Kerning is impossible if the font encoding is switched for every single +character. To fix this, wrap the Greek part in a command switching to a font +encoding supporting Greek, either \verb+\ensuregreek{...}+ (with package +\emph{textalpha} or \emph{Babel}) or \verb+\foreignlanguage{greek}{...}+ +(with \emph{Babel}). + +\section{Literal Unicode input} +The following subsection headings contain all characters from the ``Greek +and Coptic'' and ``Greek Extended'' Unicode Blocks that are supported by the +LGR font encoding. +\subsection{ʹ͵ͺ; ΄ ΅ Ά·ΈΉΊΌΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝ} +\subsection{ΞΟΠΡΣΤΥΦΧΨΩΪΫϘϚϜϠ} +Greek and Coptic Unicode block: punctuation and uppercase letters + +\subsection{άέήίΰαβγδεζηθικλμν} +\subsection{ξοπρςστυφχψωϊϋόύώϐϑϕϖϘϙϛϝϟϡ} + +Greek and Coptic Unicode block: lowercase letters + +\subsection{ἀἁἂἃἄἅἆἇἈἉἊἋἌἍἎἏ} +\subsection{ἐἑἒἓἔἕἘἙἚἛἜἝ} +\subsection{ἠἡἢἣἤἥἦἧἨἩἪἫἬἭἮἯ} +\subsection{ἰἱἲἳἴἵἶἷἸἹἺἻἼἽἾἿ} +\subsection{ὀὁὂὃὄὅὈὉὊὋὌὍ} +\subsection{ὐὑὒὓὔὕὖὗὙὛὝὟ} +\subsection{ὠὡὢὣὤὥὦὧὨὩὪὫὬὭὮὯ} +\subsection{ὰάὲέὴήὶίὸόὺύὼώ} +\subsection{ᾀᾁᾂᾃᾄᾅᾆᾇᾈᾉᾊᾋᾌᾍᾎᾏ} +\subsection{ᾐᾑᾒᾓᾔᾕᾖᾗᾘᾙᾚᾛᾜᾝᾞᾟ} +\subsection{ᾠᾡᾢᾣᾤᾥᾦᾧᾨᾩᾪᾫᾬᾭᾮᾯ} +\subsection{ᾰᾱᾲᾳᾴᾶᾷᾸᾹᾺΆᾼ᾽ι᾿} +\subsection{῀῁ῂῃῄῆῇῈΈῊΉῌ῍῎῏} +\subsection{ῐῑῒΐῖῗῘῙῚΊ῝῞῟} +\subsection{ῠῡῢΰῤῥῦῧῨῩῪΎῬ῭΅`} +\subsection{ῲῳῴῶῷῸΌῺΏῼ´῾} + +Greek Extended Unicode block: Input as literal precomposed Unicode character +works fine. + +\section{LICR command input} + +\subsection{\ensuregreek{ + \textnumeralsigngreek + \textnumeralsignlowergreek + { }\ypogegrammeni + \texterotimatiko + \acctonos{ } + \"'{ } + \'\textAlpha + \textanoteleia + \'\textEpsilon + \'\textEta + \'\textIota + \'\textOmicron + \'\textUpsilon + \'\textOmega + \'"\textiota + \textAlpha + \textBeta + \textGamma + \textDelta + \textEpsilon + \textZeta + \textEta + \textTheta + \textIota + \textKappa + \textLambda + \textMu + \textNu}} +\subsection{\ensuregreek{ + \textXi + \textOmicron + \textPi + \textRho + \textSigma + \textTau + \textUpsilon + \textPhi + \textChi + \textPsi + \textOmega + \"\textIota + \"\textUpsilon +}} + +\subsection{\ensuregreek{ + \'\textalpha + \'\textepsilon + \'\texteta + \'\textiota + \"'\textupsilon + \textalpha + \textbeta + \textgamma + \textdelta + \textepsilon + \textzeta + \texteta + \texttheta + \textiota + \textkappa + \textlambda + \textmu + \textnu}} +\subsection{\ensuregreek{ + \textxi + \textomicron + \textpi + \textrho + \textvarsigma + \textsigma + \texttau + \textupsilon + \textphi + \textchi + \textpsi + \textomega + \"\textiota + \"\textupsilon + \'\textomicron + \'\textupsilon + \'\textomega + \textbetasymbol + \textthetasymbol + \textphisymbol + \textpisymbol + \textQoppa + \textqoppa + \textStigma + \textstigma + \textDigamma + \textdigamma + \textKoppa + \textkoppa + \textSampi + \textsampi +}} + + +Currently, there is no hyperref support for LICR input with non-standard +accents or combined diacritics characters. + +\subsection{\ensuregreek{ + \accpsili\textalpha + \accdasia\textalpha + \accpsili`\textalpha + \accdasia`\textalpha + \accpsili'\textalpha + \accdasia'\textalpha + \~>\textalpha + \~<\textalpha + \accpsili\textAlpha + \accdasia\textAlpha + \accpsili`\textAlpha + \accdasia`\textAlpha + \accpsili'\textAlpha + \accdasia'\textAlpha + \~>\textAlpha + \~<\textAlpha +}} +\subsection{\ensuregreek{ + \accpsili\textepsilon + \accdasia\textepsilon + \accpsili`\textepsilon + \accdasia`\textepsilon + \accpsili'\textepsilon + \accdasia'\textepsilon + \accpsili\textEpsilon + \accdasia\textEpsilon + \accpsili`\textEpsilon + \accdasia`\textEpsilon + \accpsili'\textEpsilon + \accdasia'\textEpsilon +}} +\subsection{\ensuregreek{ + \accpsili\texteta + \accdasia\texteta + \accpsili`\texteta + \accdasia`\texteta + \accpsili'\texteta + \accdasia'\texteta + \~>\texteta + \~<\texteta + \accpsili\textEta + \accdasia\textEta + \accpsili`\textEta + \accdasia`\textEta + \accpsili'\textEta + \accdasia'\textEta + \~>\textEta + \~<\textEta +}} +\subsection{\ensuregreek{ + \accpsili\textiota + \accdasia\textiota + \accpsili`\textiota + \accdasia`\textiota + \accpsili'\textiota + \accdasia'\textiota + \~>\textiota + \~<\textiota + \accpsili\textIota + \accdasia\textIota + \accpsili`\textIota + \accdasia`\textIota + \accpsili'\textIota + \accdasia'\textIota + \~>\textIota + \~<\textIota +}} +\subsection{\ensuregreek{ + \accpsili\textomicron + \accdasia\textomicron + \accpsili`\textomicron + \accdasia`\textomicron + \accpsili'\textomicron + \accdasia'\textomicron + \accpsili\textOmicron + \accdasia\textOmicron + \accpsili`\textOmicron + \accdasia`\textOmicron + \accpsili'\textOmicron + \accdasia'\textOmicron +}} +\subsection{\ensuregreek{ + \accpsili\textupsilon + \accdasia\textupsilon + \accpsili`\textupsilon + \accdasia`\textupsilon + \accpsili'\textupsilon + \accdasia'\textupsilon + \~>\textupsilon + \~<\textupsilon + \accdasia\textUpsilon + \accdasia`\textUpsilon + \accdasia'\textUpsilon + \~<\textUpsilon +}} +\subsection{\ensuregreek{ + \accpsili\textomega + \accdasia\textomega + \accpsili`\textomega + \accdasia`\textomega + \accpsili'\textomega + \accdasia'\textomega + \~>\textomega + \~<\textomega + \accpsili\textOmega + \accdasia\textOmega + \accpsili`\textOmega + \accdasia`\textOmega + \accpsili'\textOmega + \accdasia'\textOmega + \~>\textOmega + \~<\textOmega +}} +\subsection{\ensuregreek{ + \accvaria\textalpha + \accoxia\textalpha + \accvaria\textepsilon + \accoxia\textepsilon + \accvaria\texteta + \accoxia\texteta + \accvaria\textiota + \accoxia\textiota + \accvaria\textomicron + \accoxia\textomicron + \accvaria\textupsilon + \accoxia\textupsilon + \accvaria\textomega + \accoxia\textomega +}} +\subsection{\ensuregreek{ + \accpsili\textalpha\ypogegrammeni + \accdasia\textalpha\ypogegrammeni + \accpsili`\textalpha\ypogegrammeni + \accdasia`\textalpha\ypogegrammeni + \accpsili'\textalpha\ypogegrammeni + \accdasia'\textalpha\ypogegrammeni + \~>\textalpha\ypogegrammeni + \~<\textalpha\ypogegrammeni + \accpsili\textAlpha\ypogegrammeni + \accdasia\textAlpha\ypogegrammeni + \accpsili`\textAlpha\ypogegrammeni + \accdasia`\textAlpha\ypogegrammeni + \accpsili'\textAlpha\ypogegrammeni + \accdasia'\textAlpha\ypogegrammeni + \~>\textAlpha\ypogegrammeni + \~<\textAlpha\ypogegrammeni +}} +\subsection{\ensuregreek{ + \accpsili\texteta\ypogegrammeni + \accdasia\texteta\ypogegrammeni + \accpsili`\texteta\ypogegrammeni + \accdasia`\texteta\ypogegrammeni + \accpsili'\texteta\ypogegrammeni + \accdasia'\texteta\ypogegrammeni + \~>\texteta\ypogegrammeni + \~<\texteta\ypogegrammeni + \accpsili\textEta\ypogegrammeni + \accdasia\textEta\ypogegrammeni + \accpsili`\textEta\ypogegrammeni + \accdasia`\textEta\ypogegrammeni + \accpsili'\textEta\ypogegrammeni + \accdasia'\textEta\ypogegrammeni + \~>\textEta\ypogegrammeni + \~<\textEta\ypogegrammeni +}} +\subsection{\ensuregreek{ + \accpsili\textomega\ypogegrammeni + \accdasia\textomega\ypogegrammeni + \accpsili`\textomega\ypogegrammeni + \accdasia`\textomega\ypogegrammeni + \accpsili'\textomega\ypogegrammeni + \accdasia'\textomega\ypogegrammeni + \~>\textomega\ypogegrammeni + \~<\textomega\ypogegrammeni + \accpsili\textOmega\ypogegrammeni + \accdasia\textOmega\ypogegrammeni + \accpsili`\textOmega\ypogegrammeni + \accdasia`\textOmega\ypogegrammeni + \accpsili'\textOmega\ypogegrammeni + \accdasia'\textOmega\ypogegrammeni + \~>\textOmega\ypogegrammeni + \~<\textOmega\ypogegrammeni +}} +\subsection{\ensuregreek{ + \u\textalpha + \=\textalpha + \accvaria\textalpha\ypogegrammeni + \textalpha\ypogegrammeni + \accoxia\textalpha\ypogegrammeni + \~\textalpha + \~\textalpha\ypogegrammeni + \u\textAlpha + \=\textAlpha + \accvaria\textAlpha + \accoxia\textAlpha + \textAlpha\ypogegrammeni + \accpsili{ } + { }\prosgegrammeni + \accpsili{ } +}} +\subsection{\ensuregreek{ + \accperispomeni\textcompwordmark + \"\~{ } + \accvaria\texteta\ypogegrammeni + \texteta\ypogegrammeni + \accoxia\texteta\ypogegrammeni + \~\texteta + \~\texteta\ypogegrammeni + \accvaria\textEpsilon + \accoxia\textEpsilon + \accvaria\textEta + \accoxia\textEta + \textEta\ypogegrammeni + \accpsili`{ } + \accpsili'{ } + \~>{ } +}} +\subsection{\ensuregreek{ + \u\textiota + \=\textiota + \`"\textiota + \'"\textiota + \~\textiota + \~"\textiota + \u\textIota + \=\textIota + \accvaria\textIota + \accoxia\textIota + \accdasia`{ } + \accpsili'{ } + \~<{ } +}} +\subsection{\ensuregreek{ + \u\textupsilon + \=\textupsilon + \`"\textupsilon + \'"\textupsilon + \accpsili\textrho + \accdasia\textrho + \~\textupsilon + \~"\textupsilon + \u\textUpsilon + \=\textUpsilon + \accvaria\textUpsilon + \accoxia\textUpsilon + \accdasia\textRho + \`"{ } + \'"{ } + \accvaria{ } +}} +\subsection{\ensuregreek{ + \accvaria\textomega\ypogegrammeni + \textomega\ypogegrammeni + \accoxia\textomega\ypogegrammeni + \~\textomega + \~\textomega\ypogegrammeni + \accvaria\textOmicron + \accoxia\textOmicron + \accvaria\textOmega + \accoxia\textOmega + \textOmega\ypogegrammeni + \accoxia{ } + \accdasia{ } +}} + +\section{Makeuppercase} + +According to Greek typesetting conventions, +diacritics (except the dialytika) are dropped in ALL CAPS. + +However, \verb|\Makeuppercase| is not supported in PDF-strings, so we +do not need to care for this. + +\section{Conclusion} + +For Greek text parts in section headers use either literal Unicode +characters% +\footnote{Pre-composed Unicode characters must be used for multi-accented +letters or non-standard accents. Combining Unicode characters do not work +with inputenc and 8-bit LaTeX – this is a general restriction.} or macros. +For proper kerning in the main document, combine this with the +\verb+\textgreek+ or \verb+\foreignlanguage{greek}+ macros. + +\end{document} diff --git a/language/greek/greek-fontenc/lgrenc-test.pdf b/language/greek/greek-fontenc/lgrenc-test.pdf Binary files differdeleted file mode 100644 index 48be697a74..0000000000 --- a/language/greek/greek-fontenc/lgrenc-test.pdf +++ /dev/null diff --git a/language/greek/greek-fontenc/lgrenc.def b/language/greek/greek-fontenc/lgrenc.def index 3834be2e55..a5a9e9d315 100644 --- a/language/greek/greek-fontenc/lgrenc.def +++ b/language/greek/greek-fontenc/lgrenc.def @@ -17,7 +17,6 @@ % % .. contents:: % -% % Changelog % --------- % @@ -55,8 +54,9 @@ % 0.13 2015-08-04 Support for symbol variants. % 0.13.1 2015-12-07 Fix `rho with dasia bug` (Linus Romer). % 0.13.3 2019-07-09 Drop error font declaration (cf. `ltxbugs 4399`_). -% 1.0 2020/09/25 ``\textKoppa`` as alias for ``\textkoppa`` +% 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``. % ====== ============ ======================================================== % % Usage @@ -91,13 +91,12 @@ \expandafter\endinput % "return" } - % Identification % ~~~~~~~~~~~~~~ % :: \ProvidesFile{lgrenc.def} -[2020/09/25 1.0 LGR Greek font encoding definitions] +[2020/10/13 2.0 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 @@ -182,8 +181,7 @@ \DeclareTextSymbol{\textpi}{LGR}{112} \DeclareTextSymbol{\textrho}{LGR}{114} \DeclareTextCommand{\textsigma}{LGR}{s\noboundary} % σ -\DeclareTextSymbol{\textvarsigma}{LGR}{99} % ς final sigma -\DeclareTextCommand{\textfinalsigma}{LGR}{\textvarsigma} % ς final sigma +\DeclareTextSymbol{\textfinalsigma}{LGR}{99} % ς final sigma \DeclareTextSymbol{\textautosigma}{LGR}{115} % σ (ς at end of word) \DeclareTextSymbol{\texttau}{LGR}{116} \DeclareTextSymbol{\textupsilon}{LGR}{117} @@ -210,14 +208,19 @@ % Archaic letters % ''''''''''''''' -% Names after teubner_ and ucs_:: +% Names after teubner_ and ucs_. +% +% ϟ (capital numeral koppa) not distinct in LGR but required for +% ``\Greeknumeral`` in babel-greek_ +% (defining as alias command calling ``\textkoppa`` leads to an infinte loop +% with ``\MakeUppercase``):: \DeclareTextSymbol{\textstigma}{LGR}{6} % ϛ \DeclareTextSymbol{\textvarstigma}{LGR}{7} % stigma variant (CB.enc, teubner) -\DeclareTextSymbol{\textkoppa}{LGR}{18} % ϟ (greek small letter koppa) -\DeclareTextSymbol{\textKoppa}{LGR}{18} % ϟ (capital numerical koppa) not distinct in LGR -\DeclareTextSymbol{\textqoppa}{LGR}{19} % ϙ (archaic koppa) -\DeclareTextSymbol{\textQoppa}{LGR}{21} % Ϙ (archaic Koppa) +\DeclareTextSymbol{\textKoppa}{LGR}{18} % Ϟ Greek letter Koppa +\DeclareTextSymbol{\textkoppa}{LGR}{18} % ϟ Greek small letter koppa +\DeclareTextSymbol{\textqoppa}{LGR}{19} % ϙ archaic koppa +\DeclareTextSymbol{\textQoppa}{LGR}{21} % Ϙ archaic Koppa \DeclareTextSymbol{\textStigma}{LGR}{22} % Ϛ in some fonts ϹΤ ligature \DeclareTextSymbol{\textSampi}{LGR}{23} % Ϡ \DeclareTextSymbol{\textsampi}{LGR}{27} % ϡ @@ -226,7 +229,6 @@ \DeclareTextSymbol{\textdigamma}{LGR}{147} % ϝ (ucs) \digamma used by amsmath for math-macro \DeclareTextSymbol{\textDigamma}{LGR}{195} % Ϝ (ucs) - % Numeral signs % ''''''''''''' % See also http://en.wikipedia.org/wiki/Greek_numerals @@ -266,15 +268,15 @@ Press <return> to proceed (dropping the symbol from the document).} } -\ProvideTextCommand{\textbetasymbol} {LGR}{\LGR@TextSymbolUnavailable{ϐ beta symbol}} -\ProvideTextCommand{\textkappasymbol}{LGR}{\LGR@TextSymbolUnavailable{ϰ kappa symbol}} -\ProvideTextCommand{\textThetasymbol}{LGR}{\LGR@TextSymbolUnavailable{ϴ Theta symbol}} +\ProvideTextCommand{\textbetasymbol} {LGR}{\LGR@TextSymbolUnavailable{beta symbol}} % ϐ +\ProvideTextCommand{\textkappasymbol}{LGR}{\LGR@TextSymbolUnavailable{kappa symbol}} % ϰ +\ProvideTextCommand{\textThetasymbol}{LGR}{\LGR@TextSymbolUnavailable{Theta symbol}} % ϴ -\ProvideTextCommand{\textthetasymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϑ theta symbol}{$\vartheta$}} -\ProvideTextCommand{\textphisymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϕ phi symbol}{$\phi$}} -\ProvideTextCommand{\textpisymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϖ pi symbol}{$\varpi$}} -\ProvideTextCommand{\textrhosymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϱ rho symbol}{$\varrho$}} -\ProvideTextCommand{\textepsilonsymbol}{LGR}{\LGR@TextSymbolOnlyMath{ϵ lunate epsilon symbol}{$\epsilon$}} +\ProvideTextCommand{\textthetasymbol} {LGR}{\LGR@TextSymbolOnlyMath{theta symbol}{$\vartheta$}} % ϑ +\ProvideTextCommand{\textphisymbol} {LGR}{\LGR@TextSymbolOnlyMath{phi symbol}{$\phi$}} % ϕ +\ProvideTextCommand{\textpisymbol} {LGR}{\LGR@TextSymbolOnlyMath{pi symbol}{$\varpi$}} % ϖ +\ProvideTextCommand{\textrhosymbol} {LGR}{\LGR@TextSymbolOnlyMath{rho symbol}{$\varrho$}} % ϱ +\ProvideTextCommand{\textepsilonsymbol}{LGR}{\LGR@TextSymbolOnlyMath{lunate epsilon symbol}{$\epsilon$}} % ϵ % Other % """"" @@ -312,6 +314,13 @@ \DeclareTextSymbol{\textpercent}{LGR}{37} % % \DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permill in greek.ldf +% The micro sign 00B5 is defined in TS1 (textcomp) and PU (hyperref) +% as ``\textmu``. LGR uses ``\textmu`` for the similar looking +% small Greek letter mu. +% The alias ``\textmicro`` prints in a micro sign and does not upcase:: + +\DeclareTextSymbol{\textmicro}{LGR}{109} % µ + % T3 (tipa):: \DeclareTextSymbol{\textschwa}{LGR}{26} % ə @@ -909,6 +918,7 @@ % .. _alphabeta: alphabeta.sty.html % .. _athnum: http://ctan.org/pkg/athnum % .. _Babel: http://ctan.org/pkg/babel +% .. _babel-greek: http://ctan.org/pkg/babel-greek % .. _babel patch: http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf % .. _fntguide: http://mirror.ctan.org/macros/latex/base/fntguide.pdf % .. _fontenc: http://ctan.org/pkg/fontenc @@ -925,4 +935,3 @@ % .. _xunicode: http://ctan.org/pkg/xunicode % .. _ltxbugs 4399: % https://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex%2F4399&search= -% diff --git a/language/greek/greek-fontenc/lgrenc.def.html b/language/greek/greek-fontenc/lgrenc.def.html index 0cc5230663..d9d95697cb 100644 --- a/language/greek/greek-fontenc/lgrenc.def.html +++ b/language/greek/greek-fontenc/lgrenc.def.html @@ -806,10 +806,14 @@ package.</p> <td><p>Drop error font declaration (cf. <a class="reference external" href="https://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex%2F4399&search=">ltxbugs 4399</a>).</p></td> </tr> <tr><td><p>1.0</p></td> -<td><p>2020/09/25</p></td> +<td><p>2020-09-25</p></td> <td><p><span class="docutils literal">\textKoppa</span> as alias for <span class="docutils literal">\textkoppa</span> (there is no capital Koppa in LGR).</p></td> </tr> +<tr><td><p>2.0</p></td> +<td><p>2020-10-13</p></td> +<td><p>Move common alias definitions to <span class="docutils literal"><span class="pre">greek-fontenc.def</span></span>.</p></td> +</tr> </tbody> </table> </section> @@ -848,7 +852,7 @@ anyway.</p> <section id="identification"> <h3><a class="toc-backref" href="#id6">Identification</a></h3> <pre class="literal-block">\ProvidesFile{lgrenc.def} -[2020/09/25 1.0 LGR Greek font encoding definitions] +[2020/10/13 2.0 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 @@ -920,8 +924,7 @@ encoding.</p> \DeclareTextSymbol{\textpi}{LGR}{112} \DeclareTextSymbol{\textrho}{LGR}{114} \DeclareTextCommand{\textsigma}{LGR}{s\noboundary} % σ -\DeclareTextSymbol{\textvarsigma}{LGR}{99} % ς final sigma -\DeclareTextCommand{\textfinalsigma}{LGR}{\textvarsigma} % ς final sigma +\DeclareTextSymbol{\textfinalsigma}{LGR}{99} % ς final sigma \DeclareTextSymbol{\textautosigma}{LGR}{115} % σ (ς at end of word) \DeclareTextSymbol{\texttau}{LGR}{116} \DeclareTextSymbol{\textupsilon}{LGR}{117} @@ -943,13 +946,17 @@ encoding.</p> </section> <section id="archaic-letters"> <h5><a class="toc-backref" href="#id12">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>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> +(defining as alias command calling <span class="docutils literal">\textkoppa</span> leads to an infinte loop +with <span class="docutils literal">\MakeUppercase</span>):</p> <pre class="literal-block">\DeclareTextSymbol{\textstigma}{LGR}{6} % ϛ \DeclareTextSymbol{\textvarstigma}{LGR}{7} % stigma variant (CB.enc, teubner) -\DeclareTextSymbol{\textkoppa}{LGR}{18} % ϟ (greek small letter koppa) -\DeclareTextSymbol{\textKoppa}{LGR}{18} % ϟ (capital numerical koppa) not distinct in LGR -\DeclareTextSymbol{\textqoppa}{LGR}{19} % ϙ (archaic koppa) -\DeclareTextSymbol{\textQoppa}{LGR}{21} % Ϙ (archaic Koppa) +\DeclareTextSymbol{\textKoppa}{LGR}{18} % Ϟ Greek letter Koppa +\DeclareTextSymbol{\textkoppa}{LGR}{18} % ϟ Greek small letter koppa +\DeclareTextSymbol{\textqoppa}{LGR}{19} % ϙ archaic koppa +\DeclareTextSymbol{\textQoppa}{LGR}{21} % Ϙ archaic Koppa \DeclareTextSymbol{\textStigma}{LGR}{22} % Ϛ in some fonts ϹΤ ligature \DeclareTextSymbol{\textSampi}{LGR}{23} % Ϡ \DeclareTextSymbol{\textsampi}{LGR}{27} % ϡ @@ -992,15 +999,15 @@ provide fallback LICR macros with detailed error reporting:</p> Press <return> to proceed (dropping the symbol from the document).} } -\ProvideTextCommand{\textbetasymbol} {LGR}{\LGR@TextSymbolUnavailable{ϐ beta symbol}} -\ProvideTextCommand{\textkappasymbol}{LGR}{\LGR@TextSymbolUnavailable{ϰ kappa symbol}} -\ProvideTextCommand{\textThetasymbol}{LGR}{\LGR@TextSymbolUnavailable{ϴ Theta symbol}} +\ProvideTextCommand{\textbetasymbol} {LGR}{\LGR@TextSymbolUnavailable{beta symbol}} % ϐ +\ProvideTextCommand{\textkappasymbol}{LGR}{\LGR@TextSymbolUnavailable{kappa symbol}} % ϰ +\ProvideTextCommand{\textThetasymbol}{LGR}{\LGR@TextSymbolUnavailable{Theta symbol}} % ϴ -\ProvideTextCommand{\textthetasymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϑ theta symbol}{$\vartheta$}} -\ProvideTextCommand{\textphisymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϕ phi symbol}{$\phi$}} -\ProvideTextCommand{\textpisymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϖ pi symbol}{$\varpi$}} -\ProvideTextCommand{\textrhosymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϱ rho symbol}{$\varrho$}} -\ProvideTextCommand{\textepsilonsymbol}{LGR}{\LGR@TextSymbolOnlyMath{ϵ lunate epsilon symbol}{$\epsilon$}}</pre> +\ProvideTextCommand{\textthetasymbol} {LGR}{\LGR@TextSymbolOnlyMath{theta symbol}{$\vartheta$}} % ϑ +\ProvideTextCommand{\textphisymbol} {LGR}{\LGR@TextSymbolOnlyMath{phi symbol}{$\phi$}} % ϕ +\ProvideTextCommand{\textpisymbol} {LGR}{\LGR@TextSymbolOnlyMath{pi symbol}{$\varpi$}} % ϖ +\ProvideTextCommand{\textrhosymbol} {LGR}{\LGR@TextSymbolOnlyMath{rho symbol}{$\varrho$}} % ϱ +\ProvideTextCommand{\textepsilonsymbol}{LGR}{\LGR@TextSymbolOnlyMath{lunate epsilon symbol}{$\epsilon$}} % ϵ</pre> </section> </section> <section id="other"> @@ -1032,6 +1039,11 @@ provide fallback LICR macros with detailed error reporting:</p> \DeclareTextSymbol{\texteuro}{LGR}{24} % € \euro in greek.ldf \DeclareTextSymbol{\textpercent}{LGR}{37} % % \DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permill in greek.ldf</pre> +<p>The micro sign 00B5 is defined in TS1 (textcomp) and PU (hyperref) +as <span class="docutils literal">\textmu</span>. LGR uses <span class="docutils literal">\textmu</span> for the similar looking +small Greek letter mu. +The alias <span class="docutils literal">\textmicro</span> prints in a micro sign and does not upcase:</p> +<pre class="literal-block">\DeclareTextSymbol{\textmicro}{LGR}{109} % µ</pre> <p>T3 (tipa):</p> <pre class="literal-block">\DeclareTextSymbol{\textschwa}{LGR}{26} % ə</pre> <p>T3 also defines some greek letters as well as Latin characters with Greek diff --git a/language/greek/greek-fontenc/puenc-greek.def b/language/greek/greek-fontenc/puenc-greek.def new file mode 100644 index 0000000000..997e9e6635 --- /dev/null +++ b/language/greek/greek-fontenc/puenc-greek.def @@ -0,0 +1,454 @@ +% puenc-greek.def +% +++++++++++++++ +% Greek LICR definitions for PDF strings (hyperref) +% ************************************************* +% +% :Copyright: © 2020 Günter Milde +% :Licence: This work may be distributed and/or modified under the +% conditions of the `LaTeX Project Public License`_, either +% version 1.3 of this license or any later version. +% :Identification: +% :: + +\ProvidesFile{puenc-greek.def} +[2020/10/18 2.0 Greek LICRs for PDF strings] + +% :abstract: +% Support for Greek LICR macros in PDF bookmarks. Extends puenc.def_. +% Used by babel-greek_ and textalpha_. +% +% **History**: +% .. class:: borderless +% +% ====== ========== ======================================================== +% 2.0 2020-10-18 initial version +% ====== ========== ======================================================== +% +% Diacritics +% ========== +% +% Greek alias names for standard accents (without tabacckludge):: + +\DeclareTextCommand{\acctonos}{PU}{\'} +\DeclareTextCommand{\accvaria}{PU}{\`} +\DeclareTextCommand{\accdialytika}{PU}{\"} + +% Use combining characters when no pre-composed character is available: +% +% Breathings and perispomeni:: + +\DeclareTextCommand{\accpsili}{PU}[1]{#1\83\023} % ψιλή spiritus lenis (smooth breathing) +\DeclareTextCommand{\accdasia}{PU}[1]{#1\83\024} % δασεῖα spiritus asper (rough breathing) +\DeclareTextCommand{\accperispomeni}{PU}[1]{#1\83\102} % COMBINING GREEK PERISPOMENI + +% Sub-iota (``\ypogegrammeni``) is a postfix accent (ligature in LGR) :: + +\DeclareTextCommand{\ypogegrammeni}{PU}{\83\105} % COMBINING GREEK YPOGEGRAMMENI + +% Combined diacritics:: + +\DeclareTextCommand{\accdialytikavaria}{PU}[1]{#1\83\010\83\000} +\DeclareTextCommand{\accdialytikatonos}{PU}[1]{#1\83\010\83\001} +\DeclareTextCommand{\accdialytikaperispomeni}{PU}[1]{#1\83\102\83\010} + +\DeclareTextCommand{\accdasiavaria}{PU}[1]{#1\83\024\83\000} +\DeclareTextCommand{\accdasiaoxia}{PU}[1]{#1\83\024\83\001} +\DeclareTextCommand{\accdasiaperispomeni}{PU}[1]{#1\83\024\83\102} + +\DeclareTextCommand{\accpsilivaria}{PU}[1]{#1\83\000\83\023} +\DeclareTextCommand{\accpsilioxia}{PU}[1]{#1\83\001\83\023} +\DeclareTextCommand{\accpsiliperispomeni}{PU}[1]{#1\83\102\83\023} + +% Common Definitions +% ================== +% +% Use the common `Greek font encoding definitions`. +% +% Set the ``\LastDeclaredEncoding`` to PU and read definitions +% from greek-fontenc.def_:: + +\renewcommand*{\LastDeclaredEncoding}{PU} +\input{greek-fontenc.def} + +% Character Definitions +% ===================== +% +% Compatibility defs with LGR +% --------------------------- +% +% Basic Latin:: + +\DeclareTextCommand{\textsemicolon}{PU}{;} % "003B + +% Latin 1 Supplement: +% Distinguish MICRO SIGN from letter mu:: + +\DeclareTextCommand{\textmicro}{PU}{\83\274} % "00B5 MICRO SIGN + + +% Greek and Coptic +% ---------------- +% +% :: + +% 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 % ͷ + +% 037A GREEK YPOGEGRAMMENI (use \textcompwordmark\ypogegrammeni) % ͺ +% 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL +% 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL +% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL + +% Erotimatiko: use 003B SEMICOLON, not 037E GREEK QUESTION MARK; dont use the +% literal char, as it is active with textalpha's "keep-semicolon" option:: + +\DeclareTextCommand{\texterotimatiko}{PU}{\80\073} + +\DeclareTextCompositeCommand{\'}{PU}{\@empty}{\83\204} % ΄ 0384 GREEK TONOS +\DeclareTextCompositeCommand{\'}{PU}{\ }{\83\204} % ΄ 0384 GREEK TONOS +\DeclareTextCompositeCommand{\accdialytikatonos}{PU}{\@empty}{\83\205} +\DeclareTextCompositeCommand{\accdialytikatonos}{PU}{\ }{\83\205} +\DeclareTextCompositeCommand{\'}{PU}{\textAlpha}{\83\206} % Ά +\DeclareTextCommand{\textanoteleia}{PU}{\80\267} % use 00B7 MIDDLE DOT, not 0387 GREEK ANO TELEIA +\DeclareTextCompositeCommand{\'}{PU}{\textEpsilon}{\83\210} % Έ +\DeclareTextCompositeCommand{\'}{PU}{\textEta}{\83\211} % Ή +\DeclareTextCompositeCommand{\'}{PU}{\textIota}{\83\212} % Ί +\DeclareTextCompositeCommand{\'}{PU}{\textOmicron}{\83\214} % Ό +\DeclareTextCompositeCommand{\'}{PU}{\textUpsilon}{\83\216} % Ύ +\DeclareTextCompositeCommand{\'}{PU}{\textOmega}{\83\217} % Ώ +\DeclareTextCompositeCommand{\accdialytikatonos}{PU}{\textiota}{\83\220} % ΐ +\DeclareTextCommand{\textAlpha}{PU}{\83\221} % Α "0391 +\DeclareTextCommand{\textBeta}{PU}{\83\222} % Β "0392 +\DeclareTextCommand{\textGamma}{PU}{\83\223} % Γ "0393 +\DeclareTextCommand{\textDelta}{PU}{\83\224} % Δ "0394 +\DeclareTextCommand{\textEpsilon}{PU}{\83\225} % Ε "0395 +\DeclareTextCommand{\textZeta}{PU}{\83\226} % Ζ "0396 +\DeclareTextCommand{\textEta}{PU}{\83\227} % Η "0397 +\DeclareTextCommand{\textTheta}{PU}{\83\230} % Θ "0398 +\DeclareTextCommand{\textIota}{PU}{\83\231} % Ι "0399 +\DeclareTextCommand{\textKappa}{PU}{\83\232} % Κ "039A +\DeclareTextCommand{\textLambda}{PU}{\83\233} % Λ "039B +\DeclareTextCommand{\textMu}{PU}{\83\234} % Μ "039C +\DeclareTextCommand{\textNu}{PU}{\83\235} % Ν "039D +\DeclareTextCommand{\textXi}{PU}{\83\236} % Ξ "039E +\DeclareTextCommand{\textOmicron}{PU}{\83\237} % Ο "039F +\DeclareTextCommand{\textPi}{PU}{\83\240} % Π "03A0 +\DeclareTextCommand{\textRho}{PU}{\83\241} % Ρ "03A1 +\DeclareTextCommand{\textSigma}{PU}{\83\243} % Σ "03A3 +\DeclareTextCommand{\textTau}{PU}{\83\244} % Τ "03A4 +\DeclareTextCommand{\textUpsilon}{PU}{\83\245} % Υ "03A5 +\DeclareTextCommand{\textPhi}{PU}{\83\246} % Φ "03A6 +\DeclareTextCommand{\textChi}{PU}{\83\247} % Χ "03A7 +\DeclareTextCommand{\textPsi}{PU}{\83\250} % Ψ "03A8 +\DeclareTextCommand{\textOmega}{PU}{\83\251} % Ω "03A9 +\DeclareTextCompositeCommand{\"}{PU}{\textIota}{\83\252} % Ϊ "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 +\DeclareTextCommand{\textalpha}{PU}{\83\261} % α "03B1 +\DeclareTextCommand{\textbeta}{PU}{\83\262} % β "03B2 +\DeclareTextCommand{\textgamma}{PU}{\83\263} % γ "03B3 +\DeclareTextCommand{\textdelta}{PU}{\83\264} % δ "03B4 +\DeclareTextCommand{\textepsilon}{PU}{\83\265} % ε "03B5 +\DeclareTextCommand{\textzeta}{PU}{\83\266} % ζ "03B6 +\DeclareTextCommand{\texteta}{PU}{\83\267} % η "03B7 +\DeclareTextCommand{\texttheta}{PU}{\83\270} % θ "03B8 +\DeclareTextCommand{\textiota}{PU}{\83\271} % ι "03B9 +\DeclareTextCommand{\textkappa}{PU}{\83\272} % κ "03BA +\DeclareTextCommand{\textlambda}{PU}{\83\273} % λ "03BB +\DeclareTextCommand{\textmu}{PU}{\83\274} % μ "03BC \textmugreek +\DeclareTextCommand{\textnu}{PU}{\83\275} % ν "03BD +\DeclareTextCommand{\textxi}{PU}{\83\276} % ξ "03BE +\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{\textsigma}{PU}{\83\303} % σ "03C3 +\DeclareTextCommand{\texttau}{PU}{\83\304} % τ "03C4 +\DeclareTextCommand{\textupsilon}{PU}{\83\305} % υ "03C5 +\DeclareTextCommand{\textphi}{PU}{\83\306} % φ "03C6 +\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 +\DeclareTextCompositeCommand{\'}{PU}{\textomega}{\83\316}% ώ "03CE + +% Archaic letters (still used in Greek numerals) +% and symbol variants:: + +\DeclareTextCommand{\textbetasymbol}{PU}{\83\320} % ϐ "03D0 +\DeclareTextCommand{\textthetasymbol}{PU}{\83\321} % ϑ "03D1 + +\DeclareTextCommand{\textphisymbol}{PU}{\83\325} % ϕ "03D5 +\DeclareTextCommand{\textpisymbol}{PU}{\83\326} % ϖ "03D6 + +\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{\textkappasymbol}{PU}{\83\360} % ϰ "03F0 +\DeclareTextCommand{\textrhosymbol}{PU}{\83\361} % ϱ "03F1 + +\DeclareTextCommand{\textThetasymbol}{PU}{\83\364} % ϴ "03F4 +\DeclareTextCommand{\textepsilonsymbol}{PU}{\83\365} % ϵ "03F5 + +% Dummy definition (\textautosigma is lowercase of \textSigma) +% TODO: implement autosigma for PU and TU:: + +\ProvideTextCommand{\textautosigma}{PU}{\textsigma} + + +% Greek Extended +% -------------- +% +% We skip definitions for characters "... WITH OXIA", because they would +% overwrite the defintions for "... WITH TONOS" in the `Greek and Coptic` +% block. +% +% :: + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textalpha}{\9037\000} % ἀ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textalpha}{\9037\001} % ἁ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textalpha}{\9037\002} % ἂ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textalpha}{\9037\003} % ἃ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textalpha}{\9037\004} % ἄ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textalpha}{\9037\005} % ἅ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textalpha}{\9037\006} % ἆ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textalpha}{\9037\007} % ἇ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textAlpha}{\9037\010} % Ἀ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textAlpha}{\9037\011} % Ἁ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textAlpha}{\9037\012} % Ἂ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textAlpha}{\9037\013} % Ἃ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textAlpha}{\9037\014} % Ἄ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textAlpha}{\9037\015} % Ἅ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textAlpha}{\9037\016} % Ἆ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textAlpha}{\9037\017} % Ἇ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textepsilon}{\9037\020} % ἐ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textepsilon}{\9037\021} % ἑ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textepsilon}{\9037\022} % ἒ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textepsilon}{\9037\023} % ἓ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textepsilon}{\9037\024} % ἔ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textepsilon}{\9037\025} % ἕ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textEpsilon}{\9037\030} % Ἐ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textEpsilon}{\9037\031} % Ἑ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textEpsilon}{\9037\032} % Ἒ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textEpsilon}{\9037\033} % Ἓ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textEpsilon}{\9037\034} % Ἔ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textEpsilon}{\9037\035} % Ἕ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\texteta}{\9037\040} % ἠ +\DeclareTextCompositeCommand{\accdasia}{PU}{\texteta}{\9037\041} % ἡ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\texteta}{\9037\042} % ἢ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\texteta}{\9037\043} % ἣ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\texteta}{\9037\044} % ἤ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\texteta}{\9037\045} % ἥ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\texteta}{\9037\046} % ἦ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\texteta}{\9037\047} % ἧ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textEta}{\9037\050} % Ἠ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textEta}{\9037\051} % Ἡ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textEta}{\9037\052} % Ἢ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textEta}{\9037\053} % Ἣ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textEta}{\9037\054} % Ἤ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textEta}{\9037\055} % Ἥ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textEta}{\9037\056} % Ἦ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textEta}{\9037\057} % Ἧ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textiota}{\9037\060} % ἰ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textiota}{\9037\061} % ἱ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textiota}{\9037\062} % ἲ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textiota}{\9037\063} % ἳ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textiota}{\9037\064} % ἴ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textiota}{\9037\065} % ἵ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textiota}{\9037\066} % ἶ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textiota}{\9037\067} % ἷ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textIota}{\9037\070} % Ἰ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textIota}{\9037\071} % Ἱ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textIota}{\9037\072} % Ἲ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textIota}{\9037\073} % Ἳ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textIota}{\9037\074} % Ἴ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textIota}{\9037\075} % Ἵ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textIota}{\9037\076} % Ἶ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textIota}{\9037\077} % Ἷ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textomicron}{\9037\100} % ὀ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textomicron}{\9037\101} % ὁ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textomicron}{\9037\102} % ὂ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textomicron}{\9037\103} % ὃ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textomicron}{\9037\104} % ὄ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textomicron}{\9037\105} % ὅ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textOmicron}{\9037\110} % Ὀ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textOmicron}{\9037\111} % Ὁ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textOmicron}{\9037\112} % Ὂ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textOmicron}{\9037\113} % Ὃ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textOmicron}{\9037\114} % Ὄ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textOmicron}{\9037\115} % Ὅ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textupsilon}{\9037\120} % ὐ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textupsilon}{\9037\121} % ὑ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textupsilon}{\9037\122} % ὒ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textupsilon}{\9037\123} % ὓ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textupsilon}{\9037\124} % ὔ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textupsilon}{\9037\125} % ὕ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textupsilon}{\9037\126} % ὖ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textupsilon}{\9037\127} % ὗ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textUpsilon}{\9037\131} % Ὑ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textUpsilon}{\9037\133} % Ὓ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textUpsilon}{\9037\135} % Ὕ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textUpsilon}{\9037\137} % Ὗ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textomega}{\9037\140} % ὠ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textomega}{\9037\141} % ὡ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textomega}{\9037\142} % ὢ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textomega}{\9037\143} % ὣ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textomega}{\9037\144} % ὤ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textomega}{\9037\145} % ὥ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textomega}{\9037\146} % ὦ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textomega}{\9037\147} % ὧ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textOmega}{\9037\150} % Ὠ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textOmega}{\9037\151} % Ὡ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textOmega}{\9037\152} % Ὢ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textOmega}{\9037\153} % Ὣ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textOmega}{\9037\154} % Ὤ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textOmega}{\9037\155} % Ὥ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textOmega}{\9037\156} % Ὦ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textOmega}{\9037\157} % Ὧ + +\DeclareTextCompositeCommand{\`}{PU}{\textalpha}{\9037\160} % ὰ +\DeclareTextCompositeCommand{\`}{PU}{\textepsilon}{\9037\162} % ὲ +\DeclareTextCompositeCommand{\`}{PU}{\texteta}{\9037\164} % ὴ +\DeclareTextCompositeCommand{\`}{PU}{\textiota}{\9037\166} % ὶ +\DeclareTextCompositeCommand{\`}{PU}{\textomicron}{\9037\170} % ὸ +\DeclareTextCompositeCommand{\`}{PU}{\textupsilon}{\9037\172} % ὺ +\DeclareTextCompositeCommand{\`}{PU}{\textomega}{\9037\174} % ὼ + +\DeclareTextCompositeCommand{\u}{PU}{\textalpha}{\9037\260} % ᾰ +\DeclareTextCompositeCommand{\=}{PU}{\textalpha}{\9037\261} % ᾱ +% ᾲ +% ᾳ +% ᾴ +\DeclareTextCompositeCommand{\~}{PU}{\textalpha}{\9037\266} % ᾶ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textalpha}{\9037\267} % ᾶ +% ᾷ +\DeclareTextCompositeCommand{\u}{PU}{\textAlpha}{\9037\270} % Ᾰ +\DeclareTextCompositeCommand{\=}{PU}{\textAlpha}{\9037\271} % Ᾱ +\DeclareTextCompositeCommand{\`}{PU}{\textAlpha}{\9037\272} % Ὰ +% Ά +% ᾼ +\DeclareTextCompositeCommand{\accpsili}{PU}{\@empty}{\9037\275} % ᾽ +\DeclareTextCompositeCommand{\accpsili}{PU}{\ }{\9037\275} % ᾽ +\DeclareTextCommand{\prosgegrammeni}{PU}{\9037\276} % ι +\DeclareTextCompositeCommand{\accpsili}{PU}{\@empty}{\9037\277} % ᾿ +\DeclareTextCompositeCommand{\accpsili}{PU}{\ }{\9037\277} % ᾿ + +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\@empty}{\9037\300} % ῀ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\ }{\9037\300} % ῀ +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\@empty}{\9037\301} % ῁ +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\ }{\9037\301} % ῁ +% ῂ +% ῃ +% ῄ +\DeclareTextCompositeCommand{\~}{PU}{\texteta}{\9037\307} % ῆ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\texteta}{\9037\307} % ῆ +% ῇ +\DeclareTextCompositeCommand{\`}{PU}{\textEpsilon}{\9037\310} % Ὲ +\DeclareTextCompositeCommand{\`}{PU}{\textEta}{\9037\312} % Ὴ +% ῌ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\@empty}{\9037\315} % ῍ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\ }{\9037\315} % ῍ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\@empty}{\9037\316} % ῎ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\ }{\9037\316} % ῎ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\@empty}{\9037\317} % ῏ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\ }{\9037\317} % ῏ + +\DeclareTextCompositeCommand{\u}{PU}{\textiota}{\9037\320} % ῐ +\DeclareTextCompositeCommand{\=}{PU}{\textiota}{\9037\321} % ῑ +\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\textiota}{\9037\322} % ῒ +\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\textiota}{\9037\323} % ΐ +\DeclareTextCompositeCommand{\~}{PU}{\textiota}{\9037\326} % ῖ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textiota}{\9037\326} % ῖ +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\textiota}{\9037\327} % ῗ +\DeclareTextCompositeCommand{\u}{PU}{\textIota}{\9037\330} % Ῐ +\DeclareTextCompositeCommand{\=}{PU}{\textIota}{\9037\331} % Ῑ +\DeclareTextCompositeCommand{\`}{PU}{\textIota}{\9037\332} % Ὶ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\@empty}{\9037\335} % ῝ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\ }{\9037\335} % ῝ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\@empty}{\9037\336} % ῞ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\ }{\9037\336} % ῞ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\@empty}{\9037\337} % ῟ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\ }{\9037\337} % ῟ + +\DeclareTextCompositeCommand{\u}{PU}{\textupsilon}{\9037\340} % ῠ +\DeclareTextCompositeCommand{\=}{PU}{\textupsilon}{\9037\341} % ῡ +\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\textupsilon}{\9037\342} % ῢ +\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\textupsilon}{\9037\343} % ΰ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textrho}{\9037\344} % ῤ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textrho}{\9037\345} % ῥ +\DeclareTextCompositeCommand{\~}{PU}{\textupsilon}{\9037\346} % ῦ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textupsilon}{\9037\346} % ῦ +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\textupsilon}{\9037\347} % ῧ +\DeclareTextCompositeCommand{\u}{PU}{\textUpsilon}{\9037\350} % Ῠ +\DeclareTextCompositeCommand{\=}{PU}{\textUpsilon}{\9037\351} % Ῡ +\DeclareTextCompositeCommand{\`}{PU}{\textUpsilon}{\9037\352} % Ὺ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textRho}{\9037\354} % Ῥ +\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\@empty}{\9037\355} % ῭ +\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\ }{\9037\355} % ῭ +\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\@empty}{\9037\356} % ΅ +\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\ }{\9037\356} % ΅ +% ` + +% ῲ +% ῳ +% ῴ +\DeclareTextCompositeCommand{\~}{PU}{\textomega}{\9037\366} % ῶ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textomega}{\9037\366} % ῶ +% ῷ +\DeclareTextCompositeCommand{\`}{PU}{\textOmicron}{\9037\370} % Ὸ +\DeclareTextCompositeCommand{\`}{PU}{\textOmega}{\9037\372} % Ὼ +% ῼ +\DeclareTextCompositeCommand{\accoxia}{PU}{\@empty}{\9037\375} % ´ +\DeclareTextCompositeCommand{\accoxia}{PU}{\ }{\9037\375} % ´ +\DeclareTextCompositeCommand{\accdasia}{PU}{\@empty}{\9037\376} % ῾ +\DeclareTextCompositeCommand{\accdasia}{PU}{\ }{\9037\376} % ῾ + +% Letterlike Symbols +% ------------------ +% :: + +\DeclareTextCommand{\textohm}{PU}{\83\251} % "03A9 OHM SIGN, use 03A9 Omega + +% Ancient Greek Numbers +% --------------------- +% TODO: map other chars to corresponding Greek letters. +% See also the grnumalt_ package. +% +% Definition with literal Unicode characters, because the code-point has 5 +% hexadecimal digits: +% +% :: + +\DeclareTextCommand{\textpentedeka}{PU}{𐅄} % "10144 GREEK ACROPHONIC ATTIC FIFTY +\DeclareTextCommand{\textpentehekaton}{PU}{𐅅} % "10145 GREEK ACROPHONIC ATTIC FIVE HUNDRED +\DeclareTextCommand{\textpenteqilioi}{PU}{𐅆} % "10146 GREEK ACROPHONIC ATTIC FIVE THOUSAND +\DeclareTextCommand{\textpentemuria}{PU}{𐅇} % "10147 GREEK ACROPHONIC ATTIC FIFTY THOUSAND diff --git a/language/greek/greek-fontenc/puenc-greek.def.html b/language/greek/greek-fontenc/puenc-greek.def.html new file mode 100644 index 0000000000..9b9cef6b30 --- /dev/null +++ b/language/greek/greek-fontenc/puenc-greek.def.html @@ -0,0 +1,1043 @@ +<!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/" /> +<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. */ +/* :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> +</head> +<body> +<main id="puenc-greek-def"> +<h1 class="title">puenc-greek.def</h1> +<p class="subtitle" id="greek-licr-definitions-for-pdf-strings-hyperref">Greek LICR definitions for PDF strings (hyperref)</p> +<dl class="docinfo"> +<dt class="copyright">Copyright</dt> +<dd class="copyright">© 2020 Günter Milde</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> +<dt class="identification">Identification</dt> +<dd class="identification"><pre class="literal-block">\ProvidesFile{puenc-greek.def} +[2020/10/18 2.0 Greek LICRs for PDF strings]</pre> +</dd> +</dl> +<div class="abstract topic"> +<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> +</div> +<dl> +<dt><strong>History</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> +</tr> +</tbody> +</table> +</dd> +</dl> +<section id="diacritics"> +<h2>Diacritics</h2> +<p>Greek alias names for standard accents (without tabacckludge):</p> +<pre class="literal-block">\DeclareTextCommand{\acctonos}{PU}{\'} +\DeclareTextCommand{\accvaria}{PU}{\`} +\DeclareTextCommand{\accdialytika}{PU}{\"}</pre> +<p>Use combining characters when no pre-composed character is available:</p> +<p>Breathings and perispomeni:</p> +<pre class="literal-block">\DeclareTextCommand{\accpsili}{PU}[1]{#1\83\023} % ψιλή spiritus lenis (smooth breathing) +\DeclareTextCommand{\accdasia}{PU}[1]{#1\83\024} % δασεῖα spiritus asper (rough breathing) +\DeclareTextCommand{\accperispomeni}{PU}[1]{#1\83\102} % COMBINING GREEK PERISPOMENI</pre> +<p>Sub-iota (<span class="docutils literal">\ypogegrammeni</span>) is a postfix accent (ligature in LGR)</p> +<pre class="literal-block">\DeclareTextCommand{\ypogegrammeni}{PU}{\83\105} % COMBINING GREEK YPOGEGRAMMENI</pre> +<p>Combined diacritics:</p> +<pre class="literal-block">\DeclareTextCommand{\accdialytikavaria}{PU}[1]{#1\83\010\83\000} +\DeclareTextCommand{\accdialytikatonos}{PU}[1]{#1\83\010\83\001} +\DeclareTextCommand{\accdialytikaperispomeni}{PU}[1]{#1\83\102\83\010} + +\DeclareTextCommand{\accdasiavaria}{PU}[1]{#1\83\024\83\000} +\DeclareTextCommand{\accdasiaoxia}{PU}[1]{#1\83\024\83\001} +\DeclareTextCommand{\accdasiaperispomeni}{PU}[1]{#1\83\024\83\102} + +\DeclareTextCommand{\accpsilivaria}{PU}[1]{#1\83\000\83\023} +\DeclareTextCommand{\accpsilioxia}{PU}[1]{#1\83\001\83\023} +\DeclareTextCommand{\accpsiliperispomeni}{PU}[1]{#1\83\102\83\023}</pre> +</section> +<section id="common-definitions"> +<h2>Common Definitions</h2> +<p>Use the common <cite>Greek font encoding definitions</cite>.</p> +<p>Set the <span class="docutils literal">\LastDeclaredEncoding</span> to PU and read definitions +from <a class="reference external" href="greek-fontenc.def.html">greek-fontenc.def</a>:</p> +<pre class="literal-block">\renewcommand*{\LastDeclaredEncoding}{PU} +\input{greek-fontenc.def}</pre> +</section> +<section id="character-definitions"> +<h2>Character Definitions</h2> +<section id="compatibility-defs-with-lgr"> +<h3>Compatibility defs with LGR</h3> +<p>Basic Latin:</p> +<pre class="literal-block">\DeclareTextCommand{\textsemicolon}{PU}{;} % "003B</pre> +<p>Latin 1 Supplement: +Distinguish MICRO SIGN from letter mu:</p> +<pre class="literal-block">\DeclareTextCommand{\textmicro}{PU}{\83\274} % "00B5 MICRO SIGN</pre> +</section> +<section id="greek-and-coptic"> +<h3>Greek and Coptic</h3> +<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>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 +literal char, as it is active with textalpha’s “keep-semicolon” option:</p> +<pre class="literal-block">\DeclareTextCommand{\texterotimatiko}{PU}{\80\073} + +\DeclareTextCompositeCommand{\'}{PU}{\@empty}{\83\204} % ΄ 0384 GREEK TONOS +\DeclareTextCompositeCommand{\'}{PU}{\ }{\83\204} % ΄ 0384 GREEK TONOS +\DeclareTextCompositeCommand{\accdialytikatonos}{PU}{\@empty}{\83\205} +\DeclareTextCompositeCommand{\accdialytikatonos}{PU}{\ }{\83\205} +\DeclareTextCompositeCommand{\'}{PU}{\textAlpha}{\83\206} % Ά +\DeclareTextCommand{\textanoteleia}{PU}{\80\267} % use 00B7 MIDDLE DOT, not 0387 GREEK ANO TELEIA +\DeclareTextCompositeCommand{\'}{PU}{\textEpsilon}{\83\210} % Έ +\DeclareTextCompositeCommand{\'}{PU}{\textEta}{\83\211} % Ή +\DeclareTextCompositeCommand{\'}{PU}{\textIota}{\83\212} % Ί +\DeclareTextCompositeCommand{\'}{PU}{\textOmicron}{\83\214} % Ό +\DeclareTextCompositeCommand{\'}{PU}{\textUpsilon}{\83\216} % Ύ +\DeclareTextCompositeCommand{\'}{PU}{\textOmega}{\83\217} % Ώ +\DeclareTextCompositeCommand{\accdialytikatonos}{PU}{\textiota}{\83\220} % ΐ +\DeclareTextCommand{\textAlpha}{PU}{\83\221} % Α "0391 +\DeclareTextCommand{\textBeta}{PU}{\83\222} % Β "0392 +\DeclareTextCommand{\textGamma}{PU}{\83\223} % Γ "0393 +\DeclareTextCommand{\textDelta}{PU}{\83\224} % Δ "0394 +\DeclareTextCommand{\textEpsilon}{PU}{\83\225} % Ε "0395 +\DeclareTextCommand{\textZeta}{PU}{\83\226} % Ζ "0396 +\DeclareTextCommand{\textEta}{PU}{\83\227} % Η "0397 +\DeclareTextCommand{\textTheta}{PU}{\83\230} % Θ "0398 +\DeclareTextCommand{\textIota}{PU}{\83\231} % Ι "0399 +\DeclareTextCommand{\textKappa}{PU}{\83\232} % Κ "039A +\DeclareTextCommand{\textLambda}{PU}{\83\233} % Λ "039B +\DeclareTextCommand{\textMu}{PU}{\83\234} % Μ "039C +\DeclareTextCommand{\textNu}{PU}{\83\235} % Ν "039D +\DeclareTextCommand{\textXi}{PU}{\83\236} % Ξ "039E +\DeclareTextCommand{\textOmicron}{PU}{\83\237} % Ο "039F +\DeclareTextCommand{\textPi}{PU}{\83\240} % Π "03A0 +\DeclareTextCommand{\textRho}{PU}{\83\241} % Ρ "03A1 +\DeclareTextCommand{\textSigma}{PU}{\83\243} % Σ "03A3 +\DeclareTextCommand{\textTau}{PU}{\83\244} % Τ "03A4 +\DeclareTextCommand{\textUpsilon}{PU}{\83\245} % Υ "03A5 +\DeclareTextCommand{\textPhi}{PU}{\83\246} % Φ "03A6 +\DeclareTextCommand{\textChi}{PU}{\83\247} % Χ "03A7 +\DeclareTextCommand{\textPsi}{PU}{\83\250} % Ψ "03A8 +\DeclareTextCommand{\textOmega}{PU}{\83\251} % Ω "03A9 +\DeclareTextCompositeCommand{\"}{PU}{\textIota}{\83\252} % Ϊ "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 +\DeclareTextCommand{\textalpha}{PU}{\83\261} % α "03B1 +\DeclareTextCommand{\textbeta}{PU}{\83\262} % β "03B2 +\DeclareTextCommand{\textgamma}{PU}{\83\263} % γ "03B3 +\DeclareTextCommand{\textdelta}{PU}{\83\264} % δ "03B4 +\DeclareTextCommand{\textepsilon}{PU}{\83\265} % ε "03B5 +\DeclareTextCommand{\textzeta}{PU}{\83\266} % ζ "03B6 +\DeclareTextCommand{\texteta}{PU}{\83\267} % η "03B7 +\DeclareTextCommand{\texttheta}{PU}{\83\270} % θ "03B8 +\DeclareTextCommand{\textiota}{PU}{\83\271} % ι "03B9 +\DeclareTextCommand{\textkappa}{PU}{\83\272} % κ "03BA +\DeclareTextCommand{\textlambda}{PU}{\83\273} % λ "03BB +\DeclareTextCommand{\textmu}{PU}{\83\274} % μ "03BC \textmugreek +\DeclareTextCommand{\textnu}{PU}{\83\275} % ν "03BD +\DeclareTextCommand{\textxi}{PU}{\83\276} % ξ "03BE +\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{\textsigma}{PU}{\83\303} % σ "03C3 +\DeclareTextCommand{\texttau}{PU}{\83\304} % τ "03C4 +\DeclareTextCommand{\textupsilon}{PU}{\83\305} % υ "03C5 +\DeclareTextCommand{\textphi}{PU}{\83\306} % φ "03C6 +\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 +\DeclareTextCompositeCommand{\'}{PU}{\textomega}{\83\316}% ώ "03CE</pre> +<p>Archaic letters (still used in Greek numerals) +and symbol variants:</p> +<pre class="literal-block">\DeclareTextCommand{\textbetasymbol}{PU}{\83\320} % ϐ "03D0 +\DeclareTextCommand{\textthetasymbol}{PU}{\83\321} % ϑ "03D1 + +\DeclareTextCommand{\textphisymbol}{PU}{\83\325} % ϕ "03D5 +\DeclareTextCommand{\textpisymbol}{PU}{\83\326} % ϖ "03D6 + +\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{\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> +</section> +<section id="greek-extended"> +<h3>Greek Extended</h3> +<p>We skip definitions for characters “… WITH OXIA”, because they would +overwrite the defintions for “… WITH TONOS” in the <cite>Greek and Coptic</cite> +block.</p> +<pre class="literal-block">\DeclareTextCompositeCommand{\accpsili}{PU}{\textalpha}{\9037\000} % ἀ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textalpha}{\9037\001} % ἁ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textalpha}{\9037\002} % ἂ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textalpha}{\9037\003} % ἃ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textalpha}{\9037\004} % ἄ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textalpha}{\9037\005} % ἅ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textalpha}{\9037\006} % ἆ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textalpha}{\9037\007} % ἇ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textAlpha}{\9037\010} % Ἀ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textAlpha}{\9037\011} % Ἁ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textAlpha}{\9037\012} % Ἂ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textAlpha}{\9037\013} % Ἃ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textAlpha}{\9037\014} % Ἄ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textAlpha}{\9037\015} % Ἅ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textAlpha}{\9037\016} % Ἆ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textAlpha}{\9037\017} % Ἇ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textepsilon}{\9037\020} % ἐ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textepsilon}{\9037\021} % ἑ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textepsilon}{\9037\022} % ἒ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textepsilon}{\9037\023} % ἓ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textepsilon}{\9037\024} % ἔ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textepsilon}{\9037\025} % ἕ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textEpsilon}{\9037\030} % Ἐ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textEpsilon}{\9037\031} % Ἑ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textEpsilon}{\9037\032} % Ἒ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textEpsilon}{\9037\033} % Ἓ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textEpsilon}{\9037\034} % Ἔ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textEpsilon}{\9037\035} % Ἕ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\texteta}{\9037\040} % ἠ +\DeclareTextCompositeCommand{\accdasia}{PU}{\texteta}{\9037\041} % ἡ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\texteta}{\9037\042} % ἢ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\texteta}{\9037\043} % ἣ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\texteta}{\9037\044} % ἤ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\texteta}{\9037\045} % ἥ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\texteta}{\9037\046} % ἦ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\texteta}{\9037\047} % ἧ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textEta}{\9037\050} % Ἠ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textEta}{\9037\051} % Ἡ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textEta}{\9037\052} % Ἢ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textEta}{\9037\053} % Ἣ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textEta}{\9037\054} % Ἤ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textEta}{\9037\055} % Ἥ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textEta}{\9037\056} % Ἦ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textEta}{\9037\057} % Ἧ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textiota}{\9037\060} % ἰ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textiota}{\9037\061} % ἱ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textiota}{\9037\062} % ἲ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textiota}{\9037\063} % ἳ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textiota}{\9037\064} % ἴ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textiota}{\9037\065} % ἵ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textiota}{\9037\066} % ἶ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textiota}{\9037\067} % ἷ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textIota}{\9037\070} % Ἰ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textIota}{\9037\071} % Ἱ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textIota}{\9037\072} % Ἲ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textIota}{\9037\073} % Ἳ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textIota}{\9037\074} % Ἴ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textIota}{\9037\075} % Ἵ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textIota}{\9037\076} % Ἶ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textIota}{\9037\077} % Ἷ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textomicron}{\9037\100} % ὀ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textomicron}{\9037\101} % ὁ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textomicron}{\9037\102} % ὂ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textomicron}{\9037\103} % ὃ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textomicron}{\9037\104} % ὄ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textomicron}{\9037\105} % ὅ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textOmicron}{\9037\110} % Ὀ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textOmicron}{\9037\111} % Ὁ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textOmicron}{\9037\112} % Ὂ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textOmicron}{\9037\113} % Ὃ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textOmicron}{\9037\114} % Ὄ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textOmicron}{\9037\115} % Ὅ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textupsilon}{\9037\120} % ὐ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textupsilon}{\9037\121} % ὑ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textupsilon}{\9037\122} % ὒ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textupsilon}{\9037\123} % ὓ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textupsilon}{\9037\124} % ὔ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textupsilon}{\9037\125} % ὕ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textupsilon}{\9037\126} % ὖ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textupsilon}{\9037\127} % ὗ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textUpsilon}{\9037\131} % Ὑ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textUpsilon}{\9037\133} % Ὓ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textUpsilon}{\9037\135} % Ὕ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textUpsilon}{\9037\137} % Ὗ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textomega}{\9037\140} % ὠ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textomega}{\9037\141} % ὡ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textomega}{\9037\142} % ὢ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textomega}{\9037\143} % ὣ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textomega}{\9037\144} % ὤ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textomega}{\9037\145} % ὥ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textomega}{\9037\146} % ὦ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textomega}{\9037\147} % ὧ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textOmega}{\9037\150} % Ὠ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textOmega}{\9037\151} % Ὡ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textOmega}{\9037\152} % Ὢ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textOmega}{\9037\153} % Ὣ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textOmega}{\9037\154} % Ὤ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textOmega}{\9037\155} % Ὥ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textOmega}{\9037\156} % Ὦ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textOmega}{\9037\157} % Ὧ + +\DeclareTextCompositeCommand{\`}{PU}{\textalpha}{\9037\160} % ὰ +\DeclareTextCompositeCommand{\`}{PU}{\textepsilon}{\9037\162} % ὲ +\DeclareTextCompositeCommand{\`}{PU}{\texteta}{\9037\164} % ὴ +\DeclareTextCompositeCommand{\`}{PU}{\textiota}{\9037\166} % ὶ +\DeclareTextCompositeCommand{\`}{PU}{\textomicron}{\9037\170} % ὸ +\DeclareTextCompositeCommand{\`}{PU}{\textupsilon}{\9037\172} % ὺ +\DeclareTextCompositeCommand{\`}{PU}{\textomega}{\9037\174} % ὼ + +\DeclareTextCompositeCommand{\u}{PU}{\textalpha}{\9037\260} % ᾰ +\DeclareTextCompositeCommand{\=}{PU}{\textalpha}{\9037\261} % ᾱ +% ᾲ +% ᾳ +% ᾴ +\DeclareTextCompositeCommand{\~}{PU}{\textalpha}{\9037\266} % ᾶ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textalpha}{\9037\267} % ᾶ +% ᾷ +\DeclareTextCompositeCommand{\u}{PU}{\textAlpha}{\9037\270} % Ᾰ +\DeclareTextCompositeCommand{\=}{PU}{\textAlpha}{\9037\271} % Ᾱ +\DeclareTextCompositeCommand{\`}{PU}{\textAlpha}{\9037\272} % Ὰ +% Ά +% ᾼ +\DeclareTextCompositeCommand{\accpsili}{PU}{\@empty}{\9037\275} % ᾽ +\DeclareTextCompositeCommand{\accpsili}{PU}{\ }{\9037\275} % ᾽ +\DeclareTextCommand{\prosgegrammeni}{PU}{\9037\276} % ι +\DeclareTextCompositeCommand{\accpsili}{PU}{\@empty}{\9037\277} % ᾿ +\DeclareTextCompositeCommand{\accpsili}{PU}{\ }{\9037\277} % ᾿ + +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\@empty}{\9037\300} % ῀ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\ }{\9037\300} % ῀ +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\@empty}{\9037\301} % ῁ +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\ }{\9037\301} % ῁ +% ῂ +% ῃ +% ῄ +\DeclareTextCompositeCommand{\~}{PU}{\texteta}{\9037\307} % ῆ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\texteta}{\9037\307} % ῆ +% ῇ +\DeclareTextCompositeCommand{\`}{PU}{\textEpsilon}{\9037\310} % Ὲ +\DeclareTextCompositeCommand{\`}{PU}{\textEta}{\9037\312} % Ὴ +% ῌ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\@empty}{\9037\315} % ῍ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\ }{\9037\315} % ῍ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\@empty}{\9037\316} % ῎ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\ }{\9037\316} % ῎ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\@empty}{\9037\317} % ῏ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\ }{\9037\317} % ῏ + +\DeclareTextCompositeCommand{\u}{PU}{\textiota}{\9037\320} % ῐ +\DeclareTextCompositeCommand{\=}{PU}{\textiota}{\9037\321} % ῑ +\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\textiota}{\9037\322} % ῒ +\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\textiota}{\9037\323} % ΐ +\DeclareTextCompositeCommand{\~}{PU}{\textiota}{\9037\326} % ῖ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textiota}{\9037\326} % ῖ +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\textiota}{\9037\327} % ῗ +\DeclareTextCompositeCommand{\u}{PU}{\textIota}{\9037\330} % Ῐ +\DeclareTextCompositeCommand{\=}{PU}{\textIota}{\9037\331} % Ῑ +\DeclareTextCompositeCommand{\`}{PU}{\textIota}{\9037\332} % Ὶ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\@empty}{\9037\335} % ῝ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\ }{\9037\335} % ῝ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\@empty}{\9037\336} % ῞ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\ }{\9037\336} % ῞ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\@empty}{\9037\337} % ῟ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\ }{\9037\337} % ῟ + +\DeclareTextCompositeCommand{\u}{PU}{\textupsilon}{\9037\340} % ῠ +\DeclareTextCompositeCommand{\=}{PU}{\textupsilon}{\9037\341} % ῡ +\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\textupsilon}{\9037\342} % ῢ +\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\textupsilon}{\9037\343} % ΰ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textrho}{\9037\344} % ῤ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textrho}{\9037\345} % ῥ +\DeclareTextCompositeCommand{\~}{PU}{\textupsilon}{\9037\346} % ῦ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textupsilon}{\9037\346} % ῦ +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\textupsilon}{\9037\347} % ῧ +\DeclareTextCompositeCommand{\u}{PU}{\textUpsilon}{\9037\350} % Ῠ +\DeclareTextCompositeCommand{\=}{PU}{\textUpsilon}{\9037\351} % Ῡ +\DeclareTextCompositeCommand{\`}{PU}{\textUpsilon}{\9037\352} % Ὺ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textRho}{\9037\354} % Ῥ +\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\@empty}{\9037\355} % ῭ +\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\ }{\9037\355} % ῭ +\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\@empty}{\9037\356} % ΅ +\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\ }{\9037\356} % ΅ +% ` + +% ῲ +% ῳ +% ῴ +\DeclareTextCompositeCommand{\~}{PU}{\textomega}{\9037\366} % ῶ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textomega}{\9037\366} % ῶ +% ῷ +\DeclareTextCompositeCommand{\`}{PU}{\textOmicron}{\9037\370} % Ὸ +\DeclareTextCompositeCommand{\`}{PU}{\textOmega}{\9037\372} % Ὼ +% ῼ +\DeclareTextCompositeCommand{\accoxia}{PU}{\@empty}{\9037\375} % ´ +\DeclareTextCompositeCommand{\accoxia}{PU}{\ }{\9037\375} % ´ +\DeclareTextCompositeCommand{\accdasia}{PU}{\@empty}{\9037\376} % ῾ +\DeclareTextCompositeCommand{\accdasia}{PU}{\ }{\9037\376} % ῾</pre> +</section> +<section id="letterlike-symbols"> +<h3>Letterlike Symbols</h3> +<pre class="literal-block">\DeclareTextCommand{\textohm}{PU}{\83\251} % "03A9 OHM SIGN, use 03A9 Omega</pre> +</section> +<section id="ancient-greek-numbers"> +<h3>Ancient Greek Numbers</h3> +<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> +<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 +\DeclareTextCommand{\textpentehekaton}{PU}{𐅅} % "10145 GREEK ACROPHONIC ATTIC FIVE HUNDRED +\DeclareTextCommand{\textpenteqilioi}{PU}{𐅆} % "10146 GREEK ACROPHONIC ATTIC FIVE THOUSAND +\DeclareTextCommand{\textpentemuria}{PU}{𐅇} % "10147 GREEK ACROPHONIC ATTIC FIFTY THOUSAND</pre> +<!-- References --> +</section> +</section> +</main> +</body> +</html> diff --git a/language/greek/greek-fontenc/test-inputenc.pdf b/language/greek/greek-fontenc/test-inputenc.pdf Binary files differnew file mode 100644 index 0000000000..ab04aa6c89 --- /dev/null +++ b/language/greek/greek-fontenc/test-inputenc.pdf diff --git a/language/greek/greek-fontenc/test-inputenc.tex b/language/greek/greek-fontenc/test-inputenc.tex new file mode 100644 index 0000000000..7242256de8 --- /dev/null +++ b/language/greek/greek-fontenc/test-inputenc.tex @@ -0,0 +1,674 @@ +\documentclass[a4paper]{article} +% \usepackage{textcomp} +\usepackage[unicode,colorlinks=true,linkcolor=blue]{hyperref} +% \usepackage{bookmark} +% \usepackage{parskip} +\usepackage{amssymb} + +% This file uses only ASCII input but we test the result of "inputenc" on +% the Greek font setup for TU and PU: + +% test with different input encoding (before Greek font setup) +\usepackage[latin1]{luainputenc} +% -> errors with LuaTeX: +% ! Missing \endcsname inserted. +% <to be read again> +% \pm +% l.118 ...and{\~}{\UnicodeEncodingName}{α}{ᾶ} +% ... + + +\ifdefined \UnicodeEncodingName % set by LaTeX for Unicode-aware engines + % Unicode font setup: + \usepackage{fontspec} + % \setmainfont{DejaVu Serif} # no YPOGEGRAMMENI + % \setsansfont{DejaVu Sans} + % \setmainfont{cmunrm.otf} % CMU Serif % many missing characters :( + % \setmainfont{FreeSerif} + \setmainfont{Linux Libertine O} + \setsansfont{Linux Biolinum O} +\else + \usepackage[LGR,T1]{fontenc} + \usepackage{lmodern} +\fi + +% Declare the font encoding and Greek LICR definitions: +% \makeatletter +% \input{puenc-greek.def} +% \makeatother +\usepackage[normalize-symbols]{textalpha} + + +\ProvideTextCommandDefault{\textvarpi}{missing} +\ProvideTextCommandDefault{\textvarrho}{missing} +\ProvideTextCommandDefault{\textvartheta}{missing} +\ProvideTextCommandDefault{\textvarTheta}{missing} +\ProvideTextCommandDefault{\textvarepsilon}{missing} +\ProvideTextCommandDefault{\textvarphi}{missing} +\ProvideTextCommandDefault{\textvarbeta}{missing} +\ProvideTextCommandDefault{\textvarkappa}{missing} +\DeclareTextSymbolDefault{\textschwa}{LGR} + +\ProvideTextCommandDefault{\textmicro}{\textmu} + +% test with different input encoding (after Greek font setup) +% \usepackage[latin1]{luainputenc} + +\begin{document} + +% place the hypersetup after the document start if extra Greek +% characters are required: +\hypersetup{pdfauthor=\textTau\'<\textepsilon\textsigma\textthetasymbol} + +\title{Test font setup for Greek with inputenc/luainputenc} +\author{G\"unter Milde} +\date{2020/10/30} +\maketitle + +\tableofcontents + + +\section{LICR input% + \label{licr}} + +The LaTeX internal character representation (LICR) is a verbose, +fail-safe 7-bit ASCII encoding that can be used unaltered under both, 8-bit +TeX and XeTeX/LuaTeX. Use cases are macro definitions and generated text. + +See the source of this document, +\texttt{test-inputenc.tex} for the input used +in the examples below. + + +\subsection{Greek alphabet} + +Greek letters via LICR macros: +\begin{quote} + \textAlpha{} \textBeta{} \textGamma{} \textDelta{} \textEpsilon{} + \textZeta{} \textEta{} \textTheta{} \textIota{} \textKappa{} + \textLambda{} \textMu{} \textNu{} \textXi{} \textOmicron{} \textPi{} + \textRho{} \textSigma{} \textTau{} \textUpsilon{} \textPhi{} + \textChi{} \textPsi{} \textOmega{} + + \textalpha{} \textbeta{} \textgamma{} \textdelta{} \textepsilon{} + \textzeta{} \texteta{} \texttheta{} \textiota{} \textkappa{} + \textlambda{} \textmu{} \textnu{} \textxi{} \textomicron{} \textpi{} + \textrho{} \textsigma{} \texttau{} \textupsilon{} + \textphi{} \textchi{} \textpsi{} \textomega{} +\end{quote} +The small sigma is set with a different +glyph if it ends a word: +\begin{quote} + \textsigma{} \verb|textsigma|\\ + \textfinalsigma{} \verb|textfinalsigma| or \verb|textvarsigma| +\end{quote} +The \verb|\textautosigma| macro, which automatically chooses the +glyph according to the position, is not implemented for Unicode fonts. + +\subsection{Diacritics} + +Greek accents are +tonos = oxia, varia, psili, dasia, dialytika, and perispomeni. + +Greek diacritics can be input by named macro or symbol macro: +\begin{quote} + \acctonos\textalpha \'\textalpha{} \acctonos x\'x + \accvaria\textalpha \`\textalpha{} \accvaria x\`x + \accdialytika\textiota{} \"\textiota{} \accdialytika x\"x + \accperispomeni\textalpha \~\textalpha{} \accperispomeni x\~x + \accpsili\textalpha \>\textalpha{} \accpsili x\>x + \accdasia\textalpha \<\textalpha{} \accdasia x\<x +\end{quote} +% +Diacritics as spacing characters: + +with empty argument: +\ensuregreek{ +\acctonos{} \accoxia{} \accvaria{} +\accpsili{} \accdasia{} +\accdialytika{} \accperispomeni{} +\accdialytikatonos{} \accdialytikavaria{} \accdialytikaperispomeni{} +\accdasiaoxia{} \accdasiavaria{} \accdasiaperispomeni{} +\accpsilioxia{} \accpsilivaria{} \accpsiliperispomeni{} +} + +with space as argument: +\ensuregreek{ +\acctonos{ } \accoxia{ } \accvaria{ } +\accpsili{ } \accdasia{ } +\accdialytika{ } \accperispomeni{ } +\accdialytikatonos{ } \accdialytikavaria{ } \accdialytikaperispomeni{ } +\accdasiaoxia{ } \accdasiavaria{ } \accdasiaperispomeni{ } +\accpsilioxia{ } \accpsilivaria{ } \accpsiliperispomeni{ } +} + +with protected space: +\ensuregreek{ +\acctonos{\ } \accoxia{\ } \accvaria{\ } +\accpsili{\ } \accdasia{\ } +\accdialytika{\ } \accperispomeni{\ } +\accdialytikatonos{\ }\ \accdialytikavaria{\ }\ \accdialytikaperispomeni{\ }\ +\accdasiaoxia{\ }\ \accdasiavaria{\ }\ \accdasiaperispomeni{\ }\ +\accpsilioxia{\ }\ \accpsilivaria{\ }\ \accpsiliperispomeni{\ } +} + +with nobreakspace: +\ensuregreek{ +\acctonos{\nobreakspace} \accoxia{\nobreakspace} \accvaria{\nobreakspace} +\accpsili{\nobreakspace} \accdasia{\nobreakspace} +\accdialytika{\nobreakspace} \accperispomeni{\nobreakspace} +\accdialytikatonos{\nobreakspace}\ \accdialytikavaria{\nobreakspace}\ +\accdialytikaperispomeni{\nobreakspace}\ \accdasiaoxia{\nobreakspace}\ +\accdasiavaria{\nobreakspace}\ \accdasiaperispomeni{\nobreakspace}\ +\accpsilioxia{\nobreakspace}\ \accpsilivaria{\nobreakspace}\ +\accpsiliperispomeni{\nobreakspace} +} + +\subsubsection{sub-iota} + +The sub-iota is input after the base letter. + +\begin{itemize} +\item \verb|\prosgegrammeni| sets a spacing GREEK PROSGEGRAMMENI + (\prosgegrammeni): \textAlpha\prosgegrammeni{} K\prosgegrammeni{}. + +\item \verb|\ypogegrammeni| sets a COMBINING GREEK YPOGEGRAMMENI + (\ \ypogegrammeni{}): \textalpha\ypogegrammeni{} k\ypogegrammeni{}. + + A Greek capital letter followed by COMBINING GREEK YPOGEGRAMMENI is + normalized to the corresponding Greek capital letter WITH [... AND] + PROSGEGRAMMENI, if a mapping exists in the Unicode standard: + \textAlpha\ypogegrammeni{} but K\ypogegrammeni{}. +\end{itemize} + +\textAlpha\ypogegrammeni \textAlpha\prosgegrammeni +\MakeLowercase{\textAlpha\ypogegrammeni \textAlpha\prosgegrammeni} +\MakeUppercase{\textAlpha\ypogegrammeni \textAlpha\prosgegrammeni} + +\textLambda\ypogegrammeni \textLambda\prosgegrammeni +\MakeLowercase{\textLambda\ypogegrammeni \textLambda\prosgegrammeni} +\MakeUppercase{\textLambda\ypogegrammeni \textLambda\prosgegrammeni} + +\textalpha\ypogegrammeni \textalpha\prosgegrammeni +\MakeLowercase{\textalpha\ypogegrammeni \textalpha\prosgegrammeni} +\MakeUppercase{\textalpha\ypogegrammeni \textalpha\prosgegrammeni} + + +\subsection{Additional Greek symbols} + +\subsubsection{symbols for Greek numbers} + +\begin{quote} +\textkoppa{} textkoppa \\ % ϟ +\textKoppa{} textKoppa \\ % Ϟ +\textqoppa{} textqoppa (archaic koppa) \\ % ϙ +\textQoppa{} textQoppa (archaic Koppa) \\ % Ϙ +\textstigma{} textstigma \\ % ϛ +% \textvarstigma{} textvarstigma \\ % no separate Unicode character +\textStigma{} textStigma (Sigma-Tau-Ligature in CB-fonts)% +\footnote{the name ``stigma'' originally applied to a medieval sigma-tau + ligature, whose shape was confusingly similar to the cursive + digamma} \\ % Ϛ +\textsampi{} textsampi \\ % ϡ +\textSampi{} textSampi \\ % Ϡ +\textdigamma{} textdigamma \\ % ϝ (\digamma used by amsmath!) +\textDigamma{} textDigamma \\ % Ϝ +% numeral signs: http://en.wikipedia.org/wiki/Greek_numerals +\textdexiakeraia{} textdexiakeraia \\ % ʹ +\textaristerikeraia{} textaristerikeraia \\ % ͵ +\end{quote} + + +\begin{table}[tbp] + \centering + \begin{tabular}{lclc} + \hline + \multicolumn{2}{c}{text} & \multicolumn{2}{c}{mathematics} \\ + macro & output & macro & output \\ + \hline + \verb$\textpi$ & \textpi & \verb$\pi$ & $\pi$ \\ + \verb$\textvarpi$ & \textvarpi & \verb$\varpi$ & $\varpi$ \\ + \verb$\textpisymbol$ & \textpisymbol & & \\ + \hline + \verb$\textrho$ & \textrho & \verb$\rho$ & $\rho$ \\ + \verb$\textvarrho$ & \textvarrho & \verb$\varrho$ & $\varrho$ \\ + \verb$\textrhosymbol$ & \textrhosymbol & & \\ + \hline + \verb$\texttheta$ & \texttheta & \verb$\theta$ & $\theta$ \\ + \verb$\textvartheta$ & \textvartheta & \verb$\vartheta$ & $\vartheta$ \\ + \verb$\textthetasymbol$ & \textthetasymbol & & \\ + \hline + \verb$\textepsilon$ & \textepsilon & \verb$\epsilon$ & $\epsilon$ \\ + \verb$\textvarepsilon$ & \textvarepsilon & \verb$\varepsilon$ & $\varepsilon$ \\ + \verb$\textepsilonsymbol$ & \textepsilonsymbol & & \\ + \hline + \verb$\textphi$ & \textphi & \verb$\phi$ & $\phi$ \\ + \verb$\textvarphi$ & \textvarphi & \verb$\varphi$ & $\varphi$ \\ + \verb$\textphisymbol$ & \textphisymbol & & \\ + \hline + \verb$\textbeta$ & \textbeta & \verb$\beta$ & $\beta$ \\ + \verb$\textvarbeta$ & \textvarbeta & \emph{missing} & \\ + \verb$\textbetasymbol$ & \textbetasymbol & & \\ + \hline + \verb$\textkappa$ & \textkappa & \verb$\kappa$ & $\kappa$ \\ + \verb$\textvarkappa$ & \textvarkappa & \verb$\varkappa$ & $\varkappa$ \\ + \verb$\textkappasymbol$ & \textkappasymbol & & \\ + \hline + \verb$\textTheta$ & \textTheta & \verb$\Theta$ & $\Theta$ \\ + \verb$\textvarTheta$ & \textvarTheta & \emph{missing} & \\ + \verb$\textThetasymbol$ & \textThetasymbol & & \\ + \hline + \end{tabular} + \caption{Macros for Greek symbol variants} + \label{tab:symbol-variant-macros} +\end{table} + +% \subsubsection{Ancient Greek Numbers} +% +% Ancient Greek Numbers are missing in most fonts (including Libertine and +% Deja Vu). The “FreeSerif” font works fine: +% \begin{quote} +% \textpentedeka % GREEK ACROPHONIC ATTIC FIFTY +% \textpentehekaton % GREEK ACROPHONIC ATTIC FIVE HUNDRED +% \textpenteqilioi % GREEK ACROPHONIC ATTIC FIVE THOUSAND +% \textpentemuria % GREEK ACROPHONIC ATTIC FIFTY THOUSAND +% \end{quote} + +\subsubsection{generic text symbols} + +LICR macros for some symbols from the 8-bit font encoding LGR that are not +confined to Greek but not defined in \texttt{tuenc.def} [2018/08/11 v2.0j]. + +\begin{quote} + \textsemicolon{} textsemicolon\\ + \textmicro{} textmicro \\ + \textschwa{} textschwa +\end{quote} +The SI unit prefix MICRO SIGN is not upcased with MakeUppercase: + +\begin{quote} + textmu: \textmu{} $\mapsto$ \MakeUppercase{\textmu} but + textmicro: \textmicro{} $\mapsto$ \MakeUppercase{\textmicro}. +\end{quote} + +\section{LICR command input} + +\subsection{\ensuregreek{0374 + \textnumeralsigngreek{} + \textnumeralsignlowergreek{} + \ \ypogegrammeni{} + \texterotimatiko{} + \acctonos{} + \"'{} + \'\textAlpha + \textanoteleia + \'\textEpsilon + \'\textEta + \'\textIota + \'\textOmicron + \'\textUpsilon + \'\textOmega + \'"\textiota +}} +\subsection{\ensuregreek{0391 + \textAlpha + \textBeta + \textGamma + \textDelta + \textEpsilon + \textZeta + \textEta + \textTheta + \textIota + \textKappa + \textLambda + \textMu + \textNu + \textXi + \textOmicron + \textPi + \textRho + \textSigma + \textTau + \textUpsilon + \textPhi + \textChi + \textPsi + \textOmega +}} +\subsection{\ensuregreek{03AA + \"\textIota + \"\textUpsilon + \'\textalpha + \'\textepsilon + \'\texteta + \'\textiota + \"'\textupsilon +}} +\subsection{\ensuregreek{03B1 + \textalpha + \textbeta + \textgamma + \textdelta + \textepsilon + \textzeta + \texteta + \texttheta + \textiota + \textkappa + \textlambda + \textmu + \textnu + \textxi + \textomicron + \textpi + \textrho + \textvarsigma + \textsigma + \texttau + \textupsilon + \textphi + \textchi + \textpsi + \textomega +}} +\subsection{\ensuregreek{03CA + \"\textiota + \"\textupsilon + \'\textomicron + \'\textupsilon + \'\textomega + \textbetasymbol + \textthetasymbol + \textphisymbol + \textpisymbol + \textQoppa + \textqoppa + \textStigma + \textstigma + \textDigamma + \textdigamma + \textKoppa + \textkoppa + \textSampi + \textsampi + \textkappasymbol + \textrhosymbol + \textThetasymbol + \textepsilonsymbol +}} + + +Currently, there is no hyperref support for LICR input with non-standard +accents or combined diacritics characters. + +\subsection{\ensuregreek{1F00 + \accpsili\textalpha + \accdasia\textalpha + \accpsili`\textalpha + \accdasia`\textalpha + \accpsili'\textalpha + \accdasia'\textalpha + \~>\textalpha + \~<\textalpha + \accpsili\textAlpha + \accdasia\textAlpha + \accpsili`\textAlpha + \accdasia`\textAlpha + \accpsili'\textAlpha + \accdasia'\textAlpha + \~>\textAlpha + \~<\textAlpha +}} +\subsection{\ensuregreek{1F10 + \accpsili\textepsilon + \accdasia\textepsilon + \accpsili`\textepsilon + \accdasia`\textepsilon + \accpsili'\textepsilon + \accdasia'\textepsilon + \accpsili\textEpsilon + \accdasia\textEpsilon + \accpsili`\textEpsilon + \accdasia`\textEpsilon + \accpsili'\textEpsilon + \accdasia'\textEpsilon +}} +\subsection{\ensuregreek{1F20 + \accpsili\texteta + \accdasia\texteta + \accpsili`\texteta + \accdasia`\texteta + \accpsili'\texteta + \accdasia'\texteta + \~>\texteta + \~<\texteta + \accpsili\textEta + \accdasia\textEta + \accpsili`\textEta + \accdasia`\textEta + \accpsili'\textEta + \accdasia'\textEta + \~>\textEta + \~<\textEta +}} +\subsection{\ensuregreek{1F30 + \accpsili\textiota + \accdasia\textiota + \accpsili`\textiota + \accdasia`\textiota + \accpsili'\textiota + \accdasia'\textiota + \~>\textiota + \~<\textiota + \accpsili\textIota + \accdasia\textIota + \accpsili`\textIota + \accdasia`\textIota + \accpsili'\textIota + \accdasia'\textIota + \~>\textIota + \~<\textIota +}} +\subsection{\ensuregreek{1F40 + \accpsili\textomicron + \accdasia\textomicron + \accpsili`\textomicron + \accdasia`\textomicron + \accpsili'\textomicron + \accdasia'\textomicron + \accpsili\textOmicron + \accdasia\textOmicron + \accpsili`\textOmicron + \accdasia`\textOmicron + \accpsili'\textOmicron + \accdasia'\textOmicron +}} +\subsection{\ensuregreek{1F50 + \accpsili\textupsilon + \accdasia\textupsilon + \accpsili`\textupsilon + \accdasia`\textupsilon + \accpsili'\textupsilon + \accdasia'\textupsilon + \~>\textupsilon + \~<\textupsilon + \accdasia\textUpsilon + \accdasia`\textUpsilon + \accdasia'\textUpsilon + \~<\textUpsilon +}} +\subsection{\ensuregreek{1F60 + \accpsili\textomega + \accdasia\textomega + \accpsili`\textomega + \accdasia`\textomega + \accpsili'\textomega + \accdasia'\textomega + \~>\textomega + \~<\textomega + \accpsili\textOmega + \accdasia\textOmega + \accpsili`\textOmega + \accdasia`\textOmega + \accpsili'\textOmega + \accdasia'\textOmega + \~>\textOmega + \~<\textOmega +}} +\subsection{\ensuregreek{1F70 + \accvaria\textalpha + \accoxia\textalpha + \accvaria\textepsilon + \accoxia\textepsilon + \accvaria\texteta + \accoxia\texteta + \accvaria\textiota + \accoxia\textiota + \accvaria\textomicron + \accoxia\textomicron + \accvaria\textupsilon + \accoxia\textupsilon + \accvaria\textomega + \accoxia\textomega +}} +\subsection{\ensuregreek{1F80 + \accpsili\textalpha\ypogegrammeni + \accdasia\textalpha\ypogegrammeni + \accpsili`\textalpha\ypogegrammeni + \accdasia`\textalpha\ypogegrammeni + \accpsili'\textalpha\ypogegrammeni + \accdasia'\textalpha\ypogegrammeni + \~>\textalpha\ypogegrammeni + \~<\textalpha\ypogegrammeni + \accpsili\textAlpha\ypogegrammeni + \accdasia\textAlpha\ypogegrammeni + \accpsili`\textAlpha\ypogegrammeni + \accdasia`\textAlpha\ypogegrammeni + \accpsili'\textAlpha\ypogegrammeni + \accdasia'\textAlpha\ypogegrammeni + \~>\textAlpha\ypogegrammeni + \~<\textAlpha\ypogegrammeni +}} +\subsection{\ensuregreek{1F90 + \accpsili\texteta\ypogegrammeni + \accdasia\texteta\ypogegrammeni + \accpsili`\texteta\ypogegrammeni + \accdasia`\texteta\ypogegrammeni + \accpsili'\texteta\ypogegrammeni + \accdasia'\texteta\ypogegrammeni + \~>\texteta\ypogegrammeni + \~<\texteta\ypogegrammeni + \accpsili\textEta\ypogegrammeni + \accdasia\textEta\ypogegrammeni + \accpsili`\textEta\ypogegrammeni + \accdasia`\textEta\ypogegrammeni + \accpsili'\textEta\ypogegrammeni + \accdasia'\textEta\ypogegrammeni + \~>\textEta\ypogegrammeni + \~<\textEta\ypogegrammeni +}} +\subsection{\ensuregreek{1FA0 + \accpsili\textomega\ypogegrammeni + \accdasia\textomega\ypogegrammeni + \accpsili`\textomega\ypogegrammeni + \accdasia`\textomega\ypogegrammeni + \accpsili'\textomega\ypogegrammeni + \accdasia'\textomega\ypogegrammeni + \~>\textomega\ypogegrammeni + \~<\textomega\ypogegrammeni + \accpsili\textOmega\ypogegrammeni + \accdasia\textOmega\ypogegrammeni + \accpsili`\textOmega\ypogegrammeni + \accdasia`\textOmega\ypogegrammeni + \accpsili'\textOmega\ypogegrammeni + \accdasia'\textOmega\ypogegrammeni + \~>\textOmega\ypogegrammeni + \~<\textOmega\ypogegrammeni +}} +\subsection{\ensuregreek{1FB0 + \u\textalpha + \=\textalpha + \accvaria\textalpha\ypogegrammeni + \textalpha\ypogegrammeni + \accoxia\textalpha\ypogegrammeni + \~\textalpha + \~\textalpha\ypogegrammeni + \u\textAlpha + \=\textAlpha + \accvaria\textAlpha + \accoxia\textAlpha + \textAlpha\ypogegrammeni + \accpsili{ } + \prosgegrammeni + \accpsili{ } +}} + +\subsection{\ensuregreek{1FC0 + \accperispomeni{ } + \"\~{ } + \accvaria\texteta\ypogegrammeni + \texteta\ypogegrammeni + \accoxia\texteta\ypogegrammeni + \~\texteta + \~\texteta\ypogegrammeni + \accvaria\textEpsilon + \accoxia\textEpsilon + \accvaria\textEta + \accoxia\textEta + \textEta\ypogegrammeni + \accpsili`{ } + \accpsili'{ } + \~>{ } +}} + +\subsection{\ensuregreek{1FD0 + \u\textiota + \=\textiota + \`"\textiota + \'"\textiota + \~\textiota + \~"\textiota + \u\textIota + \=\textIota + \accvaria\textIota + \accoxia\textIota + \accdasia`{ } + \accpsili'{ } + \~<{ } +}} +\subsection{\ensuregreek{1FE0 + \u\textupsilon + \=\textupsilon + \`"\textupsilon + \'"\textupsilon + \accpsili\textrho + \accdasia\textrho + \~\textupsilon + \~"\textupsilon + \u\textUpsilon + \=\textUpsilon + \accvaria\textUpsilon + \accoxia\textUpsilon + \accdasia\textRho + \`"{ } + \'"{ } + \accvaria{ } +}} +\subsection{\ensuregreek{1FF0 + \accvaria\textomega\ypogegrammeni + \textomega\ypogegrammeni + \accoxia\textomega\ypogegrammeni + \~\textomega + \~\textomega\ypogegrammeni + \accvaria\textOmicron + \accoxia\textOmicron + \accvaria\textOmega + \accoxia\textOmega + \textOmega\ypogegrammeni + \accoxia{ } + \accdasia{ } +}} + + +\end{document} diff --git a/language/greek/greek-fontenc/test-lgrenc.pdf b/language/greek/greek-fontenc/test-lgrenc.pdf Binary files differnew file mode 100644 index 0000000000..ecb9e81e92 --- /dev/null +++ b/language/greek/greek-fontenc/test-lgrenc.pdf diff --git a/language/greek/greek-fontenc/lgrenc-test.tex b/language/greek/greek-fontenc/test-lgrenc.tex index 861c981c61..1606bfcb6f 100644 --- a/language/greek/greek-fontenc/lgrenc-test.tex +++ b/language/greek/greek-fontenc/test-lgrenc.tex @@ -39,19 +39,13 @@ % With XeTeX/LuaTeX, use Unicode for Latin script: % This is experimental. The general advise is not to mix fontenc and fontspec. -% Problems: +% Problems: % * Letter µ missing in Latin Modern % * xunicode makes \nobreakspace font encoding specific -> provide default: -\ifdefined\luatexversion +\ifdefined \UnicodeEncodingName % set by LaTeX for Unicode-aware engines \usepackage{fontspec} - \DeclareTextCommand{\textmu}{EU2}{µ} % use MICRO SIGN \else - \ifdefined\XeTeXrevision - \usepackage{fontspec} - \DeclareTextCommand{\textmu}{EU1}{µ} % use MICRO SIGN - \else - \usepackage[utf8]{inputenc} - \fi + \usepackage[utf8]{inputenc} \fi \DeclareTextCommandDefault{\nobreakspace}{\leavevmode\nobreak\ } @@ -64,11 +58,14 @@ \newcommand{\LGR}{\fontencoding{LGR}\selectfont} \newcommand{\Latin}{\fontencoding{\encodingdefault}\selectfont} +\newcommand{\cs}[1]{\texttt{\textbackslash#1}} +\newcommand{\cssample}[1]{\LGR\csname#1\endcsname{} \Latin \cs{#1}} + \begin{document} \title{Test LGR font encoding definitions} \author{Günter Milde} -% \date{} +\date{2020/10/30} \maketitle The file lgrenc.def provides a comprehensive set of macros to typeset Greek @@ -105,25 +102,33 @@ used to access the symbols. \subsection{Generic text symbols} Latin: -+ - = < > -- --- \textbraceleft{} [ () ] \textbraceright{} ++ - = < > -- --- [ () ] % +\textbraceleft{} +\textbraceright{} \textbackslash{} \textbar{} \textperthousand{} \textpertenthousand{} \textvisiblespace{} -LGR: -\LGR -+ - = \textless{} \textgreater{} -- --- -\textbraceleft{} [ () ] \textbraceright{} -% -\textbackslash{} \textbar{} -\textperthousand{} -% \textpertenthousand{} -\textvisiblespace{} -\Latin (Per-mille symbol is missing in LGR.) +LGR: \LGR ++ - = -- --- [ () ] +\Latin +\begin{quote} + \cssample{textless} \\ + \cssample{textgreater} \\ + \cssample{textbraceleft} \\ + \cssample{textbraceright} \\ + % + \cssample{textbackslash} \\ + \cssample{textbar} \\ + \cssample{textperthousand} (Per-mille symbol is missing in LGR.) \\ + % \textpertenthousand{} + \cssample{textvisiblespace} \\ +\end{quote} +% Quotes:\footnote{% Single quotes need special attention to prevent conversion to accents. Test the input conventions: @@ -147,7 +152,8 @@ Single guillemots and base-quotes \quotesinglbase{}a\textquoteright{}) are missing in LGR. -Ligature break up: AY fi \LGR AU "i $\mapsto$ +Ligature break up with \verb|\textcompwordmark|: +AY fi \LGR AU "i $\mapsto$ \Latin A\textcompwordmark Y f\textcompwordmark i \LGR A\textcompwordmark U "\textcompwordmark i @@ -175,23 +181,39 @@ Ligature break up: AY fi \LGR AU "i $\mapsto$ \Latin \textasciigrave a \LGR \textasciigrave a \textasciigrave i -\Latin Symbols for SI-units: -\Latin 5\,\textmu{}m, 5\,k\textohm{}; -\LGR 5\,\textmu{}{\Latin m}, 5\,{\Latin k}\textohm -\Latin ; but never italic: 5\,$\mu$m - \Latin Letter schwa and Euro symbol: % \textschwa (needs e.g. T3) -\LGR \textschwa{}, \texteuro{} +\cssample{textschwa}, \cssample{texteuro} + + +Some ASCII symbols are replaced by different symbols in LGR encoding +other symbols are composed from Latin letters and show Greek letters in LGR. +\emph{babel-greek} redefines some with \verb|\latintext|, however this +cannot be done in a font encoding definition file. + +Beware that \texttt{"\#\&';<>?@} becomes +\LGR \texttt{"\#\&';<>?@}. \Latin +The \emph{textcomp} package provides pre-composed coyright \textcopyright{}, +registered \textregistered{} and trademark \texttrademark{} symbols that +work in all font encodings. +In LGR (% +\ifdefined \textcompsubstdefault + with +\else + without +\fi +textcomp), they come out as: \cssample{textcopyright}, +\cssample{textregistered}, \cssample{texttrademark}. -Some ASCII symbols are replaced by other symbols in LGR encoding: -\emph{babel-greek} redefines some with \verb|\latintext|, however this macro -is not guaranteed to be defined, so it cannot be used in a font encoding -definition file. +\emph{textcomp} also provides the upright MICRO SIGN and OHM SIGN for SI +units: R = 5\,\textmu\textohm -Avoid: \texttt{"\#\&';<>?@} because it becomes -\LGR \ \texttt{"\#\&';<>?@}. +In LGR, \cs{textmicro} and \cs{textohm} are aliases to \cs{textmu} and +\cs{textOmega} that do not change case: +\LGR Αντίσταση = 5\,\textmu\textohm{}, + \MakeUppercase{αντίσταση = 5\,\textmicro \textohm{}}, + \MakeLowercase{αντίσταση = 5\,\textmicro \textohm{}}. \Latin @@ -203,7 +225,7 @@ Greek letters via Latin transcription and LICR macros: \LGR \MakeUppercase{a b g d e z h j i k l m n x o p r s t u f q y w} - a b g d e z h j i k l m n x o p r sv t u f q y w + a b g d e z h j i k l m n x o p r sv s t u f q y w \textAlpha{} \textBeta{} \textGamma{} \textDelta{} \textEpsilon{} \textZeta{} \textEta{} \textTheta{} \textIota{} \textKappa{} @@ -214,73 +236,137 @@ Greek letters via Latin transcription and LICR macros: \textalpha{} \textbeta{} \textgamma{} \textdelta{} \textepsilon{} \textzeta{} \texteta{} \texttheta{} \textiota{} \textkappa{} \textlambda{} \textmu{} \textnu{} \textxi{} \textomicron{} \textpi{} - \textrho{} \textsigma{} \texttau{} \textupsilon{} + \textrho{} \textsigma{} \textfinalsigma{} \texttau{} \textupsilon{} \textphi{} \textchi{} \textpsi{} \textomega{} \end{quote} The small sigma is set with a different glyph if it ends a word: \begin{quote} - \LGR \textsigma{} \Latin textsigma \\ - \LGR \textfinalsigma{} \Latin textfinalsigma or textvarsigma + \cssample{textsigma} \\ + \cssample{textfinalsigma} \end{quote} In the Latin transcription, the letter `s' stands for \verb|\textautosigma| which automatically chooses the glyph according to the position. -The textcomp.sty package provides coyright, registered, and trademark -symbols for use with any font encodings. (Like any other Latin character, -the ``sharp s'' (\ss) is not save to use when LGR is the active font -encoding.) - -Latin: -\textcopyright{} -\textregistered{} -\texttrademark{} -\SS{} (uppercase of \ss). - -LGR (with textcomp): -\LGR -\textcopyright{} -\textregistered{} -\texttrademark{} -\SS{} (\Latin uppercase of \LGR \ss). -\Latin - -\subsection{Additional Greek symbols} +\subsection{additional Greek symbols} \begin{quote} - \LGR \textkoppa{} \Latin textkoppa (numeral koppa = 90) \\ % ϟ - \LGR \textKoppa{} \Latin textKoppa (numeral Koppa = 90)% + \cssample{textkoppa} (numeral koppa = 90) \\ % ϟ + \cssample{textKoppa} (numeral Koppa = 90)% % Ϟ \footnote{Modern typographical practice normally does not observe a contrast between uppercase and lowercase forms for numeric koppa. % https://en.wikipedia.org/wiki/Koppa_(letter) - In LGR, there is ony one slot for Koppa and koppa.} \\ % Ϟ - \LGR \textqoppa{} \Latin textqoppa (archaic koppa) \\ % ϙ - \LGR \textQoppa{} \Latin textQoppa (archaic Koppa) \\ % Ϙ - \LGR \textstigma{} \Latin textstigma \\ % ϛ - \LGR \textvarstigma{} \Latin textvarstigma \\ % no separate Unicode character - \LGR \textStigma{} \Latin textStigma (Sigma-Tau-Ligature in CB-fonts)% + In LGR, there is no separate code point for Koppa.} \\ + \cssample{textqoppa} (archaic koppa) \\ % ϙ + \cssample{textQoppa} (archaic Koppa) \\ % Ϙ + \cssample{textstigma} \\ % ϛ + \cssample{textvarstigma} \\ % no separate Unicode character + \cssample{textStigma} (Sigma-Tau-Ligature in CB-fonts)% \footnote{the name ``stigma'' originally applied to a medieval sigma-tau ligature, whose shape was confusingly similar to the cursive digamma} \\ % Ϛ - \LGR \textsampi{} \Latin textsampi \\ % ϡ - \LGR \textSampi{} \Latin textSampi \\ % Ϡ - \LGR \textdigamma{} \Latin textdigamma \\ % ϝ (\digamma used by amsmath!) - \LGR \textDigamma{} \Latin textDigamma \\ % Ϝ + \cssample{textsampi} \\ % ϡ + \cssample{textSampi} \\ % Ϡ + \cssample{textdigamma} \\ % ϝ (\digamma used by amsmath!) + \cssample{textDigamma} \\ % Ϝ % numeral signs: http://en.wikipedia.org/wiki/Greek_numerals - \LGR \textdexiakeraia{} \Latin textdexiakeraia | % ʹ - \LGR \textnumeralsigngreek{} \Latin textnumeralsigngreek (Dexia keraia)\\ % ʹ - \LGR \textaristerikeraia{} \Latin textaristerikeraia | % ͵ - \LGR \textnumeralsignlowergreek{} \Latin textnumeralsignlowergreek - (Aristeri keraia)\\ % ͵ + \cssample{textdexiakeraia} (Dexia keraia)\\ % ʹ + \cssample{textaristerikeraia} (Aristeri keraia)\\ % ͵ + +\end{quote} + +Up/Downcasing of the additional Symbols from the Greek And Coptic Unicode +block: + +% see test-tuenc-greek.tex +\newcommand{\greekandcoptic}{ +\textnumeralsigngreek{} +\textnumeralsignlowergreek{} +{ }\ypogegrammeni{} +\texterotimatiko{} +\acctonos{ }{} +\"'{ }{} +\'\textAlpha{} +\textanoteleia{} +\'\textEpsilon{} +\'\textEta{} +\'\textIota{} +\'\textOmicron{} +\'\textUpsilon{} +\'\textOmega{} +\'"\textiota{} +\"\textIota{} +\"\textUpsilon{} +\'\textalpha{} +\'\textepsilon{} +\'\texteta{} +\'\textiota{} +\"'\textupsilon{} +\"\textiota{} +\"\textupsilon{} +\'\textomicron{} +\'\textupsilon{} +\'\textomega{} +\textQoppa{} +\textqoppa{} +\textStigma{} +\textstigma{} +\textDigamma{} +\textdigamma{} +\textKoppa{} +\textkoppa{} +\textSampi{} +\textsampi{} +} + +\LGR \greekandcoptic \Latin + +MakeUppercase: \\ +\LGR \MakeUppercase{\greekandcoptic} \Latin + +MakeLowercase: \\ +\LGR \MakeLowercase{\greekandcoptic} \Latin + + +\subsection{aliases} + +Aliases are defined in the included file +\href{greek-fontenc.def.html}{greek-fontenc.def}. + +Names matching mathematical variant symbols: + +\begin{quote} + \cssample{textvarepsilon} = \cssample{textepsilon} \\ % ε + \cssample{textvarphi} = \cssample{textphi} \\ % φ + \cssample{textvarsigma} = \cssample{textfinalsigma} \\ % ς +\end{quote} +Compatibility aliases for hyperref’s puenc.def: +\begin{quote} + \cssample{textmugreek} = \cssample{textmu} \\ + \cssample{textkoppagreek} = \cssample{textkoppa} \\ + \cssample{textKoppagreek} = \cssample{textKoppa} \\ + \cssample{textStigmagreek} = \cssample{textStigma} \\ + \cssample{textstigmagreek} = \cssample{textstigma} \\ + \cssample{textSampigreek} = \cssample{textSampi} \\ + \cssample{textsampigreek} = \cssample{textsampi} \\ + \cssample{textdigammagreek} = \cssample{textdigamma} \\ + \cssample{textDigammagreek} = \cssample{textDigamma} \\ + \cssample{textnumeralsigngreek} = \cssample{textdexiakeraia} \\ + \cssample{textnumeralsignlowergreek} = \cssample{textaristerikeraia} +\end{quote} +Two Unicode code points and names for one character: +\begin{quote} + \cssample{accoxia} = \cssample{acctonos} \\ + \cssample{acckoronis} = \cssample{accpsili} \end{quote} \subsection{symbol variants} Mathematical notation distinguishes variant shapes for pi ($\pi|\varpi$), -rho ($\rho|\varrho$), theta ($\theta|\vartheta$), beta, and kappa -(characters for the latter two symbols are not included in TeX's math +rho ($\rho|\varrho$), theta ($\theta|\vartheta$), beta, and kappa +(characters for the last two symbols are not included in TeX's standard math fonts). These variations have no syntactic meaning in Greek text and are not given code-points in the LGR encoding. Greek text fonts use the shape variants interchangeabely. @@ -312,7 +398,7 @@ is not defined in LGR.} \`{a} \'{a} \~{a} \"{a} \^{a} \={a} \H{a} \.{a} \r{a} \u{a} \v{a} \b{a} \c{a} \d{a} \k{a} } - + \LGR \`{a} \'{a} \~{a} \"{a} \^{a} \={a} \H{a} \.{a} \r{a} \u{a} \v{a} \b{a} \c{a} \d{a} @@ -358,7 +444,7 @@ $\mapsto$ UPPERCASE) \>\~u \~>u, \~<u \<\~u, \~"u \"\~u, \>w, \<w, \>\~w \~>w, \~<w \<\~w, a| a\ypogegrammeni{} - + \MakeUppercase{ \~>a \>\~a \~\>{a}, \~<a \<\~a \<~a \~\<a \~<a, \>\~{h} \~>h \>~h \>\~h \~>h \~>h|, \~<h \<\~h, @@ -369,6 +455,7 @@ a| a\ypogegrammeni{} } \<{\textalpha} \>{\textepsilon} \"'{\textiota} \`>\texteta{} +\accvaria\accpsili\texteta{} \'<{\textomicron} \~<{\textupsilon} \~>{\textomega} \<{\textAlpha} \>{\textEpsilon} \"{\textIota} \`>\textEta{} \'<{\textOmicron} \~<{\textUpsilon} \~>{\textOmega}, @@ -376,6 +463,7 @@ a| a\ypogegrammeni{} \\ \MakeUppercase{% \<{\textalpha} \>{\textepsilon} \"'{\textiota} \`\>\texteta{} + \accvaria\accpsili\texteta{} \'<{\textomicron} \~<{\textupsilon} \~>{\textomega} \<{\textAlpha} \>{\textEpsilon} \"{\textIota} \`>\textEta{} \'<{\textOmicron} \~<{\textUpsilon} \~>{\textOmega}, @@ -431,7 +519,7 @@ A| A\ypogegrammeni{} A\prosgegrammeni{}. The tilde character can be used in combined accents. However, in documents not defining the Babel language \emph{greek} or -\emph{polutonikogreek}, better use the tilde-accent macro, as +\emph{polutonikogreek}, better use the tilde-accent macro, as the tilde produces a no-break space if converted with \verb|\MakeUppercase| or \verb|\MakeLowercase|: \begin{quote} @@ -440,7 +528,7 @@ or \verb|\MakeLowercase|: \LGR \MakeUppercase{\"~i \<~i \"~u \<~u \`>u}\\ \LGR \"~I \<~I \"~U \<~U \`>U $\mapsto$ \LGR \MakeLowercase{\"~I \<~I \"~U \<~U \`>U} - + \Latin combined accent with tilde-accent macro:\\ \LGR \"\~i \~"u $\mapsto$ \MakeUppercase{\"\~i \~"u}\\ \LGR \"\~I \~"U $\mapsto$ \MakeLowercase{\"\~I \~"U} diff --git a/language/greek/greek-fontenc/test-nameclashes.pdf b/language/greek/greek-fontenc/test-nameclashes.pdf Binary files differdeleted file mode 100644 index f03cf0c932..0000000000 --- a/language/greek/greek-fontenc/test-nameclashes.pdf +++ /dev/null diff --git a/language/greek/greek-fontenc/test-nameclashes.tex b/language/greek/greek-fontenc/test-nameclashes.tex deleted file mode 100644 index 035a597f1c..0000000000 --- a/language/greek/greek-fontenc/test-nameclashes.tex +++ /dev/null @@ -1,66 +0,0 @@ -\documentclass[]{article} - -% PROBLEM -% \(re)newcommand gets overwritten for Accents \< and \>: - -\newcommand{\<}{\emph{first definition of <-accent}} -\renewcommand{\>}{\emph{early redefinition of >-accent}} - -% WORKAROUNDS - -% save original definition and overwrite later -\let\MyLessThanSaved\< - -% define as TextDefault (can be done before or after loading fontenc): -\DeclareTextCommandDefault{\>}{\emph{TextDefault of >-accent}} - - -\usepackage{lmodern} -\usepackage[LGR,T1]{fontenc} -\usepackage{textalpha} -% font encoding switch declarations: -\newcommand{\LGR}{\fontencoding{LGR}\selectfont} -\newcommand{\Latin}{\fontencoding{\encodingdefault}\selectfont} - - -% RESTORING -% restoring as "normal" macro results in problems in Greek text -% \renewcommand{\<}{\MyLessThanSaved} -% restore as "TextCommandDefault" (for all font encodings except LGR): -\DeclareTextCommandDefault{\<}{\MyLessThanSaved} - - -\begin{document} - -\section*{Test accent macro name clashes} - -The LGR font encoding defined until version 0.12 from 2014-12-12 the -\verb+\<+ and \verb+\>+ shortcuts for Greek dasia and psili accents as -``TextAccent'' macros (see fntguide.pdf). - -This definition moved to ``textalpha.sty'' wich also -makes LGR the default encoding for these accents. - -This means that with \verb+\usepackage{textalpha}+, the accent macros -are undefined in all other font encodings and can be given another definition. -However, due to the internal working of \verb+\DeclareTextAccent+, earlier -definitions of these macros are overwritten. - -Test: macro defined before fontenc loading: \< - -Test: macro (re)defined after fontenc loading: \>a - -Test: accent macro kept in LGR: \LGR \<h \Latin - -Test: accent macro overwritten also in LGR: \LGR \>h \Latin - -Test: TextCommandDefault at end of group: \texttt{\<} - -Test: Tab accent kludge: \a< - -\section*{LGR Transkription und Makros} - -\LGR 'a `a "u <a >a \\ - \'a \`a \"u \<a \>a \~a - -\end{document} diff --git a/language/greek/greek-fontenc/test-tuenc-greek.pdf b/language/greek/greek-fontenc/test-tuenc-greek.pdf Binary files differnew file mode 100644 index 0000000000..d9c51eb8b6 --- /dev/null +++ b/language/greek/greek-fontenc/test-tuenc-greek.pdf diff --git a/language/greek/greek-fontenc/tuenc-greek-doc.tex b/language/greek/greek-fontenc/test-tuenc-greek.tex index efd1f3e53c..9d34e76ddb 100644 --- a/language/greek/greek-fontenc/tuenc-greek-doc.tex +++ b/language/greek/greek-fontenc/test-tuenc-greek.tex @@ -1,7 +1,7 @@ \documentclass[a4paper]{article} % \usepackage{textcomp} \usepackage[unicode,colorlinks=true,linkcolor=blue]{hyperref} -\usepackage{bookmark} +% \usepackage{bookmark} % \usepackage{parskip} \usepackage{booktabs} \usepackage{amssymb} @@ -12,12 +12,13 @@ \usepackage[LGR]{fontenc} % Unicode font setup: -\usepackage[tuenc]{fontspec} +\usepackage{fontspec} % \setmainfont{DejaVu Serif} % \setsansfont{DejaVu Sans} % \usepackage{libertineotf} \setmainfont{Linux Libertine O} \setsansfont{Linux Biolinum O} +% \setmainfont{cmunrm.otf} % CMU Serif % many missing characters :( % \setmainfont{FreeSerif}% % \setmainfont{Droid Sans} @@ -28,13 +29,14 @@ \title{Font setup for Greek with XeTeX/LuaTeX} \author{Günter Milde} +\date{2020/10/30} \maketitle \noindent The file \href{tuenc-greek.def.html}{tuenc-greek.def} provides support for Greek \hyperref[licr]{LICR} macros and upcasing of text with -XeTeX and LuaTeX. It is automatically loaded by the -\href{textalpha-doc.pdf}{\emph{textalpha}} and -\href{alphabeta-doc.pdf}{\emph{alphabeta}} packages as well as +XeTeX and LuaTeX. It is loaded automatically by +\href{textalpha-doc.pdf}{\emph{textalpha}}, +\href{alphabeta-doc.pdf}{\emph{alphabeta}}, and \href{http://www.ctan.org/pkg/babel-greek}{\emph{babel-greek}} when used with Unicode fonts (LuaTeX or XeTeX with \href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}}). @@ -43,21 +45,20 @@ with Unicode fonts (LuaTeX or XeTeX with \section{Requirements} -\subsection{fontspec} - The \href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}} package sets - up the TU Unicode font encoding for XeTeX and LuaTeX. However, it does - not provide Greek character names (\hyperref[licr]{LICR} macros). +\subsection{\emph{fontspec} and suitable Unicode fonts} -\subsection{suitable Unicode fonts} -With the XeTeX or LuaTeX engines, the user must ensure that the selected -font contains Greek glyphs (the default Latin Modern fonts have only capital -Greek letters). -There are no errors for missing glyphs, just warnings in the log file (but -not the console output) and empty spaces in the output document. +LaTeX sets up the TU Unicode text font encoding if it detects the XeTeX or +LuaTeX engiges. The user must ensure that the selected font contains Greek +glyphs (the default Latin Modern fonts have only capital Greek letters). +\textbf{There are no errors for missing glyphs, just warnings in the log +file (but not in the console output) and empty spaces in the output +document.} -Examples for suitable fonts are given in the -\href{http://mirrors.ctan.org/language/greek/greek-fontenc/README.html#TU} -{greek-fontenc README}. +The \href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}} package is the +standard tool to select fonts in Xe/LuaLaTeX. Examples for suitable fonts +are given in the +\href{http://mirrors.ctan.org/language/greek/greek-fontenc/greek-fontenc.html#TU} +{greek-fontenc documentation}. \section{Usage} @@ -66,19 +67,19 @@ Examples for suitable fonts are given in the \href{textalpha-doc.pdf}{\emph{textalpha}}, \href{alphabeta-doc.pdf}{\emph{alphabeta}}, or \emph{Babel} (with the language option \href{http://www.ctan.org/pkg/babel-greek}{greek}). If these -packages are loaded after -\href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}}, Unicode font setup -is amended for use of the Greek script. +packages are used with Unicode-aware TeX engines (XeTeX or LuaTeX), Unicode +font setup is amended for use of the Greek script. + \section{LICR input% - \label{licr}} + \label{licr}} The LaTeX internal character representation (LICR) is a verbose, fail-safe 7-bit ASCII encoding that can be used unaltered under both, 8-bit TeX and XeTeX/LuaTeX. Use cases are macro definitions and generated text. See the source of this document, -\href{tuenc-greek-doc.tex}{\texttt{tuenc-greek-doc.tex}} for the input used +\href{test-tuenc-greek.tex}{\texttt{test-tuenc-greek.tex}} for the input used in the examples below. \subsection{Greek alphabet} @@ -117,9 +118,10 @@ Greek diacritics can be input by named macro or symbol macro: \accpsili\textalpha \>\textalpha{} \accpsili x\>x \accdasia\textalpha \<\textalpha{} \accdasia x\<x \end{quote} -Up-to-date Xe/LuaTeX normalizes base letter and combining diacritics to the +% +XeTeX normalizes base letter and combining diacritics to the corresponding pre-composed character if such a mapping is defined in the -Unicode standard: +Unicode standard. \begin{quote} % άάὰὰϊϊᾶᾶἀἀἁἁ @@ -177,38 +179,55 @@ Combined accents are defined using combining diacritical characters. Composite diacritics overlap when they are not normalized to a pre-composed character. However, this is not a major problem in normal use as pre-composed characters exist in Unicode for all letters that are -used with diacritics in (ancient, polytonic or monotonoc) Greek. - +used with diacritics in (ancient, polytonic or monotonic) Greek. \subsubsection{sub-iota} -The sub-iota (ypogegrammeni/prosgegrammeni) is input after the base letter. +The sub-iota is input after the base letter. \begin{itemize} +\item + \verb|\ypogegrammeni| sets a COMBINING GREEK YPOGEGRAMMENI: + \textalpha\ypogegrammeni{} k\ypogegrammeni{}. + + A Greek capital letter followed by COMBINING GREEK YPOGEGRAMMENI is + normalized to the corresponding Greek capital letter WITH [... AND] + PROSGEGRAMMENI, if a mapping exists in the Unicode standard (by XeTeX but + not by LuaTeX) + \item \verb|\prosgegrammeni| sets a spacing GREEK PROSGEGRAMMENI: \textAlpha\prosgegrammeni{} K\prosgegrammeni{}. -\item \verb|\ypogegrammeni| sets a COMBINING GREEK YPOGEGRAMMENI: - \textalpha\ypogegrammeni{} k\ypogegrammeni{}. -A Greek capital letter followed by COMBINING GREEK YPOGEGRAMMENI is -normalized to the corresponding Greek capital letter WITH [.. AND] -PROSGEGRAMMENI, if a mapping exists in the Unicode standard: - \textAlpha\ypogegrammeni{} but - K\ypogegrammeni{}. + Spacing is better with the pre-composed characters for Greek capital + letters \ldots{} WITH PROSGEGRAMMENI. + + Compare Αι (small letter iota) vs. Αι (spacing prosgegrammeni) vs. ᾼ + (pre-composed). + + \end{itemize} +% +Test letters with ypogegrammeni and prosgegrammeni (literal/LICR): + +\begin{quote} +\begin{tabbing} + + unchanged \quad\= make lowercase\quad\= make uppercase. \\ -\textAlpha\ypogegrammeni \textAlpha\prosgegrammeni -\MakeLowercase{\textAlpha\ypogegrammeni \textAlpha\prosgegrammeni} -\MakeUppercase{\textAlpha\ypogegrammeni \textAlpha\prosgegrammeni} + ᾳαι/\textalpha\ypogegrammeni \textalpha\prosgegrammeni{} \> + \MakeLowercase{ᾳαι/\textalpha\ypogegrammeni \textalpha\prosgegrammeni} \> + \MakeUppercase{ᾳαι/\textalpha\ypogegrammeni \textalpha\prosgegrammeni} \\ -\textLambda\ypogegrammeni \textLambda\prosgegrammeni -\MakeLowercase{\textLambda\ypogegrammeni \textLambda\prosgegrammeni} -\MakeUppercase{\textLambda\ypogegrammeni \textLambda\prosgegrammeni} + ᾼΑι/\textAlpha\ypogegrammeni \textAlpha\prosgegrammeni{} \> + \MakeLowercase{ᾼΑι/\textAlpha\ypogegrammeni \textAlpha\prosgegrammeni} \> + \MakeUppercase{ᾼΑι/\textAlpha\ypogegrammeni \textAlpha\prosgegrammeni} \\ -\textalpha\ypogegrammeni \textalpha\prosgegrammeni -\MakeLowercase{\textalpha\ypogegrammeni \textalpha\prosgegrammeni} -\MakeUppercase{\textalpha\ypogegrammeni \textalpha\prosgegrammeni} + ΛͅΛι/\textLambda\ypogegrammeni \textLambda\prosgegrammeni{} \> + \MakeLowercase{ΛͅΛι/\textLambda\ypogegrammeni \textLambda\prosgegrammeni} \> + \MakeUppercase{ΛͅΛι/\textLambda\ypogegrammeni \textLambda\prosgegrammeni} +\end{tabbing} +\end{quote} \subsection{Additional Greek symbols} @@ -355,6 +374,26 @@ defines the \verb|\textgreek| command for this purpose. } \end{quote} + +\subsubsection{generic text symbols} + +There are some LICR macros for some symbols from the 8-bit font encoding LGR +that are not confined to Greek but not defined in +\texttt{tuenc.def} [2018/08/11 v2.0j]. + +\begin{quote} + \textsemicolon{} textsemicolon\\ + \textmicro{} textmicro \\ + \textschwa{} textschwa +\end{quote} +The SI unit prefix MICRO SIGN is not upcased with MakeUppercase: + +\begin{quote} + textmu: \textmu{} $\mapsto$ \MakeUppercase{\textmu} but + textmicro: \textmicro{} $\mapsto$ \MakeUppercase{\textmicro}. +\end{quote} + + \section{Latin transcription} The Latin transcription known from LGR encoded 8-bit fonts% @@ -365,7 +404,7 @@ description.} does not work with Unicode fonts. It is possible to set up LGR encoded fonts parallel to Unicode fonts (see -the preamble of the source file \url{tuenc-greek-doc.tex} for an example). +the preamble of the source file \url{test-tuenc-greek.tex} for an example). The \verb|\textgreek| macro can then be used for the input of Greek letters via the \emph{Latin transcription}, e.g. «logos» becomes «\textgreek{logos}» and «\verb|\>aupn\'ia|» becomes «\textgreek{\>aupn\'ia}». @@ -457,7 +496,7 @@ LICR macro is followed by the corresponding literal Unicode character. \subsection{Greek and Coptic Unicode block} Seldom used characters that are not part of LGR encoded TeX fonts have no -LICR definition: +LICR definition. \newcommand{\greekandcoptic}{ % NR Unicode Name % babel name, UCS name @@ -475,8 +514,8 @@ LICR definition: % 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL % \texterotimatiko ; % \textquestion -\acctonos{ } % ΄ -\"'{ } % ΅ +\acctonos{ } ΄ +\"'{ } ΅ \'\textAlpha Ά \textanoteleia · % \anoteleia \'\textEpsilon Έ @@ -572,18 +611,22 @@ LICR definition: % Ϣ ϣ Ϥ ϥ Ϧ ϧ Ϩ ϩ Ϫ ϫ Ϭ ϭ Ϯ ϯ -ϰ ϱ ϲ +\textkappasymbol ϰ +\textrhosymbol ϱ +% ϲ % ϳ -ϴ ϵ ϶ +\textThetasymbol ϴ +\textepsilonsymbol ϵ +% ϶ % Ϸ ϸ -Ϲ +% Ϲ % Ϻ ϻ ϼ -Ͻ Ͼ Ͽ +% Ͻ Ͼ Ͽ } \greekandcoptic -\noindent MakeUppercase: +\noindent MakeUppercase (note: standard accents not dropped): \MakeUppercase{\greekandcoptic} @@ -599,6 +642,7 @@ The lowercase of Ϛ (GREEK LETTER STIGMA) is ϛ (GREEK SMALL LETTER STIGMA). \subsection{Greek Extended Unicode block} Note: There are no LICR definitions for spacing diacritical characters. +Use the corresponding accent macro with an empty argument or a space. % \accvaria\textalpha ὰ % \accoxia\textalpha ά @@ -713,29 +757,29 @@ Note: There are no LICR definitions for spacing diacritical characters. \~>\textOmega Ὦ \~<\textOmega Ὧ -\accvaria\textalpha ὰ +\accvaria\textalpha ὰ \accoxia\textalpha ά -\accvaria\textepsilon ὲ +\accvaria\textepsilon ὲ \accoxia\textepsilon έ -\accvaria\texteta ὴ +\accvaria\texteta ὴ \accoxia\texteta ή -\accvaria\textiota ὶ +\accvaria\textiota ὶ \accoxia\textiota ί -\accvaria\textomicron ὸ +\accvaria\textomicron ὸ \accoxia\textomicron ό -\accvaria\textupsilon ὺ +\accvaria\textupsilon ὺ \accoxia\textupsilon ύ -\accvaria\textomega ὼ +\accvaria\textomega ὼ \accoxia\textomega ώ -\>\textalpha\ypogegrammeni ᾀ -\<\textalpha\ypogegrammeni ᾁ -\>`\textalpha\ypogegrammeni ᾂ -\<`\textalpha\ypogegrammeni ᾃ -\>'\textalpha\ypogegrammeni ᾄ -\<'\textalpha\ypogegrammeni ᾅ -\~>\textalpha\ypogegrammeni ᾆ -\~<\textalpha\ypogegrammeni ᾇ +\>\textalpha\ypogegrammeni ᾀ +\<\textalpha\ypogegrammeni ᾁ +\>`\textalpha\ypogegrammeni ᾂ +\<`\textalpha\ypogegrammeni ᾃ +\>'\textalpha\ypogegrammeni ᾄ +\<'\textalpha\ypogegrammeni ᾅ +\~>\textalpha\ypogegrammeni ᾆ +\~<\textalpha\ypogegrammeni ᾇ \>\textAlpha\ypogegrammeni ᾈ \<\textAlpha\ypogegrammeni ᾉ \>`\textAlpha\ypogegrammeni ᾊ @@ -745,31 +789,31 @@ Note: There are no LICR definitions for spacing diacritical characters. \~>\textAlpha\ypogegrammeni ᾎ \~<\textAlpha\ypogegrammeni ᾏ -\>\texteta\ypogegrammeni ᾐ -\<\texteta\ypogegrammeni ᾑ -\>`\texteta\ypogegrammeni ᾒ -\<`\texteta\ypogegrammeni ᾓ -\>'\texteta\ypogegrammeni ᾔ -\<'\texteta\ypogegrammeni ᾕ -\~>\texteta\ypogegrammeni ᾖ -\~<\texteta\ypogegrammeni ᾗ -\>\textEta\ypogegrammeni ᾘ -\<\textEta\ypogegrammeni ᾙ -\>`\textEta\ypogegrammeni ᾚ -\<`\textEta\ypogegrammeni ᾛ -\>'\textEta\ypogegrammeni ᾜ -\<'\textEta\ypogegrammeni ᾝ -\~>\textEta\ypogegrammeni ᾞ -\~<\textEta\ypogegrammeni ᾟ - -\>\textomega\ypogegrammeni ᾠ -\<\textomega\ypogegrammeni ᾡ -\>`\textomega\ypogegrammeni ᾢ -\<`\textomega\ypogegrammeni ᾣ -\>'\textomega\ypogegrammeni ᾤ -\<'\textomega\ypogegrammeni ᾥ -\~>\textomega\ypogegrammeni ᾦ -\~<\textomega\ypogegrammeni ᾧ +\>\texteta\ypogegrammeni ᾐ +\<\texteta\ypogegrammeni ᾑ +\>`\texteta\ypogegrammeni ᾒ +\<`\texteta\ypogegrammeni ᾓ +\>'\texteta\ypogegrammeni ᾔ +\<'\texteta\ypogegrammeni ᾕ +\~>\texteta\ypogegrammeni ᾖ +\~<\texteta\ypogegrammeni ᾗ +\>\textEta\ypogegrammeni ᾘ +\<\textEta\ypogegrammeni ᾙ +\>`\textEta\ypogegrammeni ᾚ +\<`\textEta\ypogegrammeni ᾛ +\>'\textEta\ypogegrammeni ᾜ +\<'\textEta\ypogegrammeni ᾝ +\~>\textEta\ypogegrammeni ᾞ +\~<\textEta\ypogegrammeni ᾟ + +\>\textomega\ypogegrammeni ᾠ +\<\textomega\ypogegrammeni ᾡ +\>`\textomega\ypogegrammeni ᾢ +\<`\textomega\ypogegrammeni ᾣ +\>'\textomega\ypogegrammeni ᾤ +\<'\textomega\ypogegrammeni ᾥ +\~>\textomega\ypogegrammeni ᾦ +\~<\textomega\ypogegrammeni ᾧ \>\textOmega\ypogegrammeni ᾨ \<\textOmega\ypogegrammeni ᾩ \>`\textOmega\ypogegrammeni ᾪ @@ -781,49 +825,49 @@ Note: There are no LICR definitions for spacing diacritical characters. \u\textalpha ᾰ \=\textalpha ᾱ -\accvaria\textalpha\ypogegrammeni ᾲ +\accvaria\textalpha\ypogegrammeni ᾲ \textalpha\ypogegrammeni ᾳ -\accoxia\textalpha\ypogegrammeni ᾴ -\~\textalpha ᾶ -\~\textalpha\ypogegrammeni ᾷ +\accoxia\textalpha\ypogegrammeni ᾴ +\accperispomeni\textalpha ᾶ +\accperispomeni\textalpha\ypogegrammeni ᾷ \u\textAlpha Ᾰ \=\textAlpha Ᾱ -\accvaria\textAlpha Ὰ -\accoxia\textAlpha Ά +\accvaria\textAlpha Ὰ +\accoxia\textAlpha Ά \textAlpha\ypogegrammeni ᾼ \>{ } ᾽ { }\prosgegrammeni ι \>{ } ᾿ -\accperispomeni\textcompwordmark ῀ +\accperispomeni{ } ῀ \"\~{ } ῁ -\accvaria\texteta\ypogegrammeni ῂ +\accvaria\texteta\ypogegrammeni ῂ \texteta\ypogegrammeni ῃ -\accoxia\texteta\ypogegrammeni ῄ -\~\texteta ῆ -\~\texteta\ypogegrammeni ῇ -\accvaria\textEpsilon Ὲ -\accoxia\textEpsilon Έ -\accvaria\textEta Ὴ -\accoxia\textEta Ή +\accoxia\texteta\ypogegrammeni ῄ +\accperispomeni\texteta ῆ +\accperispomeni\texteta\ypogegrammeni ῇ +\accvaria\textEpsilon Ὲ +\accoxia\textEpsilon Έ +\accvaria\textEta Ὴ +\accoxia\textEta Ή \textEta\ypogegrammeni ῌ -\>`{ } ῍ -\>'{ } ῎ -\~>{ } ῏ +\>`{ } ῍ +\>'{ } ῎ +\~>{ } ῏ \u\textiota ῐ \=\textiota ῑ \`"\textiota ῒ \'"\textiota ΐ -\~\textiota ῖ -\~"\textiota ῗ +\accperispomeni\textiota ῖ +\accperispomeni"\textiota ῗ \u\textIota Ῐ \=\textIota Ῑ -\accvaria\textIota Ὶ -\accoxia\textIota Ί -\<`{ } ῝ -\>'{ } ῞ -\~<{ } ῟ +\accvaria\textIota Ὶ +\accoxia\textIota Ί + \<`{ } ῝ +\>'{ } ῞ +\~<{ } ῟ \u\textupsilon ῠ \=\textupsilon ῡ @@ -831,29 +875,29 @@ Note: There are no LICR definitions for spacing diacritical characters. \'"\textupsilon ΰ \>\textrho ῤ \<\textrho ῥ -\~\textupsilon ῦ -\~"\textupsilon ῧ +\accperispomeni\textupsilon ῦ +\accperispomeni"\textupsilon ῧ \u\textUpsilon Ῠ \=\textUpsilon Ῡ -\accvaria\textUpsilon Ὺ -\accoxia\textUpsilon Ύ +\accvaria\textUpsilon Ὺ +\accoxia\textUpsilon Ύ \<\textRho Ῥ -\`"{ } ῭ -\'"{ } ΅ -\accvaria{ } ` +\`"{ } ῭ +\'"{ } ΅ +\accvaria{ } ` -\accvaria\textomega\ypogegrammeni ῲ +\accvaria\textomega\ypogegrammeni ῲ \textomega\ypogegrammeni ῳ -\accoxia\textomega\ypogegrammeni ῴ -\~\textomega ῶ -\~\textomega\ypogegrammeni ῷ -\accvaria\textOmicron Ὸ -\accoxia\textOmicron Ό -\accvaria\textOmega Ὼ -\accoxia\textOmega Ώ +\accoxia\textomega\ypogegrammeni ῴ +\accperispomeni\textomega ῶ +\accperispomeni\textomega\ypogegrammeni ῷ +\accvaria\textOmicron Ὸ +\accoxia\textOmicron Ό +\accvaria\textOmega Ὼ +\accoxia\textOmega Ώ \textOmega\ypogegrammeni ῼ -\accoxia{ } ´ -\<{ } ῾ +\accoxia{ } ´ +\<{ } ῾ } \greekextended diff --git a/language/greek/greek-fontenc/textalpha-doc.pdf b/language/greek/greek-fontenc/textalpha-doc.pdf Binary files differindex 940651d0e2..3967a2b8f3 100644 --- a/language/greek/greek-fontenc/textalpha-doc.pdf +++ b/language/greek/greek-fontenc/textalpha-doc.pdf diff --git a/language/greek/greek-fontenc/textalpha-doc.tex b/language/greek/greek-fontenc/textalpha-doc.tex index 00163fdc15..38c1d2e67e 100644 --- a/language/greek/greek-fontenc/textalpha-doc.tex +++ b/language/greek/greek-fontenc/textalpha-doc.tex @@ -2,73 +2,116 @@ \usepackage{parskip} \usepackage{booktabs} -\usepackage{lmodern} -\usepackage{textcomp} -\usepackage[LGR,T1]{fontenc} +\ifdefined \UnicodeEncodingName % set by LaTeX for Unicode-aware engines + % Setup for Unicode fonts (Xe-/LuaTeX) + \usepackage{fontspec} + \setmainfont{Linux Libertine O} + \setsansfont{Linux Biolinum O} + \newcommand*{\greekfontencoding}{TU} +\else + % Setup for 8-bit fonts (pdfTeX/LuaTeX) + % (XeTeX in compatibility mode would require inputenc hacks and is not + % reliable.) + \usepackage{lmodern} + \usepackage{textcomp} + \usepackage[LGR,T1]{fontenc} + \newcommand*{\greekfontencoding}{LGR} + \newcommand*{\latinencoding}{T1} + % UTF8 input encoding for pdfTeX or LuaTeX in 8-bit compatibility mode: + \usepackage[utf8]{luainputenc} +\fi -% UTF8 input encoding for pdfTeX or LuaTeX in 8-bit compatibility mode: -% (XeTeX in compatibility mode would require xetex-inputenc.sty, which is -% not at CTAN but on https://github.com/wspr/xetex-inputenc) -\usepackage[utf8]{luainputenc} \usepackage[pdfencoding=auto,colorlinks=true,linkcolor=blue]{hyperref} -\usepackage{bookmark} -% hyperrefs PU encoding supports Greek LICR macros -\DeclareTextCommand{\ensuregreek}{PU}[1]{#1} +% \usepackage{bookmark} +\makeatletter +\providecommand*{\href}{\@secondoftwo} +\providecommand*{\url}{\texttt} +\makeatother \usepackage[normalize-symbols, % comment option out to test error reporting keep-semicolon% ]{textalpha} +% compatibility defs: +\ProvideTextCommandDefault{\textvarstigma}{$\oslash$% + \message{Character textvarstigma not defined.}} +\ProvideTextCommand{\textvarstigma}{PU}{⌀} +\providecommand*{\accinvertedbrevebelow}{$\oslash$% + \message{Character accinvertedbrevebelow not defined.}} +\providecommand*{\accbrevebelow}{$\oslash$% + \message{Character accbrevebelow not defined.}} + + + \begin{document} \title{The \emph{textalpha} package} \author{Günter Milde} +\date{2020/10/30} + \maketitle \abstract{\noindent The \emph{textalpha} package enables the use of Greek characters -in text independent of font encoding or TeX engine. Input is possible via -text commands (\verb|\textalpha| \ldots +in text independent of font encoding or TeX engine.% +\footnote{ + This document was compiled using + \ifdefined \UTFencname % defined by fontspec + Unicode fonts (font encoding \latinencoding). + For a version using 8-bit fonts, see + \href{textalpha-doc.pdf}{textalpha-doc.pdf}. + \else + 8-bit fonts (font encoding \latinencoding). + For a version using Unicode fonts, see + \href{textalpha-tu.pdf}{textalpha-tu.pdf}. + \fi +} +Input is possible via text commands (\verb|\textalpha| \ldots \verb|\textOmega|) or Unicode literals\footnote{% Requires \emph{\href{http://www.ctan.org/pkg/greek-inputenc}{greek-inputenc}} or XeTeX/LuaTeX.}. } + \tableofcontents + \section{Usage} Load this package in the preamble of your document with \begin{verbatim} - \usepackage{textalpha} + \usepackage[<options>]{textalpha} \end{verbatim} -eventually with options \texttt{normalize-symbols} and/or -\texttt{keep-semicolon}. - -If \emph{textalpha} is loaded after the setup of Unicode fonts with the -\href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}} package under -LuaTeX and XeTeX, it provides a compatible interface for Greek in text mode. - +to get a unified interface for Greek letters and symbols that works in all +text font encodings, with both, Unicode fonts and the +\href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}} package or 8-bit +fonts and the \href{http://www.ctan.org/pkg/fontenc}{\emph{fontenc}} +package. See the source of this document \url{textalpha-doc.tex} for a setup and usage example, the literate source of the package \href{textalpha.sty.html}{textalpha.sty} for the implementation, and -\href{tuenc-greek-doc.pdf}{tuenc-greek-doc.pdf} for +\href{test-tuenc-greek.pdf}{test-tuenc-greek.pdf} for \emph{Font setup for Greek with XeTeX/LuaTeX}. -\subsection{option \texttt{normalize-symbols}} +\subsection{Options} +\subsubsection{\texttt{normalize-symbols}} Mathematical notation uses variant shapes of some Greek letters as additional symbols. There are separate code points for the symbol variants in Unicode. TeX supports some of the variant shape symbols in mathematical -mode ($\theta|\vartheta, \phi|\varphi, \pi|\varpi, \rho|\varrho, -\epsilon|\varepsilon$) but not in the LGR font encoding used for Greek in -8-bit TeX. +mode +\[ + \theta|\vartheta, \phi|\varphi, \pi|\varpi, \rho|\varrho, + \epsilon|\varepsilon +\] +but not in the LGR font encoding used for Greek text +in 8-bit TeX. The variations have no syntactic meaning in Greek text and text fonts may use the variant shapes in place of the “regular” ones as a stylistic choice. -However, some Greek texts use these GREEK ... SYMBOL characters in place of +However, some Greek texts use these GREEK ... SYMBOL Unicode literals in place of the corresponding GREEK LETTER ... characters. The \texttt{normalize-symbols} option merges letters and symbols to Greek @@ -76,29 +119,26 @@ letters. This way, text copied from external sources can be compiled without errors even if it contains GREEK SYMBOL characters in place of GREEK LETTERS: \begin{quote} - This text uses both variants for beta (β|ϐ), theta (θ|ϑ), phi (φ|ϕ), pi - (π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon (ε|ϵ) in the LaTeX - source. - - \greekscript - This text uses both variants for beta (β|ϐ), theta (θ|ϑ), phi (φ|ϕ), pi - (π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon (ε|ϵ) in the LaTeX - source. + The source of this text uses both variants for beta (β|ϐ), theta (θ|ϑ), + phi (φ|ϕ), pi (π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon + (ε|ϵ) in the LaTeX source. \end{quote} +% +This option is ignored with Unicode fonts. -\textbf{Attention}: Do not use this option in cases where the distinction +\begin{description} + \item [Attention:] Do not use this option in cases where the distinction between the symbol variants may be important (e.g. in a mathematical or -scientific context). Try the \emph{alphabeta} package with the -respective characters in math mode or use XeTeX/LuaTeX with Unicode fonts in -these cases. +scientific context). Try the \href{alphabeta-doc.pdf}{alphabeta} package +with the respective characters in mathematical mode or use XeTeX/LuaTeX with +Unicode fonts in these cases. +\end{description} -This option is ignored with Unicode fonts. +\subsubsection{\texttt{keep-semicolon}} -\subsection{\texttt{keep-semicolon}} - -LGR is no ``standard font encoding''. Latin characters and some other ASCII -symbols are mapped to Greek ``equivalents'' if LGR is the active font -encoding. (See +LGR is no \href{http://mirrors.ctan.org/macros/latex/base/encguide.pdf}{standard text font encoding}. +Latin characters and some other ASCII symbols are mapped to Greek +``equivalents'' if LGR is the active font encoding. (See \href{http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf}{usage.pdf} for a description of this Latin-Greek transliteration.) @@ -106,7 +146,7 @@ Special care is required with the question mark characters: The LGR font encoding uses the Latin question mark as input for the \emph{erotimatiko} and maps the semicolon to a middle dot (\emph{ano teleia}). As a result, Unicode-encoded texts that use the semicolon as -\emph{erotimatiko} end up with an \emph{ano teleia} in its place! +\emph{erotimatiko} end up with an \emph{ano teleia} in its place! Without special care, only the deprecated character 037E GREEK QUESTION MARK% \footnote{The Unicode standard provides the code point 037E GREEK QUESTION MARK but says character 003B SEMICOLON and not 037E is the preferred @@ -116,8 +156,8 @@ works with both, Xe/LuaTeX and 8-bit TeX. The \verb|\textsemicolon| command inserts an \emph{erotimatiko} in LGR and a semicolon else (i.e. always a character that looks like a semicolon): \begin{quote} - Latin (T1) a\textsemicolon{} b, - Greek (LGR) \ensuregreek{a\textsemicolon{} b} + Latin (\latinencoding) a\textsemicolon{} b, + Greek (\greekfontencoding) \ensuregreek{a\textsemicolon{} b} \end{quote} With the \texttt{keep-semicolon} option, character 003B SEMICOLON can be used @@ -125,7 +165,7 @@ for the \emph{erotimatiko} also with LGR encoded fonts: \begin{center} \begin{tabular}{lll} - Latin (T1) & Greek (LGR) & question mark character \\ + Latin (\latinencoding) & Greek (\greekfontencoding) & question mark character \\ \midrule Τί φήις; & \ensuregreek{Τί φήις;} & 037E GREEK QUESTION MARK \\ Τί φήις; & \ensuregreek{Τί φήις;} & 003B SEMICOLON \\ @@ -133,7 +173,8 @@ for the \emph{erotimatiko} also with LGR encoded fonts: \end{tabular} \end{center} -This option is ignored with Unicode fonts. +This option is ignored with Unicode fonts (where the SEMICOLON literal +always prints a semicolon character). \section{Limitations \label{sec:limitations}} @@ -156,17 +197,24 @@ or XeTeX/LuaTeX with Unicode fonts. \subsection{Diacritics} +Accent macros do not work with Unicode literals as base character +under 8-bit LaTeX engines. Use the Latin transcription or LICR commands. + Composition of diacritics (like \verb|\accdasia\acctonos| or \verb|\<\'|) fails in other font encodings. Long names (like \verb|\accdasiaoxia|) work. -With LGR, pre-composed glyphs are chosen if available. In other font +With LGR and TU, pre-composed glyphs are chosen if available. In other font encodings, accent macros do not select pre-composed characters. (The difference is a sub-optimal placement of the accent and becomes obvious if you drag-and-drop text from the PDF version of this document.): \begin{quote} - \ensuregreek{\<'a \accdasia\acctonos a \accdasiaoxia a - \accdasiaoxia\textalpha} (LGR) vs. \accdasiaoxia\textalpha{} (T1). + \ensuregreek{\<'\textalpha + \accdasia\acctonos\textalpha + \accdasiaoxia\textalpha + \accdasiaoxia\textalpha + } (\greekfontencoding) + vs. \accdasiaoxia\textalpha{} (\latinencoding). \end{quote} According to Greek typographical tradition, diacritics (except the @@ -192,9 +240,9 @@ This fails for accent macros if the active font encoding does not support Greek. Pre-composed literal Unicode characters are handled correctly: \begin{quote} \begin{tabular}{ccc} - & LICR & Unicode \\ \hline - LGR & \ensuregreek{\'\textAlpha} & \ensuregreek{Ά} \\ - T1 & \'\textAlpha & Ά \\ + & LICR & Unicode \\ \hline + \greekfontencoding & \ensuregreek{\'\textAlpha} & \ensuregreek{Ά} \\ + \latinencoding & \'\textAlpha & Ά \\ \end{tabular} \end{quote} @@ -206,26 +254,32 @@ auto-hiatus feature works in LGR and TU font encodings only: \acctonos\textalpha\textupsilon{}, \acctonos\textepsilon\textiota{} $\mapsto$ \MakeUppercase{\ensuregreek{ \acctonos\textalpha\textupsilon{}, \acctonos\textepsilon\textiota{} - }} (LGR) vs. + }} (\greekfontencoding) vs. \MakeUppercase{ \acctonos\textalpha\textupsilon{}, \acctonos\textepsilon\textiota{}% - } (T1) + } (\latinencoding) \end{quote} -Currently, the second vowel of the diphthong must be given as macro, not -Unicode literal if the auto-hiatus feature should work: +Currently, the auto-hiatus feature should works only reliably with +LICR commands, not Unicode literals: \begin{quote} \ensuregreek{ἀ\textupsilon{}πνία} $\mapsto$ -\ensuregreek{\MakeUppercase{\ensuregreek{ἀ\textupsilon{}πνία}}} (LGR) vs. -\ensuregreek{\MakeUppercase{\ensuregreek{ἀυπνία}}} (T1). +\ensuregreek{\MakeUppercase{\ensuregreek{\accpsili{\textalpha}\textupsilon{}πνία}}} +(OK) + +\ensuregreek{ἀ\textupsilon{}πνία} $\mapsto$ +\ensuregreek{\MakeUppercase{\ensuregreek{ἀ\textupsilon{}πνία}}} (OK with LGR) + +\ensuregreek{ἀ\textupsilon{}πνία} $\mapsto$ +\ensuregreek{\MakeUppercase{\ensuregreek{ἀυπνία}}} (fail) \end{quote} \subsection{Kerning} -No kerning occurs between Greek characters in non-Greek text due to the -internal font encoding switch: compare -\ensuregreek{\textAlpha\textUpsilon\textAlpha} (LGR) to -\textAlpha\textUpsilon\textAlpha (T1). +With 8-bit fonts, no kerning occurs between Greek characters in non-Greek +text due to the internal font encoding switch: compare +\ensuregreek{\textAlpha\textUpsilon\textAlpha} (\greekfontencoding) to +\textAlpha\textUpsilon\textAlpha{} (\latinencoding). Compiling with LuaTeX provides kerning also on font encoding boundaries. @@ -233,52 +287,55 @@ Compiling with LuaTeX provides kerning also on font encoding boundaries. \subsection{Greek alphabet} -Greek letters via Latin transcription in LGR font encoding: +Greek letters via Latin transcription (works only in LGR font encoding): \begin{quote} - \ensuregreek{A B G D E Z H J I K L M N X O P R S T U F Q Y W}\\ \ensuregreek{a b g d e z h j i k l m n x o p r sv c t u f q y w} -\end{quote} -\smallskip\noindent -Greek letters via default macros in other font encoding (here T1): + \ensuregreek{A B G D E Z H J I K L M N X O P R S T U F Q Y W} +\end{quote} +% +Greek letters via default macros in the font for Latin script +(here \latinencoding): -\begin{quote} +\newcommand*{\greekAlphabetsample}{ \textAlpha{} \textBeta{} \textGamma{} \textDelta{} \textEpsilon{} \textZeta{} \textEta{} \textTheta{} \textIota{} \textKappa{} \textLambda{} \textMu{} \textNu{} \textXi{} \textOmicron{} \textPi{} \textRho{} \textSigma{} \textTau{} \textUpsilon{} \textPhi{} \textChi{} \textPsi{} \textOmega{} - \\ + } +\newcommand*{\greekalphabetsample}{ \textalpha{} \textbeta{} \textgamma{} \textdelta{} \textepsilon{} \textzeta{} \texteta{} \texttheta{} \textiota{} \textkappa{} \textlambda{} \textmu{} \textnu{} \textxi{} \textomicron{} \textpi{} \textrho{} \textsigma{} \textvarsigma{} \texttau{} \textupsilon{} \textphi{} \textchi{} \textpsi{} \textomega{} -\end{quote} +} +\begin{quote} + \greekalphabetsample -\smallskip\noindent + \greekAlphabetsample +\end{quote} +% Archaic Greek letters and Greek punctuation +\newcommand*{\archaicgreeksample}{ + \textdigamma \textDigamma{} + \textkoppa \textKoppa{} + \textqoppa \textQoppa{} + \textsampi \textSampi{} + \textstigma \textvarstigma \textStigma{} + \textanoteleia{} + \texterotimatiko{} + \textdexiakeraia{} + \textaristerikeraia{} +} + \begin{quote} - \textDigamma - \textanoteleia - \textQoppa - \textSampi - \textStigma - \textnumeralsigngreek - \texterotimatiko - \\ - \textdigamma - \textkoppa - \textqoppa - \textsampi - \textstigma - \textnumeralsignlowergreek - \textvarstigma + \archaicgreeksample \end{quote} - -\smallskip\noindent +% Diacritics \begin{quote} @@ -308,10 +365,10 @@ Diacritics \accpsilioxia{} \accpsilivaria{} % + Only in LGR: \accinvertedbrevebelow{} % == \textsubarch{} \accbrevebelow{} - \end{quote} \medskip\noindent @@ -328,6 +385,33 @@ This also works for the new-defined Dasia and Psili shortcuts: \end{tabbing} \end{quote} +\subsubsection{Sigma} + +The lower Sigma comes in two variants: \verb|\textsigma| \textsigma{} is +used inside a word and \verb|\textfinalsigma| \textfinalsigma{} (or +\verb|\textvarsigma| \textvarsigma{}) at the end of words. + +In LGR, the Latin letter \verb|s| and the command \verb|\textautosigma| +print the ``normal'' sigma if followed by another letter and the final sigma +if followed by space or punctuation. This is implemented via the font +ligature mechanism and works only in LGR: +\ensuregreek{\textautosigma\textautosigma} (\greekfontencoding) and +\textautosigma{}\textautosigma{} (\latinencoding). + +The upper case of both sigma variants is \verb|\textSigma|, the lower case +of Sigma is \verb|\textautosigma|. + +Test: (Unicode literal and \verb|\text...| commands in \greekfontencoding) + +σ \textsigma{} ς \textvarsigma{} \textfinalsigma{} \textautosigma{} lowercase + +\MakeUppercase{ +σ \textsigma{} ς \textvarsigma{} \textfinalsigma{} \textautosigma{}} MakeUppercase + +\ensuregreek{ΣΣ \textSigma\textSigma{}} uppercase + +\MakeLowercase{\ensuregreek{ΣΣ \textSigma\textSigma{}}} MakeLowercase + \subsection{Greek Unicode characters in non-Greek text} @@ -337,7 +421,8 @@ encoding \texttt{utf8}, Greek Unicode characters can be used in text with any font encoding. See Tables \ref{tab:greek-and-coptic} and \ref{tab:greek-extended}. -Kerning is preserved if the font encoding is LGR: \ensuregreek{AΫA} +Kerning is preserved if the active font encoding supports Greek: +\ensuregreek{AΫA} \begin{table}[tbp] \centerline{ @@ -358,7 +443,8 @@ Kerning is preserved if the font encoding is LGR: \ensuregreek{AΫA} \end{tabular} } % end centerline \caption{Greek and Coptic Unicode Block, input as literal Unicode - characters in T1 font encoding (legend: ◦ glyph missing in LGR).} + characters in \latinencoding{} font encoding + (legend: ◦ glyph missing in LGR).} \label{tab:greek-and-coptic} \end{table} @@ -389,13 +475,14 @@ Kerning is preserved if the font encoding is LGR: \ensuregreek{AΫA} \end{tabular} } % end centerline \caption{Greek Extended Unicode Block, input as literal Unicode -characters in T1 font encoding.} +characters in \latinencoding{} font encoding.} \label{tab:greek-extended} \end{table} Combined Diacritics work ᾅ, diacritics (except diaeresis) are dropped with MakeUppercase (μαΐστρος $\mapsto$ \MakeUppercase{μαΐστρος}). + \subsection{PDF strings} With \emph{textalpha} and @@ -411,4 +498,8 @@ transcription for the Greek word \ensuregreek{logos}. Check the table of contents in the PDF viewer: LICR macros and Unicode literals work fine, the Latin transcription remains Latin in the PDF metadata. +\subsubsection{\greekalphabetsample} +\subsubsection{\greekAlphabetsample} +\subsubsection{\archaicgreeksample} + \end{document} diff --git a/language/greek/greek-fontenc/textalpha-tu.pdf b/language/greek/greek-fontenc/textalpha-tu.pdf Binary files differnew file mode 100644 index 0000000000..04ecaa1d01 --- /dev/null +++ b/language/greek/greek-fontenc/textalpha-tu.pdf diff --git a/language/greek/greek-fontenc/textalpha.sty b/language/greek/greek-fontenc/textalpha.sty index 9bf8fa2a12..e7ac61e763 100644 --- a/language/greek/greek-fontenc/textalpha.sty +++ b/language/greek/greek-fontenc/textalpha.sty @@ -16,7 +16,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{textalpha} -[2020/09/25 1.0 macros for Greek letters in text] +[2020/10/30 2.0 macros for Greek letters in text] % .. note:: % @@ -47,6 +47,8 @@ % Rename ``greek-euenc`` to ``tuenc-greek``. % Don't use ``\LastDeclaredEncoding``. % 1.0 2020-09-25 Also set ``\encodingdefault`` with ``\greekscript``. +% 2.0 2020-10-30 Load ``tuenc-greek.def`` with Xe/LuaTeX by default. +% .. Load ``puenc-greek.def`` if used with `hyperref`_. % ====== ========== ========================================================= % % .. contents:: @@ -85,7 +87,7 @@ % % If 8-bit font encodings like LGR are used alongside Unicode fonts, text % input can be done via the Latin transcription or LICR but *not via -% literal Unicode characters* (see tuenc-greek-doc.tex_). +% literal Unicode characters* (see test-tuenc-greek.tex_). % % .. Attention:: The macros work well in any font encoding for single symbols. % However, with 8-bit TeX engines, the automatic font-encoding switches @@ -127,11 +129,11 @@ % % For detailled examples see `<textalpha-doc.tex>`_ and `<textalpha-doc.pdf>`_ % (8-bit TeX and XeTeX/LuaTeX in 8-bit compatibility mode) as well as -% `<tuenc-greek-doc.tex>`_ and `<tuenc-greek-doc.pdf>`_ (XeTeX/LuaTeX with +% `<test-tuenc-greek.tex>`_ and `<test-tuenc-greek.pdf>`_ (XeTeX/LuaTeX with % Unicode fonts). % % With XeTeX or LuaTex, Unicode fonts and LGR encoded 8-bit fonts can be used -% in the same document (see tuenc-greek-doc.tex_). +% in the same document (see test-tuenc-greek.tex_). % % % Implementation @@ -191,18 +193,36 @@ % .. _font encoding: % +% Symbol macros for breathings +% ---------------------------- +% +% In the Latin transcription provided by LGR, breathing accents (Dasia and +% Psili) are input as < and >. Provide the corresponding NFSS macro accents. +% (Used below for LGR, TU, and PU, if these font encodings are defined):: + +\newcommand{\textalpha@define@breathings}[1]{ + \DeclareTextCommand{\<}{#1}{\accdasia} + \DeclareTextCommand{\>}{#1}{\accpsili} + % Composite accents starting with the new-defined shortcuts: + \DeclareTextCompositeCommand{\>}{#1}{'}{\accpsilioxia} + \DeclareTextCompositeCommand{\>}{#1}{`}{\accpsilivaria} + \DeclareTextCompositeCommand{\>}{#1}{~}{\accpsiliperispomeni} + \DeclareTextCompositeCommand{\<}{#1}{'}{\accdasiaoxia} + \DeclareTextCompositeCommand{\<}{#1}{`}{\accdasiavaria} + \DeclareTextCompositeCommand{\<}{#1}{~}{\accdasiaperispomeni} +} + % Font encodings % -------------- % % With 8-bit LaTeX, the `LGR font encoding`_ is used for Greek characters. If -% no Greek-supporting font encoding (TU, EU1, EU2, or LGR) is declared, LGR is +% no Greek-supporting font encoding (TU or LGR) is declared, LGR is % loaded and set up as default Greek font encoding by this package. % % With XeTeX or LuaTeX, there is one common input and font encoding -- % Unicode. 8-bit TeX font encodings are only used in compatibility mode or for % fonts not available otherwise. For compatibility with the LaTeX font -% selection system, fontspec_ defines the TU font encoding or the (pseudo) -% font encodings EU1 and EU2 for XeTeX and LuaTeX respectively. However +% selection system, fontspec_ defines the TU font encoding. However % `fontspec` does not define Greek LICR macros. We therefore explicitely % load Greek LICR definitions for XeTeX/LuaTeX from `tuenc-greek.def % <tuenc-greek.def.html>`_ which in turn includes `greek-fontenc.def @@ -213,55 +233,29 @@ % Ensure a Greek-supporting font encoding exists and supports Greek LICR % macros: % -% * Load the Greek LICR definitions for Unicode if the font encoding TU, EU1, -% or EU2 is detected. -% * If none of TU, EU1, EU2, or LGR is declared, load ``lgrenc.def``. +% * Load the Greek LICR definitions for Unicode if the font encoding TU +% is detected. +% * If none of TU or LGR is declared, load ``tuenc.def`` with +% Xe/LuaTeX and ``lgrenc.def`` else. % % :: -\ifdefined \UTFencname % set by "fontspec.sty" +\ifdefined \UnicodeEncodingName % set by LaTeX for Unicode-aware engines \input{tuenc-greek.def} + \textalpha@define@breathings{\UnicodeEncodingName} \else - \@ifl@aded{def}{lgrenc}{ - % LGR already declared and set up - }{ + \@ifl@aded{def}{lgrenc}{}{% else \input{lgrenc.def} } + \textalpha@define@breathings{LGR} + % Hiatus feature (see greek-fontenc.def and babel-greek (greek.ldf)) + \DeclareTextCompositeCommand{\<}{LGR}{^^9f}{\LGR@hiatus} + \DeclareTextCompositeCommand{\>}{LGR}{^^9f}{\LGR@hiatus} \fi -% The package hyperref_ defines the PU font encoding which also supports -% (monotonic) Greek. It currently misses polytonic greek and the -% ``\greekscript`` and ``\ensuregreek`` TextCommands:: - -\@ifl@aded{def}{puenc} - {\ProvideTextCommand{\greekscript}{PU}{} - \ProvideTextCommand{\ensuregreek}{PU}[1]{#1} - \pdfstringdefDisableCommands{\let\TextOrMath\@firstoftwo} - } - {} - - -% Symbol macros for breathings -% ---------------------------- -% -% In the Latin transcription provided by LGR, breathing accents (Dasia and -% Psili) are input as < and >. We provide the corresponding NFSS macro accents -% (moved here from `greek-fontenc.def`_). -% -% As Xe/LuaTeX may use LGR in combination with TU, we define the -% macros twice, for LGR and Unicode font encodings (if they are defined):: - -\newcommand{\textalpha@define@breathings}[1]{ - \DeclareTextCommand{\<}{#1}{\accdasia} - \DeclareTextCommand{\>}{#1}{\accpsili} - % Composite accents starting with the new-defined shortcuts: - \DeclareTextCompositeCommand{\>}{#1}{'}{\accpsilioxia} - \DeclareTextCompositeCommand{\>}{#1}{`}{\accpsilivaria} - \DeclareTextCompositeCommand{\>}{#1}{~}{\accpsiliperispomeni} - \DeclareTextCompositeCommand{\<}{#1}{'}{\accdasiaoxia} - \DeclareTextCompositeCommand{\<}{#1}{`}{\accdasiavaria} - \DeclareTextCompositeCommand{\<}{#1}{~}{\accdasiaperispomeni} -} +% LGR may also be used in a document compiled with Xe/LuaTeX +% (enables use of 8-bit TeX fonts and input via the Latin transcription). +% Add setup for breathings:: \@ifl@aded{def}{lgrenc}{ \textalpha@define@breathings{LGR} @@ -270,10 +264,29 @@ \DeclareTextCompositeCommand{\>}{LGR}{^^9f}{\LGR@hiatus} }{} -\@ifl@aded{def}{tuenc-greek}{ % XeTeX or LuaTeX with Unicode fonts - \textalpha@define@breathings{\UTFencname} -}{} +% The package hyperref_ defines the PU font encoding which also supports +% (monotonic) Greek. It currently misses polytonic greek, archaic symbols, +% and the ``\greekscript`` and ``\ensuregreek`` TextCommands:: + +\AtBeginDocument{ + \@ifl@aded{def}{puenc}{ + \makeatletter % required inside \AtBeginDocument + \input{puenc-greek.def} + \textalpha@define@breathings{PU} + \pdfstringdefDisableCommands{\let\TextOrMath\@firstoftwo} + \makeatother + }{} +} +% The package textcomp defines the TS1 font encoding with the MICRO SIGN +% named ``\texmu``. Provide the alias ``\textmicro``:: + +\AtBeginDocument{ + \@ifl@aded{def}{ts1enc}{ + \DeclareTextSymbol{\textmicro}{TS1}{181} % micro sign + \DeclareTextSymbolDefault{\textmicro}{TS1} + }{} +} % Default declarations % -------------------- @@ -282,10 +295,9 @@ % anywhere in the document also with 8-bit TeX by declaring LGR as their % default font encoding. Abort here, if the LGR font encoding is not defined:: -\@ifl@aded{def}{lgrenc} - {} -% else return: - {\expandafter\endinput} +\@ifl@aded{def}{lgrenc}{}{ % else return: + \expandafter\endinput +} % greekscript, ensuregreek @@ -322,8 +334,8 @@ % % ``! You can't use a prefix with `end-group character }'.`` % -% Eventually, all font encodings supporting Greek script (e.g. LGI, PU, TU, -% EU1, EU2) will declare ``\ensuregreek`` as text command that passes the +% Eventually, all font encodings supporting Greek script (e.g. LGI, PU, TU) +% will declare ``\ensuregreek`` as text command that passes the % argument unchanged. This way, kerning and selection of precomposed glyphs % would work also for cases like ``\ensuregreek{\'A}U``. % @@ -402,9 +414,10 @@ \DeclareTextSymbolDefault{\textstigma}{LGR} % ϛ \DeclareTextSymbolDefault{\textstigmagreek}{LGR} % ϛ (puenc.def) -\DeclareTextSymbolDefault{\textvarstigma}{LGR} % stigma variant -\DeclareTextSymbolDefault{\textkoppa}{LGR} % ϟ (greek small letter koppa) +\DeclareTextSymbolDefault{\textvarstigma}{LGR} % stigma variant (no separate Unicode character) +\DeclareTextSymbolDefault{\textkoppa}{LGR} % ϟ Greek small letter koppa \DeclareTextSymbolDefault{\textkoppagreek}{LGR} % ϟ (puenc.def) +\DeclareTextSymbolDefault{\textKoppa}{LGR} % ϟ Greek letter koppa (numeral koppa) \DeclareTextSymbolDefault{\textqoppa}{LGR} % ϙ (archaic koppa) \DeclareTextSymbolDefault{\textQoppa}{LGR} % Ϙ (archaic Koppa) \DeclareTextSymbolDefault{\textStigma}{LGR} % Ϛ ϹΤ ligature in some fonts diff --git a/language/greek/greek-fontenc/textalpha.sty.html b/language/greek/greek-fontenc/textalpha.sty.html index 48021df494..3ff75859bd 100644 --- a/language/greek/greek-fontenc/textalpha.sty.html +++ b/language/greek/greek-fontenc/textalpha.sty.html @@ -621,7 +621,7 @@ version 1.3 of this license or any later version.</p> <dt class="identification">Identification</dt> <dd class="identification"><pre class="literal-block">\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{textalpha} -[2020/09/25 1.0 macros for Greek letters in text]</pre> +[2020/10/30 2.0 macros for Greek letters in text]</pre> </dd> </dl> <div class="abstract topic"> @@ -700,6 +700,12 @@ Don’t use <span class="docutils literal">\LastDeclaredEncoding</span>.</p></td <td><p>2020-09-25</p></td> <td><p>Also set <span class="docutils literal">\encodingdefault</span> with <span class="docutils literal">\greekscript</span>.</p></td> </tr> +<tr><td><p>2.0</p></td> +<td><p>2020-10-30 +..</p></td> +<td><p>Load <span class="docutils literal"><span class="pre">tuenc-greek.def</span></span> with Xe/LuaTeX by default. +Load <span class="docutils literal"><span class="pre">puenc-greek.def</span></span> if used with <a class="reference external" href="http://ctan.org/pkg/hyperref">hyperref</a>.</p></td> +</tr> </tbody> </table> </dd> @@ -717,8 +723,8 @@ Don’t use <span class="docutils literal">\LastDeclaredEncoding</span>.</p></td <li><p><a class="reference internal" href="#keep-semicolon" id="id6">keep-semicolon</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#font-encodings" id="id7">Font encodings</a></p></li> -<li><p><a class="reference internal" href="#symbol-macros-for-breathings" id="id8">Symbol macros for breathings</a></p></li> +<li><p><a class="reference internal" href="#symbol-macros-for-breathings" id="id7">Symbol macros for breathings</a></p></li> +<li><p><a class="reference internal" href="#font-encodings" id="id8">Font encodings</a></p></li> <li><p><a class="reference internal" href="#default-declarations" id="id9">Default declarations</a></p> <ul> <li><p><a class="reference internal" href="#greekscript-ensuregreek" id="id10">greekscript, ensuregreek</a></p></li> @@ -765,7 +771,7 @@ mode in any font encoding (see <a class="reference external" href="textalpha-doc <li><p>natively by XeTeX/LuaTeX for Unicode fonts.</p> <p>If 8-bit font encodings like LGR are used alongside Unicode fonts, text input can be done via the Latin transcription or LICR but <em>not via -literal Unicode characters</em> (see <a class="reference external" href="tuenc-greek-doc.tex">tuenc-greek-doc.tex</a>).</p> +literal Unicode characters</em> (see <a class="reference external" href="test-tuenc-greek.tex">test-tuenc-greek.tex</a>).</p> </li> </ul> </li> @@ -794,10 +800,10 @@ to ensure correct hyphenation of Greek text.</p> are used, load it after <a class="reference external" href="http://ctan.org/pkg/fontspec">fontspec</a> and/or <a class="reference external" href="http://ctan.org/pkg/fontenc">fontenc</a>.</p> <p>For detailled examples 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 and XeTeX/LuaTeX in 8-bit compatibility mode) as well as -<a class="reference external" href="tuenc-greek-doc.tex">tuenc-greek-doc.tex</a> and <a class="reference external" href="tuenc-greek-doc.pdf">tuenc-greek-doc.pdf</a> (XeTeX/LuaTeX with +<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 with Unicode fonts).</p> <p>With XeTeX or LuaTex, Unicode fonts and LGR encoded 8-bit fonts can be used -in the same document (see <a class="reference external" href="tuenc-greek-doc.tex">tuenc-greek-doc.tex</a>).</p> +in the same document (see <a class="reference external" href="test-tuenc-greek.tex">test-tuenc-greek.tex</a>).</p> </section> <section id="implementation"> <h2><a class="toc-backref" href="#id3">Implementation</a></h2> @@ -845,83 +851,92 @@ With XeTeX/LuaTeX and Unicode fonts, this option is ignored.</p> \ProcessOptions\relax</pre> </section> </section> +<section id="symbol-macros-for-breathings"> +<span id="font-encoding"></span><h3><a class="toc-backref" href="#id7">Symbol macros for breathings</a></h3> +<p>In the Latin transcription provided by LGR, breathing accents (Dasia and +Psili) are input as < and >. Provide the corresponding NFSS macro accents. +(Used below for LGR, TU, and PU, if these font encodings are defined):</p> +<pre class="literal-block">\newcommand{\textalpha@define@breathings}[1]{ + \DeclareTextCommand{\<}{#1}{\accdasia} + \DeclareTextCommand{\>}{#1}{\accpsili} + % Composite accents starting with the new-defined shortcuts: + \DeclareTextCompositeCommand{\>}{#1}{'}{\accpsilioxia} + \DeclareTextCompositeCommand{\>}{#1}{`}{\accpsilivaria} + \DeclareTextCompositeCommand{\>}{#1}{~}{\accpsiliperispomeni} + \DeclareTextCompositeCommand{\<}{#1}{'}{\accdasiaoxia} + \DeclareTextCompositeCommand{\<}{#1}{`}{\accdasiavaria} + \DeclareTextCompositeCommand{\<}{#1}{~}{\accdasiaperispomeni} +}</pre> +</section> <section id="font-encodings"> -<span id="font-encoding"></span><h3><a class="toc-backref" href="#id7">Font encodings</a></h3> +<h3><a class="toc-backref" href="#id8">Font encodings</a></h3> <p>With 8-bit LaTeX, the <a class="reference external" href="README.html#lgr">LGR font encoding</a> is used for Greek characters. If -no Greek-supporting font encoding (TU, EU1, EU2, or LGR) is declared, LGR is +no Greek-supporting font encoding (TU or LGR) is declared, LGR is loaded and set up as default Greek font encoding by this package.</p> <p>With XeTeX or LuaTeX, there is one common input and font encoding – Unicode. 8-bit TeX font encodings are only used in compatibility mode or for fonts not available otherwise. For compatibility with the LaTeX font -selection system, <a class="reference external" href="http://ctan.org/pkg/fontspec">fontspec</a> defines the TU font encoding or the (pseudo) -font encodings EU1 and EU2 for XeTeX and LuaTeX respectively. However +selection system, <a class="reference external" href="http://ctan.org/pkg/fontspec">fontspec</a> defines the TU font encoding. However <cite>fontspec</cite> does not define Greek LICR macros. We therefore explicitely load Greek LICR definitions for XeTeX/LuaTeX from <a class="reference external" href="tuenc-greek.def.html">tuenc-greek.def</a> which in turn includes <a class="reference external" href="greek-fontenc.def.html">greek-fontenc.def</a>.</p> <p>Ensure a Greek-supporting font encoding exists and supports Greek LICR macros:</p> <ul class="simple"> -<li><p>Load the Greek LICR definitions for Unicode if the font encoding TU, EU1, -or EU2 is detected.</p></li> -<li><p>If none of TU, EU1, EU2, or LGR is declared, load <span class="docutils literal">lgrenc.def</span>.</p></li> +<li><p>Load the Greek LICR definitions for Unicode if the font encoding TU +is detected.</p></li> +<li><p>If none of TU or LGR is declared, load <span class="docutils literal">tuenc.def</span> with +Xe/LuaTeX and <span class="docutils literal">lgrenc.def</span> else.</p></li> </ul> -<pre class="literal-block">\ifdefined \UTFencname % set by "fontspec.sty" +<pre class="literal-block">\ifdefined \UnicodeEncodingName % set by LaTeX for Unicode-aware engines \input{tuenc-greek.def} + \textalpha@define@breathings{\UnicodeEncodingName} \else - \@ifl@aded{def}{lgrenc}{ - % LGR already declared and set up - }{ + \@ifl@aded{def}{lgrenc}{}{% else \input{lgrenc.def} } + \textalpha@define@breathings{LGR} + % Hiatus feature (see greek-fontenc.def and babel-greek (greek.ldf)) + \DeclareTextCompositeCommand{\<}{LGR}{^^9f}{\LGR@hiatus} + \DeclareTextCompositeCommand{\>}{LGR}{^^9f}{\LGR@hiatus} \fi</pre> -<p>The package <a class="reference external" href="http://ctan.org/pkg/hyperref">hyperref</a> defines the PU font encoding which also supports -(monotonic) Greek. It currently misses polytonic greek and the -<span class="docutils literal">\greekscript</span> and <span class="docutils literal">\ensuregreek</span> TextCommands:</p> -<pre class="literal-block">\@ifl@aded{def}{puenc} - {\ProvideTextCommand{\greekscript}{PU}{} - \ProvideTextCommand{\ensuregreek}{PU}[1]{#1} - \pdfstringdefDisableCommands{\let\TextOrMath\@firstoftwo} - } - {}</pre> -</section> -<section id="symbol-macros-for-breathings"> -<h3><a class="toc-backref" href="#id8">Symbol macros for breathings</a></h3> -<p>In the Latin transcription provided by LGR, breathing accents (Dasia and -Psili) are input as < and >. We provide the corresponding NFSS macro accents -(moved here from <a class="reference external" href="greek-fontenc.def.html">greek-fontenc.def</a>).</p> -<p>As Xe/LuaTeX may use LGR in combination with TU, we define the -macros twice, for LGR and Unicode font encodings (if they are defined):</p> -<pre class="literal-block">\newcommand{\textalpha@define@breathings}[1]{ - \DeclareTextCommand{\<}{#1}{\accdasia} - \DeclareTextCommand{\>}{#1}{\accpsili} - % Composite accents starting with the new-defined shortcuts: - \DeclareTextCompositeCommand{\>}{#1}{'}{\accpsilioxia} - \DeclareTextCompositeCommand{\>}{#1}{`}{\accpsilivaria} - \DeclareTextCompositeCommand{\>}{#1}{~}{\accpsiliperispomeni} - \DeclareTextCompositeCommand{\<}{#1}{'}{\accdasiaoxia} - \DeclareTextCompositeCommand{\<}{#1}{`}{\accdasiavaria} - \DeclareTextCompositeCommand{\<}{#1}{~}{\accdasiaperispomeni} -} - -\@ifl@aded{def}{lgrenc}{ +<p>LGR may also be used in a document compiled with Xe/LuaTeX +(enables use of 8-bit TeX fonts and input via the Latin transcription). +Add setup for breathings:</p> +<pre class="literal-block">\@ifl@aded{def}{lgrenc}{ \textalpha@define@breathings{LGR} % Hiatus feature (see greek-fontenc.def and babel-greek (greek.ldf)) \DeclareTextCompositeCommand{\<}{LGR}{^^9f}{\LGR@hiatus} \DeclareTextCompositeCommand{\>}{LGR}{^^9f}{\LGR@hiatus} -}{} - -\@ifl@aded{def}{tuenc-greek}{ % XeTeX or LuaTeX with Unicode fonts - \textalpha@define@breathings{\UTFencname} }{}</pre> +<p>The package <a class="reference external" href="http://ctan.org/pkg/hyperref">hyperref</a> defines the PU font encoding which also supports +(monotonic) Greek. It currently misses polytonic greek, archaic symbols, +and the <span class="docutils literal">\greekscript</span> and <span class="docutils literal">\ensuregreek</span> TextCommands:</p> +<pre class="literal-block">\AtBeginDocument{ + \@ifl@aded{def}{puenc}{ + \makeatletter % required inside \AtBeginDocument + \input{puenc-greek.def} + \textalpha@define@breathings{PU} + \pdfstringdefDisableCommands{\let\TextOrMath\@firstoftwo} + \makeatother + }{} +}</pre> +<p>The package textcomp defines the TS1 font encoding with the MICRO SIGN +named <span class="docutils literal">\texmu</span>. Provide the alias <span class="docutils literal">\textmicro</span>:</p> +<pre class="literal-block">\AtBeginDocument{ + \@ifl@aded{def}{ts1enc}{ + \DeclareTextSymbol{\textmicro}{TS1}{181} % micro sign + \DeclareTextSymbolDefault{\textmicro}{TS1} + }{} +}</pre> </section> <section id="default-declarations"> <h3><a class="toc-backref" href="#id9">Default declarations</a></h3> <p>The following definitions ensure that the Greek LICR macros can be used anywhere in the document also with 8-bit TeX by declaring LGR as their default font encoding. Abort here, if the LGR font encoding is not defined:</p> -<pre class="literal-block">\@ifl@aded{def}{lgrenc} - {} -% else return: - {\expandafter\endinput}</pre> +<pre class="literal-block">\@ifl@aded{def}{lgrenc}{}{ % else return: + \expandafter\endinput +}</pre> <section id="greekscript-ensuregreek"> <h4><a class="toc-backref" href="#id10">greekscript, ensuregreek</a></h4> <p>The <span class="docutils literal">\greekscript</span> declaration ensures the current font encoding supports @@ -947,8 +962,8 @@ However, the simpler alternative Unicode characters in the test document `<textalpha-doc.tex>`__: ``! You can't use a prefix with `end-group character }'.`` --> -<p>Eventually, all font encodings supporting Greek script (e.g. LGI, PU, TU, -EU1, EU2) will declare <span class="docutils literal">\ensuregreek</span> as text command that passes the +<p>Eventually, all font encodings supporting Greek script (e.g. LGI, PU, TU) +will declare <span class="docutils literal">\ensuregreek</span> as text command that passes the argument unchanged. This way, kerning and selection of precomposed glyphs would work also for cases like <span class="docutils literal"><span class="pre">\ensuregreek{\'A}U</span></span>.</p> </section> @@ -1019,9 +1034,10 @@ would work also for cases like <span class="docutils literal"><span class="pre"> <p>Archaic letters:</p> <pre class="literal-block">\DeclareTextSymbolDefault{\textstigma}{LGR} % ϛ \DeclareTextSymbolDefault{\textstigmagreek}{LGR} % ϛ (puenc.def) -\DeclareTextSymbolDefault{\textvarstigma}{LGR} % stigma variant -\DeclareTextSymbolDefault{\textkoppa}{LGR} % ϟ (greek small letter koppa) +\DeclareTextSymbolDefault{\textvarstigma}{LGR} % stigma variant (no separate Unicode character) +\DeclareTextSymbolDefault{\textkoppa}{LGR} % ϟ Greek small letter koppa \DeclareTextSymbolDefault{\textkoppagreek}{LGR} % ϟ (puenc.def) +\DeclareTextSymbolDefault{\textKoppa}{LGR} % ϟ Greek letter koppa (numeral koppa) \DeclareTextSymbolDefault{\textqoppa}{LGR} % ϙ (archaic koppa) \DeclareTextSymbolDefault{\textQoppa}{LGR} % Ϙ (archaic Koppa) \DeclareTextSymbolDefault{\textStigma}{LGR} % Ϛ ϹΤ ligature in some fonts diff --git a/language/greek/greek-fontenc/tuenc-greek-doc.pdf b/language/greek/greek-fontenc/tuenc-greek-doc.pdf Binary files differdeleted file mode 100644 index 5883ad163b..0000000000 --- a/language/greek/greek-fontenc/tuenc-greek-doc.pdf +++ /dev/null diff --git a/language/greek/greek-fontenc/tuenc-greek.def b/language/greek/greek-fontenc/tuenc-greek.def index dcc9b0b672..5e2967c2d7 100644 --- a/language/greek/greek-fontenc/tuenc-greek.def +++ b/language/greek/greek-fontenc/tuenc-greek.def @@ -11,11 +11,12 @@ % :: \ProvidesFile{tuenc-greek.def} -[2020/09/25 1.0 Greek LICRs for XeTeX and LuaTeX] +[2020/10/13 2.0 Greek LICRs for XeTeX and LuaTeX] % :abstract: -% Experimental support for Greek LICR macros with XeTeX and LuaTeX. -% Extends tuenc_. Used by babel-greek_ and textalpha_. +% Support for Greek LICR macros and upcasing of text +% with XeTeX and LuaTeX. Extends tuenc.def_. +% Used by babel-greek_ and textalpha_. % % **History**: % .. class:: borderless @@ -36,7 +37,12 @@ % .. LICR macros for symbol variants. % 0.13.3 2018-01-06 Documentation update. % 0.14 2020-02-28 Rename to ``tuenc-greek.def``. Use ``\UTFencname``. -% 1.0 2020/09/25 ``\textKoppa`` as alias for ``\textkoppa`` in LGR. +% 1.0 2020-09-25 New package version. No changes in this file. +% 2.0 2020-10-13 Move common alias definitions to ``greek-fontenc.def``. +% .. New compatiblity definitions. +% .. Use ``\UnicodeEncodingName`` instead of ``\UTFencname``. +% .. Make the file encoding-independent (required for input +% in other encodings with `luainputenc`). % ====== ========== ======================================================== % % .. contents:: @@ -44,7 +50,7 @@ % Motivation % ========== % -% LICR macro definitions for the Greek script are missing in tuenc_ (as well +% LICR macro definitions for the Greek script are missing in tuenc.def_ (as well % as the predecessors xunicode_, euenc_). % % This file defines `LaTeX Internal Character Representaction` (LICR) macros @@ -54,9 +60,11 @@ % Requirements % ============ % -% Requires XeTeX or LuaTeX, fontspec_, and a font with Greek characters. +% Requires XeTeX or LuaTeX (usually with fontspec_), the `LaTeX base`_ +% file _`tuenc.def` that sets up the `font encoding`_ TU, and a font with +% Greek characters. % -% See `<tuenc-greek-doc.tex>`_ and `<tuenc-greek-doc.pdf>`_ for setup and +% See `<test-tuenc-greek.tex>`_ and `<test-tuenc-greek.pdf>`_ for setup and % usage examples. % % @@ -73,44 +81,46 @@ % % Greek alias names for standard accents:: -\DeclareTextCommand{\acctonos}{\UTFencname}{\@tabacckludge'} -\DeclareTextCommand{\accvaria}{\UTFencname}{\@tabacckludge`} -\DeclareTextCommand{\accdialytika}{\UTFencname}{\@tabacckludge"} +\DeclareUnicodeAccent{\accvaria} \UnicodeEncodingName{"0300} +\DeclareUnicodeAccent{\acctonos} \UnicodeEncodingName{"0301} +\DeclareUnicodeAccent{\accdialytika}\UnicodeEncodingName{"0308} % The combining perispomeni character is normalized with Greek base letters, % while the (standard) combining tilde is not:: -\DeclareTextCommand{\accperispomeni}{\UTFencname}[1]{#1\char"0342 } +\DeclareUnicodeAccent{\accperispomeni}\UnicodeEncodingName{"0342} % COMBINING GREEK PERISPOMENI % Breathings: % -% (The COMBINING GREEK KORONIS is a legacy character, discarded in favour of -% COMBINING COMMA ABOVE) :: +% ``\accpsili = \acckoronis`` but the COMBINING GREEK KORONIS is a legacy +% character, discarded in favour of COMBINING COMMA ABOVE. :: -\DeclareTextCommand{\accpsili}{\UTFencname}[1]{#1\char"0313 } % ψιλή spiritus lenis (smooth breathing) -\DeclareTextCommand{\accdasia}{\UTFencname}[1]{#1\char"0314 } % δασεῖα spiritus asper (rough breathing) +\DeclareUnicodeAccent{\accpsili}\UnicodeEncodingName{"0313} % ψιλή spiritus lenis (smooth breathing) +\DeclareUnicodeAccent{\accdasia}\UnicodeEncodingName{"0314} % δασεῖα spiritus asper (rough breathing) - -% Sub-iota: +% Sub-iotas: % +% ``\prosgegrammeni`` is a standard character (see below). % ``\ypogegrammeni`` is a postfix accent (ligature in LGR) :: -\DeclareTextSymbol{\ypogegrammeni}{\UTFencname}{0837} % COMBINING GREEK YPOGEGRAMMENI +\DeclareTextSymbol{\ypogegrammeni}{\UnicodeEncodingName}{0837} % COMBINING GREEK YPOGEGRAMMENI -% Combined diacritics:: +% Combined diacritics: +% +% ``\DeclareUnicodeAccent`` does not work with more than one argument:: % The COMBINING DIALYTIKA TONOS is discarded and not well supported by fonts: -\DeclareTextCommand{\accdialytikatonos}{\UTFencname}[1]{#1\char"0308 \char"0301 } -\DeclareTextCommand{\accdialytikavaria}{\UTFencname}[1]{#1\char"0308 \char"0300 } -\DeclareTextCommand{\accdialytikaperispomeni}{\UTFencname}[1]{#1\char"0342 \char"0308 } +\DeclareTextCommand{\accdialytikatonos}{\UnicodeEncodingName}[1]{#1\char"0308\char"0301} +\DeclareTextCommand{\accdialytikavaria}{\UnicodeEncodingName}[1]{#1\char"0308\char"0300} +\DeclareTextCommand{\accdialytikaperispomeni}{\UnicodeEncodingName}[1]{#1\char"0342\char"0308} -\DeclareTextCommand{\accdasiaoxia}{\UTFencname}[1]{#1\char"0314 \char"0301 } -\DeclareTextCommand{\accdasiavaria}{\UTFencname}[1]{#1\char"0314 \char"0300 } -\DeclareTextCommand{\accdasiaperispomeni}{\UTFencname}[1]{#1\char"0314 \char"0342 } +\DeclareTextCommand{\accdasiaoxia}{\UnicodeEncodingName}[1]{#1\char"0314\char"0301} +\DeclareTextCommand{\accdasiavaria}{\UnicodeEncodingName}[1]{#1\char"0314\char"0300} +\DeclareTextCommand{\accdasiaperispomeni}{\UnicodeEncodingName}[1]{#1\char"0314\char"0342} -\DeclareTextCommand{\accpsilioxia}{\UTFencname}[1]{#1\char"0301 \char"0313 } -\DeclareTextCommand{\accpsilivaria}{\UTFencname}[1]{#1\char"0300 \char"0313 } -\DeclareTextCommand{\accpsiliperispomeni}{\UTFencname}[1]{#1\char"0342 \char"0313 } +\DeclareTextCommand{\accpsilioxia}{\UnicodeEncodingName}[1]{#1\char"0301\char"0313} +\DeclareTextCommand{\accpsilivaria}{\UnicodeEncodingName}[1]{#1\char"0300\char"0313} +\DeclareTextCommand{\accpsiliperispomeni}{\UnicodeEncodingName}[1]{#1\char"0342\char"0313} % Common Definitions @@ -118,359 +128,416 @@ % % Use the `common Greek font encoding definitions`_:: -\renewcommand*{\LastDeclaredEncoding}{\UTFencname} +\renewcommand*{\LastDeclaredEncoding}{\UnicodeEncodingName} \input{greek-fontenc.def} - % Character Definitions % ===================== % -% General Punctuation -% ~~~~~~~~~~~~~~~~~~~ +% Basic Latin +% ~~~~~~~~~~~ +% +% Compatibility def with LGR:: + +\DeclareTextSymbol{\textsemicolon}\UnicodeEncodingName{"003B} % ; + +% Latin 1 Supplement +% ~~~~~~~~~~~~~~~~~~ +% +% Distinguish MICRO SIGN from letter mu:: + +\DeclareTextSymbol{\textmicro}\UnicodeEncodingName{"00B5} % µ MICRO SIGN + +% IPA Extensions +% ~~~~~~~~~~~~~~ % -% Ligature break up with ZERO WIDTH NON-JOINER:: +% :: -\DeclareTextCommand{\textcompwordmark}{\UTFencname}{\char"200C} +\DeclareTextSymbol{\textschwa}\UnicodeEncodingName{"0259} % ə % Greek and Coptic % ~~~~~~~~~~~~~~~~ % % :: -% 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}{\UTFencname}{ʹ} % \anwtonos, \textnumeralsigngreek -\DeclareTextCommand{\textaristerikeraia}{\UTFencname}{͵} % \katwtonos, \textnumeralsignlowergreek -% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ -% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ - -% 037A GREEK YPOGEGRAMMENI (use \textcompwordmark\ypogegrammeni) % ͺ +% 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 % ͳ +\DeclareTextSymbol{\textdexiakeraia}\UnicodeEncodingName{"0374} % ʹ \anwtonos, \textnumeralsigngreek +\DeclareTextSymbol{\textaristerikeraia}\UnicodeEncodingName{"0375} % ͵\katwtonos, \textnumeralsignlowergreek +% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ +% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ + +% \DeclareTextCompositeCommand{\@emty}\UnicodeEncodingName{\ypogegrammeni}{ͺ} % 037A GREEK YPOGEGRAMMENI +% \DeclareTextCompositeCommand{\textcompwordmark}\UnicodeEncodingName{\ypogegrammeni}{ͺ} % 037A GREEK YPOGEGRAMMENI % 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL % 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL % 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL -\DeclareTextCommand{\texterotimatiko}{\UTFencname}{;} % 037E GREEK QUESTION MARK - -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textcompwordmark}{΄} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\textcompwordmark}{΅} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textAlpha}{Ά} -\DeclareTextCommand{\textanoteleia}{\UTFencname}{·} % \anoteleia -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textEpsilon}{Έ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textEta}{Ή} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textIota}{Ί} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textOmicron}{Ό} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textUpsilon}{Ύ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textOmega}{Ώ} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\textiota}{ΐ} - -\DeclareTextCommand{\textAlpha}{\UTFencname}{Α} -\DeclareTextCommand{\textBeta}{\UTFencname}{Β} -\DeclareTextCommand{\textGamma}{\UTFencname}{Γ} -\DeclareTextCommand{\textDelta}{\UTFencname}{Δ} -\DeclareTextCommand{\textEpsilon}{\UTFencname}{Ε} -\DeclareTextCommand{\textZeta}{\UTFencname}{Ζ} -\DeclareTextCommand{\textEta}{\UTFencname}{Η} -\DeclareTextCommand{\textTheta}{\UTFencname}{Θ} -\DeclareTextCommand{\textIota}{\UTFencname}{Ι} -\DeclareTextCommand{\textKappa}{\UTFencname}{Κ} -\DeclareTextCommand{\textLambda}{\UTFencname}{Λ} -\DeclareTextCommand{\textMu}{\UTFencname}{Μ} -\DeclareTextCommand{\textNu}{\UTFencname}{Ν} -\DeclareTextCommand{\textXi}{\UTFencname}{Ξ} -\DeclareTextCommand{\textOmicron}{\UTFencname}{Ο} -\DeclareTextCommand{\textPi}{\UTFencname}{Π} -\DeclareTextCommand{\textRho}{\UTFencname}{Ρ} -\DeclareTextCommand{\textSigma}{\UTFencname}{Σ} -\DeclareTextCommand{\textTau}{\UTFencname}{Τ} -\DeclareTextCommand{\textUpsilon}{\UTFencname}{Υ} -\DeclareTextCommand{\textPhi}{\UTFencname}{Φ} -\DeclareTextCommand{\textChi}{\UTFencname}{Χ} -\DeclareTextCommand{\textPsi}{\UTFencname}{Ψ} -\DeclareTextCommand{\textOmega}{\UTFencname}{Ω} - -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textIota}{Ϊ} -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textUpsilon}{Ϋ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textalpha}{ά} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textepsilon}{έ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\texteta}{ή} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textiota}{ί} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\textupsilon}{ΰ} - -\DeclareTextCommand{\textalpha}{\UTFencname}{α} -\DeclareTextCommand{\textbeta}{\UTFencname}{β} -\DeclareTextCommand{\textgamma}{\UTFencname}{γ} -\DeclareTextCommand{\textdelta}{\UTFencname}{δ} -\DeclareTextCommand{\textepsilon}{\UTFencname}{ε} -\DeclareTextCommand{\textvarepsilon}{\UTFencname}{ε} % cf. $\varepsiolon$ -\DeclareTextCommand{\textzeta}{\UTFencname}{ζ} -\DeclareTextCommand{\texteta}{\UTFencname}{η} -\DeclareTextCommand{\texttheta}{\UTFencname}{θ} -\DeclareTextCommand{\textiota}{\UTFencname}{ι} -\DeclareTextCommand{\textkappa}{\UTFencname}{κ} -\DeclareTextCommand{\textlambda}{\UTFencname}{λ} -\DeclareTextCommand{\textmu}{\UTFencname}{μ} % \textmugreek -\DeclareTextCommand{\textnu}{\UTFencname}{ν} -\DeclareTextCommand{\textxi}{\UTFencname}{ξ} -\DeclareTextCommand{\textomicron}{\UTFencname}{ο} -\DeclareTextCommand{\textpi}{\UTFencname}{π} -\DeclareTextCommand{\textrho}{\UTFencname}{ρ} -\DeclareTextCommand{\textvarsigma}{\UTFencname}{ς} % final sigma -\DeclareTextCommand{\textfinalsigma}{\UTFencname}{\textvarsigma} -\DeclareTextCommand{\textsigma}{\UTFencname}{σ} -% Dummy definition (\textautosigma is lowercase of \textSigma): -\ProvideTextCommand{\textautosigma}{\UTFencname}{\textsigma} -\DeclareTextCommand{\texttau}{\UTFencname}{τ} -\DeclareTextCommand{\textupsilon}{\UTFencname}{υ} -\DeclareTextCommand{\textphi}{\UTFencname}{φ} -\DeclareTextCommand{\textvarphi}{\UTFencname}{φ} % cf. $\varphi$ -\DeclareTextCommand{\textchi}{\UTFencname}{χ} -\DeclareTextCommand{\textpsi}{\UTFencname}{ψ} -\DeclareTextCommand{\textomega}{\UTFencname}{ω} - -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textiota}{ϊ} -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textupsilon}{ϋ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textomicron}{ό} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textupsilon}{ύ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textomega}{ώ} - -\DeclareTextCommand{\textQoppa}{\UTFencname}{Ϙ} -\DeclareTextCommand{\textqoppa}{\UTFencname}{ϙ} -\DeclareTextCommand{\textStigma}{\UTFencname}{Ϛ} -\DeclareTextCommand{\textstigma}{\UTFencname}{ϛ} -\DeclareTextCommand{\textDigamma}{\UTFencname}{Ϝ} -\DeclareTextCommand{\textdigamma}{\UTFencname}{ϝ} -\DeclareTextCommand{\textKoppa}{\UTFencname}{Ϟ} % in LGR identic to \textkoppa -\DeclareTextCommand{\textkoppa}{\UTFencname}{ϟ} % \koppa, \textqoppa [sic!] -\DeclareTextCommand{\textSampi}{\UTFencname}{Ϡ} -\DeclareTextCommand{\textsampi}{\UTFencname}{ϡ} - -% Symbol variants -\DeclareTextCommand{\textbetasymbol}{\UTFencname}{ϐ} -\DeclareTextCommand{\textkappasymbol}{\UTFencname}{ϰ} -\DeclareTextCommand{\textThetasymbol}{\UTFencname}{ϴ} -\DeclareTextCommand{\textthetasymbol}{\UTFencname}{ϑ} -\DeclareTextCommand{\textphisymbol}{\UTFencname}{ϕ} -\DeclareTextCommand{\textpisymbol}{\UTFencname}{ϖ} -\DeclareTextCommand{\textrhosymbol}{\UTFencname}{ϱ} -\DeclareTextCommand{\textepsilonsymbol}{\UTFencname}{ϵ} -% math compatibility aliases -% $\varphi$ and $\varepsilon$ refer to the letter characters (see above)! -\DeclareTextCommand{\textvarbeta}{\UTFencname}{\textbetasymbol} -\DeclareTextCommand{\textvarkappa}{\UTFencname}{ϰ} -\DeclareTextCommand{\textvarTheta}{\UTFencname}{ϴ} -\DeclareTextCommand{\textvartheta}{\UTFencname}{ϑ} -\DeclareTextCommand{\textvarpi}{\UTFencname}{ϖ} -\DeclareTextCommand{\textvarrho}{\UTFencname}{ϱ} +\DeclareTextSymbol{\texterotimatiko}\UnicodeEncodingName{"003B} % use SEMICOLON, not 037E GREEK QUESTION MARK + +\DeclareUnicodeComposite{\acctonos} {} {"0384} % ΄ GREEK TONOS +\DeclareUnicodeComposite{\accdialytikatonos}{} {"0385} % ΅ GREEK DIALYTIKA TONOS +\DeclareUnicodeComposite{\'} {\textAlpha} {"0386} % Ά +\DeclareTextSymbol{\textanoteleia} \UnicodeEncodingName{"00B7} % use MIDDLE DOT, not 0387 GREEK ANO TELEIA +\DeclareUnicodeComposite{\'} {\textEpsilon}{"0388} % Έ +\DeclareUnicodeComposite{\'} {\textEta} {"0389} % Ή +\DeclareUnicodeComposite{\'} {\textIota} {"038A} % Ί +\DeclareUnicodeComposite{\'} {\textOmicron}{"038C} % Ό +\DeclareUnicodeComposite{\'} {\textUpsilon}{"038E} % Ύ +\DeclareUnicodeComposite{\'} {\textOmega} {"038F} % Ώ +% repeat with named accents (LuaTeX does not normalize to pre-composed chars): +\DeclareUnicodeComposite{\acctonos} {\textAlpha} {"0386} % Ά +\DeclareUnicodeComposite{\acctonos} {\textEpsilon}{"0388} % Έ +\DeclareUnicodeComposite{\acctonos} {\textEta} {"0389} % Ή +\DeclareUnicodeComposite{\acctonos} {\textIota} {"038A} % Ί +\DeclareUnicodeComposite{\acctonos} {\textOmicron}{"038C} % Ό +\DeclareUnicodeComposite{\acctonos} {\textUpsilon}{"038E} % Ύ +\DeclareUnicodeComposite{\acctonos} {\textOmega} {"038F} % Ώ +\DeclareUnicodeComposite{\accdialytikatonos}{\textiota} {"0390} % ΐ + +\DeclareTextSymbol{\textAlpha }\UnicodeEncodingName{"0391} % Α +\DeclareTextSymbol{\textBeta }\UnicodeEncodingName{"0392} % Β +\DeclareTextSymbol{\textGamma }\UnicodeEncodingName{"0393} % Γ +\DeclareTextSymbol{\textDelta }\UnicodeEncodingName{"0394} % Δ +\DeclareTextSymbol{\textEpsilon}\UnicodeEncodingName{"0395} % Ε +\DeclareTextSymbol{\textZeta }\UnicodeEncodingName{"0396} % Ζ +\DeclareTextSymbol{\textEta }\UnicodeEncodingName{"0397} % Η +\DeclareTextSymbol{\textTheta }\UnicodeEncodingName{"0398} % Θ +\DeclareTextSymbol{\textIota }\UnicodeEncodingName{"0399} % Ι +\DeclareTextSymbol{\textKappa }\UnicodeEncodingName{"039A} % Κ +\DeclareTextSymbol{\textLambda }\UnicodeEncodingName{"039B} % Λ +\DeclareTextSymbol{\textMu }\UnicodeEncodingName{"039C} % Μ +\DeclareTextSymbol{\textNu }\UnicodeEncodingName{"039D} % Ν +\DeclareTextSymbol{\textXi }\UnicodeEncodingName{"039E} % Ξ +\DeclareTextSymbol{\textOmicron}\UnicodeEncodingName{"039F} % Ο +\DeclareTextSymbol{\textPi }\UnicodeEncodingName{"03A0} % Π +\DeclareTextSymbol{\textRho }\UnicodeEncodingName{"03A1} % Ρ +\DeclareTextSymbol{\textSigma }\UnicodeEncodingName{"03A3} % Σ +\DeclareTextSymbol{\textTau }\UnicodeEncodingName{"03A4} % Τ +\DeclareTextSymbol{\textUpsilon}\UnicodeEncodingName{"03A5} % Υ +\DeclareTextSymbol{\textPhi }\UnicodeEncodingName{"03A6} % Φ +\DeclareTextSymbol{\textChi }\UnicodeEncodingName{"03A7} % Χ +\DeclareTextSymbol{\textPsi }\UnicodeEncodingName{"03A8} % Ψ +\DeclareTextSymbol{\textOmega }\UnicodeEncodingName{"03A9} % Ω + +\DeclareUnicodeComposite{\"} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\"} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\"} {\textUpsilon}{"03AB} % Ϋ +\DeclareUnicodeComposite{\'} {\textalpha} {"03AC} % ά +\DeclareUnicodeComposite{\'} {\textepsilon}{"03AD} % έ +\DeclareUnicodeComposite{\'} {\texteta} {"03AE} % ή +\DeclareUnicodeComposite{\'} {\textiota} {"03AF} % ί +% repeat with named accents (LuaTeX does not normalize to pre-composed chars): +\DeclareUnicodeComposite{\accdialytika} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\accdialytika} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\accdialytika} {\textUpsilon}{"03AB} % Ϋ +\DeclareUnicodeComposite{\acctonos} {\textalpha} {"03AC} % ά +\DeclareUnicodeComposite{\acctonos} {\textepsilon}{"03AD} % έ +\DeclareUnicodeComposite{\acctonos} {\texteta} {"03AE} % ή +\DeclareUnicodeComposite{\acctonos} {\textiota} {"03AF} % ί +\DeclareUnicodeComposite{\accdialytikatonos}{\textupsilon}{"03B0} % ΰ + +\DeclareTextSymbol{\textalpha }\UnicodeEncodingName{"03B1} % α +\DeclareTextSymbol{\textbeta }\UnicodeEncodingName{"03B2} % β +\DeclareTextSymbol{\textgamma }\UnicodeEncodingName{"03B3} % γ +\DeclareTextSymbol{\textdelta }\UnicodeEncodingName{"03B4} % δ +\DeclareTextSymbol{\textepsilon }\UnicodeEncodingName{"03B5} % ε +\DeclareTextSymbol{\textzeta }\UnicodeEncodingName{"03B6} % ζ +\DeclareTextSymbol{\texteta }\UnicodeEncodingName{"03B7} % η +\DeclareTextSymbol{\texttheta }\UnicodeEncodingName{"03B8} % θ +\DeclareTextSymbol{\textiota }\UnicodeEncodingName{"03B9} % ι +\DeclareTextSymbol{\textkappa }\UnicodeEncodingName{"03BA} % κ +\DeclareTextSymbol{\textlambda }\UnicodeEncodingName{"03BB} % λ +\DeclareTextSymbol{\textmu }\UnicodeEncodingName{"03BC} % μ % \textmugreek +\DeclareTextSymbol{\textnu }\UnicodeEncodingName{"03BD} % ν +\DeclareTextSymbol{\textxi }\UnicodeEncodingName{"03BE} % ξ +\DeclareTextSymbol{\textomicron }\UnicodeEncodingName{"03BF} % ο +\DeclareTextSymbol{\textpi }\UnicodeEncodingName{"03C0} % π +\DeclareTextSymbol{\textrho }\UnicodeEncodingName{"03C1} % ρ +\DeclareTextSymbol{\textfinalsigma}\UnicodeEncodingName{"03C2} % ς % final sigma +\DeclareTextSymbol{\textsigma }\UnicodeEncodingName{"03C3} % σ +\DeclareTextSymbol{\texttau }\UnicodeEncodingName{"03C4} % τ +\DeclareTextSymbol{\textupsilon }\UnicodeEncodingName{"03C5} % υ +\DeclareTextSymbol{\textphi }\UnicodeEncodingName{"03C6} % φ +\DeclareTextSymbol{\textchi }\UnicodeEncodingName{"03C7} % χ +\DeclareTextSymbol{\textpsi }\UnicodeEncodingName{"03C8} % ψ +\DeclareTextSymbol{\textomega }\UnicodeEncodingName{"03C9} % ω + +\DeclareUnicodeComposite{\"}{\textiota}{"03CA} % ϊ +\DeclareUnicodeComposite{\"}{\textupsilon}{"03CB} % ϋ +\DeclareUnicodeComposite{\'}{\textomicron}{"03CC} % ό +\DeclareUnicodeComposite{\'}{\textupsilon}{"03CD} % ύ +\DeclareUnicodeComposite{\'}{\textomega}{"03CE} % ώ +\DeclareUnicodeComposite{\accdialytika}{\textiota}{"03CA} % ϊ +\DeclareUnicodeComposite{\accdialytika}{\textupsilon}{"03CB} % ϋ +\DeclareUnicodeComposite{\acctonos}{\textomicron}{"03CC} % ό +\DeclareUnicodeComposite{\acctonos}{\textupsilon}{"03CD} % ύ +\DeclareUnicodeComposite{\acctonos}{\textomega}{"03CE} % ώ + +% Archaic letters (still used in Greek numerals):: + +\DeclareTextSymbol{\textQoppa }\UnicodeEncodingName{"03D8} % Ϙ +\DeclareTextSymbol{\textqoppa }\UnicodeEncodingName{"03D9} % ϙ +\DeclareTextSymbol{\textStigma }\UnicodeEncodingName{"03DA} % Ϛ +\DeclareTextSymbol{\textstigma }\UnicodeEncodingName{"03DB} % ϛ +\DeclareTextSymbol{\textDigamma }\UnicodeEncodingName{"03DC} % Ϝ +\DeclareTextSymbol{\textdigamma }\UnicodeEncodingName{"03DD} % ϝ +\DeclareTextSymbol{\textKoppa }\UnicodeEncodingName{"03DE} % Ϟ in LGR identic to \textkoppa +\DeclareTextSymbol{\textkoppa }\UnicodeEncodingName{"03DF} % ϟ \koppa, \textqoppa [sic!] +\DeclareTextSymbol{\textSampi }\UnicodeEncodingName{"03E0} % Ϡ +\DeclareTextSymbol{\textsampi }\UnicodeEncodingName{"03E1} % ϡ + +% Symbol variants:: + +\DeclareTextSymbol{\textbetasymbol }\UnicodeEncodingName{"03D0} % ϐ +\DeclareTextSymbol{\textkappasymbol }\UnicodeEncodingName{"03F0} % ϰ +\DeclareTextSymbol{\textThetasymbol }\UnicodeEncodingName{"03F4} % ϴ +\DeclareTextSymbol{\textthetasymbol }\UnicodeEncodingName{"03D1} % ϑ +\DeclareTextSymbol{\textphisymbol }\UnicodeEncodingName{"03D5} % ϕ +\DeclareTextSymbol{\textpisymbol }\UnicodeEncodingName{"03D6} % ϖ +\DeclareTextSymbol{\textrhosymbol }\UnicodeEncodingName{"03F1} % ϱ +\DeclareTextSymbol{\textepsilonsymbol}\UnicodeEncodingName{"03F5} % ϵ + +% Dummy definition (\textautosigma is lowercase of \textSigma) +% TODO: implement autosigma for TU:: + +\ProvideTextCommand{\textautosigma }\UnicodeEncodingName{\textsigma} + % Greek Extended % ~~~~~~~~~~~~~~ % % We skip definitions for characters "... WITH OXIA", because they would -% overwrite the defintions for "... WITH TONOS" in the `Greek and Coptic` +% overwrite the definitions for "... WITH TONOS" in the `Greek and Coptic` % block. % % :: -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textalpha}{ἀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textalpha}{ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textalpha}{ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textalpha}{ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textalpha}{ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textalpha}{ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textalpha}{ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textalpha}{ἇ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textAlpha}{Ἀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textAlpha}{Ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textAlpha}{Ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textAlpha}{Ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textAlpha}{Ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textAlpha}{Ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textAlpha}{Ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textAlpha}{Ἇ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textepsilon}{ἐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textepsilon}{ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textepsilon}{ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textepsilon}{ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textepsilon}{ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textepsilon}{ἕ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textEpsilon}{Ἐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textEpsilon}{Ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textEpsilon}{Ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textEpsilon}{Ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textEpsilon}{Ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textEpsilon}{Ἕ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\texteta}{ἠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\texteta}{ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\texteta}{ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\texteta}{ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\texteta}{ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\texteta}{ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\texteta}{ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\texteta}{ἧ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textEta}{Ἠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textEta}{Ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textEta}{Ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textEta}{Ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textEta}{Ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textEta}{Ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textEta}{Ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textEta}{Ἧ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textiota}{ἰ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textiota}{ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textiota}{ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textiota}{ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textiota}{ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textiota}{ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textiota}{ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textiota}{ἷ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textIota}{Ἰ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textIota}{Ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textIota}{Ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textIota}{Ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textIota}{Ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textIota}{Ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textIota}{Ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textIota}{Ἷ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textomicron}{ὀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textomicron}{ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textomicron}{ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textomicron}{ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textomicron}{ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textomicron}{ὅ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textOmicron}{Ὀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textOmicron}{Ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textOmicron}{Ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textOmicron}{Ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textOmicron}{Ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textOmicron}{Ὅ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textupsilon}{ὐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textupsilon}{ὑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textupsilon}{ὒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textupsilon}{ὓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textupsilon}{ὔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textupsilon}{ὕ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textupsilon}{ὖ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textupsilon}{ὗ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textUpsilon}{Ὑ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textUpsilon}{Ὓ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textUpsilon}{Ὕ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textUpsilon}{Ὗ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textomega}{ὠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textomega}{ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textomega}{ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textomega}{ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textomega}{ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textomega}{ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textomega}{ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textomega}{ὧ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textOmega}{Ὠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textOmega}{Ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textOmega}{Ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textOmega}{Ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textOmega}{Ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textOmega}{Ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textOmega}{Ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textOmega}{Ὧ} - -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textalpha}{ὰ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textepsilon}{ὲ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\texteta}{ὴ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textiota}{ὶ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textomicron}{ὸ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textupsilon}{ὺ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textomega}{ὼ} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textalpha}{ᾰ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textalpha}{ᾱ} +\DeclareUnicodeComposite{\accpsili }{\textalpha}{"1F00} % ἀ +\DeclareUnicodeComposite{\accdasia }{\textalpha}{"1F01} % ἁ +\DeclareUnicodeComposite{\accpsilivaria }{\textalpha}{"1F02} % ἂ +\DeclareUnicodeComposite{\accdasiavaria }{\textalpha}{"1F03} % ἃ +\DeclareUnicodeComposite{\accpsilioxia }{\textalpha}{"1F04} % ἄ +\DeclareUnicodeComposite{\accdasiaoxia }{\textalpha}{"1F05} % ἅ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textalpha}{"1F06} % ἆ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textalpha}{"1F07} % ἇ +\DeclareUnicodeComposite{\accpsili }{\textAlpha}{"1F08} % Ἀ +\DeclareUnicodeComposite{\accdasia }{\textAlpha}{"1F09} % Ἁ +\DeclareUnicodeComposite{\accpsilivaria }{\textAlpha}{"1F0A} % Ἂ +\DeclareUnicodeComposite{\accdasiavaria }{\textAlpha}{"1F0B} % Ἃ +\DeclareUnicodeComposite{\accpsilioxia }{\textAlpha}{"1F0C} % Ἄ +\DeclareUnicodeComposite{\accdasiaoxia }{\textAlpha}{"1F0D} % Ἅ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textAlpha}{"1F0E} % Ἆ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textAlpha}{"1F0F} % Ἇ + +\DeclareUnicodeComposite{\accpsili }{\textepsilon}{"1F10} % ἐ +\DeclareUnicodeComposite{\accdasia }{\textepsilon}{"1F11} % ἑ +\DeclareUnicodeComposite{\accpsilivaria }{\textepsilon}{"1F12} % ἒ +\DeclareUnicodeComposite{\accdasiavaria }{\textepsilon}{"1F13} % ἓ +\DeclareUnicodeComposite{\accpsilioxia }{\textepsilon}{"1F14} % ἔ +\DeclareUnicodeComposite{\accdasiaoxia }{\textepsilon}{"1F15} % ἕ +\DeclareUnicodeComposite{\accpsili }{\textEpsilon}{"1F18} % Ἐ +\DeclareUnicodeComposite{\accdasia }{\textEpsilon}{"1F19} % Ἑ +\DeclareUnicodeComposite{\accpsilivaria }{\textEpsilon}{"1F1A} % Ἒ +\DeclareUnicodeComposite{\accdasiavaria }{\textEpsilon}{"1F1B} % Ἓ +\DeclareUnicodeComposite{\accpsilioxia }{\textEpsilon}{"1F1C} % Ἔ +\DeclareUnicodeComposite{\accdasiaoxia }{\textEpsilon}{"1F1D} % Ἕ + +\DeclareUnicodeComposite{\accpsili }{\texteta}{"1F20} % ἠ +\DeclareUnicodeComposite{\accdasia }{\texteta}{"1F21} % ἡ +\DeclareUnicodeComposite{\accpsilivaria }{\texteta}{"1F22} % ἢ +\DeclareUnicodeComposite{\accdasiavaria }{\texteta}{"1F23} % ἣ +\DeclareUnicodeComposite{\accpsilioxia }{\texteta}{"1F24} % ἤ +\DeclareUnicodeComposite{\accdasiaoxia }{\texteta}{"1F25} % ἥ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\texteta}{"1F26} % ἦ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\texteta}{"1F27} % ἧ +\DeclareUnicodeComposite{\accpsili }{\textEta}{"1F28} % Ἠ +\DeclareUnicodeComposite{\accdasia }{\textEta}{"1F29} % Ἡ +\DeclareUnicodeComposite{\accpsilivaria }{\textEta}{"1F2A} % Ἢ +\DeclareUnicodeComposite{\accdasiavaria }{\textEta}{"1F2B} % Ἣ +\DeclareUnicodeComposite{\accpsilioxia }{\textEta}{"1F2C} % Ἤ +\DeclareUnicodeComposite{\accdasiaoxia }{\textEta}{"1F2D} % Ἥ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textEta}{"1F2E} % Ἦ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textEta}{"1F2F} % Ἧ + +\DeclareUnicodeComposite{\accpsili }{\textiota}{"1F30} % ἰ +\DeclareUnicodeComposite{\accdasia }{\textiota}{"1F31} % ἱ +\DeclareUnicodeComposite{\accpsilivaria }{\textiota}{"1F32} % ἲ +\DeclareUnicodeComposite{\accdasiavaria }{\textiota}{"1F33} % ἳ +\DeclareUnicodeComposite{\accpsilioxia }{\textiota}{"1F34} % ἴ +\DeclareUnicodeComposite{\accdasiaoxia }{\textiota}{"1F35} % ἵ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textiota}{"1F36} % ἶ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textiota}{"1F37} % ἷ +\DeclareUnicodeComposite{\accpsili }{\textIota}{"1F38} % Ἰ +\DeclareUnicodeComposite{\accdasia }{\textIota}{"1F39} % Ἱ +\DeclareUnicodeComposite{\accpsilivaria }{\textIota}{"1F3A} % Ἲ +\DeclareUnicodeComposite{\accdasiavaria }{\textIota}{"1F3B} % Ἳ +\DeclareUnicodeComposite{\accpsilioxia }{\textIota}{"1F3C} % Ἴ +\DeclareUnicodeComposite{\accdasiaoxia }{\textIota}{"1F3D} % Ἵ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textIota}{"1F3E} % Ἶ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textIota}{"1F3F} % Ἷ + +\DeclareUnicodeComposite{\accpsili }{\textomicron}{"1F40} % ὀ +\DeclareUnicodeComposite{\accdasia }{\textomicron}{"1F41} % ὁ +\DeclareUnicodeComposite{\accpsilivaria }{\textomicron}{"1F42} % ὂ +\DeclareUnicodeComposite{\accdasiavaria }{\textomicron}{"1F43} % ὃ +\DeclareUnicodeComposite{\accpsilioxia }{\textomicron}{"1F44} % ὄ +\DeclareUnicodeComposite{\accdasiaoxia }{\textomicron}{"1F45} % ὅ +\DeclareUnicodeComposite{\accpsili }{\textOmicron}{"1F48} % Ὀ +\DeclareUnicodeComposite{\accdasia }{\textOmicron}{"1F49} % Ὁ +\DeclareUnicodeComposite{\accpsilivaria }{\textOmicron}{"1F4A} % Ὂ +\DeclareUnicodeComposite{\accdasiavaria }{\textOmicron}{"1F4B} % Ὃ +\DeclareUnicodeComposite{\accpsilioxia }{\textOmicron}{"1F4C} % Ὄ +\DeclareUnicodeComposite{\accdasiaoxia }{\textOmicron}{"1F4D} % Ὅ + +\DeclareUnicodeComposite{\accpsili }{\textupsilon}{"1F50} % ὐ +\DeclareUnicodeComposite{\accdasia }{\textupsilon}{"1F51} % ὑ +\DeclareUnicodeComposite{\accpsilivaria }{\textupsilon}{"1F52} % ὒ +\DeclareUnicodeComposite{\accdasiavaria }{\textupsilon}{"1F53} % ὓ +\DeclareUnicodeComposite{\accpsilioxia }{\textupsilon}{"1F54} % ὔ +\DeclareUnicodeComposite{\accdasiaoxia }{\textupsilon}{"1F55} % ὕ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textupsilon}{"1F56} % ὖ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textupsilon}{"1F57} % ὗ +\DeclareUnicodeComposite{\accdasia }{\textUpsilon}{"1F59} % Ὑ +\DeclareUnicodeComposite{\accdasiavaria }{\textUpsilon}{"1F5B} % Ὓ +\DeclareUnicodeComposite{\accdasiaoxia }{\textUpsilon}{"1F5D} % Ὕ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textUpsilon}{"1F5F} % Ὗ + +\DeclareUnicodeComposite{\accpsili }{\textomega}{"1F60} % ὠ +\DeclareUnicodeComposite{\accdasia }{\textomega}{"1F61} % ὡ +\DeclareUnicodeComposite{\accpsilivaria }{\textomega}{"1F62} % ὢ +\DeclareUnicodeComposite{\accdasiavaria }{\textomega}{"1F63} % ὣ +\DeclareUnicodeComposite{\accpsilioxia }{\textomega}{"1F64} % ὤ +\DeclareUnicodeComposite{\accdasiaoxia }{\textomega}{"1F65} % ὥ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textomega}{"1F66} % ὦ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textomega}{"1F67} % ὧ +\DeclareUnicodeComposite{\accpsili }{\textOmega}{"1F68} % Ὠ +\DeclareUnicodeComposite{\accdasia }{\textOmega}{"1F69} % Ὡ +\DeclareUnicodeComposite{\accpsilivaria }{\textOmega}{"1F6A} % Ὢ +\DeclareUnicodeComposite{\accdasiavaria }{\textOmega}{"1F6B} % Ὣ +\DeclareUnicodeComposite{\accpsilioxia }{\textOmega}{"1F6C} % Ὤ +\DeclareUnicodeComposite{\accdasiaoxia }{\textOmega}{"1F6D} % Ὥ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textOmega}{"1F6E} % Ὦ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textOmega}{"1F6F} % Ὧ + +\DeclareUnicodeComposite{\`} {\textalpha} {"1F70} % ὰ +\DeclareUnicodeComposite{\`} {\textepsilon}{"1F72} % ὲ +\DeclareUnicodeComposite{\`} {\texteta} {"1F74} % ὴ +\DeclareUnicodeComposite{\`} {\textiota} {"1F76} % ὶ +\DeclareUnicodeComposite{\`} {\textomicron}{"1F78} % ὸ +\DeclareUnicodeComposite{\`} {\textupsilon}{"1F7A} % ὺ +\DeclareUnicodeComposite{\`} {\textomega} {"1F7C} % ὼ +% repeat with named accents (LuaTeX does not normalize to pre-composed chars): +\DeclareUnicodeComposite{\accvaria} {\textalpha} {"1F70} % ὰ +\DeclareUnicodeComposite{\accvaria} {\textepsilon}{"1F72} % ὲ +\DeclareUnicodeComposite{\accvaria} {\texteta} {"1F74} % ὴ +\DeclareUnicodeComposite{\accvaria} {\textiota} {"1F76} % ὶ +\DeclareUnicodeComposite{\accvaria} {\textomicron}{"1F78} % ὸ +\DeclareUnicodeComposite{\accvaria} {\textupsilon}{"1F7A} % ὺ +\DeclareUnicodeComposite{\accvaria} {\textomega} {"1F7C} % ὼ + + +% Skipping pre-composed characters with sub-iota (ypogegrammeni/prosgegrammeni). + +\DeclareUnicodeComposite{\u} {\textalpha}{"1FB0} % ᾰ +\DeclareUnicodeComposite{\=} {\textalpha}{"1FB1} % ᾱ % ᾲ % ᾳ % ᾴ -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textalpha}{ᾶ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{α}{ᾶ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textalpha}{ᾶ} +\DeclareUnicodeComposite{\accperispomeni} {\textalpha}{"1FB6} % ᾶ +\DeclareUnicodeComposite{\~} {\textalpha}{"1FB6} % ᾶ % ᾷ -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textAlpha}{Ᾰ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textAlpha}{Ᾱ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textAlpha}{Ὰ} +\DeclareUnicodeComposite{\u} {\textAlpha}{"1FB8} % Ᾰ +\DeclareUnicodeComposite{\=} {\textAlpha}{"1FB9} % Ᾱ +\DeclareUnicodeComposite{\`} {\textAlpha}{"1FBA} % Ὰ +\DeclareUnicodeComposite{\accvaria} {\textAlpha}{"1FBA} % Ὰ % ᾼ -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textcompwordmark}{᾽} -\DeclareTextCommand{\prosgegrammeni}{\UTFencname}{ι} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textcompwordmark}{᾿} +\DeclareUnicodeComposite{\accpsili} {} {"1FBD} % ᾽ +\DeclareTextSymbol{\prosgegrammeni}\UnicodeEncodingName {"1FBE} % ι +\DeclareUnicodeComposite{\accpsili} {} {"1FBF} % ᾿ -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textcompwordmark}{῀} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\textcompwordmark}{῁} +\DeclareUnicodeComposite{\accperispomeni} {} {"1FC0} % ῀ +\DeclareUnicodeComposite{\accdialytikaperispomeni}{} {"1FC1} % ῁ % ῂ % ῃ % ῄ -\DeclareTextCompositeCommand{\~}{\UTFencname}{\texteta}{ῆ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{η}{ῆ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\texteta}{ῆ} +\DeclareUnicodeComposite{\accperispomeni} {\texteta} {"1FC6} % ῆ +\DeclareUnicodeComposite{\~} {\texteta} {"1FC6} % ῆ % ῇ -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textEpsilon}{Ὲ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textEta}{Ὴ} +\DeclareUnicodeComposite{\`} {\textEpsilon}{"1FC8} % Ὲ +\DeclareUnicodeComposite{\accvaria} {\textEpsilon}{"1FC8} % Ὲ +\DeclareUnicodeComposite{\`} {\textEta} {"1FCA} % Ὴ +\DeclareUnicodeComposite{\accvaria} {\textEta} {"1FCA} % Ὴ % ῌ -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textcompwordmark}{῍} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textcompwordmark}{῎} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textcompwordmark}{῏} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textiota}{ῐ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textiota}{ῑ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\textiota}{ῒ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\textiota}{ΐ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textiota}{ῖ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{ι}{ῖ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textiota}{ῖ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\textiota}{ῗ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textIota}{Ῐ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textIota}{Ῑ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textIota}{Ὶ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textcompwordmark}{῝} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textcompwordmark}{῞} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textcompwordmark}{῟} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textupsilon}{ῠ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textupsilon}{ῡ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\textupsilon}{ῢ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\textupsilon}{ΰ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textrho}{ῤ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textrho}{ῥ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textupsilon}{ῦ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{υ}{ῦ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textupsilon}{ῦ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\textupsilon}{ῧ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textUpsilon}{Ῠ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textUpsilon}{Ῡ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textUpsilon}{Ὺ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textRho}{Ῥ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\textcompwordmark}{῭} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\textcompwordmark}{΅} +\DeclareUnicodeComposite{\accpsilivaria} {} {"1FCD} % ῍ +\DeclareUnicodeComposite{\accpsilioxia} {} {"1FCE} % ῎ +\DeclareUnicodeComposite{\accpsiliperispomeni} {} {"1FCF} % ῏ + +\DeclareUnicodeComposite{\u} {\textiota} {"1FD0} % ῐ +\DeclareUnicodeComposite{\=} {\textiota} {"1FD1} % ῑ +\DeclareUnicodeComposite{\accdialytikavaria} {\textiota} {"1FD2} % ῒ +\DeclareUnicodeComposite{\accdialytikaoxia} {\textiota} {"1FD3} % ΐ +\DeclareUnicodeComposite{\accperispomeni} {\textiota} {"1FD6} % ῖ +\DeclareUnicodeComposite{\~} {\textiota} {"1FD6} % ῖ +\DeclareUnicodeComposite{\~} {ι} {"1FD6} % ῖ +\DeclareUnicodeComposite{\accdialytikaperispomeni}{\textiota} {"1FD7} % ῗ +\DeclareUnicodeComposite{\u} {\textIota} {"1FD8} % Ῐ +\DeclareUnicodeComposite{\=} {\textIota} {"1FD9} % Ῑ +\DeclareUnicodeComposite{\`} {\textIota} {"1FDA} % Ὶ +\DeclareUnicodeComposite{\accvaria} {\textIota} {"1FDA} % Ὶ +\DeclareUnicodeComposite{\accdasiavaria} {} {"1FDD} % ῝ +\DeclareUnicodeComposite{\accdasiaoxia} {} {"1FDE} % ῞ +\DeclareUnicodeComposite{\accdasiaperispomeni} {} {"1FDF} % ῟ + +\DeclareUnicodeComposite{\u} {\textupsilon}{"1FE0} % ῠ +\DeclareUnicodeComposite{\=} {\textupsilon}{"1FE1} % ῡ +\DeclareUnicodeComposite{\accdialytikavaria} {\textupsilon}{"1FE2} % ῢ +\DeclareUnicodeComposite{\accdialytikaoxia} {\textupsilon}{"1FE3} % ΰ +\DeclareUnicodeComposite{\accpsili} {\textrho} {"1FE4} % ῤ +\DeclareUnicodeComposite{\accdasia} {\textrho} {"1FE5} % ῥ +\DeclareUnicodeComposite{\~} {\textupsilon}{"1FE6} % ῦ +\DeclareUnicodeComposite{\accperispomeni} {\textupsilon}{"1FE6} % ῦ +\DeclareUnicodeComposite{\accdialytikaperispomeni}{\textupsilon}{"1FE7} % ῧ +\DeclareUnicodeComposite{\u} {\textUpsilon}{"1FE8} % Ῠ +\DeclareUnicodeComposite{\=} {\textUpsilon}{"1FE9} % Ῡ +\DeclareUnicodeComposite{\`} {\textUpsilon}{"1FEA} % Ὺ +\DeclareUnicodeComposite{\accvaria} {\textUpsilon}{"1FEA} % Ὺ +% Ύ +\DeclareUnicodeComposite{\accdasia} {\textRho} {"1FEC} % Ῥ +\DeclareUnicodeComposite{\accdialytikavaria} {} {"1FED} % ῭ +\DeclareUnicodeComposite{\accdialytikaoxia} {} {"1FEE} % ΅ +% ` % ῲ % ῳ % ῴ -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textomega}{ῶ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{ω}{ῶ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textomega}{ῶ} +\DeclareUnicodeComposite{\accperispomeni} {\textomega} {"1FF6} % ῶ +\DeclareUnicodeComposite{\~} {\textomega} {"1FF6} % ῶ % ῷ -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textOmicron}{Ὸ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textOmega}{Ὼ} +\DeclareUnicodeComposite{\`} {\textOmicron}{"1FF8} % Ὸ +\DeclareUnicodeComposite{\accvaria} {\textOmicron}{"1FF8} % Ὸ +\DeclareUnicodeComposite{\`} {\textOmega} {"1FFA} % Ὼ +\DeclareUnicodeComposite{\accvaria} {\textOmega} {"1FFA} % Ὼ % ῼ -\DeclareTextCompositeCommand{\accoxia}{\UTFencname}{\textcompwordmark}{´} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textcompwordmark}{῾} +\DeclareUnicodeComposite{\accoxia} {} {"1FFD} % ´ +\DeclareUnicodeComposite{\accdasia} {} {"1FFE} % ῾ + + +% Diacritics on literal Unicode characters:: + +% \DeclareUnicodeComposite{\~}{α}{"1FB6} % ᾶ +% \DeclareUnicodeComposite{\~}{η}{"1FC6} % ῆ +% \DeclareUnicodeComposite{\~}{υ}{"1FE6} % ῦ +% \DeclareUnicodeComposite{\~}{ω}{"1FF6} % ῶ + % Letterlike Symbols % ~~~~~~~~~~~~~~~~~~ % :: -\DeclareTextCommand{\textohm}{\UTFencname}{Ω} % OHM SIGN +\DeclareTextSymbol{\textohm}\UnicodeEncodingName{"03A9} % OHM SIGN, use 03A9 Omega % Ancient Greek Numbers % ~~~~~~~~~~~~~~~~~~~~~ @@ -482,10 +549,10 @@ % % :: -\DeclareTextCommand{\textpentedeka}{\UTFencname}{𐅄} % GREEK ACROPHONIC ATTIC FIFTY -\DeclareTextCommand{\textpentehekaton}{\UTFencname}{𐅅} % GREEK ACROPHONIC ATTIC FIVE HUNDRED -\DeclareTextCommand{\textpenteqilioi}{\UTFencname}{𐅆} % GREEK ACROPHONIC ATTIC FIVE THOUSAND -\DeclareTextCommand{\textpentemuria}{\UTFencname}{𐅇} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND +\DeclareTextSymbol{\textpentedeka }\UnicodeEncodingName{"10144} % GREEK ACROPHONIC ATTIC FIFTY +\DeclareTextSymbol{\textpentehekaton}\UnicodeEncodingName{"10145} % GREEK ACROPHONIC ATTIC FIVE HUNDRED +\DeclareTextSymbol{\textpenteqilioi }\UnicodeEncodingName{"10146} % GREEK ACROPHONIC ATTIC FIVE THOUSAND +\DeclareTextSymbol{\textpentemuria }\UnicodeEncodingName{"10147} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND % UPPERCASE @@ -822,13 +889,13 @@ % ~~~~~~~~ % % The common Greek font encoding definitions in greek-fontenc.def_ extend the -% `uclclist` with Greek LICR macros. Here, we add Unicode-specific "hiatus_" +% `uclclist` with Greek LICR macros. Here, we add Unicode-specific "hiatus_" % handling (copied from lgrenc.def_ and changed % Latin transcription to Unicode literals). -% +% % The hiatus definition modifications:: -\DeclareTextCommand{\LGR@A@hiatus}{\UTFencname}{% +\DeclareTextCommand{\LGR@A@hiatus}{\UnicodeEncodingName}{% \LGR@ifnextchar{Ι}{\textAlpha\"}{% \LGR@ifnextchar{Υ}{\textAlpha\"}{% \LGR@ifnextchar{\textIota}{\textAlpha\"}{% @@ -837,7 +904,7 @@ }% }% } -\DeclareTextCommand{\LGR@E@hiatus}{\UTFencname}{% +\DeclareTextCommand{\LGR@E@hiatus}{\UnicodeEncodingName}{% \LGR@ifnextchar{Ι}{\textEpsilon\"}{% \LGR@ifnextchar{Υ}{\textEpsilon\"}{% \LGR@ifnextchar{\textIota}{\textEpsilon\"}{% @@ -860,6 +927,8 @@ % .. _xgreek: http://ctan.org/pkg/xgreek % .. _xunicode: http://ctan.org/pkg/xunicode % +% .. _latex base: http://ctan.org/pkg/latex-base +% .. _font encoding: http://ctan.org/pkg/encguide % .. _LaTeX2e font selection: % http://mirror.ctan.org/macros/latex/base/fntguide.pdf % .. _common Greek font encoding definitions: diff --git a/language/greek/greek-fontenc/tuenc-greek.def.html b/language/greek/greek-fontenc/tuenc-greek.def.html index d34d5cda23..f621c681c4 100644 --- a/language/greek/greek-fontenc/tuenc-greek.def.html +++ b/language/greek/greek-fontenc/tuenc-greek.def.html @@ -620,13 +620,14 @@ version 1.3 of this license or any later version.</p> </dd> <dt class="identification">Identification</dt> <dd class="identification"><pre class="literal-block">\ProvidesFile{tuenc-greek.def} -[2020/09/25 1.0 Greek LICRs for XeTeX and LuaTeX]</pre> +[2020/10/13 2.0 Greek LICRs for XeTeX and LuaTeX]</pre> </dd> </dl> <div class="abstract topic"> <p class="topic-title">Abstract</p> -<p>Experimental support for Greek LICR macros with XeTeX and LuaTeX. -Extends <a href="#id14"><span class="problematic" id="id15">tuenc_</span></a>. 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> +<p>Support for Greek LICR macros and upcasing of text +with XeTeX and LuaTeX. Extends <a class="reference internal" href="#tuenc-def">tuenc.def</a>. +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> </div> <dl> <dt><strong>History</strong>:</dt> @@ -696,8 +697,28 @@ fix upcasing of <span class="docutils literal">\finalsigma</span>.</p></td> <td><p>Rename to <span class="docutils literal"><span class="pre">tuenc-greek.def</span></span>. Use <span class="docutils literal">\UTFencname</span>.</p></td> </tr> <tr><td><p>1.0</p></td> -<td><p>2020/09/25</p></td> -<td><p><span class="docutils literal">\textKoppa</span> as alias for <span class="docutils literal">\textkoppa</span> in LGR.</p></td> +<td><p>2020-09-25</p></td> +<td><p>New package version. No changes in this file.</p></td> +</tr> +<tr><td><p>2.0</p></td> +<td><p>2020-10-13</p></td> +<td><p>Move common alias definitions to <span class="docutils literal"><span class="pre">greek-fontenc.def</span></span>.</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>New compatiblity definitions.</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>Use <span class="docutils literal">\UnicodeEncodingName</span> instead of <span class="docutils literal">\UTFencname</span>.</p></td> +</tr> +<tr><td><!-- --> +</td> +<td></td> +<td><p>Make the file encoding-independent (required for input +in other encodings with <cite>luainputenc</cite>).</p></td> </tr> </tbody> </table> @@ -712,24 +733,26 @@ fix upcasing of <span class="docutils literal">\finalsigma</span>.</p></td> <li><p><a class="reference internal" href="#common-definitions" id="id4">Common Definitions</a></p></li> <li><p><a class="reference internal" href="#character-definitions" id="id5">Character Definitions</a></p> <ul> -<li><p><a class="reference internal" href="#general-punctuation" id="id6">General Punctuation</a></p></li> -<li><p><a class="reference internal" href="#greek-and-coptic" id="id7">Greek and Coptic</a></p></li> -<li><p><a class="reference internal" href="#greek-extended" id="id8">Greek Extended</a></p></li> -<li><p><a class="reference internal" href="#letterlike-symbols" id="id9">Letterlike Symbols</a></p></li> -<li><p><a class="reference internal" href="#ancient-greek-numbers" id="id10">Ancient Greek Numbers</a></p></li> +<li><p><a class="reference internal" href="#basic-latin" id="id6">Basic Latin</a></p></li> +<li><p><a class="reference internal" href="#latin-1-supplement" id="id7">Latin 1 Supplement</a></p></li> +<li><p><a class="reference internal" href="#ipa-extensions" id="id8">IPA Extensions</a></p></li> +<li><p><a class="reference internal" href="#greek-and-coptic" id="id9">Greek and Coptic</a></p></li> +<li><p><a class="reference internal" href="#greek-extended" id="id10">Greek Extended</a></p></li> +<li><p><a class="reference internal" href="#letterlike-symbols" id="id11">Letterlike Symbols</a></p></li> +<li><p><a class="reference internal" href="#ancient-greek-numbers" id="id12">Ancient Greek Numbers</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#uppercase" id="id11">UPPERCASE</a></p> +<li><p><a class="reference internal" href="#uppercase" id="id13">UPPERCASE</a></p> <ul> -<li><p><a class="reference internal" href="#uc-lc-values" id="id12">uc/lc values</a></p></li> -<li><p><a class="reference internal" href="#uclclist" id="id13">uclclist</a></p></li> +<li><p><a class="reference internal" href="#uc-lc-values" id="id14">uc/lc values</a></p></li> +<li><p><a class="reference internal" href="#uclclist" id="id15">uclclist</a></p></li> </ul> </li> </ul> </div> <section id="motivation"> <h2><a class="toc-backref" href="#id1">Motivation</a></h2> -<p>LICR macro definitions for the Greek script are missing in <a href="#id16"><span class="problematic" id="id17">tuenc_</span></a> (as well +<p>LICR macro definitions for the Greek script are missing in <a class="reference internal" href="#tuenc-def">tuenc.def</a> (as well as the predecessors <a class="reference external" href="http://ctan.org/pkg/xunicode">xunicode</a>, <a class="reference external" href="http://ctan.org/pkg/euenc">euenc</a>).</p> <p>This file defines <cite>LaTeX Internal Character Representaction</cite> (LICR) macros for Greek letters and symbols. It works independed of <a class="reference external" href="http://ctan.org/pkg/xunicode">xunicode</a> using the @@ -737,8 +760,10 @@ standard commands for <a class="reference external" href="http://mirror.ctan.org </section> <section id="requirements"> <h2><a class="toc-backref" href="#id2">Requirements</a></h2> -<p>Requires XeTeX or LuaTeX, <a class="reference external" href="http://ctan.org/pkg/fontspec">fontspec</a>, and a font with Greek characters.</p> -<p>See <a class="reference external" href="tuenc-greek-doc.tex">tuenc-greek-doc.tex</a> and <a class="reference external" href="tuenc-greek-doc.pdf">tuenc-greek-doc.pdf</a> for setup and +<p>Requires XeTeX or LuaTeX (usually with <a class="reference external" href="http://ctan.org/pkg/fontspec">fontspec</a>), the <a class="reference external" href="http://ctan.org/pkg/latex-base">LaTeX base</a> +file <span class="target" id="tuenc-def">tuenc.def</span> that sets up the <a class="reference external" href="http://ctan.org/pkg/encguide">font encoding</a> TU, and a font with +Greek characters.</p> +<p>See <a class="reference external" href="test-tuenc-greek.tex">test-tuenc-greek.tex</a> and <a class="reference external" href="test-tuenc-greek.pdf">test-tuenc-greek.pdf</a> for setup and usage examples.</p> </section> <section id="greek-diacritics"> @@ -751,395 +776,436 @@ to-LaTeX converters to ensure working also inside the tabbing environment.</p></ conventions and in the definition of composite commands.</p></li> </ul> <p>Greek alias names for standard accents:</p> -<pre class="literal-block">\DeclareTextCommand{\acctonos}{\UTFencname}{\@tabacckludge'} -\DeclareTextCommand{\accvaria}{\UTFencname}{\@tabacckludge`} -\DeclareTextCommand{\accdialytika}{\UTFencname}{\@tabacckludge"}</pre> +<pre class="literal-block">\DeclareUnicodeAccent{\accvaria} \UnicodeEncodingName{"0300} +\DeclareUnicodeAccent{\acctonos} \UnicodeEncodingName{"0301} +\DeclareUnicodeAccent{\accdialytika}\UnicodeEncodingName{"0308}</pre> <p>The combining perispomeni character is normalized with Greek base letters, while the (standard) combining tilde is not:</p> -<pre class="literal-block">\DeclareTextCommand{\accperispomeni}{\UTFencname}[1]{#1\char"0342 }</pre> +<pre class="literal-block">\DeclareUnicodeAccent{\accperispomeni}\UnicodeEncodingName{"0342} % COMBINING GREEK PERISPOMENI</pre> <p>Breathings:</p> -<p>(The COMBINING GREEK KORONIS is a legacy character, discarded in favour of -COMBINING COMMA ABOVE)</p> -<pre class="literal-block">\DeclareTextCommand{\accpsili}{\UTFencname}[1]{#1\char"0313 } % ψιλή spiritus lenis (smooth breathing) -\DeclareTextCommand{\accdasia}{\UTFencname}[1]{#1\char"0314 } % δασεῖα spiritus asper (rough breathing)</pre> -<p>Sub-iota:</p> -<p><span class="docutils literal">\ypogegrammeni</span> is a postfix accent (ligature in LGR)</p> -<pre class="literal-block">\DeclareTextSymbol{\ypogegrammeni}{\UTFencname}{0837} % COMBINING GREEK YPOGEGRAMMENI</pre> +<p><span class="docutils literal">\accpsili = \acckoronis</span> but the COMBINING GREEK KORONIS is a legacy +character, discarded in favour of COMBINING COMMA ABOVE.</p> +<pre class="literal-block">\DeclareUnicodeAccent{\accpsili}\UnicodeEncodingName{"0313} % ψιλή spiritus lenis (smooth breathing) +\DeclareUnicodeAccent{\accdasia}\UnicodeEncodingName{"0314} % δασεῖα spiritus asper (rough breathing)</pre> +<p>Sub-iotas:</p> +<p><span class="docutils literal">\prosgegrammeni</span> is a standard character (see below). +<span class="docutils literal">\ypogegrammeni</span> is a postfix accent (ligature in LGR)</p> +<pre class="literal-block">\DeclareTextSymbol{\ypogegrammeni}{\UnicodeEncodingName}{0837} % COMBINING GREEK YPOGEGRAMMENI</pre> <p>Combined diacritics:</p> +<p><span class="docutils literal">\DeclareUnicodeAccent</span> does not work with more than one argument:</p> <pre class="literal-block">% The COMBINING DIALYTIKA TONOS is discarded and not well supported by fonts: -\DeclareTextCommand{\accdialytikatonos}{\UTFencname}[1]{#1\char"0308 \char"0301 } -\DeclareTextCommand{\accdialytikavaria}{\UTFencname}[1]{#1\char"0308 \char"0300 } -\DeclareTextCommand{\accdialytikaperispomeni}{\UTFencname}[1]{#1\char"0342 \char"0308 } +\DeclareTextCommand{\accdialytikatonos}{\UnicodeEncodingName}[1]{#1\char"0308\char"0301} +\DeclareTextCommand{\accdialytikavaria}{\UnicodeEncodingName}[1]{#1\char"0308\char"0300} +\DeclareTextCommand{\accdialytikaperispomeni}{\UnicodeEncodingName}[1]{#1\char"0342\char"0308} -\DeclareTextCommand{\accdasiaoxia}{\UTFencname}[1]{#1\char"0314 \char"0301 } -\DeclareTextCommand{\accdasiavaria}{\UTFencname}[1]{#1\char"0314 \char"0300 } -\DeclareTextCommand{\accdasiaperispomeni}{\UTFencname}[1]{#1\char"0314 \char"0342 } +\DeclareTextCommand{\accdasiaoxia}{\UnicodeEncodingName}[1]{#1\char"0314\char"0301} +\DeclareTextCommand{\accdasiavaria}{\UnicodeEncodingName}[1]{#1\char"0314\char"0300} +\DeclareTextCommand{\accdasiaperispomeni}{\UnicodeEncodingName}[1]{#1\char"0314\char"0342} -\DeclareTextCommand{\accpsilioxia}{\UTFencname}[1]{#1\char"0301 \char"0313 } -\DeclareTextCommand{\accpsilivaria}{\UTFencname}[1]{#1\char"0300 \char"0313 } -\DeclareTextCommand{\accpsiliperispomeni}{\UTFencname}[1]{#1\char"0342 \char"0313 }</pre> +\DeclareTextCommand{\accpsilioxia}{\UnicodeEncodingName}[1]{#1\char"0301\char"0313} +\DeclareTextCommand{\accpsilivaria}{\UnicodeEncodingName}[1]{#1\char"0300\char"0313} +\DeclareTextCommand{\accpsiliperispomeni}{\UnicodeEncodingName}[1]{#1\char"0342\char"0313}</pre> </section> <section id="common-definitions"> <h2><a class="toc-backref" href="#id4">Common Definitions</a></h2> <p>Use the <a class="reference external" href="greek-fontenc.def.html">common Greek font encoding definitions</a>:</p> -<pre class="literal-block">\renewcommand*{\LastDeclaredEncoding}{\UTFencname} +<pre class="literal-block">\renewcommand*{\LastDeclaredEncoding}{\UnicodeEncodingName} \input{greek-fontenc.def}</pre> </section> <section id="character-definitions"> <h2><a class="toc-backref" href="#id5">Character Definitions</a></h2> -<section id="general-punctuation"> -<h3><a class="toc-backref" href="#id6">General Punctuation</a></h3> -<p>Ligature break up with ZERO WIDTH NON-JOINER:</p> -<pre class="literal-block">\DeclareTextCommand{\textcompwordmark}{\UTFencname}{\char"200C}</pre> +<section id="basic-latin"> +<h3><a class="toc-backref" href="#id6">Basic Latin</a></h3> +<p>Compatibility def with LGR:</p> +<pre class="literal-block">\DeclareTextSymbol{\textsemicolon}\UnicodeEncodingName{"003B} % ;</pre> +</section> +<section id="latin-1-supplement"> +<h3><a class="toc-backref" href="#id7">Latin 1 Supplement</a></h3> +<p>Distinguish MICRO SIGN from letter mu:</p> +<pre class="literal-block">\DeclareTextSymbol{\textmicro}\UnicodeEncodingName{"00B5} % µ MICRO SIGN</pre> +</section> +<section id="ipa-extensions"> +<h3><a class="toc-backref" href="#id8">IPA Extensions</a></h3> +<pre class="literal-block">\DeclareTextSymbol{\textschwa}\UnicodeEncodingName{"0259} % ə</pre> </section> <section id="greek-and-coptic"> -<h3><a class="toc-backref" href="#id7">Greek and Coptic</a></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}{\UTFencname}{ʹ} % \anwtonos, \textnumeralsigngreek -\DeclareTextCommand{\textaristerikeraia}{\UTFencname}{͵} % \katwtonos, \textnumeralsignlowergreek -% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ -% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ - -% 037A GREEK YPOGEGRAMMENI (use \textcompwordmark\ypogegrammeni) % ͺ +<h3><a class="toc-backref" href="#id9">Greek and Coptic</a></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 % ͳ +\DeclareTextSymbol{\textdexiakeraia}\UnicodeEncodingName{"0374} % ʹ \anwtonos, \textnumeralsigngreek +\DeclareTextSymbol{\textaristerikeraia}\UnicodeEncodingName{"0375} % ͵\katwtonos, \textnumeralsignlowergreek +% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ +% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ + +% \DeclareTextCompositeCommand{\@emty}\UnicodeEncodingName{\ypogegrammeni}{ͺ} % 037A GREEK YPOGEGRAMMENI +% \DeclareTextCompositeCommand{\textcompwordmark}\UnicodeEncodingName{\ypogegrammeni}{ͺ} % 037A GREEK YPOGEGRAMMENI % 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL % 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL % 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL -\DeclareTextCommand{\texterotimatiko}{\UTFencname}{;} % 037E GREEK QUESTION MARK - -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textcompwordmark}{΄} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\textcompwordmark}{΅} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textAlpha}{Ά} -\DeclareTextCommand{\textanoteleia}{\UTFencname}{·} % \anoteleia -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textEpsilon}{Έ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textEta}{Ή} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textIota}{Ί} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textOmicron}{Ό} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textUpsilon}{Ύ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textOmega}{Ώ} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\textiota}{ΐ} - -\DeclareTextCommand{\textAlpha}{\UTFencname}{Α} -\DeclareTextCommand{\textBeta}{\UTFencname}{Β} -\DeclareTextCommand{\textGamma}{\UTFencname}{Γ} -\DeclareTextCommand{\textDelta}{\UTFencname}{Δ} -\DeclareTextCommand{\textEpsilon}{\UTFencname}{Ε} -\DeclareTextCommand{\textZeta}{\UTFencname}{Ζ} -\DeclareTextCommand{\textEta}{\UTFencname}{Η} -\DeclareTextCommand{\textTheta}{\UTFencname}{Θ} -\DeclareTextCommand{\textIota}{\UTFencname}{Ι} -\DeclareTextCommand{\textKappa}{\UTFencname}{Κ} -\DeclareTextCommand{\textLambda}{\UTFencname}{Λ} -\DeclareTextCommand{\textMu}{\UTFencname}{Μ} -\DeclareTextCommand{\textNu}{\UTFencname}{Ν} -\DeclareTextCommand{\textXi}{\UTFencname}{Ξ} -\DeclareTextCommand{\textOmicron}{\UTFencname}{Ο} -\DeclareTextCommand{\textPi}{\UTFencname}{Π} -\DeclareTextCommand{\textRho}{\UTFencname}{Ρ} -\DeclareTextCommand{\textSigma}{\UTFencname}{Σ} -\DeclareTextCommand{\textTau}{\UTFencname}{Τ} -\DeclareTextCommand{\textUpsilon}{\UTFencname}{Υ} -\DeclareTextCommand{\textPhi}{\UTFencname}{Φ} -\DeclareTextCommand{\textChi}{\UTFencname}{Χ} -\DeclareTextCommand{\textPsi}{\UTFencname}{Ψ} -\DeclareTextCommand{\textOmega}{\UTFencname}{Ω} - -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textIota}{Ϊ} -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textUpsilon}{Ϋ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textalpha}{ά} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textepsilon}{έ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\texteta}{ή} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textiota}{ί} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\textupsilon}{ΰ} - -\DeclareTextCommand{\textalpha}{\UTFencname}{α} -\DeclareTextCommand{\textbeta}{\UTFencname}{β} -\DeclareTextCommand{\textgamma}{\UTFencname}{γ} -\DeclareTextCommand{\textdelta}{\UTFencname}{δ} -\DeclareTextCommand{\textepsilon}{\UTFencname}{ε} -\DeclareTextCommand{\textvarepsilon}{\UTFencname}{ε} % cf. $\varepsiolon$ -\DeclareTextCommand{\textzeta}{\UTFencname}{ζ} -\DeclareTextCommand{\texteta}{\UTFencname}{η} -\DeclareTextCommand{\texttheta}{\UTFencname}{θ} -\DeclareTextCommand{\textiota}{\UTFencname}{ι} -\DeclareTextCommand{\textkappa}{\UTFencname}{κ} -\DeclareTextCommand{\textlambda}{\UTFencname}{λ} -\DeclareTextCommand{\textmu}{\UTFencname}{μ} % \textmugreek -\DeclareTextCommand{\textnu}{\UTFencname}{ν} -\DeclareTextCommand{\textxi}{\UTFencname}{ξ} -\DeclareTextCommand{\textomicron}{\UTFencname}{ο} -\DeclareTextCommand{\textpi}{\UTFencname}{π} -\DeclareTextCommand{\textrho}{\UTFencname}{ρ} -\DeclareTextCommand{\textvarsigma}{\UTFencname}{ς} % final sigma -\DeclareTextCommand{\textfinalsigma}{\UTFencname}{\textvarsigma} -\DeclareTextCommand{\textsigma}{\UTFencname}{σ} -% Dummy definition (\textautosigma is lowercase of \textSigma): -\ProvideTextCommand{\textautosigma}{\UTFencname}{\textsigma} -\DeclareTextCommand{\texttau}{\UTFencname}{τ} -\DeclareTextCommand{\textupsilon}{\UTFencname}{υ} -\DeclareTextCommand{\textphi}{\UTFencname}{φ} -\DeclareTextCommand{\textvarphi}{\UTFencname}{φ} % cf. $\varphi$ -\DeclareTextCommand{\textchi}{\UTFencname}{χ} -\DeclareTextCommand{\textpsi}{\UTFencname}{ψ} -\DeclareTextCommand{\textomega}{\UTFencname}{ω} - -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textiota}{ϊ} -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textupsilon}{ϋ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textomicron}{ό} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textupsilon}{ύ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textomega}{ώ} - -\DeclareTextCommand{\textQoppa}{\UTFencname}{Ϙ} -\DeclareTextCommand{\textqoppa}{\UTFencname}{ϙ} -\DeclareTextCommand{\textStigma}{\UTFencname}{Ϛ} -\DeclareTextCommand{\textstigma}{\UTFencname}{ϛ} -\DeclareTextCommand{\textDigamma}{\UTFencname}{Ϝ} -\DeclareTextCommand{\textdigamma}{\UTFencname}{ϝ} -\DeclareTextCommand{\textKoppa}{\UTFencname}{Ϟ} % in LGR identic to \textkoppa -\DeclareTextCommand{\textkoppa}{\UTFencname}{ϟ} % \koppa, \textqoppa [sic!] -\DeclareTextCommand{\textSampi}{\UTFencname}{Ϡ} -\DeclareTextCommand{\textsampi}{\UTFencname}{ϡ} - -% Symbol variants -\DeclareTextCommand{\textbetasymbol}{\UTFencname}{ϐ} -\DeclareTextCommand{\textkappasymbol}{\UTFencname}{ϰ} -\DeclareTextCommand{\textThetasymbol}{\UTFencname}{ϴ} -\DeclareTextCommand{\textthetasymbol}{\UTFencname}{ϑ} -\DeclareTextCommand{\textphisymbol}{\UTFencname}{ϕ} -\DeclareTextCommand{\textpisymbol}{\UTFencname}{ϖ} -\DeclareTextCommand{\textrhosymbol}{\UTFencname}{ϱ} -\DeclareTextCommand{\textepsilonsymbol}{\UTFencname}{ϵ} -% math compatibility aliases -% $\varphi$ and $\varepsilon$ refer to the letter characters (see above)! -\DeclareTextCommand{\textvarbeta}{\UTFencname}{\textbetasymbol} -\DeclareTextCommand{\textvarkappa}{\UTFencname}{ϰ} -\DeclareTextCommand{\textvarTheta}{\UTFencname}{ϴ} -\DeclareTextCommand{\textvartheta}{\UTFencname}{ϑ} -\DeclareTextCommand{\textvarpi}{\UTFencname}{ϖ} -\DeclareTextCommand{\textvarrho}{\UTFencname}{ϱ}</pre> +\DeclareTextSymbol{\texterotimatiko}\UnicodeEncodingName{"003B} % use SEMICOLON, not 037E GREEK QUESTION MARK + +\DeclareUnicodeComposite{\acctonos} {} {"0384} % ΄ GREEK TONOS +\DeclareUnicodeComposite{\accdialytikatonos}{} {"0385} % ΅ GREEK DIALYTIKA TONOS +\DeclareUnicodeComposite{\'} {\textAlpha} {"0386} % Ά +\DeclareTextSymbol{\textanoteleia} \UnicodeEncodingName{"00B7} % use MIDDLE DOT, not 0387 GREEK ANO TELEIA +\DeclareUnicodeComposite{\'} {\textEpsilon}{"0388} % Έ +\DeclareUnicodeComposite{\'} {\textEta} {"0389} % Ή +\DeclareUnicodeComposite{\'} {\textIota} {"038A} % Ί +\DeclareUnicodeComposite{\'} {\textOmicron}{"038C} % Ό +\DeclareUnicodeComposite{\'} {\textUpsilon}{"038E} % Ύ +\DeclareUnicodeComposite{\'} {\textOmega} {"038F} % Ώ +% repeat with named accents (LuaTeX does not normalize to pre-composed chars): +\DeclareUnicodeComposite{\acctonos} {\textAlpha} {"0386} % Ά +\DeclareUnicodeComposite{\acctonos} {\textEpsilon}{"0388} % Έ +\DeclareUnicodeComposite{\acctonos} {\textEta} {"0389} % Ή +\DeclareUnicodeComposite{\acctonos} {\textIota} {"038A} % Ί +\DeclareUnicodeComposite{\acctonos} {\textOmicron}{"038C} % Ό +\DeclareUnicodeComposite{\acctonos} {\textUpsilon}{"038E} % Ύ +\DeclareUnicodeComposite{\acctonos} {\textOmega} {"038F} % Ώ +\DeclareUnicodeComposite{\accdialytikatonos}{\textiota} {"0390} % ΐ + +\DeclareTextSymbol{\textAlpha }\UnicodeEncodingName{"0391} % Α +\DeclareTextSymbol{\textBeta }\UnicodeEncodingName{"0392} % Β +\DeclareTextSymbol{\textGamma }\UnicodeEncodingName{"0393} % Γ +\DeclareTextSymbol{\textDelta }\UnicodeEncodingName{"0394} % Δ +\DeclareTextSymbol{\textEpsilon}\UnicodeEncodingName{"0395} % Ε +\DeclareTextSymbol{\textZeta }\UnicodeEncodingName{"0396} % Ζ +\DeclareTextSymbol{\textEta }\UnicodeEncodingName{"0397} % Η +\DeclareTextSymbol{\textTheta }\UnicodeEncodingName{"0398} % Θ +\DeclareTextSymbol{\textIota }\UnicodeEncodingName{"0399} % Ι +\DeclareTextSymbol{\textKappa }\UnicodeEncodingName{"039A} % Κ +\DeclareTextSymbol{\textLambda }\UnicodeEncodingName{"039B} % Λ +\DeclareTextSymbol{\textMu }\UnicodeEncodingName{"039C} % Μ +\DeclareTextSymbol{\textNu }\UnicodeEncodingName{"039D} % Ν +\DeclareTextSymbol{\textXi }\UnicodeEncodingName{"039E} % Ξ +\DeclareTextSymbol{\textOmicron}\UnicodeEncodingName{"039F} % Ο +\DeclareTextSymbol{\textPi }\UnicodeEncodingName{"03A0} % Π +\DeclareTextSymbol{\textRho }\UnicodeEncodingName{"03A1} % Ρ +\DeclareTextSymbol{\textSigma }\UnicodeEncodingName{"03A3} % Σ +\DeclareTextSymbol{\textTau }\UnicodeEncodingName{"03A4} % Τ +\DeclareTextSymbol{\textUpsilon}\UnicodeEncodingName{"03A5} % Υ +\DeclareTextSymbol{\textPhi }\UnicodeEncodingName{"03A6} % Φ +\DeclareTextSymbol{\textChi }\UnicodeEncodingName{"03A7} % Χ +\DeclareTextSymbol{\textPsi }\UnicodeEncodingName{"03A8} % Ψ +\DeclareTextSymbol{\textOmega }\UnicodeEncodingName{"03A9} % Ω + +\DeclareUnicodeComposite{\"} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\"} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\"} {\textUpsilon}{"03AB} % Ϋ +\DeclareUnicodeComposite{\'} {\textalpha} {"03AC} % ά +\DeclareUnicodeComposite{\'} {\textepsilon}{"03AD} % έ +\DeclareUnicodeComposite{\'} {\texteta} {"03AE} % ή +\DeclareUnicodeComposite{\'} {\textiota} {"03AF} % ί +% repeat with named accents (LuaTeX does not normalize to pre-composed chars): +\DeclareUnicodeComposite{\accdialytika} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\accdialytika} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\accdialytika} {\textUpsilon}{"03AB} % Ϋ +\DeclareUnicodeComposite{\acctonos} {\textalpha} {"03AC} % ά +\DeclareUnicodeComposite{\acctonos} {\textepsilon}{"03AD} % έ +\DeclareUnicodeComposite{\acctonos} {\texteta} {"03AE} % ή +\DeclareUnicodeComposite{\acctonos} {\textiota} {"03AF} % ί +\DeclareUnicodeComposite{\accdialytikatonos}{\textupsilon}{"03B0} % ΰ + +\DeclareTextSymbol{\textalpha }\UnicodeEncodingName{"03B1} % α +\DeclareTextSymbol{\textbeta }\UnicodeEncodingName{"03B2} % β +\DeclareTextSymbol{\textgamma }\UnicodeEncodingName{"03B3} % γ +\DeclareTextSymbol{\textdelta }\UnicodeEncodingName{"03B4} % δ +\DeclareTextSymbol{\textepsilon }\UnicodeEncodingName{"03B5} % ε +\DeclareTextSymbol{\textzeta }\UnicodeEncodingName{"03B6} % ζ +\DeclareTextSymbol{\texteta }\UnicodeEncodingName{"03B7} % η +\DeclareTextSymbol{\texttheta }\UnicodeEncodingName{"03B8} % θ +\DeclareTextSymbol{\textiota }\UnicodeEncodingName{"03B9} % ι +\DeclareTextSymbol{\textkappa }\UnicodeEncodingName{"03BA} % κ +\DeclareTextSymbol{\textlambda }\UnicodeEncodingName{"03BB} % λ +\DeclareTextSymbol{\textmu }\UnicodeEncodingName{"03BC} % μ % \textmugreek +\DeclareTextSymbol{\textnu }\UnicodeEncodingName{"03BD} % ν +\DeclareTextSymbol{\textxi }\UnicodeEncodingName{"03BE} % ξ +\DeclareTextSymbol{\textomicron }\UnicodeEncodingName{"03BF} % ο +\DeclareTextSymbol{\textpi }\UnicodeEncodingName{"03C0} % π +\DeclareTextSymbol{\textrho }\UnicodeEncodingName{"03C1} % ρ +\DeclareTextSymbol{\textfinalsigma}\UnicodeEncodingName{"03C2} % ς % final sigma +\DeclareTextSymbol{\textsigma }\UnicodeEncodingName{"03C3} % σ +\DeclareTextSymbol{\texttau }\UnicodeEncodingName{"03C4} % τ +\DeclareTextSymbol{\textupsilon }\UnicodeEncodingName{"03C5} % υ +\DeclareTextSymbol{\textphi }\UnicodeEncodingName{"03C6} % φ +\DeclareTextSymbol{\textchi }\UnicodeEncodingName{"03C7} % χ +\DeclareTextSymbol{\textpsi }\UnicodeEncodingName{"03C8} % ψ +\DeclareTextSymbol{\textomega }\UnicodeEncodingName{"03C9} % ω + +\DeclareUnicodeComposite{\"}{\textiota}{"03CA} % ϊ +\DeclareUnicodeComposite{\"}{\textupsilon}{"03CB} % ϋ +\DeclareUnicodeComposite{\'}{\textomicron}{"03CC} % ό +\DeclareUnicodeComposite{\'}{\textupsilon}{"03CD} % ύ +\DeclareUnicodeComposite{\'}{\textomega}{"03CE} % ώ +\DeclareUnicodeComposite{\accdialytika}{\textiota}{"03CA} % ϊ +\DeclareUnicodeComposite{\accdialytika}{\textupsilon}{"03CB} % ϋ +\DeclareUnicodeComposite{\acctonos}{\textomicron}{"03CC} % ό +\DeclareUnicodeComposite{\acctonos}{\textupsilon}{"03CD} % ύ +\DeclareUnicodeComposite{\acctonos}{\textomega}{"03CE} % ώ</pre> +<p>Archaic letters (still used in Greek numerals):</p> +<pre class="literal-block">\DeclareTextSymbol{\textQoppa }\UnicodeEncodingName{"03D8} % Ϙ +\DeclareTextSymbol{\textqoppa }\UnicodeEncodingName{"03D9} % ϙ +\DeclareTextSymbol{\textStigma }\UnicodeEncodingName{"03DA} % Ϛ +\DeclareTextSymbol{\textstigma }\UnicodeEncodingName{"03DB} % ϛ +\DeclareTextSymbol{\textDigamma }\UnicodeEncodingName{"03DC} % Ϝ +\DeclareTextSymbol{\textdigamma }\UnicodeEncodingName{"03DD} % ϝ +\DeclareTextSymbol{\textKoppa }\UnicodeEncodingName{"03DE} % Ϟ in LGR identic to \textkoppa +\DeclareTextSymbol{\textkoppa }\UnicodeEncodingName{"03DF} % ϟ \koppa, \textqoppa [sic!] +\DeclareTextSymbol{\textSampi }\UnicodeEncodingName{"03E0} % Ϡ +\DeclareTextSymbol{\textsampi }\UnicodeEncodingName{"03E1} % ϡ</pre> +<p>Symbol variants:</p> +<pre class="literal-block">\DeclareTextSymbol{\textbetasymbol }\UnicodeEncodingName{"03D0} % ϐ +\DeclareTextSymbol{\textkappasymbol }\UnicodeEncodingName{"03F0} % ϰ +\DeclareTextSymbol{\textThetasymbol }\UnicodeEncodingName{"03F4} % ϴ +\DeclareTextSymbol{\textthetasymbol }\UnicodeEncodingName{"03D1} % ϑ +\DeclareTextSymbol{\textphisymbol }\UnicodeEncodingName{"03D5} % ϕ +\DeclareTextSymbol{\textpisymbol }\UnicodeEncodingName{"03D6} % ϖ +\DeclareTextSymbol{\textrhosymbol }\UnicodeEncodingName{"03F1} % ϱ +\DeclareTextSymbol{\textepsilonsymbol}\UnicodeEncodingName{"03F5} % ϵ</pre> +<p>Dummy definition (textautosigma is lowercase of textSigma) +TODO: implement autosigma for TU:</p> +<pre class="literal-block">\ProvideTextCommand{\textautosigma }\UnicodeEncodingName{\textsigma}</pre> </section> <section id="greek-extended"> -<h3><a class="toc-backref" href="#id8">Greek Extended</a></h3> +<h3><a class="toc-backref" href="#id10">Greek Extended</a></h3> <p>We skip definitions for characters “… WITH OXIA”, because they would -overwrite the defintions for “… WITH TONOS” in the <cite>Greek and Coptic</cite> +overwrite the definitions for “… WITH TONOS” in the <cite>Greek and Coptic</cite> block.</p> -<pre class="literal-block">\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textalpha}{ἀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textalpha}{ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textalpha}{ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textalpha}{ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textalpha}{ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textalpha}{ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textalpha}{ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textalpha}{ἇ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textAlpha}{Ἀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textAlpha}{Ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textAlpha}{Ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textAlpha}{Ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textAlpha}{Ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textAlpha}{Ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textAlpha}{Ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textAlpha}{Ἇ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textepsilon}{ἐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textepsilon}{ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textepsilon}{ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textepsilon}{ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textepsilon}{ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textepsilon}{ἕ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textEpsilon}{Ἐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textEpsilon}{Ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textEpsilon}{Ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textEpsilon}{Ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textEpsilon}{Ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textEpsilon}{Ἕ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\texteta}{ἠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\texteta}{ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\texteta}{ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\texteta}{ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\texteta}{ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\texteta}{ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\texteta}{ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\texteta}{ἧ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textEta}{Ἠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textEta}{Ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textEta}{Ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textEta}{Ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textEta}{Ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textEta}{Ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textEta}{Ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textEta}{Ἧ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textiota}{ἰ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textiota}{ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textiota}{ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textiota}{ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textiota}{ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textiota}{ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textiota}{ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textiota}{ἷ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textIota}{Ἰ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textIota}{Ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textIota}{Ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textIota}{Ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textIota}{Ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textIota}{Ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textIota}{Ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textIota}{Ἷ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textomicron}{ὀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textomicron}{ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textomicron}{ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textomicron}{ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textomicron}{ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textomicron}{ὅ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textOmicron}{Ὀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textOmicron}{Ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textOmicron}{Ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textOmicron}{Ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textOmicron}{Ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textOmicron}{Ὅ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textupsilon}{ὐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textupsilon}{ὑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textupsilon}{ὒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textupsilon}{ὓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textupsilon}{ὔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textupsilon}{ὕ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textupsilon}{ὖ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textupsilon}{ὗ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textUpsilon}{Ὑ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textUpsilon}{Ὓ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textUpsilon}{Ὕ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textUpsilon}{Ὗ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textomega}{ὠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textomega}{ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textomega}{ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textomega}{ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textomega}{ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textomega}{ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textomega}{ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textomega}{ὧ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textOmega}{Ὠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textOmega}{Ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textOmega}{Ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textOmega}{Ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textOmega}{Ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textOmega}{Ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textOmega}{Ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textOmega}{Ὧ} - -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textalpha}{ὰ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textepsilon}{ὲ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\texteta}{ὴ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textiota}{ὶ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textomicron}{ὸ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textupsilon}{ὺ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textomega}{ὼ} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textalpha}{ᾰ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textalpha}{ᾱ} +<pre class="literal-block">\DeclareUnicodeComposite{\accpsili }{\textalpha}{"1F00} % ἀ +\DeclareUnicodeComposite{\accdasia }{\textalpha}{"1F01} % ἁ +\DeclareUnicodeComposite{\accpsilivaria }{\textalpha}{"1F02} % ἂ +\DeclareUnicodeComposite{\accdasiavaria }{\textalpha}{"1F03} % ἃ +\DeclareUnicodeComposite{\accpsilioxia }{\textalpha}{"1F04} % ἄ +\DeclareUnicodeComposite{\accdasiaoxia }{\textalpha}{"1F05} % ἅ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textalpha}{"1F06} % ἆ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textalpha}{"1F07} % ἇ +\DeclareUnicodeComposite{\accpsili }{\textAlpha}{"1F08} % Ἀ +\DeclareUnicodeComposite{\accdasia }{\textAlpha}{"1F09} % Ἁ +\DeclareUnicodeComposite{\accpsilivaria }{\textAlpha}{"1F0A} % Ἂ +\DeclareUnicodeComposite{\accdasiavaria }{\textAlpha}{"1F0B} % Ἃ +\DeclareUnicodeComposite{\accpsilioxia }{\textAlpha}{"1F0C} % Ἄ +\DeclareUnicodeComposite{\accdasiaoxia }{\textAlpha}{"1F0D} % Ἅ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textAlpha}{"1F0E} % Ἆ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textAlpha}{"1F0F} % Ἇ + +\DeclareUnicodeComposite{\accpsili }{\textepsilon}{"1F10} % ἐ +\DeclareUnicodeComposite{\accdasia }{\textepsilon}{"1F11} % ἑ +\DeclareUnicodeComposite{\accpsilivaria }{\textepsilon}{"1F12} % ἒ +\DeclareUnicodeComposite{\accdasiavaria }{\textepsilon}{"1F13} % ἓ +\DeclareUnicodeComposite{\accpsilioxia }{\textepsilon}{"1F14} % ἔ +\DeclareUnicodeComposite{\accdasiaoxia }{\textepsilon}{"1F15} % ἕ +\DeclareUnicodeComposite{\accpsili }{\textEpsilon}{"1F18} % Ἐ +\DeclareUnicodeComposite{\accdasia }{\textEpsilon}{"1F19} % Ἑ +\DeclareUnicodeComposite{\accpsilivaria }{\textEpsilon}{"1F1A} % Ἒ +\DeclareUnicodeComposite{\accdasiavaria }{\textEpsilon}{"1F1B} % Ἓ +\DeclareUnicodeComposite{\accpsilioxia }{\textEpsilon}{"1F1C} % Ἔ +\DeclareUnicodeComposite{\accdasiaoxia }{\textEpsilon}{"1F1D} % Ἕ + +\DeclareUnicodeComposite{\accpsili }{\texteta}{"1F20} % ἠ +\DeclareUnicodeComposite{\accdasia }{\texteta}{"1F21} % ἡ +\DeclareUnicodeComposite{\accpsilivaria }{\texteta}{"1F22} % ἢ +\DeclareUnicodeComposite{\accdasiavaria }{\texteta}{"1F23} % ἣ +\DeclareUnicodeComposite{\accpsilioxia }{\texteta}{"1F24} % ἤ +\DeclareUnicodeComposite{\accdasiaoxia }{\texteta}{"1F25} % ἥ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\texteta}{"1F26} % ἦ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\texteta}{"1F27} % ἧ +\DeclareUnicodeComposite{\accpsili }{\textEta}{"1F28} % Ἠ +\DeclareUnicodeComposite{\accdasia }{\textEta}{"1F29} % Ἡ +\DeclareUnicodeComposite{\accpsilivaria }{\textEta}{"1F2A} % Ἢ +\DeclareUnicodeComposite{\accdasiavaria }{\textEta}{"1F2B} % Ἣ +\DeclareUnicodeComposite{\accpsilioxia }{\textEta}{"1F2C} % Ἤ +\DeclareUnicodeComposite{\accdasiaoxia }{\textEta}{"1F2D} % Ἥ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textEta}{"1F2E} % Ἦ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textEta}{"1F2F} % Ἧ + +\DeclareUnicodeComposite{\accpsili }{\textiota}{"1F30} % ἰ +\DeclareUnicodeComposite{\accdasia }{\textiota}{"1F31} % ἱ +\DeclareUnicodeComposite{\accpsilivaria }{\textiota}{"1F32} % ἲ +\DeclareUnicodeComposite{\accdasiavaria }{\textiota}{"1F33} % ἳ +\DeclareUnicodeComposite{\accpsilioxia }{\textiota}{"1F34} % ἴ +\DeclareUnicodeComposite{\accdasiaoxia }{\textiota}{"1F35} % ἵ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textiota}{"1F36} % ἶ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textiota}{"1F37} % ἷ +\DeclareUnicodeComposite{\accpsili }{\textIota}{"1F38} % Ἰ +\DeclareUnicodeComposite{\accdasia }{\textIota}{"1F39} % Ἱ +\DeclareUnicodeComposite{\accpsilivaria }{\textIota}{"1F3A} % Ἲ +\DeclareUnicodeComposite{\accdasiavaria }{\textIota}{"1F3B} % Ἳ +\DeclareUnicodeComposite{\accpsilioxia }{\textIota}{"1F3C} % Ἴ +\DeclareUnicodeComposite{\accdasiaoxia }{\textIota}{"1F3D} % Ἵ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textIota}{"1F3E} % Ἶ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textIota}{"1F3F} % Ἷ + +\DeclareUnicodeComposite{\accpsili }{\textomicron}{"1F40} % ὀ +\DeclareUnicodeComposite{\accdasia }{\textomicron}{"1F41} % ὁ +\DeclareUnicodeComposite{\accpsilivaria }{\textomicron}{"1F42} % ὂ +\DeclareUnicodeComposite{\accdasiavaria }{\textomicron}{"1F43} % ὃ +\DeclareUnicodeComposite{\accpsilioxia }{\textomicron}{"1F44} % ὄ +\DeclareUnicodeComposite{\accdasiaoxia }{\textomicron}{"1F45} % ὅ +\DeclareUnicodeComposite{\accpsili }{\textOmicron}{"1F48} % Ὀ +\DeclareUnicodeComposite{\accdasia }{\textOmicron}{"1F49} % Ὁ +\DeclareUnicodeComposite{\accpsilivaria }{\textOmicron}{"1F4A} % Ὂ +\DeclareUnicodeComposite{\accdasiavaria }{\textOmicron}{"1F4B} % Ὃ +\DeclareUnicodeComposite{\accpsilioxia }{\textOmicron}{"1F4C} % Ὄ +\DeclareUnicodeComposite{\accdasiaoxia }{\textOmicron}{"1F4D} % Ὅ + +\DeclareUnicodeComposite{\accpsili }{\textupsilon}{"1F50} % ὐ +\DeclareUnicodeComposite{\accdasia }{\textupsilon}{"1F51} % ὑ +\DeclareUnicodeComposite{\accpsilivaria }{\textupsilon}{"1F52} % ὒ +\DeclareUnicodeComposite{\accdasiavaria }{\textupsilon}{"1F53} % ὓ +\DeclareUnicodeComposite{\accpsilioxia }{\textupsilon}{"1F54} % ὔ +\DeclareUnicodeComposite{\accdasiaoxia }{\textupsilon}{"1F55} % ὕ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textupsilon}{"1F56} % ὖ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textupsilon}{"1F57} % ὗ +\DeclareUnicodeComposite{\accdasia }{\textUpsilon}{"1F59} % Ὑ +\DeclareUnicodeComposite{\accdasiavaria }{\textUpsilon}{"1F5B} % Ὓ +\DeclareUnicodeComposite{\accdasiaoxia }{\textUpsilon}{"1F5D} % Ὕ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textUpsilon}{"1F5F} % Ὗ + +\DeclareUnicodeComposite{\accpsili }{\textomega}{"1F60} % ὠ +\DeclareUnicodeComposite{\accdasia }{\textomega}{"1F61} % ὡ +\DeclareUnicodeComposite{\accpsilivaria }{\textomega}{"1F62} % ὢ +\DeclareUnicodeComposite{\accdasiavaria }{\textomega}{"1F63} % ὣ +\DeclareUnicodeComposite{\accpsilioxia }{\textomega}{"1F64} % ὤ +\DeclareUnicodeComposite{\accdasiaoxia }{\textomega}{"1F65} % ὥ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textomega}{"1F66} % ὦ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textomega}{"1F67} % ὧ +\DeclareUnicodeComposite{\accpsili }{\textOmega}{"1F68} % Ὠ +\DeclareUnicodeComposite{\accdasia }{\textOmega}{"1F69} % Ὡ +\DeclareUnicodeComposite{\accpsilivaria }{\textOmega}{"1F6A} % Ὢ +\DeclareUnicodeComposite{\accdasiavaria }{\textOmega}{"1F6B} % Ὣ +\DeclareUnicodeComposite{\accpsilioxia }{\textOmega}{"1F6C} % Ὤ +\DeclareUnicodeComposite{\accdasiaoxia }{\textOmega}{"1F6D} % Ὥ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textOmega}{"1F6E} % Ὦ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textOmega}{"1F6F} % Ὧ + +\DeclareUnicodeComposite{\`} {\textalpha} {"1F70} % ὰ +\DeclareUnicodeComposite{\`} {\textepsilon}{"1F72} % ὲ +\DeclareUnicodeComposite{\`} {\texteta} {"1F74} % ὴ +\DeclareUnicodeComposite{\`} {\textiota} {"1F76} % ὶ +\DeclareUnicodeComposite{\`} {\textomicron}{"1F78} % ὸ +\DeclareUnicodeComposite{\`} {\textupsilon}{"1F7A} % ὺ +\DeclareUnicodeComposite{\`} {\textomega} {"1F7C} % ὼ +% repeat with named accents (LuaTeX does not normalize to pre-composed chars): +\DeclareUnicodeComposite{\accvaria} {\textalpha} {"1F70} % ὰ +\DeclareUnicodeComposite{\accvaria} {\textepsilon}{"1F72} % ὲ +\DeclareUnicodeComposite{\accvaria} {\texteta} {"1F74} % ὴ +\DeclareUnicodeComposite{\accvaria} {\textiota} {"1F76} % ὶ +\DeclareUnicodeComposite{\accvaria} {\textomicron}{"1F78} % ὸ +\DeclareUnicodeComposite{\accvaria} {\textupsilon}{"1F7A} % ὺ +\DeclareUnicodeComposite{\accvaria} {\textomega} {"1F7C} % ὼ</pre> +<p>Skipping pre-composed characters with sub-iota (ypogegrammeni/prosgegrammeni).</p> +<pre class="literal-block">\DeclareUnicodeComposite{\u} {\textalpha}{"1FB0} % ᾰ +\DeclareUnicodeComposite{\=} {\textalpha}{"1FB1} % ᾱ % ᾲ % ᾳ % ᾴ -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textalpha}{ᾶ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{α}{ᾶ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textalpha}{ᾶ} +\DeclareUnicodeComposite{\accperispomeni} {\textalpha}{"1FB6} % ᾶ +\DeclareUnicodeComposite{\~} {\textalpha}{"1FB6} % ᾶ % ᾷ -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textAlpha}{Ᾰ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textAlpha}{Ᾱ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textAlpha}{Ὰ} +\DeclareUnicodeComposite{\u} {\textAlpha}{"1FB8} % Ᾰ +\DeclareUnicodeComposite{\=} {\textAlpha}{"1FB9} % Ᾱ +\DeclareUnicodeComposite{\`} {\textAlpha}{"1FBA} % Ὰ +\DeclareUnicodeComposite{\accvaria} {\textAlpha}{"1FBA} % Ὰ % ᾼ -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textcompwordmark}{᾽} -\DeclareTextCommand{\prosgegrammeni}{\UTFencname}{ι} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textcompwordmark}{᾿} +\DeclareUnicodeComposite{\accpsili} {} {"1FBD} % ᾽ +\DeclareTextSymbol{\prosgegrammeni}\UnicodeEncodingName {"1FBE} % ι +\DeclareUnicodeComposite{\accpsili} {} {"1FBF} % ᾿ -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textcompwordmark}{῀} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\textcompwordmark}{῁} +\DeclareUnicodeComposite{\accperispomeni} {} {"1FC0} % ῀ +\DeclareUnicodeComposite{\accdialytikaperispomeni}{} {"1FC1} % ῁ % ῂ % ῃ % ῄ -\DeclareTextCompositeCommand{\~}{\UTFencname}{\texteta}{ῆ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{η}{ῆ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\texteta}{ῆ} +\DeclareUnicodeComposite{\accperispomeni} {\texteta} {"1FC6} % ῆ +\DeclareUnicodeComposite{\~} {\texteta} {"1FC6} % ῆ % ῇ -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textEpsilon}{Ὲ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textEta}{Ὴ} +\DeclareUnicodeComposite{\`} {\textEpsilon}{"1FC8} % Ὲ +\DeclareUnicodeComposite{\accvaria} {\textEpsilon}{"1FC8} % Ὲ +\DeclareUnicodeComposite{\`} {\textEta} {"1FCA} % Ὴ +\DeclareUnicodeComposite{\accvaria} {\textEta} {"1FCA} % Ὴ % ῌ -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textcompwordmark}{῍} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textcompwordmark}{῎} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textcompwordmark}{῏} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textiota}{ῐ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textiota}{ῑ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\textiota}{ῒ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\textiota}{ΐ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textiota}{ῖ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{ι}{ῖ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textiota}{ῖ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\textiota}{ῗ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textIota}{Ῐ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textIota}{Ῑ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textIota}{Ὶ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textcompwordmark}{῝} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textcompwordmark}{῞} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textcompwordmark}{῟} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textupsilon}{ῠ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textupsilon}{ῡ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\textupsilon}{ῢ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\textupsilon}{ΰ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textrho}{ῤ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textrho}{ῥ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textupsilon}{ῦ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{υ}{ῦ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textupsilon}{ῦ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\textupsilon}{ῧ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textUpsilon}{Ῠ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textUpsilon}{Ῡ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textUpsilon}{Ὺ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textRho}{Ῥ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\textcompwordmark}{῭} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\textcompwordmark}{΅} +\DeclareUnicodeComposite{\accpsilivaria} {} {"1FCD} % ῍ +\DeclareUnicodeComposite{\accpsilioxia} {} {"1FCE} % ῎ +\DeclareUnicodeComposite{\accpsiliperispomeni} {} {"1FCF} % ῏ + +\DeclareUnicodeComposite{\u} {\textiota} {"1FD0} % ῐ +\DeclareUnicodeComposite{\=} {\textiota} {"1FD1} % ῑ +\DeclareUnicodeComposite{\accdialytikavaria} {\textiota} {"1FD2} % ῒ +\DeclareUnicodeComposite{\accdialytikaoxia} {\textiota} {"1FD3} % ΐ +\DeclareUnicodeComposite{\accperispomeni} {\textiota} {"1FD6} % ῖ +\DeclareUnicodeComposite{\~} {\textiota} {"1FD6} % ῖ +\DeclareUnicodeComposite{\~} {ι} {"1FD6} % ῖ +\DeclareUnicodeComposite{\accdialytikaperispomeni}{\textiota} {"1FD7} % ῗ +\DeclareUnicodeComposite{\u} {\textIota} {"1FD8} % Ῐ +\DeclareUnicodeComposite{\=} {\textIota} {"1FD9} % Ῑ +\DeclareUnicodeComposite{\`} {\textIota} {"1FDA} % Ὶ +\DeclareUnicodeComposite{\accvaria} {\textIota} {"1FDA} % Ὶ +\DeclareUnicodeComposite{\accdasiavaria} {} {"1FDD} % ῝ +\DeclareUnicodeComposite{\accdasiaoxia} {} {"1FDE} % ῞ +\DeclareUnicodeComposite{\accdasiaperispomeni} {} {"1FDF} % ῟ + +\DeclareUnicodeComposite{\u} {\textupsilon}{"1FE0} % ῠ +\DeclareUnicodeComposite{\=} {\textupsilon}{"1FE1} % ῡ +\DeclareUnicodeComposite{\accdialytikavaria} {\textupsilon}{"1FE2} % ῢ +\DeclareUnicodeComposite{\accdialytikaoxia} {\textupsilon}{"1FE3} % ΰ +\DeclareUnicodeComposite{\accpsili} {\textrho} {"1FE4} % ῤ +\DeclareUnicodeComposite{\accdasia} {\textrho} {"1FE5} % ῥ +\DeclareUnicodeComposite{\~} {\textupsilon}{"1FE6} % ῦ +\DeclareUnicodeComposite{\accperispomeni} {\textupsilon}{"1FE6} % ῦ +\DeclareUnicodeComposite{\accdialytikaperispomeni}{\textupsilon}{"1FE7} % ῧ +\DeclareUnicodeComposite{\u} {\textUpsilon}{"1FE8} % Ῠ +\DeclareUnicodeComposite{\=} {\textUpsilon}{"1FE9} % Ῡ +\DeclareUnicodeComposite{\`} {\textUpsilon}{"1FEA} % Ὺ +\DeclareUnicodeComposite{\accvaria} {\textUpsilon}{"1FEA} % Ὺ +% Ύ +\DeclareUnicodeComposite{\accdasia} {\textRho} {"1FEC} % Ῥ +\DeclareUnicodeComposite{\accdialytikavaria} {} {"1FED} % ῭ +\DeclareUnicodeComposite{\accdialytikaoxia} {} {"1FEE} % ΅ +% ` % ῲ % ῳ % ῴ -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textomega}{ῶ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{ω}{ῶ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textomega}{ῶ} +\DeclareUnicodeComposite{\accperispomeni} {\textomega} {"1FF6} % ῶ +\DeclareUnicodeComposite{\~} {\textomega} {"1FF6} % ῶ % ῷ -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textOmicron}{Ὸ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textOmega}{Ὼ} +\DeclareUnicodeComposite{\`} {\textOmicron}{"1FF8} % Ὸ +\DeclareUnicodeComposite{\accvaria} {\textOmicron}{"1FF8} % Ὸ +\DeclareUnicodeComposite{\`} {\textOmega} {"1FFA} % Ὼ +\DeclareUnicodeComposite{\accvaria} {\textOmega} {"1FFA} % Ὼ % ῼ -\DeclareTextCompositeCommand{\accoxia}{\UTFencname}{\textcompwordmark}{´} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textcompwordmark}{῾}</pre> +\DeclareUnicodeComposite{\accoxia} {} {"1FFD} % ´ +\DeclareUnicodeComposite{\accdasia} {} {"1FFE} % ῾</pre> +<p>Diacritics on literal Unicode characters:</p> +<pre class="literal-block">\DeclareUnicodeComposite{\~}{α}{"1FB6} % ᾶ +\DeclareUnicodeComposite{\~}{η}{"1FC6} % ῆ +\DeclareUnicodeComposite{\~}{υ}{"1FE6} % ῦ +\DeclareUnicodeComposite{\~}{ω}{"1FF6} % ῶ</pre> </section> <section id="letterlike-symbols"> -<h3><a class="toc-backref" href="#id9">Letterlike Symbols</a></h3> -<pre class="literal-block">\DeclareTextCommand{\textohm}{\UTFencname}{Ω} % OHM SIGN</pre> +<h3><a class="toc-backref" href="#id11">Letterlike Symbols</a></h3> +<pre class="literal-block">\DeclareTextSymbol{\textohm}\UnicodeEncodingName{"03A9} % OHM SIGN, use 03A9 Omega</pre> </section> <section id="ancient-greek-numbers"> -<h3><a class="toc-backref" href="#id10">Ancient Greek Numbers</a></h3> +<h3><a class="toc-backref" href="#id12">Ancient Greek Numbers</a></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> <p>Definition with literal Unicode characters, because the code-point has 5 hexadecimal digits:</p> -<pre class="literal-block">\DeclareTextCommand{\textpentedeka}{\UTFencname}{𐅄} % GREEK ACROPHONIC ATTIC FIFTY -\DeclareTextCommand{\textpentehekaton}{\UTFencname}{𐅅} % GREEK ACROPHONIC ATTIC FIVE HUNDRED -\DeclareTextCommand{\textpenteqilioi}{\UTFencname}{𐅆} % GREEK ACROPHONIC ATTIC FIVE THOUSAND -\DeclareTextCommand{\textpentemuria}{\UTFencname}{𐅇} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND</pre> +<pre class="literal-block">\DeclareTextSymbol{\textpentedeka }\UnicodeEncodingName{"10144} % GREEK ACROPHONIC ATTIC FIFTY +\DeclareTextSymbol{\textpentehekaton}\UnicodeEncodingName{"10145} % GREEK ACROPHONIC ATTIC FIVE HUNDRED +\DeclareTextSymbol{\textpenteqilioi }\UnicodeEncodingName{"10146} % GREEK ACROPHONIC ATTIC FIVE THOUSAND +\DeclareTextSymbol{\textpentemuria }\UnicodeEncodingName{"10147} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND</pre> </section> </section> <section id="uppercase"> -<h2><a class="toc-backref" href="#id11">UPPERCASE</a></h2> +<h2><a class="toc-backref" href="#id13">UPPERCASE</a></h2> <p>Greek letters drop diacritics (eccept dialytika and sub-iota) in UPPERCASE.</p> <section id="uc-lc-values"> -<h3><a class="toc-backref" href="#id12">uc/lc values</a></h3> +<h3><a class="toc-backref" href="#id14">uc/lc values</a></h3> <p><span class="docutils literal">\lccode</span> and <span class="docutils literal">\uccode</span> corrections from the <a class="reference external" href="http://ctan.org/pkg/xgreek">xgreek</a> package by Apostolos Syropoulos:</p> <pre class="literal-block">\global\lccode"0370="0371 \global\uccode"0370="0370 \global\lccode"0371="0371 \global\uccode"0371="0370 @@ -1461,13 +1527,13 @@ hexadecimal digits:</p> \global\lccode"1FFC="1FF3 \global\uccode"1FFC="1FFC</pre> </section> <section id="uclclist"> -<h3><a class="toc-backref" href="#id13">uclclist</a></h3> +<h3><a class="toc-backref" href="#id15">uclclist</a></h3> <p>The common Greek font encoding definitions in <a class="reference external" href="greek-fontenc.def.html">greek-fontenc.def</a> extend the <cite>uclclist</cite> with Greek LICR macros. Here, we add Unicode-specific “<a class="reference external" href="greek-fontenc.def.html#mark-hiatus">hiatus</a>” handling (copied from <a class="reference external" href="lgrenc.def.html">lgrenc.def</a> and changed Latin transcription to Unicode literals).</p> <p>The hiatus definition modifications:</p> -<pre class="literal-block">\DeclareTextCommand{\LGR@A@hiatus}{\UTFencname}{% +<pre class="literal-block">\DeclareTextCommand{\LGR@A@hiatus}{\UnicodeEncodingName}{% \LGR@ifnextchar{Ι}{\textAlpha\"}{% \LGR@ifnextchar{Υ}{\textAlpha\"}{% \LGR@ifnextchar{\textIota}{\textAlpha\"}{% @@ -1476,7 +1542,7 @@ Latin transcription to Unicode literals).</p> }% }% } -\DeclareTextCommand{\LGR@E@hiatus}{\UTFencname}{% +\DeclareTextCommand{\LGR@E@hiatus}{\UnicodeEncodingName}{% \LGR@ifnextchar{Ι}{\textEpsilon\"}{% \LGR@ifnextchar{Υ}{\textEpsilon\"}{% \LGR@ifnextchar{\textIota}{\textEpsilon\"}{% @@ -1488,17 +1554,6 @@ Latin transcription to Unicode literals).</p> <!-- References --> </section> </section> -<section class="system-messages"> -<h2>Docutils System Messages</h2> -<div class="system-message" id="id14"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">tuenc-greek.def.txt</span>, line 17); <em><a href="#id15">backlink</a></em></p> -<p>Unknown target name: "tuenc".</p> -</div> -<div class="system-message" id="id16"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">tuenc-greek.def.txt</span>, line 47); <em><a href="#id17">backlink</a></em></p> -<p>Unknown target name: "tuenc".</p> -</div> -</section> </main> </body> </html> |