diff options
author | Karl Berry <karl@freefriends.org> | 2016-02-05 23:32:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-02-05 23:32:05 +0000 |
commit | 3ca6acbfe0f0cc797d3c5b16ecfb2ee4833177fa (patch) | |
tree | e090501ec172b0ad6631b782ce7fb045ed69a65b /Master/texmf-dist/doc/generic | |
parent | 9608e590685bb87d511a137d0e36f51a69f656e9 (diff) |
babel-greek (5feb16)
git-svn-id: svn://tug.org/texlive/trunk@39583 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r-- | Master/texmf-dist/doc/generic/babel-greek/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/babel-greek/README.html | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/babel-greek/grsymb.pdf | bin | 118809 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.pdf | bin | 42138 -> 42893 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.tex | 32 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.pdf | bin | 43428 -> 37842 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.tex | 18 |
7 files changed, 34 insertions, 23 deletions
diff --git a/Master/texmf-dist/doc/generic/babel-greek/README b/Master/texmf-dist/doc/generic/babel-greek/README index 3f27710f468..5907774f79e 100644 --- a/Master/texmf-dist/doc/generic/babel-greek/README +++ b/Master/texmf-dist/doc/generic/babel-greek/README @@ -57,6 +57,8 @@ News .. Unicode uc/lc corrections now in greek-fontenc (polyglossia's ``xgreek-fixes.def`` has bugs). 1.9e 2015-11-27 Fix bug in lccode-setting loop (patch by Enrico Gregorio). +1.9f 2016-02-04 Support for standard Unicode text font encoding "TU" + (new in fontspec v2.5a). ===== ============ ============================================================ diff --git a/Master/texmf-dist/doc/generic/babel-greek/README.html b/Master/texmf-dist/doc/generic/babel-greek/README.html index c8fc8e3fa99..6f56f9dd890 100644 --- a/Master/texmf-dist/doc/generic/babel-greek/README.html +++ b/Master/texmf-dist/doc/generic/babel-greek/README.html @@ -689,6 +689,11 @@ This package is outdated and obsoleted by <a class="reference external" href="ht <td><p>2015-11-27</p></td> <td><p>Fix bug in lccode-setting loop (patch by Enrico Gregorio).</p></td> </tr> +<tr><td><p>1.9f</p></td> +<td><p>2016-02-04</p></td> +<td><p>Support for standard Unicode text font encoding “TU” +(new in fontspec v2.5a).</p></td> +</tr> </tbody> </table> </div> diff --git a/Master/texmf-dist/doc/generic/babel-greek/grsymb.pdf b/Master/texmf-dist/doc/generic/babel-greek/grsymb.pdf Binary files differdeleted file mode 100644 index 8a5340135c4..00000000000 --- a/Master/texmf-dist/doc/generic/babel-greek/grsymb.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.pdf b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.pdf Binary files differindex 86d8132386c..aecfed535f6 100644 --- a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.pdf +++ b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.pdf diff --git a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.tex b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.tex index 05bfd5e740e..c18a2ae54f2 100644 --- a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.tex +++ b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.tex @@ -4,7 +4,7 @@ \usepackage{bookmark} \usepackage{parskip} -\usepackage{fontspec} +\usepackage[tuenc]{fontspec} \setmainfont{Linux Libertine O} \setsansfont{Linux Biolinum O} % \setmainfont{DejaVu Serif} @@ -24,7 +24,7 @@ \title{Greek support for Babel with XeTeX/LuaTeX} \author{Günter Milde} -\date{2014/09/02} +\date{2016/02/04} \maketitle The babel option «greek» activates the support for the Greek language @@ -55,21 +55,23 @@ specified as first argument. This is intended for short text parts like Every language switch to \texttt{greek} calls the \verb|\extrasgreek| command which in turn calls \verb|\greekscript| to ensure a Greek-supporting -font encoding (LGR, EU1, or EU2). Under XeTeX/LuaTeX the font encoding -normally just remains Unicode (EU1 or EU2). (For customization, you can add -to or redefine the \verb|\extrasgreek| command.) +font encoding (LGR, TU, EU1, or EU2). Under XeTeX/LuaTeX the font encoding +normally just remains Unicode (TU, EU1, or EU2). For customization, you can +add to or redefine the \verb|\extrasgreek| command. The LGR font encoding does not support Latin characters. Therefore, the Babel core defines the declaration \verb|\latintext| and the command \verb|\textlatin| to switch to the T1 or OT1 font encoding or typeset the -argument using this encoding. \texttt{greek-fontenc} adds a test for EU1 and -EU2. At this point, the «latinencoding» is \latinencoding. +argument using this encoding. \texttt{babel-greek} adds a test for the +Unicode text encodings (TU, EU1, EU2). At this point, the «latinencoding» +is \latinencoding. Every language switch from \texttt{greek} calls the \verb|\noextrasgreek| -command which in turn calls \verb|\latintext|. (For customization, you can -add to or redefine the \verb|\noextrasgreek| command.) +command which in turn calls \verb|\latintext|.\\ +For customization, you can +add to or redefine the \verb|\noextrasgreek| command. -With the Unicode font encodings EU1 (XeTeX) or EU2 (LuaTeX), +With the Unicode font encodings TU, EU1 (XeTeX), or EU2 (LuaTeX), Latin characters can be used in Greek text parts and input via the «LGR Latin transcription» is not possible.% \footnote{% @@ -90,15 +92,16 @@ Babel defines macros for several autogenerated strings so that they may appear in the choosen language. \emph{babel-greek} uses LICR macros in order to let the string macros work independent of the font encoding. -If \texttt{fontspec} is loaded before babel, babel-greek loads Greek LICR -for EU1 or EU2 from the file \texttt{greek-euenc.def} provided with +If \emph{fontspec} is loaded, \emph{babel-greek} loads Greek LICR +definitions for the Unicode font encoding (TU, EU1 or EU2) from the file +\texttt{greek-euenc.def} provided with \href{http://www.ctan.org/pkg/greek-fontenc}{greek-fontenc} since version~0.10. With this setup, it is also possible to use accent macros instead of pre-composed Unicode characters for letters with diacritics: -«Τ\'ι φ\'ηις;», «\`<ορα». - +«Τ\'ι φ\'ηις;», «\`<ορα». \accdasiavaria ορα + \subsection{Captions} @@ -239,6 +242,7 @@ Enumerated lists use Greek characters/numerals in the second and fourth level: This may be problematic with fonts that only partially support Greek and miss the numeral signs (dexiakeraia and aristerikeraia). + You may redefine the commands \verb+\textdexiakeraia+ and \verb+\textaristerikeraia+ to some substitute characters. Or, if you prefer the ``normal'' enumeration, write in the preamble after diff --git a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.pdf b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.pdf Binary files differindex 4b8a0a840e3..0430906a939 100644 --- a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.pdf +++ b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.pdf diff --git a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.tex b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.tex index 405851c10df..af3502c071c 100644 --- a/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.tex +++ b/Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.tex @@ -7,7 +7,7 @@ \usepackage[LGR]{fontenc} % Set up Latin Modern OpenType unicode font -\usepackage{fontspec} +\usepackage[tuenc]{fontspec} \usepackage[greek,english]{babel} % \languageattribute{greek}{polutoniko} @@ -40,8 +40,8 @@ for short Greek quotes or as a last ressort. \section{Language Switch} -The declaration \verb|\selectlanguage| switches between languages. -With XeTeX/LuaTeX and LGR, Unicode input is not possible. Instead, use the +The declaration \verb|\selectlanguage| switches between languages. With +XeTeX or LuaTeX and LGR, Unicode input is not possible. Instead, use the Latin transliteration or LICR macros: \begin{quote} @@ -58,19 +58,19 @@ language. This is intended for short text parts like \section{Font Encoding} Switching to a font encoding supporting the Greek script is possible without -switching the Babel language using the declarations \verb|\greekscript| or +switching the text language using the declarations \verb|\greekscript| or \verb|\greektext| (always LGR) and the macros \verb|\ensuregreek| or \verb|\textgreek|. These commands do not start a new paragraph. The Babel core defines the declaration \verb|\latintext| and the command \verb|\textlatin| to switch to the T1 or OT1 font encoding or typeset the -argument using this encoding. \texttt{greek.ldf} adds a test for EU1 and -EU2, if the TeX engine is XeTeX or LuaTeX. Here, \verb|\latinencoding| was +argument using this encoding. \texttt{greek.ldf} adds a test for the Unicode +font encodings TU, EU1, and EU2. Here, \verb|\latinencoding| is \latinencoding. -With XeTeX or LuaTeX, the macros \verb|\greektext| and \verb|\textgreek| -are only defined, if the LGR font encoding is loaded via the -\texttt{fontenc} package (see test-unicode-lgr.tex). +With Unicode fonts, the macros \verb|\greektext| and \verb|\textgreek| are +only defined, if the LGR font encoding is loaded via the \texttt{fontenc} +package (see test-unicode-lgr.tex). % don't change the font encoding. With LGR, Latin characters in Greek text parts are typeset as Greek characters |