summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/babel-greek
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-08-06 22:50:27 +0000
committerKarl Berry <karl@freefriends.org>2014-08-06 22:50:27 +0000
commita6e66f64c0294a969fc47bfa9c784cad40d0555c (patch)
tree3d908f5929a89a8c8b83103f0f522064ebac824d /Master/texmf-dist/doc/generic/babel-greek
parentc29bf84e74c53725373f5ae4f092b4864dbfa1d6 (diff)
babel-greek (5aug14)
git-svn-id: svn://tug.org/texlive/trunk@34857 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/babel-greek')
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/README9
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/README.html13
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/babel-greek.pdfbin252709 -> 257429 bytes
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-greek.pdfbin183472 -> 183339 bytes
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-greek.tex60
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.pdfbin59837 -> 59808 bytes
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.tex19
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.pdfbin39295 -> 37819 bytes
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-unicode-lgr.tex16
9 files changed, 74 insertions, 43 deletions
diff --git a/Master/texmf-dist/doc/generic/babel-greek/README b/Master/texmf-dist/doc/generic/babel-greek/README
index 36ba8455ce6..3e4aa2ab90c 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/README
+++ b/Master/texmf-dist/doc/generic/babel-greek/README
@@ -25,7 +25,7 @@ News
.. class:: borderless
-===== ========== ===========================================================
+===== ========== ============================================================
1.4 2013-05-17 New maintainer.
.. The encoding definition file ``lgrenc.def`` moved to the
greek-fontenc_ package.
@@ -45,7 +45,10 @@ News
.. Compatibility with Xe/LuaTeX in Unicode and 8-bit mode.
1.8a 2013-12-03 Set ``\encodingdefault`` in ``\greekscript`` to fix
Greek in footnotes etc. with document language Greek.
-===== ========== ===========================================================
+1.9 2014-07-20 Added attribute for ancient Greek, load correct hyphenation
+ patterns: Patch by Claudio Beccari. Bugfix for Makeuppercase
+
+===== ========== ============================================================
.. _babel/4303: http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=babel/4303
@@ -77,7 +80,7 @@ Otherwise, make sure LaTeX can find the required files:
* Download and unpack `babel-greek.zip`.
-* Run ``tex`` or ``latex`` on the batch file ``greek.ins``.
+* Run ``tex`` or ``latex`` on the batch file ``babel-greek.ins``.
* Move all files ending in ``.ldf`` or ``.sty`` into a directory searched by
TeX.
diff --git a/Master/texmf-dist/doc/generic/babel-greek/README.html b/Master/texmf-dist/doc/generic/babel-greek/README.html
index adf7d7009c3..6fab0163d1f 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/README.html
+++ b/Master/texmf-dist/doc/generic/babel-greek/README.html
@@ -6,8 +6,8 @@
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>babel-greek</title>
<meta name="copyright" content="© 1997 Apostolos Syropoulos, Claudio Beccari, Johannes Brahms, © 2013 Günter Milde" />
-<link rel="stylesheet" href="../../../../../Python/docutils-svn/docutils/docutils/writers/html4strict/html4css1.css" type="text/css" />
-<link rel="stylesheet" href="../../../../../Python/docutils-svn/docutils/docutils/writers/html4strict/html4css2.css" type="text/css" />
+<link rel="stylesheet" href="../../../../../Code/Python/docutils-svn/docutils/docutils/writers/html4strict/html4css1.css" type="text/css" />
+<link rel="stylesheet" href="../../../../../Code/Python/docutils-svn/docutils/docutils/writers/html4strict/html4css2.css" type="text/css" />
</head>
<body>
<div class="document" id="babel-greek">
@@ -39,7 +39,7 @@ Greek language and script via the <a class="reference external" href="http://www
<table class="borderless">
<colgroup>
<col width="7%" />
-<col width="14%" />
+<col width="13%" />
<col width="80%" />
</colgroup>
<tbody>
@@ -112,6 +112,11 @@ shows the right documentation.</p></td>
<td><p>Set <tt class="literal">\encodingdefault</tt> in <tt class="literal">\greekscript</tt> to fix
Greek in footnotes etc. with document language Greek.</p></td>
</tr>
+<tr><td><p>1.9</p></td>
+<td><p>2014-07-20</p></td>
+<td><p>Added attribute for ancient Greek, load correct hyphenation
+patterns: Patch by Claudio Beccari. Bugfix for Makeuppercase</p></td>
+</tr>
</tbody>
</table>
</div>
@@ -132,7 +137,7 @@ manager.</p>
<p>Otherwise, make sure LaTeX can find the required files:</p>
<ul class="simple">
<li><p>Download and unpack <cite>babel-greek.zip</cite>.</p></li>
-<li><p>Run <tt class="literal">tex</tt> or <tt class="literal">latex</tt> on the batch file <tt class="literal">greek.ins</tt>.</p></li>
+<li><p>Run <tt class="literal">tex</tt> or <tt class="literal">latex</tt> on the batch file <tt class="literal"><span class="pre">babel-greek.ins</span></tt>.</p></li>
<li><p>Move all files ending in <tt class="literal">.ldf</tt> or <tt class="literal">.sty</tt> into a directory searched by
TeX.</p></li>
<li><p>To produce the documentation run the files <tt class="literal">usage.tex</tt> and all files
diff --git a/Master/texmf-dist/doc/generic/babel-greek/babel-greek.pdf b/Master/texmf-dist/doc/generic/babel-greek/babel-greek.pdf
index dcbbe84e439..85117e5d24f 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/babel-greek.pdf
+++ b/Master/texmf-dist/doc/generic/babel-greek/babel-greek.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/babel-greek/test-greek.pdf b/Master/texmf-dist/doc/generic/babel-greek/test-greek.pdf
index e4c9306d8df..0a54e6db66b 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/test-greek.pdf
+++ b/Master/texmf-dist/doc/generic/babel-greek/test-greek.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/babel-greek/test-greek.tex b/Master/texmf-dist/doc/generic/babel-greek/test-greek.tex
index 75db933b4f0..fd837430b08 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/test-greek.tex
+++ b/Master/texmf-dist/doc/generic/babel-greek/test-greek.tex
@@ -2,11 +2,17 @@
\usepackage[LGR,T1]{fontenc}
% Xe/LuaTeX in 8-bit compatibility mode:
-% TODO: hyphenation in Greek text parts fails!
-\ifdefined \XeTeXrevision
+% hyphenation in Greek text parts fails!
+% (would require the 8-bit, LGR-encoded patterns in the XeTeX ini and a
+% loader fix for luatex).
+
+% TODO: why does XeTeXinputencoding "bytes" no longer work with inputenc's
+% utf8 option?
+\ifdefined \XeTeXrevision
\XeTeXinputencoding "bytes"
\fi
-\ifdefined\luatexversion
+
+\ifdefined\luatexversion
\usepackage[utf8]{luainputenc}
\else
\usepackage[utf8]{inputenc}
@@ -21,9 +27,26 @@
% \usepackage{kerkis}
% \usepackage{gfsdidot}
+% Load the Babel package with Greek and English language definitions:
+%
+% Uncomment the desired language variant
+
+% Default: modern monotonic Greek
\usepackage[greek,english]{babel}
+% Obsolete: used instead of `greek', kept for backwards compatibility:
+% \usepackage[polutonikogreek,english]{babel}
+
+% For backwards compatibility, you can also use
+% \selectlanguage{polutonikogreek} instead of \selectlanguage{greek} etc.
+% if the (modern) polytonic Greek language variant is selected.
+
+% uncomment for modern polytonic Greek
% \languageattribute{greek}{polutoniko}
-\message{Latin encoding is \latinencoding}
+
+% uncomment for ancient Greek
+\languageattribute{greek}{ancient}
+
+% \message{Latin encoding is \latinencoding}
\DeclareTextCommandDefault{\ensuregreek}{\textgreek}
@@ -46,7 +69,7 @@ The declaration \verb|\selectlanguage| switches between languages.
\end{quote}
The macro \verb|\foreignlanguage| sets its second argument in the specified
-language. This is intended for short text parts like
+language. This is intended for short text parts like
\foreignlanguage{greek}{Βιβλιοθήκη}.
\section{Font Encoding}
@@ -86,13 +109,13 @@ To prevent Roman numerals being typeset in Greek letters we need to adopt
the internal LaTeX commands. Note that this may cause errors when roman
numerals are used in a situation where the macros need to be expanded:
-\makeatletter
+\makeatletter
Greek: \ensuregreek{
\@roman{1}, \@roman{2}, \@roman{3}, \@roman{4}, \ldots, \@roman{1975}
\@Roman{1}, \@Roman{2}, \@Roman{3}, \@Roman{4}, \ldots, \@Roman{1975}
}
-Latin:
+Latin:
\@roman{1}, \@roman{2}, \@roman{3}, \@roman{4}, \ldots, \@roman{1975}
\@Roman{1}, \@Roman{2}, \@Roman{3}, \@Roman{4}, \ldots, \@Roman{1975}
\makeatother
@@ -108,14 +131,19 @@ all input variants of diacritics with dialytika. (Babel has ``composite
command'' definitions to ensure this also works for accent characters
"upcased" to the charcter No 159.)
-\foreignlanguage{greek}{\"i \"'i \"`i \"~i \'"i \`"i \~"i
- \"u \"\'u \"\`u \"\~u
-$\mapsto$ \MakeUppercase{\"i \"'i \"`i \"~i \'"i \`"i \~"i
- \"u \"\'u \"\`u \"\~u }}
+\foreignlanguage{greek}{\"i \"'i \"`i \"~i \'"i \`"i \~"i
+ \"u \"\'u \"\`u \"\~u
+ ϊ ΐ ῒ ῗ ΐ ῒ ῗ ϋ ΰ ῢ ῧ
+ $\mapsto$ \MakeUppercase{\"i \"'i \"`i \"~i \'"i \`"i \~"i
+ \"u \"\'u \"\`u \"\~u
+ ϊ ΐ ῒ ῗ ΐ ῒ ῗ ϋ ΰ ῢ ῧ
+ }
+}
+
Tonos and dasia mark a \emph{hiatus} (break-up of a diphtong) if
-placed on the first vowel of a diphtong
-(\ensuregreek{\'ai, \'au, \'ei, \'>ai, \>'au, \>'ei}).
+placed on the first vowel of a diphtong
+(\ensuregreek{\'ai, \'au, \'ei, \'>ai, \>'au, \>'ei}).
A dialytika must be placed on the second vowel if they are dropped:
(\ensuregreek{\MakeUppercase{\'ai, \'au, \'ei, \'>ai, \>'au, \>'ei}}).
@@ -173,7 +201,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{Ϛ}} not \verb|\textvarstigma|
(\ensuregreek\textvarstigma).
@@ -199,7 +227,7 @@ Characters of the Greek extended Unicode block:
῀ ῁ ῂ ῃ ῄ ῆ ῇ Ὲ Έ Ὴ Ή ῌ ῍ ῎ ῏ \\
ῐ ῑ ῒ ΐ ῖ ῗ Ῐ Ῑ Ὶ Ί ῝ ῞ ῟ \\
ῠ ῡ ῢ ΰ ῤ ῥ ῦ ῧ Ῠ Ῡ Ὺ Ύ Ῥ ῭ ΅ ` \\
- ῲ ῳ ῴ ῶ ῷ Ὸ Ό Ὼ Ώ ῼ ´ ῾
+ ῲ ῳ ῴ ῶ ῷ Ὸ Ό Ὼ Ώ ῼ ´ ῾
\selectlanguage{english}
MakeUppercase:
@@ -344,7 +372,7 @@ Some examples:
Enumerated lists use Greek numerals in the second and fourth level:
-\selectlanguage{greek}
+\selectlanguage{greek}
\begin{enumerate}
\item \textlatin{Item} 1
\begin{enumerate}
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
index 318f4776189..fa977e2bf0c 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
Binary files differ
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 e0e233f03d5..65f6e606338 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
@@ -11,6 +11,7 @@
\usepackage[greek,english]{babel}
% \languageattribute{greek}{polutoniko}
+\languageattribute{greek}{ancient}
\message{greek-euenc ist}
\makeatletter
@@ -76,12 +77,14 @@ command which in turn calls \verb|\latintext|. (For customization, you can
add to or redefine the \verb|\noextrasgreek| command.)
% don't change the font encoding.
-Latin characters can be used in Greek text parts,
-input via the Latin transcription defined in LGR is not possible.%
+With the Unicode font encodings EU1 (XeTeX) or EU2 (LuaTeX),
+Latin characters can be used in Greek text parts and
+input via the «CB Latin transcription» is not possible.%
\footnote{%
The \emph{xunicode} package provides with the \texttt{tipa} emulation an
- example how this could be achieved if really required.
- }
+ example how this could be achieved also for Unicode fonts. Alternatively,
+ LGR encoded fonts can be used (see test-unicode-lgr.tex).
+}
\begin{quote}
\greekscript Φίλων τοῦ \textlatin{TeX} (ΕΦΤ) --
@@ -380,8 +383,11 @@ 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). If you prefer the
-"normal" enumeration, write in the preamble after loading babel:
+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
+loading babel:
\begin{verbatim}
\makeatletter
@@ -390,4 +396,5 @@ miss the numeral signs (dexiakeraia and aristerikeraia). If you prefer the
\makeatother
\end{verbatim}
+
\end{document}
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
index 6dc3bd1b53a..1c25d9e249f 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
Binary files differ
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 5e5711f2313..95f85ceb733 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
@@ -5,13 +5,13 @@
% Declare the font encoding and Greek LICR definitions:
\usepackage[LGR]{fontenc}
-\usepackage{textalpha}[2013/09/11]
% Set up Latin Modern OpenType unicode font
\usepackage{fontspec}
\usepackage[greek,english]{babel}
% \languageattribute{greek}{polutoniko}
+% \languageattribute{greek}{ancient}
% use LGR (8-bit CB-fonts) instead of Unicode fonts for Greek:
% \renewcommand*{\greekscript}{\fontencoding{LGR}\selectfont}
@@ -30,7 +30,7 @@ Typesetting Greek texts requires a font containing Greek letters. With the
XeTeX or LuaTeX engines, the user must ensure that the selected font
contains the required glyphs (the default Latin Modern fonts miss them).
-Latin Modern can combined with the matching CB-Greek 8-bit font. For the
+Latin Modern can be combined with the matching CB-Greek 8-bit font. For the
setup, see the preamble of this document \texttt{test-unicode-lgr.tex}
Caveat: Currently, hyphenation does not work with this setup. Use it only
@@ -258,16 +258,4 @@ Enumerated lists use Greek characters/numerals in the second and fourth level:
\end{enumerate}
\selectlanguage{english}
-
-This may be problematic with fonts that only partially support Greek and
-miss the numeral signs (dexiakeraia and aristerikeraia). If you prefer the
-"normal" enumeration, write in the preamble after loading babel:
-
-\begin{verbatim}
- \makeatletter
- \addto\extrasgreek{\let\@alph\latin@alph
- \let\@Alph\latin@Alph}
- \makeatother
-\end{verbatim}
-
\end{document}