diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/greek-inputenc/lgrenc.dfu')
-rw-r--r-- | Master/texmf-dist/tex/latex/greek-inputenc/lgrenc.dfu | 82 |
1 files changed, 36 insertions, 46 deletions
diff --git a/Master/texmf-dist/tex/latex/greek-inputenc/lgrenc.dfu b/Master/texmf-dist/tex/latex/greek-inputenc/lgrenc.dfu index 644d2cdcf4d..386539dfd8c 100644 --- a/Master/texmf-dist/tex/latex/greek-inputenc/lgrenc.dfu +++ b/Master/texmf-dist/tex/latex/greek-inputenc/lgrenc.dfu @@ -2,7 +2,7 @@ % ********** % Greek Unicode support with inputenc % =================================== -% +% % :Copyright: © 2010 Günter Milde % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either @@ -10,15 +10,15 @@ % :Identification: % :: -\ProvidesFile{lgrenc.dfu}[2015/08/05 1.6 UTF-8 support for Greek] +\ProvidesFile{lgrenc.dfu}[2019/07/11 1.7 UTF-8 support for Greek] % Based on a `babel patch`_ by Werner Lemberg, with input from the ucs_ % package (``ucsencs.def``) by Dominique Unruh and ``CB.enc`` by % Apostolos Syropoulos. -% +% % Changelog: % .. class:: borderless -% +% % ===== =========== =========================================================== % 0.1 2010-06-16 initial version % 0.2 2012-06-27 support for accented Greek characters with textalpha_ @@ -32,56 +32,57 @@ % 1.6 2015-08-05 Fix output of accented characters with "textalpha" if the % current font encoding is not LGR (wrap in \ensuregreek), % .. Map GREEK ... SYMBOL characters. +% 1.7 2019-07-11 Remove some duplicate definitions (punctuation, Euro). % ===== =========== =========================================================== -% +% % Usage % ----- -% +% % Requires comprehensive LGR font encoding definitions from greek-fontenc_: -% +% % .. code:: latex -% +% % \usepackage[LGR,T1]{fontenc} % define LGR and T1 encodings % \usepackage[utf8]{inputenc} % standard UTF-8 input encoding -% +% % By default, text containing Greek Unicode characters must be marked as % requiring a font encoding that supports Greek script, e.g. by setting the % language to ``greek`` or ``polutonikogreek``. This is a generic feature of % inputenc_'s `utf8` option (an equivalent restriction holds for the Cyrillic % script). -% +% % With the textalpha_ or alphabeta_ packages of the greek-fontenc_ package, % Greek Unicode literals can be used without special markup also in non-Greek % documents: -% +% % .. code:: latex -% +% % \usepackage[utf8]{inputenc} % standard UTF-8 input encoding % \usepackage[T1]{fontenc} % use T1 font encoding as default % \usepackage{textalpha} % define LGR font encoding as Greek default -% +% % With the ``normalize-symbols`` option to textalpha_ or alphabeta_, % GREEK ... SYMBOL characters are mapped to the corresponding letters % (requires greek-fontenc_ >= 0.13): -% +% % .. code:: latex -% +% % \usepackage[utf8]{inputenc} % \usepackage[T1]{fontenc} -% \usepackage[normalize-symbols]{textalpha} -% -% +% \usepackage[normalize-symbols]{textalpha} +% +% % Character Declarations % ---------------------- -% +% % Some characters exist in other font encodings too. Care has been taken % to ensure the definitions match with other ``*.dfu`` and ``*enc.def`` % files. -% +% % Wrap definition in ``\ensuregreek`` if a Unicode character is mapped to two % characters (letter+sub-iota) or with non-Greek accents to make sure these % characters work in any font encoding if the textalpha_ package is used. -% +% % Latin-1 Supplement (T1) % ~~~~~~~~~~~~~~~~~~~~~~~ % :: @@ -90,7 +91,7 @@ \DeclareUnicodeCharacter{00AB}{\guillemotleft} % « \DeclareUnicodeCharacter{00AF}{\textasciimacron} % ¯ \DeclareUnicodeCharacter{00B4}{\textasciiacute} % ´ -\DeclareUnicodeCharacter{00B7}{\textperiodcentered} % · +\DeclareUnicodeCharacter{00B7}{\textperiodcentered} % · = ano teleia \DeclareUnicodeCharacter{00BB}{\guillemotright} % » % IPA Extensions (T3) @@ -105,28 +106,9 @@ \DeclareUnicodeCharacter{02D8}{\textasciibreve} % ˘ -% General Punctuation -% ~~~~~~~~~~~~~~~~~~~ -% :: - -\DeclareUnicodeCharacter{2013}{\textendash} % – -\DeclareUnicodeCharacter{2014}{\textemdash} % — -\DeclareUnicodeCharacter{2018}{\textquoteleft} % ‘ -\DeclareUnicodeCharacter{2019}{\textquoteright} % ’ -\DeclareUnicodeCharacter{201A}{\quotesinglbase} % ‚ -\DeclareUnicodeCharacter{2030}{\textperthousand} % ‰ -\DeclareUnicodeCharacter{2039}{\guilsinglleft} % ‹ -\DeclareUnicodeCharacter{203A}{\guilsinglright} % › - -% Currency Symbols -% ~~~~~~~~~~~~~~~~ -% :: - -\DeclareUnicodeCharacter{20AC}{\texteuro} % € - % Greek and Coptic % ~~~~~~~~~~~~~~~~ -% +% % :: % NR Unicode Name % babel name, PU name @@ -483,8 +465,8 @@ \DeclareUnicodeCharacter{1FEA}{\ensuregreek{\accvaria\textUpsilon}} % Ὺ \DeclareUnicodeCharacter{1FEB}{\ensuregreek{\acctonos\textUpsilon}} % Ύ \DeclareUnicodeCharacter{1FEC}{\ensuregreek{\accdasia\textRho}} % Ῥ -\DeclareUnicodeCharacter{1FED}{\ensuregreek{\accdialytikavaria{}}} % ῭ -\DeclareUnicodeCharacter{1FEE}{\ensuregreek{\accdialytikatonos{}}} % ΅ +\DeclareUnicodeCharacter{1FED}{\accdialytikavaria{ }} % ῭ +\DeclareUnicodeCharacter{1FEE}{\accdialytikatonos{ }} % ΅ \DeclareUnicodeCharacter{1FEF}{\accvaria{ }} % ` \DeclareUnicodeCharacter{1FF2}{\ensuregreek{\accvaria\textomega\ypogegrammeni}} % ῲ @@ -497,7 +479,7 @@ \DeclareUnicodeCharacter{1FFA}{\ensuregreek{\accvaria\textOmega}} % Ὼ \DeclareUnicodeCharacter{1FFB}{\ensuregreek{\acctonos\textOmega}} % Ώ \DeclareUnicodeCharacter{1FFC}{\ensuregreek{\textOmega\prosgegrammeni}} % ῼ -\DeclareUnicodeCharacter{1FFD}{\ensuregreek{\acctonos{}}} % ´ +\DeclareUnicodeCharacter{1FFD}{\acctonos{ }} % ´ \DeclareUnicodeCharacter{1FFE}{\accdasia{ }} % ῾ % General Punctuation @@ -508,8 +490,16 @@ \DeclareUnicodeCharacter{2014}{\textemdash} % — \DeclareUnicodeCharacter{2018}{\textquoteleft} % ‘ \DeclareUnicodeCharacter{2019}{\textquoteright} % ’ +\DeclareUnicodeCharacter{201A}{\quotesinglbase} % ‚ \DeclareUnicodeCharacter{2030}{\textperthousand} % ‰ -\DeclareUnicodeCharacter{20AC}{\texteuro} % € +\DeclareUnicodeCharacter{2039}{\guilsinglleft} % ‹ +\DeclareUnicodeCharacter{203A}{\guilsinglright} % › + +% Currency Symbols +% ~~~~~~~~~~~~~~~~ +% :: + +\DeclareUnicodeCharacter{20AC}{\texteuro} % € % Letterlike Symbols % ~~~~~~~~~~~~~~~~~~ |