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/babel-greek/test-unicode-lgr.tex | |
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/babel-greek/test-unicode-lgr.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.tex | 18 |
1 files changed, 9 insertions, 9 deletions
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 |