diff options
author | Karl Berry <karl@freefriends.org> | 2013-07-16 21:53:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-07-16 21:53:33 +0000 |
commit | 05e34ea4caff9fc8329695b5e7062068b6486444 (patch) | |
tree | 23f563e090afbe73531a162e562eb2a6cbacd1c5 /Master/texmf-dist/doc/latex/greek-inputenc | |
parent | 87d9fd097f6d26395cd79705c4d5a38ac3e8e0e9 (diff) |
greek-inputenc (16jul13)
git-svn-id: svn://tug.org/texlive/trunk@31211 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/greek-inputenc')
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/README | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/lgrenc.dfu.html | 206 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/test-iso-8859-7.pdf | bin | 25765 -> 25763 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/test-utf8.pdf | bin | 214847 -> 345042 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/test-utf8.tex | 70 |
5 files changed, 163 insertions, 124 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/README b/Master/texmf-dist/doc/latex/greek-inputenc/README index ed76ddd9e36..cf35e1d1cad 100644 --- a/Master/texmf-dist/doc/latex/greek-inputenc/README +++ b/Master/texmf-dist/doc/latex/greek-inputenc/README @@ -52,7 +52,8 @@ Test examples and output: Latin characters in PDF strings (hyperref_ bookmarks and TOC sidebar, cf. greekhyperref.pdf__), no kerning between accented characters. -__ http://mirrors.ctan.org/macros/latex/contrib/lgrx/greekhyperref.pdf +__ http://mirrors.ctan.org/language/greek/greek-fontenc/greekhyperref.pdf + Installation ============ @@ -72,14 +73,12 @@ Otherwise, make sure LaTeX can find the files ending in ``.def``: Usage ===== -Pass the encoding name as option to inputenc_. For example :: - - \usepackage[iso-8859-7]{inputenc} +Pass the encoding name as option to inputenc_. The "utf8" option only defines characters that are accessible in declared font encodings. In order to load the Greek definitions in ``lgrenc.dfu``, -specify the LGR font encoding with fontenc_ or the "greek" or -"polutonikogreek" options for babel_, e.g. :: +specify the LGR font encoding with fontenc_ or the "greek" option for +babel_, e.g. :: \usepackage[LGR,T1]{fontenc} \usepackage[utf8]{inputenc} diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/lgrenc.dfu.html b/Master/texmf-dist/doc/latex/greek-inputenc/lgrenc.dfu.html index e679f5cfd88..b24a9a0b772 100644 --- a/Master/texmf-dist/doc/latex/greek-inputenc/lgrenc.dfu.html +++ b/Master/texmf-dist/doc/latex/greek-inputenc/lgrenc.dfu.html @@ -35,7 +35,7 @@ Apostolos Syropoulos.</p> <colgroup> <col width="14%" /> <col width="7%" /> -<col width="79%" /> +<col width="80%" /> </colgroup> <tbody> <tr><td><p>2010-06-16</p></td> @@ -51,9 +51,23 @@ Apostolos Syropoulos.</p> <td><p>new accent macro names with lgrxenc.def 0.7</p></td> </tr> <tr><td><p>2013-05-24</p></td> -<td><p>0.4</p></td> +<td><p>1.3</p></td> <td><p>moved to greek-inputenc.</p></td> </tr> +<tr><td><p>2013-07-16</p></td> +<td><p>1.4</p></td> +<td><p>bugfix for GREEK SMALL LETTER RHO WITH PSILI/DASIA,</p></td> +</tr> +<tr><td><!-- --> +</td> +<td> </td> +<td><p>drop “greek” from macro names for ancient characters,</p></td> +</tr> +<tr><td><!-- --> +</td> +<td> </td> +<td><p><tt class="literal">\ypogegrammeni</tt> and <tt class="literal">\prosgegrammeni</tt> instead of <tt class="literal">|</tt></p></td> +</tr> </tbody> </table> </dd> @@ -132,24 +146,24 @@ Makeuppercase fails if the document does not use babel’s “greek” or </div> <div class="section" id="greek-and-coptic"> <h2>Greek and Coptic</h2> -<p>When there are different names for a Greek letter, use the one from -PUenc.dfu (hyperref’s PDF-Unicode encoding) as this is the one most likely -to be used together with this file.</p> -<pre class="literal-block">% NR Unicode Name % babel name, UCS name -% 0370 GREEK CAPITAL LETTER HETA % Ͱ -% 0371 GREEK SMALL LETTER HETA % ͱ -% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ -% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % Ͳ -\DeclareUnicodeCharacter{0374}{\textnumeralsigngreek} % ʹ \anwtonos, \textdexiakeraia -\DeclareUnicodeCharacter{0375}{\textnumeralsignlowergreek} % ͵ \katwtonos, \textaristerikeraia, -% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ -% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ +<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 % Ͳ +% TODO: replace PU names by ucs names in next version: +\DeclareUnicodeCharacter{0374}{\textnumeralsigngreek} +\DeclareUnicodeCharacter{0375}{\textnumeralsignlowergreek} % +% \DeclareUnicodeCharacter{0374}{\textdexiakeraia} % ʹ \anwtonos, \textnumeralsigngreek +% \DeclareUnicodeCharacter{0375}{\textaristerikeraia} % ͵ \katwtonos, \textnumeralsignlowergreek +% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ +% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ \DeclareUnicodeCharacter{037A}{\textcompwordmark\ypogegrammeni} % ͺ \textsubiota{\empty} -% 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL % -% 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL % -% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL % -\DeclareUnicodeCharacter{037E}{\texterotimatiko} % ; \textquestion +% 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL % +% 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL % +% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL % +\DeclareUnicodeCharacter{037E}{\texterotimatiko} % ; \textquestion \DeclareUnicodeCharacter{0384}{\ensuregreek{\@tabacckludge'\textcompwordmark}} % ΄ \DeclareUnicodeCharacter{0385}{\ensuregreek{\"'\textcompwordmark}} % ΅ \textdialytikatonos @@ -207,7 +221,7 @@ to be used together with this file.</p> \DeclareUnicodeCharacter{03B9}{\textiota} % ι \DeclareUnicodeCharacter{03BA}{\textkappa} % κ \DeclareUnicodeCharacter{03BB}{\textlambda} % λ -\DeclareUnicodeCharacter{03BC}{\textmu} % μ \textmu, \textmugreek +\DeclareUnicodeCharacter{03BC}{\textmu} % μ \textmugreek \DeclareUnicodeCharacter{03BD}{\textnu} % ν \DeclareUnicodeCharacter{03BE}{\textxi} % ξ \DeclareUnicodeCharacter{03BF}{\textomicron} % ο @@ -228,16 +242,16 @@ to be used together with this file.</p> \DeclareUnicodeCharacter{03CD}{\ensuregreek{\@tabacckludge'\textupsilon}} % ύ \DeclareUnicodeCharacter{03CE}{\ensuregreek{\@tabacckludge'\textomega}} % ώ -\DeclareUnicodeCharacter{03D8}{\textQoppa} % Ϙ -\DeclareUnicodeCharacter{03D9}{\textqoppa} % ϙ -\DeclareUnicodeCharacter{03DA}{\textStigmagreek} % Ϛ \Stigma -\DeclareUnicodeCharacter{03DB}{\textstigmagreek} % ϛ \stigma, \textstigma -\DeclareUnicodeCharacter{03DC}{\textDigammagreek} % Ϝ \Digamma, \textDigamma -\DeclareUnicodeCharacter{03DD}{\textdigammagreek} % ϝ \ddigamma, \textdigamma -%03DE GREEK LETTER KOPPA % Ϟ \textKoppagreek -\DeclareUnicodeCharacter{03DF}{\textkoppagreek} % ϟ \koppa, \textqoppa [sic!] -\DeclareUnicodeCharacter{03E0}{\textSampigreek} % Ϡ \Sampi -\DeclareUnicodeCharacter{03E1}{\textsampigreek} % ϡ \sampi, \textsampi +\DeclareUnicodeCharacter{03D8}{\textQoppa} % Ϙ +\DeclareUnicodeCharacter{03D9}{\textqoppa} % ϙ +\DeclareUnicodeCharacter{03DA}{\textStigma} % Ϛ \Stigma +\DeclareUnicodeCharacter{03DB}{\textstigma} % ϛ \stigma +\DeclareUnicodeCharacter{03DC}{\textDigamma} % Ϝ \Digamma +\DeclareUnicodeCharacter{03DD}{\textdigamma} % ϝ \ddigamma +%03DE GREEK LETTER KOPPA % Ϟ \textKoppagreek +\DeclareUnicodeCharacter{03DF}{\textkoppa} % ϟ \koppa, \textqoppa [sic!] +\DeclareUnicodeCharacter{03E0}{\textSampi} % Ϡ \Sampi +\DeclareUnicodeCharacter{03E1}{\textsampi} % ϡ \sampi </pre> </div> <div class="section" id="greek-extended"> @@ -364,85 +378,85 @@ to be used together with this file.</p> \DeclareUnicodeCharacter{1F7C}{\ensuregreek{\@tabacckludge`\textomega}} % ὼ \DeclareUnicodeCharacter{1F7D}{\ensuregreek{\@tabacckludge'\textomega}} % ώ -\DeclareUnicodeCharacter{1F80}{\ensuregreek{\@tabacckludge>\textalpha|}} % ᾀ -\DeclareUnicodeCharacter{1F81}{\ensuregreek{\@tabacckludge<\textalpha|}} % ᾁ -\DeclareUnicodeCharacter{1F82}{\ensuregreek{\@tabacckludge>`\textalpha|}} % ᾂ -\DeclareUnicodeCharacter{1F83}{\ensuregreek{\@tabacckludge<`\textalpha|}} % ᾃ -\DeclareUnicodeCharacter{1F84}{\ensuregreek{\@tabacckludge>'\textalpha|}} % ᾄ -\DeclareUnicodeCharacter{1F85}{\ensuregreek{\@tabacckludge>'\textalpha|}} % ᾅ -\DeclareUnicodeCharacter{1F86}{\ensuregreek{\@tabacckludge~>\textalpha|}} % ᾆ -\DeclareUnicodeCharacter{1F87}{\ensuregreek{\@tabacckludge~<\textalpha|}} % ᾇ -\DeclareUnicodeCharacter{1F88}{\ensuregreek{\@tabacckludge>\textAlpha|}} % ᾈ -\DeclareUnicodeCharacter{1F89}{\ensuregreek{\@tabacckludge<\textAlpha|}} % ᾉ -\DeclareUnicodeCharacter{1F8A}{\ensuregreek{\@tabacckludge>`\textAlpha|}} % ᾊ -\DeclareUnicodeCharacter{1F8B}{\ensuregreek{\@tabacckludge<`\textAlpha|}} % ᾋ -\DeclareUnicodeCharacter{1F8C}{\ensuregreek{\@tabacckludge>'\textAlpha|}} % ᾌ -\DeclareUnicodeCharacter{1F8D}{\ensuregreek{\@tabacckludge>'\textAlpha|}} % ᾍ -\DeclareUnicodeCharacter{1F8E}{\ensuregreek{\@tabacckludge~>\textAlpha|}} % ᾎ -\DeclareUnicodeCharacter{1F8F}{\ensuregreek{\@tabacckludge~<\textAlpha|}} % ᾏ +\DeclareUnicodeCharacter{1F80}{\ensuregreek{\@tabacckludge>\textalpha\ypogegrammeni}} % ᾀ +\DeclareUnicodeCharacter{1F81}{\ensuregreek{\@tabacckludge<\textalpha\ypogegrammeni}} % ᾁ +\DeclareUnicodeCharacter{1F82}{\ensuregreek{\@tabacckludge>`\textalpha\ypogegrammeni}} % ᾂ +\DeclareUnicodeCharacter{1F83}{\ensuregreek{\@tabacckludge<`\textalpha\ypogegrammeni}} % ᾃ +\DeclareUnicodeCharacter{1F84}{\ensuregreek{\@tabacckludge>'\textalpha\ypogegrammeni}} % ᾄ +\DeclareUnicodeCharacter{1F85}{\ensuregreek{\@tabacckludge>'\textalpha\ypogegrammeni}} % ᾅ +\DeclareUnicodeCharacter{1F86}{\ensuregreek{\@tabacckludge~>\textalpha\ypogegrammeni}} % ᾆ +\DeclareUnicodeCharacter{1F87}{\ensuregreek{\@tabacckludge~<\textalpha\ypogegrammeni}} % ᾇ +\DeclareUnicodeCharacter{1F88}{\ensuregreek{\@tabacckludge>\textAlpha\prosgegrammeni}} % ᾈ +\DeclareUnicodeCharacter{1F89}{\ensuregreek{\@tabacckludge<\textAlpha\prosgegrammeni}} % ᾉ +\DeclareUnicodeCharacter{1F8A}{\ensuregreek{\@tabacckludge>`\textAlpha\prosgegrammeni}} % ᾊ +\DeclareUnicodeCharacter{1F8B}{\ensuregreek{\@tabacckludge<`\textAlpha\prosgegrammeni}} % ᾋ +\DeclareUnicodeCharacter{1F8C}{\ensuregreek{\@tabacckludge>'\textAlpha\prosgegrammeni}} % ᾌ +\DeclareUnicodeCharacter{1F8D}{\ensuregreek{\@tabacckludge>'\textAlpha\prosgegrammeni}} % ᾍ +\DeclareUnicodeCharacter{1F8E}{\ensuregreek{\@tabacckludge~>\textAlpha\prosgegrammeni}} % ᾎ +\DeclareUnicodeCharacter{1F8F}{\ensuregreek{\@tabacckludge~<\textAlpha\prosgegrammeni}} % ᾏ -\DeclareUnicodeCharacter{1F90}{\ensuregreek{\@tabacckludge>\texteta|}} % ᾐ -\DeclareUnicodeCharacter{1F91}{\ensuregreek{\@tabacckludge<\texteta|}} % ᾑ -\DeclareUnicodeCharacter{1F92}{\ensuregreek{\@tabacckludge>`\texteta|}} % ᾒ -\DeclareUnicodeCharacter{1F93}{\ensuregreek{\@tabacckludge<`\texteta|}} % ᾓ -\DeclareUnicodeCharacter{1F94}{\ensuregreek{\@tabacckludge>'\texteta|}} % ᾔ -\DeclareUnicodeCharacter{1F95}{\ensuregreek{\@tabacckludge>'\texteta|}} % ᾕ -\DeclareUnicodeCharacter{1F96}{\ensuregreek{\@tabacckludge~>\texteta|}} % ᾖ -\DeclareUnicodeCharacter{1F97}{\ensuregreek{\@tabacckludge~<\texteta|}} % ᾗ -\DeclareUnicodeCharacter{1F98}{\ensuregreek{\@tabacckludge>\textEta|}} % ᾘ -\DeclareUnicodeCharacter{1F99}{\ensuregreek{\@tabacckludge<\textEta|}} % ᾙ -\DeclareUnicodeCharacter{1F9A}{\ensuregreek{\@tabacckludge>`\textEta|}} % ᾚ -\DeclareUnicodeCharacter{1F9B}{\ensuregreek{\@tabacckludge<`\textEta|}} % ᾛ -\DeclareUnicodeCharacter{1F9C}{\ensuregreek{\@tabacckludge>'\textEta|}} % ᾜ -\DeclareUnicodeCharacter{1F9D}{\ensuregreek{\@tabacckludge>'\textEta|}} % ᾝ -\DeclareUnicodeCharacter{1F9E}{\ensuregreek{\@tabacckludge~>\textEta|}} % ᾞ -\DeclareUnicodeCharacter{1F9F}{\ensuregreek{\@tabacckludge~<\textEta|}} % ᾟ +\DeclareUnicodeCharacter{1F90}{\ensuregreek{\@tabacckludge>\texteta\ypogegrammeni}} % ᾐ +\DeclareUnicodeCharacter{1F91}{\ensuregreek{\@tabacckludge<\texteta\ypogegrammeni}} % ᾑ +\DeclareUnicodeCharacter{1F92}{\ensuregreek{\@tabacckludge>`\texteta\ypogegrammeni}} % ᾒ +\DeclareUnicodeCharacter{1F93}{\ensuregreek{\@tabacckludge<`\texteta\ypogegrammeni}} % ᾓ +\DeclareUnicodeCharacter{1F94}{\ensuregreek{\@tabacckludge>'\texteta\ypogegrammeni}} % ᾔ +\DeclareUnicodeCharacter{1F95}{\ensuregreek{\@tabacckludge>'\texteta\ypogegrammeni}} % ᾕ +\DeclareUnicodeCharacter{1F96}{\ensuregreek{\@tabacckludge~>\texteta\ypogegrammeni}} % ᾖ +\DeclareUnicodeCharacter{1F97}{\ensuregreek{\@tabacckludge~<\texteta\ypogegrammeni}} % ᾗ +\DeclareUnicodeCharacter{1F98}{\ensuregreek{\@tabacckludge>\textEta\prosgegrammeni}} % ᾘ +\DeclareUnicodeCharacter{1F99}{\ensuregreek{\@tabacckludge<\textEta\prosgegrammeni}} % ᾙ +\DeclareUnicodeCharacter{1F9A}{\ensuregreek{\@tabacckludge>`\textEta\prosgegrammeni}} % ᾚ +\DeclareUnicodeCharacter{1F9B}{\ensuregreek{\@tabacckludge<`\textEta\prosgegrammeni}} % ᾛ +\DeclareUnicodeCharacter{1F9C}{\ensuregreek{\@tabacckludge>'\textEta\prosgegrammeni}} % ᾜ +\DeclareUnicodeCharacter{1F9D}{\ensuregreek{\@tabacckludge>'\textEta\prosgegrammeni}} % ᾝ +\DeclareUnicodeCharacter{1F9E}{\ensuregreek{\@tabacckludge~>\textEta\prosgegrammeni}} % ᾞ +\DeclareUnicodeCharacter{1F9F}{\ensuregreek{\@tabacckludge~<\textEta\prosgegrammeni}} % ᾟ -\DeclareUnicodeCharacter{1FA0}{\ensuregreek{\@tabacckludge>\textomega|}} % ᾠ -\DeclareUnicodeCharacter{1FA1}{\ensuregreek{\@tabacckludge<\textomega|}} % ᾡ -\DeclareUnicodeCharacter{1FA2}{\ensuregreek{\@tabacckludge>`\textomega|}} % ᾢ -\DeclareUnicodeCharacter{1FA3}{\ensuregreek{\@tabacckludge<`\textomega|}} % ᾣ -\DeclareUnicodeCharacter{1FA4}{\ensuregreek{\@tabacckludge>'\textomega|}} % ᾤ -\DeclareUnicodeCharacter{1FA5}{\ensuregreek{\@tabacckludge>'\textomega|}} % ᾥ -\DeclareUnicodeCharacter{1FA6}{\ensuregreek{\@tabacckludge~>\textomega|}} % ᾦ -\DeclareUnicodeCharacter{1FA7}{\ensuregreek{\@tabacckludge~<\textomega|}} % ᾧ -\DeclareUnicodeCharacter{1FA8}{\ensuregreek{\@tabacckludge>\textOmega|}} % ᾨ -\DeclareUnicodeCharacter{1FA9}{\ensuregreek{\@tabacckludge<\textOmega|}} % ᾩ -\DeclareUnicodeCharacter{1FAA}{\ensuregreek{\@tabacckludge>`\textOmega|}} % ᾪ -\DeclareUnicodeCharacter{1FAB}{\ensuregreek{\@tabacckludge<`\textOmega|}} % ᾫ -\DeclareUnicodeCharacter{1FAC}{\ensuregreek{\@tabacckludge>'\textOmega|}} % ᾬ -\DeclareUnicodeCharacter{1FAD}{\ensuregreek{\@tabacckludge>'\textOmega|}} % ᾭ -\DeclareUnicodeCharacter{1FAE}{\ensuregreek{\@tabacckludge~>\textOmega|}} % ᾮ -\DeclareUnicodeCharacter{1FAF}{\ensuregreek{\@tabacckludge~<\textOmega|}} % ᾯ +\DeclareUnicodeCharacter{1FA0}{\ensuregreek{\@tabacckludge>\textomega\ypogegrammeni}} % ᾠ +\DeclareUnicodeCharacter{1FA1}{\ensuregreek{\@tabacckludge<\textomega\ypogegrammeni}} % ᾡ +\DeclareUnicodeCharacter{1FA2}{\ensuregreek{\@tabacckludge>`\textomega\ypogegrammeni}} % ᾢ +\DeclareUnicodeCharacter{1FA3}{\ensuregreek{\@tabacckludge<`\textomega\ypogegrammeni}} % ᾣ +\DeclareUnicodeCharacter{1FA4}{\ensuregreek{\@tabacckludge>'\textomega\ypogegrammeni}} % ᾤ +\DeclareUnicodeCharacter{1FA5}{\ensuregreek{\@tabacckludge>'\textomega\ypogegrammeni}} % ᾥ +\DeclareUnicodeCharacter{1FA6}{\ensuregreek{\@tabacckludge~>\textomega\ypogegrammeni}} % ᾦ +\DeclareUnicodeCharacter{1FA7}{\ensuregreek{\@tabacckludge~<\textomega\ypogegrammeni}} % ᾧ +\DeclareUnicodeCharacter{1FA8}{\ensuregreek{\@tabacckludge>\textOmega\prosgegrammeni}} % ᾨ +\DeclareUnicodeCharacter{1FA9}{\ensuregreek{\@tabacckludge<\textOmega\prosgegrammeni}} % ᾩ +\DeclareUnicodeCharacter{1FAA}{\ensuregreek{\@tabacckludge>`\textOmega\prosgegrammeni}} % ᾪ +\DeclareUnicodeCharacter{1FAB}{\ensuregreek{\@tabacckludge<`\textOmega\prosgegrammeni}} % ᾫ +\DeclareUnicodeCharacter{1FAC}{\ensuregreek{\@tabacckludge>'\textOmega\prosgegrammeni}} % ᾬ +\DeclareUnicodeCharacter{1FAD}{\ensuregreek{\@tabacckludge>'\textOmega\prosgegrammeni}} % ᾭ +\DeclareUnicodeCharacter{1FAE}{\ensuregreek{\@tabacckludge~>\textOmega\prosgegrammeni}} % ᾮ +\DeclareUnicodeCharacter{1FAF}{\ensuregreek{\@tabacckludge~<\textOmega\prosgegrammeni}} % ᾯ \DeclareUnicodeCharacter{1FB0}{\ensuregreek{\u\textalpha}} % ᾰ \DeclareUnicodeCharacter{1FB1}{\ensuregreek{\@tabacckludge=\textalpha}} % ᾱ -\DeclareUnicodeCharacter{1FB2}{\ensuregreek{\@tabacckludge`\textalpha|}} % ᾲ -\DeclareUnicodeCharacter{1FB3}{\ensuregreek{\textalpha|}} % ᾳ -\DeclareUnicodeCharacter{1FB4}{\ensuregreek{\@tabacckludge'\textalpha|}} % ᾴ +\DeclareUnicodeCharacter{1FB2}{\ensuregreek{\@tabacckludge`\textalpha\ypogegrammeni}} % ᾲ +\DeclareUnicodeCharacter{1FB3}{\ensuregreek{\textalpha\ypogegrammeni}} % ᾳ +\DeclareUnicodeCharacter{1FB4}{\ensuregreek{\@tabacckludge'\textalpha\ypogegrammeni}} % ᾴ \DeclareUnicodeCharacter{1FB6}{\ensuregreek{\~\textalpha}} % ᾶ -\DeclareUnicodeCharacter{1FB7}{\ensuregreek{\~\textalpha|}} % ᾷ +\DeclareUnicodeCharacter{1FB7}{\ensuregreek{\~\textalpha\ypogegrammeni}} % ᾷ \DeclareUnicodeCharacter{1FB8}{\ensuregreek{\u\textAlpha}} % Ᾰ \DeclareUnicodeCharacter{1FB9}{\ensuregreek{\@tabacckludge=\textAlpha}} % Ᾱ \DeclareUnicodeCharacter{1FBA}{\ensuregreek{\@tabacckludge`\textAlpha}} % Ὰ \DeclareUnicodeCharacter{1FBB}{\ensuregreek{\@tabacckludge'\textAlpha}} % Ά -\DeclareUnicodeCharacter{1FBC}{\ensuregreek{\textAlpha|}} % ᾼ +\DeclareUnicodeCharacter{1FBC}{\ensuregreek{\textAlpha\prosgegrammeni}} % ᾼ \DeclareUnicodeCharacter{1FBD}{\ensuregreek{\@tabacckludge>\textcompwordmark}} % ᾽ -\DeclareUnicodeCharacter{1FBE}{\textcompwordmark\prosgegrammeni} % ι +\DeclareUnicodeCharacter{1FBE}{\textcompwordmark\prosgegrammeni} % ι \DeclareUnicodeCharacter{1FBF}{\ensuregreek{\@tabacckludge>\textcompwordmark}} % ᾿ \DeclareUnicodeCharacter{1FC0}{\ensuregreek{\~\textcompwordmark}} % ῀ \DeclareUnicodeCharacter{1FC1}{\ensuregreek{\"\~\textcompwordmark}} % ῁ -\DeclareUnicodeCharacter{1FC2}{\ensuregreek{\@tabacckludge`\texteta|}} % ῂ -\DeclareUnicodeCharacter{1FC3}{\ensuregreek{\texteta|}} % ῃ -\DeclareUnicodeCharacter{1FC4}{\ensuregreek{\@tabacckludge'\texteta|}} % ῄ +\DeclareUnicodeCharacter{1FC2}{\ensuregreek{\@tabacckludge`\texteta\ypogegrammeni}} % ῂ +\DeclareUnicodeCharacter{1FC3}{\ensuregreek{\texteta\ypogegrammeni}} % ῃ +\DeclareUnicodeCharacter{1FC4}{\ensuregreek{\@tabacckludge'\texteta\ypogegrammeni}} % ῄ \DeclareUnicodeCharacter{1FC6}{\ensuregreek{\~\texteta}} % ῆ -\DeclareUnicodeCharacter{1FC7}{\ensuregreek{\~\texteta|}} % ῇ +\DeclareUnicodeCharacter{1FC7}{\ensuregreek{\~\texteta\ypogegrammeni}} % ῇ \DeclareUnicodeCharacter{1FC8}{\ensuregreek{\@tabacckludge`\textEpsilon}} % Ὲ \DeclareUnicodeCharacter{1FC9}{\ensuregreek{\@tabacckludge'\textEpsilon}} % Έ \DeclareUnicodeCharacter{1FCA}{\ensuregreek{\@tabacckludge`\textEta}} % Ὴ \DeclareUnicodeCharacter{1FCB}{\ensuregreek{\@tabacckludge'\textEta}} % Ή -\DeclareUnicodeCharacter{1FCC}{\ensuregreek{\textEta|}} % ῌ +\DeclareUnicodeCharacter{1FCC}{\ensuregreek{\textEta\prosgegrammeni}} % ῌ \DeclareUnicodeCharacter{1FCD}{\ensuregreek{\@tabacckludge>`\textcompwordmark}} % ῍ \DeclareUnicodeCharacter{1FCE}{\ensuregreek{\@tabacckludge>'\textcompwordmark}} % ῎ \DeclareUnicodeCharacter{1FCF}{\ensuregreek{\@tabacckludge~>\textcompwordmark}} % ῏ @@ -465,8 +479,8 @@ to be used together with this file.</p> \DeclareUnicodeCharacter{1FE1}{\ensuregreek{\@tabacckludge=\textupsilon}} % ῡ \DeclareUnicodeCharacter{1FE2}{\ensuregreek{\`"\textupsilon}} % not \"`... % ῢ \DeclareUnicodeCharacter{1FE3}{\ensuregreek{\'"\textupsilon}} % not \"'... % ΰ -\DeclareUnicodeCharacter{1FE4}{\ensuregreek{\@tabacckludge>r}} % ῤ -\DeclareUnicodeCharacter{1FE5}{\ensuregreek{\@tabacckludge<r}} % ῥ +\DeclareUnicodeCharacter{1FE4}{\ensuregreek{\@tabacckludge>\textrho}} % ῤ +\DeclareUnicodeCharacter{1FE5}{\ensuregreek{\@tabacckludge<\textrho}} % ῥ \DeclareUnicodeCharacter{1FE6}{\ensuregreek{\~\textupsilon}} % ῦ \DeclareUnicodeCharacter{1FE7}{\ensuregreek{\~"\textupsilon}} % ῧ \DeclareUnicodeCharacter{1FE8}{\ensuregreek{\u\textUpsilon}} % Ῠ @@ -478,16 +492,16 @@ to be used together with this file.</p> \DeclareUnicodeCharacter{1FEE}{\ensuregreek{\'"\textcompwordmark}} % ΅ \DeclareUnicodeCharacter{1FEF}{\ensuregreek{\@tabacckludge`\textcompwordmark}} % ` -\DeclareUnicodeCharacter{1FF2}{\ensuregreek{\@tabacckludge`\textomega|}} % ῲ -\DeclareUnicodeCharacter{1FF3}{\ensuregreek{\textomega|}} % ῳ -\DeclareUnicodeCharacter{1FF4}{\ensuregreek{\@tabacckludge'\textomega|}} % ῴ +\DeclareUnicodeCharacter{1FF2}{\ensuregreek{\@tabacckludge`\textomega\ypogegrammeni}} % ῲ +\DeclareUnicodeCharacter{1FF3}{\ensuregreek{\textomega\ypogegrammeni}} % ῳ +\DeclareUnicodeCharacter{1FF4}{\ensuregreek{\@tabacckludge'\textomega\ypogegrammeni}} % ῴ \DeclareUnicodeCharacter{1FF6}{\ensuregreek{\~\textomega}} % ῶ -\DeclareUnicodeCharacter{1FF7}{\ensuregreek{\~\textomega|}} % ῷ +\DeclareUnicodeCharacter{1FF7}{\ensuregreek{\~\textomega\ypogegrammeni}} % ῷ \DeclareUnicodeCharacter{1FF8}{\ensuregreek{\@tabacckludge`\textOmicron}} % Ὸ \DeclareUnicodeCharacter{1FF9}{\ensuregreek{\@tabacckludge'\textOmicron}} % Ό \DeclareUnicodeCharacter{1FFA}{\ensuregreek{\@tabacckludge`\textOmega}} % Ὼ \DeclareUnicodeCharacter{1FFB}{\ensuregreek{\@tabacckludge'\textOmega}} % Ώ -\DeclareUnicodeCharacter{1FFC}{\ensuregreek{\textOmega|}} % ῼ +\DeclareUnicodeCharacter{1FFC}{\ensuregreek{\textOmega\prosgegrammeni}} % ῼ \DeclareUnicodeCharacter{1FFD}{\ensuregreek{\@tabacckludge'\textcompwordmark}} % ´ \DeclareUnicodeCharacter{1FFE}{\ensuregreek{\@tabacckludge<\textcompwordmark}} % ῾ </pre> @@ -509,7 +523,7 @@ to be used together with this file.</p> </div> <div class="section" id="ancient-greek-numbers"> <h2>Ancient Greek Numbers</h2> -<p>TODO: map other chars to corresponding Greek letters. +<p>TODO: map other chars to corresponding Greek letters? See also the <a class="reference external" href="http://www.ctan.org/pkg/grnumalt">grnumalt</a> package:</p> <pre class="literal-block">\DeclareUnicodeCharacter{10144}{\textpentedeka} % GREEK ACROPHONIC ATTIC FIFTY \DeclareUnicodeCharacter{10145}{\textpentehekaton} % GREEK ACROPHONIC ATTIC FIVE HUNDRED diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/test-iso-8859-7.pdf b/Master/texmf-dist/doc/latex/greek-inputenc/test-iso-8859-7.pdf Binary files differindex 693a0d12d56..b35297fe9f0 100644 --- a/Master/texmf-dist/doc/latex/greek-inputenc/test-iso-8859-7.pdf +++ b/Master/texmf-dist/doc/latex/greek-inputenc/test-iso-8859-7.pdf diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/test-utf8.pdf b/Master/texmf-dist/doc/latex/greek-inputenc/test-utf8.pdf Binary files differindex f24228b97d5..e1d32feb5df 100644 --- a/Master/texmf-dist/doc/latex/greek-inputenc/test-utf8.pdf +++ b/Master/texmf-dist/doc/latex/greek-inputenc/test-utf8.pdf diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/test-utf8.tex b/Master/texmf-dist/doc/latex/greek-inputenc/test-utf8.tex index 34948147234..eaea2b47961 100644 --- a/Master/texmf-dist/doc/latex/greek-inputenc/test-utf8.tex +++ b/Master/texmf-dist/doc/latex/greek-inputenc/test-utf8.tex @@ -4,7 +4,8 @@ \usepackage[utf8]{inputenc} %\usepackage{textalpha} \usepackage{textcomp} -\usepackage{hyperref,bookmark} +\usepackage[colorlinks]{hyperref} +\usepackage{bookmark} \usepackage{parskip} \usepackage{booktabs} @@ -14,51 +15,76 @@ % The document should work with and without babel: \usepackage[greek,english]{babel} -% \usepackage[polutonikogreek,english]{babel} -% revert the polutonikogreek definition of \~: -% \addto\extraspolutonikogreek{\renewcommand*{\~}{\a~}} -% \addto\extrasgreek{\renewcommand*{\~}{\a~}} +\languageattribute{greek}{polutoniko} % from textalpha.sty: \DeclareTextCommandDefault{\ensuregreek}[1]{{\fontencoding{LGR}\selectfont #1}} \begin{document} -\section*{Greek Unicode with \texttt{lgrenc.dfu}} +\title{Greek Unicode with \emph{inputenc}} +\author{Günter Milde} +\maketitle + +\abstract{ +The definitions in \texttt{lgrenc.dfu} provide UTF-8 support for Greek based +on \href{http://www.ctan.org/pkg/inputenc}{inputenc} and the LICRs (LaTeX +internal character representations) defined in \texttt{lgrenc.def} from the +\href{http://www.ctan.org/pkg/greek-fontec}{greek-fontec} package. +} -The definitions in \texttt{lgrenc.dfu} provide standards-compatible UTF-8 -support for Greek based on the LICRs (LaTeX internal character -representations) defined in \texttt{lgrenc.def} from the ``greek-fontec'' -package. -Like other \emph{inputenc} Unicode definitions, they only work for text -in the correct font encoding (in this case LGR). +\section{Usage} + +If the \emph{greek-fontenc} package is installed, the line +\begin{verbatim} + \usepackage[utf8]{inputenc} +\end{verbatim} +in the document preamble allows the use of Greek Unicode literals in the +document body, if the current font encoding is LGR.\footnote{% +All \emph{inputenc} Unicode definitions only work for text in the correct +font encoding.} % e.g. Π produces: % ! LaTeX Error: Command \textPi unavailable in encoding T1. % just like Ж produces: % ! LaTeX Error: Command \CYRZH unavailable in encoding T1. % -The font encoding is automatically set to LGR by babel for the languages -\emph{greek} and \emph{polutonikogreek}. - -With the combination +(The font encoding is automatically set to LGR by babel for the +\emph{greek} language.) + +In combination with the \emph{textalpha} package from +\href{http://www.ctan.org/pkg/lgrx}{lgrx}, Greek Unicode literals can be +used in text with any font encoding just like the symbols provided by +package ``textcomp'' (i.e. with some limitations to kerning, +MakeUppercase/MakeLowercase and multiple accents, described in +\texttt{textalpha-test} from the ``lgrx'' package): % \begin{verbatim} \usepackage[utf8]{inputenc} \usepackage{textalpha} \end{verbatim} + +In combination with the \emph{alphabeta} package (also from +\href{http://www.ctan.org/pkg/lgrx}{lgrx}), +Greek Unicode literals can also be used in math mode: % -Greek Unicode literals can be used in text with any font encoding just like -the symbols provided by package ``textcomp'' (i.e. with some -limitations to kerning, MakeUppercase/MakeLowercase and multiple accents, -described in \texttt{textalpha-test} from the ``lgrx'' package). +\begin{verbatim} + \usepackage[utf8]{inputenc} + \usepackage{alphabeta} +\end{verbatim} \section{Supported Characters} +LGR is no ``standard font encoding''. Latin characters are mapped to Greek +if LGR is the active font encoding. This means you need an explicit +font-encoding switch for Latin words and abbreviations in Greek text. + Unicode definitions exist for all non-ASCII characters that can be rendered with an LGR-encoded font. +\pagebreak + \subsection{Greek and Coptic} legend: * glyph missing in LGR, [space] Unicode point not defined @@ -172,7 +198,7 @@ Therefore, the diaresis is missing in the following examples: ἀυπνία $\mapsto$ \MakeUppercase{ἀυπνία}}. Fixing this shortcoming requires knowledge of what the -\verb+\LGR@ifnextchar+ ``sees'' when the next character is an upcased +\verb+\LGR@ifnextchar+ ``sees'' when the next character is an upcased Unicode literal. As an ugly workaround, use \verb+\textiota+ resp. \verb+\textupsilon+ @@ -222,7 +248,7 @@ MakeLowercase: The lowercase of \ensuregreek{Σ} is the «auto-sigma» (\verb+\textautosigma+): \ensuregreek{ΣΣ $\mapsto$ \MakeLowercase{ΣΣ}}. Add a ZWNJ or use the \verb+\noboundary+ macro to prevent conversion to final sigma: -\ensuregreek{\MakeLowercase{ΣΣ}}. The lowercase of GREEK LETTER STIGMA +\ensuregreek{\MakeLowercase{ΣΣ}}. The lowercase of GREEK LETTER STIGMA \ensuregreek{Ϛ} is \ensuregreek{\MakeLowercase{Ϛ}}. \newpage |