diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
7 files changed, 447 insertions, 369 deletions
diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-euenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-euenc.def index 58a2447a80d..5a2bdf38467 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-euenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-euenc.def @@ -1,5 +1,7 @@ -% alphabeta-euenc.def: Composite definitions for XeTeX and LuaTeX -% *************************************************************** +% alphabeta-euenc.def +% =================== +% Composite definitions for XeTeX and LuaTeX +% ****************************************** % % :Copyright: © 2013 Günter Milde % :Licence: This work may be distributed and/or modified under the @@ -9,33 +11,35 @@ % :: \ProvidesFile{alphabeta-euenc} -[2013/07/24 0.1.3 Composite definitions for XeTeX and LuaTeX] +[2014/09/04 0.11.2 Composite definitions for XeTeX and LuaTeX] -% Domposite definitions for ``alphabeta.sty`` with 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. -% ========== ===== ========================================================= +% ========== ====== ======================================================== +% 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 +% ========== ====== ======================================================== % % 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 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`. % -% For use with Unicode fonts (XeTeX/LuaTeX), we need to define composite -% commands for the EU1 and EU2 encoding +% This file expands the font encoding definitions in greek-euenc.def_ with +% composite commands for use with Unicode fonts. It is sourced by alphabeta_ +% under XeTeX/LuaTeX. % % Greek and Coptic % ~~~~~~~~~~~~~~~~ % :: - + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\Alpha}{Ά} \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\Epsilon}{Έ} \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\Eta}{Ή} @@ -301,4 +305,5 @@ % .. References % % .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt -% .. _alphabeta: http://www.ctan.org/pkg/greek-fontenc +% .. _alphabeta: alphabeta.sty.html +% .. _greek-euenc.def: greek-euenc.def.html diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def new file mode 100644 index 00000000000..958fb7cfbaa --- /dev/null +++ b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def @@ -0,0 +1,188 @@ +% alphabeta-lgr.def +% =================== +% 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 +% version 1.3 of this license or any later version. +% :Identification: +% :: + +\ProvidesFile{alphabeta-lgr} +[2014/09/04 0.11.2 Composite definitions for 8-bit TeX] + +% :Changelog: +% .. class:: borderless +% +% ========== ====== ======================================================= +% 2014-09-04 0.11.2 outsourced from ``alphabeta.sty``. +% ========== ====== ======================================================= +% +% 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} + \DeclareTextComposite{\accdasia}{LGR}{\alpha}{129} + \DeclareTextComposite{\accpsili}{LGR}{\alpha}{130} + \DeclareTextComposite{\accdasiavaria}{LGR}{\alpha}{131} + \DeclareTextComposite{\acctonos}{LGR}{\alpha}{136} + \DeclareTextComposite{\accdasiaoxia}{LGR}{\alpha}{137} + \DeclareTextComposite{\accpsilioxia}{LGR}{\alpha}{138} + \DeclareTextComposite{\accpsilivaria}{LGR}{\alpha}{139} + \DeclareTextComposite{\accperispomeni}{LGR}{\alpha}{144} + \DeclareTextComposite{\accdasiaperispomeni}{LGR}{\alpha}{145} + \DeclareTextComposite{\accpsiliperispomeni}{LGR}{\alpha}{146} + \DeclareTextComposite{\accvaria}{LGR}{\eta}{152} + \DeclareTextComposite{\accdasia}{LGR}{\eta}{153} + \DeclareTextComposite{\accpsili}{LGR}{\eta}{154} + \DeclareTextComposite{\acctonos}{LGR}{\eta}{160} + \DeclareTextComposite{\accdasiaoxia}{LGR}{\eta}{161} + \DeclareTextComposite{\accpsilioxia}{LGR}{\eta}{162} + \DeclareTextComposite{\accdasiavaria}{LGR}{\eta}{163} + \DeclareTextComposite{\accperispomeni}{LGR}{\eta}{168} + \DeclareTextComposite{\accdasiaperispomeni}{LGR}{\eta}{169} + \DeclareTextComposite{\accpsiliperispomeni}{LGR}{\eta}{170} + \DeclareTextComposite{\accpsilivaria}{LGR}{\eta}{171} + \DeclareTextComposite{\accvaria}{LGR}{\omega}{176} + \DeclareTextComposite{\accdasia}{LGR}{\omega}{177} + \DeclareTextComposite{\accpsili}{LGR}{\omega}{178} + \DeclareTextComposite{\accdasiavaria}{LGR}{\omega}{179} + \DeclareTextComposite{\acctonos}{LGR}{\omega}{184} + \DeclareTextComposite{\accdasiaoxia}{LGR}{\omega}{185} + \DeclareTextComposite{\accpsilioxia}{LGR}{\omega}{186} + \DeclareTextComposite{\accpsilivaria}{LGR}{\omega}{187} + \DeclareTextComposite{\accperispomeni}{LGR}{\omega}{192} + \DeclareTextComposite{\accdasiaperispomeni}{LGR}{\omega}{193} + \DeclareTextComposite{\accpsiliperispomeni}{LGR}{\omega}{194} + \DeclareTextComposite{\accvaria}{LGR}{\iota}{200} + \DeclareTextComposite{\accdasia}{LGR}{\iota}{201} + \DeclareTextComposite{\accpsili}{LGR}{\iota}{202} + \DeclareTextComposite{\accdasiavaria}{LGR}{\iota}{203} + \DeclareTextComposite{\acctonos}{LGR}{\iota}{208} + \DeclareTextComposite{\accdasiaoxia}{LGR}{\iota}{209} + \DeclareTextComposite{\accpsilioxia}{LGR}{\iota}{210} + \DeclareTextComposite{\accpsilivaria}{LGR}{\iota}{211} + \DeclareTextComposite{\accperispomeni}{LGR}{\iota}{216} + \DeclareTextComposite{\accdasiaperispomeni}{LGR}{\iota}{217} + \DeclareTextComposite{\accpsiliperispomeni}{LGR}{\iota}{218} + \DeclareTextComposite{\accdialytika}{LGR}{\iota}{240} + \DeclareTextComposite{\accdialytikavaria}{LGR}{\iota}{241} + \DeclareTextComposite{\accdialytikatonos}{LGR}{\iota}{242} + \DeclareTextComposite{\accdialytikaperispomeni}{LGR}{\iota}{243} + \DeclareTextComposite{\accvaria}{LGR}{\upsilon}{204} + \DeclareTextComposite{\accdasia}{LGR}{\upsilon}{205} + \DeclareTextComposite{\accpsili}{LGR}{\upsilon}{206} + \DeclareTextComposite{\accdasiavaria}{LGR}{\upsilon}{207} + \DeclareTextComposite{\acctonos}{LGR}{\upsilon}{212} + \DeclareTextComposite{\accdasiaoxia}{LGR}{\upsilon}{213} + \DeclareTextComposite{\accpsilioxia}{LGR}{\upsilon}{214} + \DeclareTextComposite{\accpsilivaria}{LGR}{\upsilon}{215} + \DeclareTextComposite{\accperispomeni}{LGR}{\upsilon}{220} + \DeclareTextComposite{\accdasiaperispomeni}{LGR}{\upsilon}{221} + \DeclareTextComposite{\accpsiliperispomeni}{LGR}{\upsilon}{222} + \DeclareTextComposite{\accdialytika}{LGR}{\upsilon}{244} + \DeclareTextComposite{\accdialytikavaria}{LGR}{\upsilon}{245} + \DeclareTextComposite{\accdialytikatonos}{LGR}{\upsilon}{246} + \DeclareTextComposite{\accdialytikaperispomeni}{LGR}{\upsilon}{247} + \DeclareTextComposite{\accvaria}{LGR}{\epsilon}{224} + \DeclareTextComposite{\accdasia}{LGR}{\epsilon}{225} + \DeclareTextComposite{\accpsili}{LGR}{\epsilon}{226} + \DeclareTextComposite{\accdasiavaria}{LGR}{\epsilon}{227} + \DeclareTextComposite{\acctonos}{LGR}{\epsilon}{232} + \DeclareTextComposite{\accdasiaoxia}{LGR}{\epsilon}{233} + \DeclareTextComposite{\accpsilioxia}{LGR}{\epsilon}{234} + \DeclareTextComposite{\accpsilivaria}{LGR}{\epsilon}{235} + \DeclareTextComposite{\accvaria}{LGR}{\omicron}{228} + \DeclareTextComposite{\accdasia}{LGR}{\omicron}{229} + \DeclareTextComposite{\accpsili}{LGR}{\omicron}{230} + \DeclareTextComposite{\accdasiavaria}{LGR}{\omicron}{231} + \DeclareTextComposite{\acctonos}{LGR}{\omicron}{236} + \DeclareTextComposite{\accdasiaoxia}{LGR}{\omicron}{237} + \DeclareTextComposite{\accpsilioxia}{LGR}{\omicron}{238} + \DeclareTextComposite{\accpsilivaria}{LGR}{\omicron}{239} + \DeclareTextCompositeCommand{\accdasia}{LGR}{\Alpha}{<A} + \DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Alpha}{<`A} + \DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Alpha}{<'A} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\Alpha}{<\char126A} + \DeclareTextCompositeCommand{\accpsili}{LGR}{\Alpha}{>A} + \DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Alpha}{>`A} + \DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Alpha}{>'A} + \DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Alpha}{>\char126A} + \DeclareTextCompositeCommand{\acctonos}{LGR}{\Alpha}{'A} + \DeclareTextCompositeCommand{\accvaria}{LGR}{\Alpha}{`A} + \DeclareTextCompositeCommand{\accdasia}{LGR}{\Epsilon}{<E} + \DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Epsilon}{<'E} + \DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Epsilon}{<`E} + \DeclareTextCompositeCommand{\accpsili}{LGR}{\Epsilon}{>E} + \DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Epsilon}{>'E} + \DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Epsilon}{>`E} + \DeclareTextCompositeCommand{\acctonos}{LGR}{\Epsilon}{'E} + \DeclareTextCompositeCommand{\accvaria}{LGR}{\Epsilon}{`E} + \DeclareTextCompositeCommand{\accdasia}{LGR}{\Eta}{<H} + \DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Eta}{<`H} + \DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Eta}{<'H} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\Eta}{<\char126H} + \DeclareTextCompositeCommand{\accpsili}{LGR}{\Eta}{>H} + \DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Eta}{>`H} + \DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Eta}{>'H} + \DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Eta}{>\char126H} + \DeclareTextCompositeCommand{\acctonos}{LGR}{\Eta}{'H} + \DeclareTextCompositeCommand{\accvaria}{LGR}{\Eta}{`H} + \DeclareTextCompositeCommand{\accdasia}{LGR}{\Iota}{<I} + \DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Iota}{<`I} + \DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Iota}{<'I} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\Iota}{<\char126I} + \DeclareTextCompositeCommand{\accpsili}{LGR}{\Iota}{>I} + \DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Iota}{>`I} + \DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Iota}{>'I} + \DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Iota}{>\char126I} + \DeclareTextCompositeCommand{\acctonos}{LGR}{\Iota}{'I} + \DeclareTextCompositeCommand{\accvaria}{LGR}{\Iota}{`I} + \DeclareTextCompositeCommand{\accdasia}{LGR}{\Omicron}{<O} + \DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Omicron}{<`O} + \DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Omicron}{<'O} + \DeclareTextCompositeCommand{\accpsili}{LGR}{\Omicron}{>O} + \DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Omicron}{>`O} + \DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Omicron}{>'O} + \DeclareTextCompositeCommand{\acctonos}{LGR}{\Omicron}{'O} + \DeclareTextCompositeCommand{\accvaria}{LGR}{\Omicron}{`O} + \DeclareTextCompositeCommand{\accdasia}{LGR}{\Upsilon}{<U} + \DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Upsilon}{<`U} + \DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Upsilon}{<'U} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\Upsilon}{<\char126U} + \DeclareTextCompositeCommand{\acctonos}{LGR}{\Upsilon}{'U} + \DeclareTextCompositeCommand{\accvaria}{LGR}{\Upsilon}{`U} + \DeclareTextCompositeCommand{\accdasia}{LGR}{\Omega}{<W} + \DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Omega}{<`W} + \DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Omega}{<'W} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\Omega}{<\char126W} + \DeclareTextCompositeCommand{\accpsili}{LGR}{\Omega}{>W} + \DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Omega}{>`W} + \DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Omega}{>'W} + \DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Omega}{>\char126W} + \DeclareTextCompositeCommand{\acctonos}{LGR}{\Omega}{'W} + \DeclareTextCompositeCommand{\accvaria}{LGR}{\Omega}{`W} + \DeclareTextComposite{\accdialytika}{LGR}{\Iota}{219} + \DeclareTextComposite{\accdialytika}{LGR}{\Upsilon}{223} + \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{\Alpha}{\LGR@A@hiatus} + \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{\Epsilon}{\LGR@E@hiatus} + + +% .. References +% +% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt +% .. _alphabeta: alphabeta.sty.html +% .. _lgrenc.def: lgrenc.def.html diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty index 1ef72d2313f..65af90c5b62 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty +++ b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty @@ -1,14 +1,14 @@ % alphabeta: Greek symbols in text and math % ***************************************** -% +% % :Copyright: © 2010 Günter Milde % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either % version 1.3 of this license or any later version. -% +% % :Abstract: Use ``\alpha, \beta, ...`` for Greek letters in text and math % mode. -% +% % :Identification: % :: @@ -18,7 +18,7 @@ % Changelog: % .. class:: borderless -% +% % ========== ===== ========================================================= % 2012-06-26 0.1 initial version % 2013-05-03 0.2 new accent macro names with ``lgrxenc.def`` 0.7 @@ -26,58 +26,58 @@ % .. enable Unicode input in math mode. % 2013-09-11 0.4 move to greek-fontenc_, support XeTeX/LuaTeX. % ========== ===== ========================================================= -% +% % Motivation % ========== -% +% % By default, the ``\alpha, \beta, ...`` macros for Greek letters % are only valid in mathematical mode. -% +% % With this package, the math macros are redefined to work in both, text and % math mode, so that Greek letters can be specified with the established % command names in text, too. -% +% % If used together with the ``utf8`` option of inputenc_, literal Unicode % characters can be used for Greek symbols in mathematical formulas. -% +% % .. Attention:: % The macros work well in any font encoding for single symbols. % However, with 8-bit TeX, the automatic font-encoding switches behind the % doors interfere with kerning between letters and replacement of % accent+character with a pre-composed character. -% +% % Therefore, Greek text should be written with the help of babel_ or % polyglossia_ (setting the language to ``greek``) or wrapped in the % provided ``ensuregreek`` macro. Using babel_ or polyglossia_ also helps % to ensure proper hyphenation. -% -% +% +% % Usage % ===== -% +% % .. code:: latex -% +% % \usepackage{alphabeta} -% -% For details see `<alphabeta-test.tex>`_ and `<alphabeta-test.pdf>`_. -% -% +% +% For details see `<alphabeta-doc.tex>`_ and `<alphabeta-doc.pdf>`_. +% +% % Implementation % ============== -% +% % Requirements % ------------ -% +% % This package extends the `textalpha <textalpha.sty.html>`_ package:: \RequirePackage{textalpha} % `textalpha` depends on greek-fontenc_ and (with 8-bit TeX) recommends % greek-inputenc_. -% +% % This package requires the e-TeX_ extensions (i.e. a not too old TeX % distribution) for the ``\ifdefined`` test. -% +% % It uses the ``\TextOrMath`` test from the fixltx2e_ standard LaTeX % package:: @@ -86,7 +86,7 @@ % Postpone the re-definitions % --------------------------- -% +% % To prevent other packages overwriting the re-defined commands we postpone % the next steps until the start of the document body:: @@ -94,7 +94,7 @@ % Save math macros % ---------------- -% +% % Provide an alias for the standard math commands:: \let\mathGamma\Gamma @@ -140,9 +140,9 @@ % Commands to access Greek letters by name % ---------------------------------------- -% +% % For letters defined in math mode, the commands work in both, text and math. -% +% % Some Greek letters look identical to Latin letters and can therefore not be % used as variable symbols in math formulas. These letters are not defined in % TeX's math mode, we provide an alias to the corrsponding ``\text...`` @@ -204,7 +204,7 @@ % Archaic letters % ''''''''''''''' -% +% % :: \renewcommand*{\digamma}{\TextOrMath{\textdigamma}{\mathdigamma}} % ϝ @@ -221,7 +221,7 @@ % TextCompositeCommands for the generic macros % -------------------------------------------- -% +% % The NFSS TextComposite mechanism looks for the next token without expanding % it. In order to let compositions like ``\ensuregreek{\'\Alpha}`` or % ``\ensuregreek{\>"\alpha}`` work as expected we define TextComposites with the @@ -235,165 +235,18 @@ \input{alphabeta-euenc.def} % \expandafter\endinput % "return" \else % 8-bit TeX - -% Composite commands for 8-bit TeX:: - - \DeclareTextComposite{\accvaria}{LGR}{\alpha}{128} - \DeclareTextComposite{\accdasia}{LGR}{\alpha}{129} - \DeclareTextComposite{\accpsili}{LGR}{\alpha}{130} - \DeclareTextComposite{\accdasiavaria}{LGR}{\alpha}{131} - \DeclareTextComposite{\acctonos}{LGR}{\alpha}{136} - \DeclareTextComposite{\accdasiaoxia}{LGR}{\alpha}{137} - \DeclareTextComposite{\accpsilioxia}{LGR}{\alpha}{138} - \DeclareTextComposite{\accpsilivaria}{LGR}{\alpha}{139} - \DeclareTextComposite{\accperispomeni}{LGR}{\alpha}{144} - \DeclareTextComposite{\accdasiaperispomeni}{LGR}{\alpha}{145} - \DeclareTextComposite{\accpsiliperispomeni}{LGR}{\alpha}{146} - \DeclareTextComposite{\accvaria}{LGR}{\eta}{152} - \DeclareTextComposite{\accdasia}{LGR}{\eta}{153} - \DeclareTextComposite{\accpsili}{LGR}{\eta}{154} - \DeclareTextComposite{\acctonos}{LGR}{\eta}{160} - \DeclareTextComposite{\accdasiaoxia}{LGR}{\eta}{161} - \DeclareTextComposite{\accpsilioxia}{LGR}{\eta}{162} - \DeclareTextComposite{\accdasiavaria}{LGR}{\eta}{163} - \DeclareTextComposite{\accperispomeni}{LGR}{\eta}{168} - \DeclareTextComposite{\accdasiaperispomeni}{LGR}{\eta}{169} - \DeclareTextComposite{\accpsiliperispomeni}{LGR}{\eta}{170} - \DeclareTextComposite{\accpsilivaria}{LGR}{\eta}{171} - \DeclareTextComposite{\accvaria}{LGR}{\omega}{176} - \DeclareTextComposite{\accdasia}{LGR}{\omega}{177} - \DeclareTextComposite{\accpsili}{LGR}{\omega}{178} - \DeclareTextComposite{\accdasiavaria}{LGR}{\omega}{179} - \DeclareTextComposite{\acctonos}{LGR}{\omega}{184} - \DeclareTextComposite{\accdasiaoxia}{LGR}{\omega}{185} - \DeclareTextComposite{\accpsilioxia}{LGR}{\omega}{186} - \DeclareTextComposite{\accpsilivaria}{LGR}{\omega}{187} - \DeclareTextComposite{\accperispomeni}{LGR}{\omega}{192} - \DeclareTextComposite{\accdasiaperispomeni}{LGR}{\omega}{193} - \DeclareTextComposite{\accpsiliperispomeni}{LGR}{\omega}{194} - \DeclareTextComposite{\accvaria}{LGR}{\iota}{200} - \DeclareTextComposite{\accdasia}{LGR}{\iota}{201} - \DeclareTextComposite{\accpsili}{LGR}{\iota}{202} - \DeclareTextComposite{\accdasiavaria}{LGR}{\iota}{203} - \DeclareTextComposite{\acctonos}{LGR}{\iota}{208} - \DeclareTextComposite{\accdasiaoxia}{LGR}{\iota}{209} - \DeclareTextComposite{\accpsilioxia}{LGR}{\iota}{210} - \DeclareTextComposite{\accpsilivaria}{LGR}{\iota}{211} - \DeclareTextComposite{\accperispomeni}{LGR}{\iota}{216} - \DeclareTextComposite{\accdasiaperispomeni}{LGR}{\iota}{217} - \DeclareTextComposite{\accpsiliperispomeni}{LGR}{\iota}{218} - \DeclareTextComposite{\accdialytika}{LGR}{\iota}{240} - \DeclareTextComposite{\accdialytikavaria}{LGR}{\iota}{241} - \DeclareTextComposite{\accdialytikatonos}{LGR}{\iota}{242} - \DeclareTextComposite{\accdialytikaperispomeni}{LGR}{\iota}{243} - \DeclareTextComposite{\accvaria}{LGR}{\upsilon}{204} - \DeclareTextComposite{\accdasia}{LGR}{\upsilon}{205} - \DeclareTextComposite{\accpsili}{LGR}{\upsilon}{206} - \DeclareTextComposite{\accdasiavaria}{LGR}{\upsilon}{207} - \DeclareTextComposite{\acctonos}{LGR}{\upsilon}{212} - \DeclareTextComposite{\accdasiaoxia}{LGR}{\upsilon}{213} - \DeclareTextComposite{\accpsilioxia}{LGR}{\upsilon}{214} - \DeclareTextComposite{\accpsilivaria}{LGR}{\upsilon}{215} - \DeclareTextComposite{\accperispomeni}{LGR}{\upsilon}{220} - \DeclareTextComposite{\accdasiaperispomeni}{LGR}{\upsilon}{221} - \DeclareTextComposite{\accpsiliperispomeni}{LGR}{\upsilon}{222} - \DeclareTextComposite{\accdialytika}{LGR}{\upsilon}{244} - \DeclareTextComposite{\accdialytikavaria}{LGR}{\upsilon}{245} - \DeclareTextComposite{\accdialytikatonos}{LGR}{\upsilon}{246} - \DeclareTextComposite{\accdialytikaperispomeni}{LGR}{\upsilon}{247} - \DeclareTextComposite{\accvaria}{LGR}{\epsilon}{224} - \DeclareTextComposite{\accdasia}{LGR}{\epsilon}{225} - \DeclareTextComposite{\accpsili}{LGR}{\epsilon}{226} - \DeclareTextComposite{\accdasiavaria}{LGR}{\epsilon}{227} - \DeclareTextComposite{\acctonos}{LGR}{\epsilon}{232} - \DeclareTextComposite{\accdasiaoxia}{LGR}{\epsilon}{233} - \DeclareTextComposite{\accpsilioxia}{LGR}{\epsilon}{234} - \DeclareTextComposite{\accpsilivaria}{LGR}{\epsilon}{235} - \DeclareTextComposite{\accvaria}{LGR}{\omicron}{228} - \DeclareTextComposite{\accdasia}{LGR}{\omicron}{229} - \DeclareTextComposite{\accpsili}{LGR}{\omicron}{230} - \DeclareTextComposite{\accdasiavaria}{LGR}{\omicron}{231} - \DeclareTextComposite{\acctonos}{LGR}{\omicron}{236} - \DeclareTextComposite{\accdasiaoxia}{LGR}{\omicron}{237} - \DeclareTextComposite{\accpsilioxia}{LGR}{\omicron}{238} - \DeclareTextComposite{\accpsilivaria}{LGR}{\omicron}{239} - \DeclareTextCompositeCommand{\accdasia}{LGR}{\Alpha}{<A} - \DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Alpha}{<`A} - \DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Alpha}{<'A} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\Alpha}{<\char126A} - \DeclareTextCompositeCommand{\accpsili}{LGR}{\Alpha}{>A} - \DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Alpha}{>`A} - \DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Alpha}{>'A} - \DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Alpha}{>\char126A} - \DeclareTextCompositeCommand{\acctonos}{LGR}{\Alpha}{'A} - \DeclareTextCompositeCommand{\accvaria}{LGR}{\Alpha}{`A} - \DeclareTextCompositeCommand{\accdasia}{LGR}{\Epsilon}{<E} - \DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Epsilon}{<'E} - \DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Epsilon}{<`E} - \DeclareTextCompositeCommand{\accpsili}{LGR}{\Epsilon}{>E} - \DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Epsilon}{>'E} - \DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Epsilon}{>`E} - \DeclareTextCompositeCommand{\acctonos}{LGR}{\Epsilon}{'E} - \DeclareTextCompositeCommand{\accvaria}{LGR}{\Epsilon}{`E} - \DeclareTextCompositeCommand{\accdasia}{LGR}{\Eta}{<H} - \DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Eta}{<`H} - \DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Eta}{<'H} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\Eta}{<\char126H} - \DeclareTextCompositeCommand{\accpsili}{LGR}{\Eta}{>H} - \DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Eta}{>`H} - \DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Eta}{>'H} - \DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Eta}{>\char126H} - \DeclareTextCompositeCommand{\acctonos}{LGR}{\Eta}{'H} - \DeclareTextCompositeCommand{\accvaria}{LGR}{\Eta}{`H} - \DeclareTextCompositeCommand{\accdasia}{LGR}{\Iota}{<I} - \DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Iota}{<`I} - \DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Iota}{<'I} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\Iota}{<\char126I} - \DeclareTextCompositeCommand{\accpsili}{LGR}{\Iota}{>I} - \DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Iota}{>`I} - \DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Iota}{>'I} - \DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Iota}{>\char126I} - \DeclareTextCompositeCommand{\acctonos}{LGR}{\Iota}{'I} - \DeclareTextCompositeCommand{\accvaria}{LGR}{\Iota}{`I} - \DeclareTextCompositeCommand{\accdasia}{LGR}{\Omicron}{<O} - \DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Omicron}{<`O} - \DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Omicron}{<'O} - \DeclareTextCompositeCommand{\accpsili}{LGR}{\Omicron}{>O} - \DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Omicron}{>`O} - \DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Omicron}{>'O} - \DeclareTextCompositeCommand{\acctonos}{LGR}{\Omicron}{'O} - \DeclareTextCompositeCommand{\accvaria}{LGR}{\Omicron}{`O} - \DeclareTextCompositeCommand{\accdasia}{LGR}{\Upsilon}{<U} - \DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Upsilon}{<`U} - \DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Upsilon}{<'U} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\Upsilon}{<\char126U} - \DeclareTextCompositeCommand{\acctonos}{LGR}{\Upsilon}{'U} - \DeclareTextCompositeCommand{\accvaria}{LGR}{\Upsilon}{`U} - \DeclareTextCompositeCommand{\accdasia}{LGR}{\Omega}{<W} - \DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\Omega}{<`W} - \DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\Omega}{<'W} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{LGR}{\Omega}{<\char126W} - \DeclareTextCompositeCommand{\accpsili}{LGR}{\Omega}{>W} - \DeclareTextCompositeCommand{\accpsilivaria}{LGR}{\Omega}{>`W} - \DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\Omega}{>'W} - \DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\Omega}{>\char126W} - \DeclareTextCompositeCommand{\acctonos}{LGR}{\Omega}{'W} - \DeclareTextCompositeCommand{\accvaria}{LGR}{\Omega}{`W} - \DeclareTextComposite{\accdialytika}{LGR}{\Iota}{219} - \DeclareTextComposite{\accdialytika}{LGR}{\Upsilon}{223} - \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{\Alpha}{\LGR@A@hiatus} - \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{\Epsilon}{\LGR@E@hiatus} + \input{alphabeta-lgr.def} \fi\fi % Re-definition for Greek Unicode input in math mode % -------------------------------------------------- -% +% % Check with ``\ifdefined`` for the definition of % ``\DeclareUnicodeCharacter``. In contrast to ``\@ifdefined``, this works -% without side-effects. It makes, however, the package dependent on the `e-TeX` -% extensions. -% +% without side-effects. It makes the package dependent on the `e-TeX`_ +% extensions but theses are standard in all current TeX distributions anyway. +% % Map Greek characters that are also defined in math mode to the generic % macros:: diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def index 3b22ce4742a..8df1b65c748 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def @@ -1,6 +1,8 @@ -% greek-euenc.def: Greek LICR definitions for XeTeX and LuaTeX -% *************************************************************** -% +% greek-euenc.def +% +++++++++++++++ +% Greek LICR definitions for XeTeX and LuaTeX +% ******************************************* +% % :Copyright: © 2013 Günter Milde % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either @@ -9,14 +11,15 @@ % :: \ProvidesFile{greek-euenc.def} -[2013/12/02 0.11.1 Greek LICRs for XeTeX and LuaTeX] +[2014/09/08 0.11.2 Greek LICRs for XeTeX and LuaTeX] -% Experimental support for Greek LICR macros with XeTeX and LuaTeX. -% Based on `lgrenc.def` and `lgrenc.dfu`. -% -% Changelog: +% :abstract: +% Experimental support for Greek LICR macros with XeTeX and LuaTeX. +% Extends euenc_. Used by babel-greek_ and textalpha_. +% +% History: % .. class:: borderless -% +% % ========== ====== ======================================================== % 2013-07-16 0.1 initial version % 2013-07-18 0.1.1 bugfix: wrong breathings psilioxia -> dasiaoxia @@ -24,35 +27,45 @@ % .. fix "hiatus" handling. % 2013-07-24 0.1.3 fix "input" path. % 2013-10-01 0.1.4 remove clashing defs for legacy characters with oxia, -% .. fix upcasing of ``\finalsigma``. -% 2013/12/01 0.11.1 fix identification. +% .. fix upcasing of ``\finalsigma``. +% 2013-12-01 0.11.1 fix identification. +% 2014-09-08 0.11.2 ``\textKoppa`` macro +% .. (Capital Koppa is not defined in LGR but Unicode). % ========== ====== ======================================================== -% -% Requires XeTeX or LuaTeX and a font with Greek characters. See -% `<test-euenc.tex>`_ and `<test-euenc.pdf>`_ for usage details and -% example. -% -% `xunicode.sty` defines several commands for the declaration of UTF -% characters, composites and accents. These are (sparsely) documented in the -% source. Unfortunately, they do not work seamless with the standard NFSS -% commands described in the fntguide. -% -% This file sets up LaTeX Internal Character Representaction (LICR) macros -% based on standard LaTeX commands. It should work independed of `xunicode`. -% (Currently, it only works if `fontspec` is loaded. TODO: Why?) -% -% +% +% Motivation +% ========== +% +% LICR macro definitions for the Greek script are missing in both, xunicode_ +% and euenc_. +% +% This file expands the font encoding definition files ``eu1enc.def`` rsp. +% ``eu2enc.def`` from euenc_ defining `LaTeX Internal Character +% Representaction` (LICR) macros for Greek letters and symbols. It works +% independed of xunicode_ using the standard commands for `LaTeX2e font +% selection`_. +% +% Requirements +% ============ +% +% Requires XeTeX or LuaTeX, euenc_ (usually loaded via fontspec_), and a font +% with Greek characters. +% +% See `<greek-euenc-doc.tex>`_ and `<greek-euenc-doc.pdf>`_ for setup and +% usage examples. +% +% % Greek Diacritics % ================ -% +% % Define "named macros" for simple and combined diacritics. -% +% % * Named accent macros can be used instead of the ``\@tabacckludge`` by % to-LaTeX converters to ensure working also inside the tabbing environment. -% +% % * Named macros are required for upcasing according to Greek typesetting % conventions and in the definition of composite commands. -% +% % Greek alias names for standard accents:: \DeclareTextCommand{\acctonos}{\LastDeclaredEncoding}{\@tabacckludge'} @@ -61,7 +74,7 @@ \DeclareTextCommand{\accperispomeni}{\LastDeclaredEncoding}{\@tabacckludge~} % Breathings: -% +% % (The COMBINING GREEK KORONIS is a legacy character, discarded in favour of % COMBINING COMMA ABOVE) :: @@ -71,14 +84,8 @@ \DeclareTextCommand{\<}{\LastDeclaredEncoding}{\accdasia} -%% TODO: how to pass the char nr. to DeclareTextCommand? -% \providecommand*{\DeclareTextAccentCombined}[3]{% -% \DeclareTextCommand{#1}{#2}[1]{##1\char"#3 }% -% } -% \DeclareTextAccentCombined{\accypogegrammeni}{\LastDeclaredEncoding}{0837} - % Sub-iota: -% +% % ``\ypogegrammeni`` is a postfix accent (ligature in LGR) :: \DeclareTextSymbol{\ypogegrammeni}{\LastDeclaredEncoding}{0837} % COMBINING GREEK YPOGEGRAMMENI @@ -99,9 +106,9 @@ \DeclareTextCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 \char"0313 } -% Composite Diacritics -% ==================== -% +% Common Definitions +% ================== +% % Use the `common Greek font encoding definitions`_:: \input{greek-fontenc.def} @@ -109,14 +116,17 @@ % Character Definitions % ===================== -% -% -% \DeclareTextSymbol{\textcompwordmark}{\LastDeclaredEncoding}{8204} -% -% +% +% General Punctuation +% ~~~~~~~~~~~~~~~~~~~ +% +% Ligature break up with ZERO WIDTH NON-JOINER:: + +\DeclareTextCommand{\textcompwordmark}{\LastDeclaredEncoding}{\char"200C} + % Greek and Coptic % ~~~~~~~~~~~~~~~~ -% +% % :: % NR Unicode Name % babel name, % PU name @@ -221,18 +231,18 @@ \DeclareTextCommand{\textstigma}{\LastDeclaredEncoding}{ϛ} \DeclareTextCommand{\textDigamma}{\LastDeclaredEncoding}{Ϝ} \DeclareTextCommand{\textdigamma}{\LastDeclaredEncoding}{ϝ} -%03DE GREEK LETTER KOPPA % Ϟ \textKoppa +\DeclareTextCommand{\textKoppa}{\LastDeclaredEncoding}{Ϟ} % not defined in LGR \DeclareTextCommand{\textkoppa}{\LastDeclaredEncoding}{ϟ} % \koppa, \textqoppa [sic!] \DeclareTextCommand{\textSampi}{\LastDeclaredEncoding}{Ϡ} \DeclareTextCommand{\textsampi}{\LastDeclaredEncoding}{ϡ} % 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}{\LastDeclaredEncoding}{\textalpha}{ἀ} @@ -486,10 +496,10 @@ % ~~~~~~~~~~~~~~~~~~~~~ % 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}{\LastDeclaredEncoding}{𐅄} % GREEK ACROPHONIC ATTIC FIFTY @@ -499,22 +509,12 @@ % UPPERCASE -% ~~~~~~~~~ -% -% The `common Greek font encoding definitions`_ in ``greek-fontenc.def`` extend -% the `uclclist` with Greek LICR macros. Here, we add EU1 specific "hiatus" -% handling. -% -% Mark hiatus -% """"""""""" -% -% Tonos and dasia mark a hiatus if placed on the -% first vowel of a diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the -% second vowel if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ, -% ἀυπνία → ΑΫΠΝΙΑ). -% -% Look ahead and place a diaeresis on Ι or Υ -% (copied from lgrenc.def and changed Latin transcription to Unicode literals):: +% ========= +% +% The common Greek font encoding definitions in greek-fontenc.def_ extend the +% `uclclist` with Greek LICR macros. Here, we add Unicode-specific "hiatus_" +% handling (copied from lgrenc.def_ and changed Latin transcription to Unicode +% literals):: \DeclareTextCommand{\LGR@A@hiatus}{\LastDeclaredEncoding}{% @@ -537,10 +537,20 @@ } % .. References -% +% % .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt -% .. _inputenc: http://www.ctan.org/pkg/inputenc +% .. _babel-greek: http://www.ctan.org/pkg/babel-greek +% .. _euenc: http://www.ctan.org/pkg/euenc +% .. _fontspec: http://www.ctan.org/pkg/fontspec % .. _greek-fontenc: http://www.ctan.org/pkg/greek-fontenc % .. _grnumalt: http://www.ctan.org/pkg/grnumalt -% -% .. _common Greek font encoding definitions: greek-fontenc.def.html +% .. _inputenc: http://www.ctan.org/pkg/inputenc +% .. _textalpha: textalpha.sty.html +% .. _xunicode: http://www.ctan.org/pkg/xunicode +% +% .. _LaTeX2e font selection: +% http://mirror.ctan.org/macros/latex/doc/fntguide.pdf +% .. _common Greek font encoding definitions: +% .. _greek-fontenc.def: greek-fontenc.def.html +% .. _lgrenc.def: lgrenc.def.html +% .. _hiatus: greek-fontenc.def.html#mark-hiatus diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def index b2510b6137e..06d591d6272 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def @@ -8,48 +8,33 @@ % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either % version 1.3 of this license or any later version. -% +% :Identification: +% :: + +\ProvidesFile{greek-fontenc.def} +[2013/11/28 v0.11 Common Greek font encoding definitions] + % :Abstract: This file provides definitions that are shared between % font encodings providing Greek characters. % -% Changelog -% --------- -% -% .. class:: borderless -% -% ===== ============ ======================================================== -% 0.9 2013-07-03 code "outsourced" from lgrxenc.def -% 0.9.1 2013-07-17 composite definitions starting with standard accent cmds -% 0.11 2013-11-28 ``\greekscript`` TextCommand -% ===== ============ ======================================================== +% Changelog: +% .. class:: borderless +% +% ===== ============ ======================================================== +% 0.9 2013-07-03 code "outsourced" from lgrxenc.def +% 0.9.1 2013-07-17 composite definitions starting with standard accent cmds +% 0.11 2013-11-28 ``\greekscript`` TextCommand +% ===== ============ ======================================================== % % Usage % ----- % -% This file can be input by font encoding definition files after declaring the -% font encoding. -% -% Example: -% Define Greek LICR's for XeTeX -% -% .. code:: latex -% -% \DeclareFontEncoding{EU1}{}{} -% \input{greek-fontenc.def} -% % Unicode-specific LICR - Character mappings -% % ... -% +% This file is input by the font encoding definition files lgrenc.def_. and +% greek-euenc.def_. % % Implementation % -------------- -% -% Identification -% ~~~~~~~~~~~~~~ -% :: - -\ProvidesFile{greek-fontenc.def} -[2013/11/28 v0.11 Common Greek font encoding definitions] - +% % ensuregreek, greekscript % ~~~~~~~~~~~~~~~~~~~~~~~~ % @@ -66,8 +51,9 @@ \ProvideTextCommand{\ensuregreek}{\LastDeclaredEncoding}[1]{#1} -% The ``\greekscript`` declaration ensures the current font encoding supports -% the Greek script:: +% The ``\greekscript`` declaration switches to a font encoding supporting +% the Greek script, if required. The following definition announces the +% ``\LastDeclaredEncoding`` as Greek-supporting:: \ProvideTextCommand{\greekscript}{\LastDeclaredEncoding}{} @@ -75,9 +61,10 @@ % Aliases % ~~~~~~~ % -% Compatibility aliases for hyperref_'s puenc.def, defined via -% `DeclareTextCommand` so that up/downcasing works without the need for -% additional uclclist entries:: +% Aliases are defined via `DeclareTextCommand` so that up/downcasing works +% without the need for additional uclclist_ entries. +% +% Compatibility aliases for hyperref_'s puenc.def:: \DeclareTextCommand{\textstigmagreek}{\LastDeclaredEncoding}{\textstigma} \DeclareTextCommand{\textkoppagreek}{\LastDeclaredEncoding}{\textkoppa} @@ -232,7 +219,8 @@ \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\~}{\accdasiaperispomeni} \DeclareTextCompositeCommand{\<}{\LastDeclaredEncoding}{~}{\accdasiaperispomeni} - +% .. _uclclist: +% % UPPERCASE % ~~~~~~~~~ % @@ -315,8 +303,7 @@ % Substitution macros % """"""""""""""""""" % -% Drop diacritics -% (The argument processing ensures that kerning is preserved) :: +% Drop diacritics (The argument passing ensures that kerning is preserved) :: \DeclareTextCommand{\LGR@accdropped}{\LastDeclaredEncoding}[1]{#1} @@ -387,3 +374,6 @@ % http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf % .. _textalpha: textalpha.sty.html % .. _ucs: http://www.ctan.org/pkg/unicode +% +% .. _lgrenc.def: lgrenc.def.html +% .. _greek-euenc.def: greek-euenc.def.html diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def index eb374b41cda..06cc8ad798d 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def @@ -4,7 +4,7 @@ % LGR Greek font encoding definitions % =================================== % -% :Copyright: © 2010 Günter Milde +% :Copyright: © 2010, 2014 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. @@ -26,32 +26,33 @@ % % .. class:: borderless % -% ===== ============ ======================================================== -% 0.1 2010-03-31 initial attempt -% 0.2 2010-04-20 diacritics dropped in UPPERCASE. -% 0.3 2010-06-08 handle Titlecase and UPPERCASE extending -% ``\@uclclist``. -% 0.4 2010-06-15 more text symbols. -% 0.5 2010-08-27 support ``\textalpha`` ... ``\textOmega``. -% 0.5.1 2012-05-08 upload to CTAN. -% 0.6 2012-06-29 ``\TextGreek`` wrapper command, -% .. aliases for ``puenc.def`` compatibility. -% 0.6.1 2013-02-12 ``\@uclclist`` entries for `PU` aliases. -% 0.7 2013-05-13 documentation update, new accent macros names, -% .. ``\TextGreek`` renamed to ``\ensuregreek``. -% 0.8 2013-05-13 rename to lgrenc.def (superseding the babel_ version), -% .. move to greek-fontenc, -% .. drop the old (<0.7) internal accent macros names. -% 0.8.1 2013-05-22 auxiliary macro \update@uclc@with@greek, -% .. conservative naming: "text" prefix for archaic letters, -% .. "LGR@" prefix for internal commands, -% .. remove not required alias macros. -% 0.8.2 2013-05-23 fix name: ``\textpentehkaton`` -> ``\textpentehekaton``, -% .. fix ``\textperiodcentered``, -% .. add composite command for Ῥ (Rho with Dasia). -% 0.9 2013-07-16 move common definitions to ``greek-fontenc.def``, -% .. add composite commands for single quotation marks. -% ===== ============ ======================================================== +% ====== ============ ======================================================== +% 0.1 2010-03-31 initial attempt +% 0.2 2010-04-20 diacritics dropped in UPPERCASE. +% 0.3 2010-06-08 handle Titlecase and UPPERCASE extending +% ``\@uclclist``. +% 0.4 2010-06-15 more text symbols. +% 0.5 2010-08-27 support ``\textalpha`` ... ``\textOmega``. +% 0.5.1 2012-05-08 upload to CTAN. +% 0.6 2012-06-29 ``\TextGreek`` wrapper command, +% .. aliases for ``puenc.def`` compatibility. +% 0.6.1 2013-02-12 ``\@uclclist`` entries for `PU` aliases. +% 0.7 2013-05-13 documentation update, new accent macros names, +% .. ``\TextGreek`` renamed to ``\ensuregreek``. +% 0.8 2013-05-13 rename to lgrenc.def (superseding the babel_ version), +% .. move to greek-fontenc, +% .. drop the old (<0.7) internal accent macros names. +% 0.8.1 2013-05-22 auxiliary macro \update@uclc@with@greek, +% .. conservative naming: "text" prefix for archaic letters, +% .. "LGR@" prefix for internal commands, +% .. remove not required alias macros. +% 0.8.2 2013-05-23 fix name: ``\textpentehkaton`` -> ``\textpentehekaton``, +% .. fix ``\textperiodcentered``, +% .. add composite command for Ῥ (Rho with Dasia). +% 0.9 2013-07-16 move common definitions to ``greek-fontenc.def``, +% .. add composite commands for single quotation marks. +% 0.11.2 unpublished remove duplicate code. +% ====== ============ ======================================================== % % Usage % ----- @@ -91,7 +92,7 @@ % :: \ProvidesFile{lgrenc.def} -[2013/07/16 v0.9 LGR Greek font encoding definitions] +[2013/12/02 v0.11.2 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 @@ -267,10 +268,55 @@ \DeclareTextSymbol{\textpercent}{LGR}{37} % % \DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permill in greek.ldf -% T3:: +% T3 (tipa):: \DeclareTextSymbol{\textschwa}{LGR}{26} % ə +% T3 also defines some greek letters as well as Latin characters with Greek +% names: +% +% According to the Unicode standard, the following IPA characters are identic +% to the Greek letters: +% +% - 03B2 greek small letter beta +% - 03B8 greek small letter theta +% - 03BB greek small letter lamda +% - 03C7 greek small letter chi +% +% The following characters in the IPA block are not Greek letters: +% +% - 0251 LATIN SMALL LETTER ALPHA ≠ greek small letter alpha - 03B1 +% - 025B LATIN SMALL LETTER OPEN E = epsilon ≠ greek small letter epsilon - 03B5 +% - 0263 LATIN SMALL LETTER GAMMA ≠ greek small letter gamma - 03B3 +% - 0269 LATIN SMALL LETTER IOTA ≠ greek small letter iota - 03B9 +% - 0278 LATIN SMALL LETTER PHI ≠ greek small letter phi - 03C6 +% - 028A LATIN SMALL LETTER UPSILON ≠ greek small letter upsilon - 03C5 +% +% Unfortunately, `tipa` uses the macro names ``\textepsilon``, ``\textgamma``, +% ``\textiota``, ``\textphi``, and ``\textupsilon`` for the Latin characters. +% This is no problem with 8-bit fonts (set the font encoding to T3 vs. LGR to +% disambiguate), but leads to name clashes with Unicode fonts. xunicode_ uses +% the ``gr`` infix and alias names to disambiguate: +% +% - 03B3 ``\textgrgamma`` +% - 03B9 ``\textgriota`` +% - 03C6 ``\textgrphi`` (see x0278 ) +% +% but not for epsilon and upsilon (03C2 ``\textgrsigma`` is the final sigma). +% +% It also assigns alias names to the Latin counterparts, however not on a +% systematical basis: +% +% - 0194 ``\textGammaafrican`` +% - 0196 ``\textIotaafrican`` +% - 0251 ``\textscripta`` +% - 025B ``\texteopen`` +% - 0263 ``\textbabygamma``, ``\textgammalatinsmall`` +% - 0269 ``\textiotalatin`` +% - 028A ``\textscupsilon`` % TIPA-U +% +% +% % Not implemented % """"""""""""""" % @@ -334,13 +380,15 @@ \DeclareTextAccent{\accvaria}{LGR}{96} % βαρεῖα (grave) \DeclareTextAccent{\accperispomeni}{LGR}{126} % περισπωμένη (circonflex/tilde) -% The sub-iota is input after the base character. In LGR fonts, ligatures are +% The sub-iota__ is input after the base character. In LGR fonts, ligatures are % defined for pre-composed characters, the postfix ligature does not interfere % with kerning:: \DeclareTextSymbol{\prosgegrammeni}{LGR}{8} % ι "capital" sub-iota \DeclareTextSymbol{\ypogegrammeni}{LGR}{124} % ͺ "small" sub-iota +% __ http://en.wikipedia.org/wiki/Hypogegrammeni +% % Composite diacritics:: % Teubner name @@ -365,7 +413,6 @@ \DeclareTextAccent{\u}{LGR}{30} % BREVE \DeclareTextAccent{\=}{LGR}{31} % MACRON - % Aliases % """"""" % @@ -377,26 +424,6 @@ \DeclareTextCommand{\`}{LGR}{\accvaria} \DeclareTextCommand{\~}{LGR}{\accperispomeni} - -% The sub-iota__ is input after the base character. In LGR fonts, ligatures are -% defined for pre-composed characters, the postfix ligature does not interfere -% with kerning:: - -\DeclareTextSymbol{\prosgegrammeni}{LGR}{8} % ι "capital" sub-iota -\DeclareTextSymbol{\ypogegrammeni}{LGR}{124} % ͺ "small" sub-iota - -% __ http://en.wikipedia.org/wiki/Hypogegrammeni -% -% For classical Greek and linguistics, the LGR font encoding contains a number -% of additional diacritic symbols:: - -\DeclareTextAccent{\accinvertedbrevebelow}{LGR}{1} % INVERTED BREVE BELOW -\DeclareTextAccent{\textsubarch}{LGR}{1} % (tipa) -\DeclareTextAccent{\accbrevebelow}{LGR}{20} % BREVE BELOW -\DeclareTextAccent{\u}{LGR}{30} % BREVE -\DeclareTextAccent{\=}{LGR}{31} % MACRON - - % Common Greek font encoding definitions % ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ % @@ -768,19 +795,21 @@ % % The `common Greek font encoding definitions`_ in ``greek-fontenc.def`` extend % the `uclclist` with Greek LICR macros. Here, we add LGR specific "hiatus" -% handling:: +% handling. +% +% Composite commands for Latin transliteration:: \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{A}{\LGR@A@hiatus} \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{E}{\LGR@E@hiatus} -% TODO: What does the \LGR@hiatus command "see" if an unicode literal follows? +% TODO: What does the \LGR@hiatus command "see" if a Unicode literal follows? % % .. code:: latex % % % \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{\symbol{"ce}}{bluff} % % \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{"cf}{blaff} % % \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{ι}{blaff} -% +% % Look ahead and place a diaeresis on Ι or Υ:: \DeclareTextCommand{\LGR@A@hiatus}{LGR}{% @@ -850,3 +879,4 @@ % http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf % .. _textalpha: textalpha.sty.html % .. _ucs: http://www.ctan.org/pkg/unicode +% .. _xunicode: http://www.ctan.org/pkg/xunicode diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty index 876e837f5e2..7d123b8b3f3 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty +++ b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty @@ -1,5 +1,7 @@ -% textalpha: Greek symbols in text -% ******************************** +% textalpha.sty +% +++++++++++++ +% Greek symbols in text +% ********************* % % :Copyright: © 2010 Günter Milde % :Licence: This work may be distributed and/or modified under the @@ -54,7 +56,7 @@ % set as default for Greek LICR macros (cf. fntguide_ section 5.3). % % With XeTeX or LuaTex, Unicode fonts and LGR encoded 8-bit fonts can be -% used in the same document (see test-euenc.tex_). +% used in the same document (see greek-euenc-doc.tex_). % % Advantages: % @@ -66,12 +68,12 @@ % % + via ``\usepackage[utf8]{inputenc}`` and ``lgrenc.dfu`` from % greek-inputenc_ for 8-bit TeX or XeTeX/LuaTeX in 8-bit compatibility -% mode in any font encoding (see textalpha-test.tex_). +% mode in any font encoding (see textalpha-doc.tex_). % % + natively by XeTeX/LuaTeX for Unicode fonts. As inputenc_ does not work % with these engines, text input can be done via the Latin transcription % or LICR but *not via literal Unicode characters* for 8-bit font encodings -% like LGR (see test-euenc.tex_). +% like LGR (see greek-euenc-doc.tex_). % % .. Attention:: The macros work well in any font encoding for single symbols. % However, with 8-bit TeX engines, the automatic font-encoding switches @@ -91,10 +93,10 @@ % % \usepackage{textalpha} % -% For details see `<textalpha-test.tex>`_ and `<textalpha-test.pdf>`_ (8-bit -% TeX and XeTeX/LuaTeX in 8-bit compatibility mode) as well as -% `<test-euenc.tex>`_ and `<test-euenc.pdf>`_ (XeTeX/LuaTeX with Unicode -% fonts). +% For detailled examples see `<textalpha-doc.tex>`_ and `<textalpha-doc.pdf>`_ +% (8-bit TeX and XeTeX/LuaTeX in 8-bit compatibility mode) as well as +% `<greek-euenc-doc.tex>`_ and `<greek-euenc-doc.pdf>`_ (XeTeX/LuaTeX with +% Unicode fonts). % % % Implementation @@ -206,7 +208,7 @@ % % However, the simpler alternative % ``\DeclareTextAccentDefault{\ensuregreek}{LGR}`` fails with the table of -% Unicode characters in the test document `<textalpha-test.tex>`__: +% Unicode characters in the test document `<textalpha-doc.tex>`__: % % ``! You can't use a prefix with `end-group character }'.`` % |