From 83583b57e8624e227242b9bc763bbe6e389280ed Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 29 Nov 2013 22:11:02 +0000 Subject: greek-fontenc (29nov13) git-svn-id: svn://tug.org/texlive/trunk@32276 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/greek-fontenc/diacritics.tex | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex') diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex index 121693f4531..e05f24b38d4 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex @@ -25,13 +25,15 @@ \usepackage{listings} \lstset{basicstyle=\ttfamily} -% Babel package:: +% Babel package: \usepackage{babel} -% revert the polutonikogreek definition of \~: -% not required with babel-greek >= 1.4 -% \addto\extraspolutonikogreek{\renewcommand*{\~}{\a~}} -% \addto\extrasgreek{\renewcommand*{\~}{\a~}} + +% With XeTeX/LuaTeX, load fontspec after babel to use Unicode +% fonts for Latin script and LGR for Greek: +\ifdefined\luatexversion \usepackage{fontspec}\fi +\ifdefined\XeTeXrevision \usepackage{fontspec}\fi + % "Lipsiakos" italic font `cbleipzig`: \newcommand*{\lishape}{\fontencoding{LGR}\fontfamily{cmr}% @@ -45,8 +47,9 @@ \section*{Greek diacritics with standard accent macros} -\texttt{lgrxenc.def} is a comprehensive font encoding definition file. -LICR macros are defined for all non-ASCII characters. +The font encoding definition file \texttt{lgrxenc.def} defines +LICR macros for all non-ASCII characters in the LGR font encoding. + Diacritics can be input using an extension of the standard macro commands with composite diacritics input as backslash followed by the LGR transliteration.% -- cgit v1.2.3