summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-10-01 21:34:20 +0000
committerKarl Berry <karl@freefriends.org>2013-10-01 21:34:20 +0000
commitac707efcff1e01a43f4a40a0444aab8b4d17f924 (patch)
tree726be5f63a6b6d6ee1ae26f7096ec3378913902f /Master/texmf-dist/doc
parent4e5ed8816b573edaebef454de0454b27fb4da604 (diff)
babel-greek (1oct13)
git-svn-id: svn://tug.org/texlive/trunk@31810 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/README14
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/README.html12
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/greek.pdfbin213566 -> 213463 bytes
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-greek.pdfbin190481 -> 189424 bytes
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-greek.tex51
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.pdfbin58010 -> 59438 bytes
-rw-r--r--Master/texmf-dist/doc/generic/babel-greek/test-unicode-greek.tex51
7 files changed, 85 insertions, 43 deletions
diff --git a/Master/texmf-dist/doc/generic/babel-greek/README b/Master/texmf-dist/doc/generic/babel-greek/README
index 0ea11d538dc..c7338a350e0 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/README
+++ b/Master/texmf-dist/doc/generic/babel-greek/README
@@ -39,6 +39,7 @@ News
1.7 2013-09-09 CB-Fonts font definition files moved to CB-Fonts package.
.. Do not auto-load euenc.def with XeTeX/LuaTeX.
1.7a 2013-09-13 Fix bug `babel/4360`_: spurious ``\fi``.
+1.7b 2013-10-01 bugfix: correct upcasing of babel strings with Xe/LuaTeX.
===== ========== ===========================================================
@@ -95,10 +96,10 @@ For polytonic greek, set the language attribute "polutoniko"::
\languageattribute{greek}{polutoniko}
When compiling with XeTeX or LuaTeX, it is recommended to load Greek LICR
-macro definitions via the greek-fontenc_ package (``greek-fontenc.sty``,
-added 2013-09-10 in version 0.9.4)::
+macro definitions via ``textalpha.sty`` or ``alphabeta.sty`` that are part
+of the greek-fontenc_ bundle since version 0.10 (2013-09-13)::
- \usepackage{greek-fontenc}
+ \usepackage{textalpha}
\usepackage[greek]{babel}
For details see `<usage.pdf>`_, `<greek.pdf>`_ and the babel_ documentation.
@@ -112,7 +113,7 @@ Greek text fonts
A list of Greek text fonts for use with LaTeX is available at the CTAN
http://www.ctan.org/topic/font-greek
-With the XeTeX or LuaTeX engines, the user should ensure that the choosen
+With the XeTeX or LuaTeX engines, the user should ensure that the chosen
font contains the required glyphs (the default Latin Modern fonts miss
them). Examples for suitable fonts are the CM-unicode_ or the `Linux
Libertine`_ OpenType fonts as well as any system-wide installed OTF fonts
@@ -132,9 +133,9 @@ font (see `<usage.pdf>`_).
A major drawback of this transliteration is, that you cannot access Latin
letters if LGR is the active font encoding (e.g. in documents or parts of
documents given the `Babel` language ``greek`` or ``polutionikogreek``).
-This means that for every Latin-written word or acronym an explicite
+This means that for every Latin-written word or acronym an explicit
language-switch is required. This problem can only be solved via a
-font-encoding comprising both Latin and Greek like the hypothetic T7 or
+font-encoding comprising both Latin and Greek like the hypothetical T7 or
Unicode (with XeTeX or LuaTeX).
@@ -153,7 +154,6 @@ Unicode (with XeTeX or LuaTeX).
.. _greek-inputenc: http://www.ctan.org/pkg/greek-inputenc
.. _GFS font collection: http://www.ctan.org/pkg/gfs
.. _Kerkis: http://www.ctan.org/pkg/kerkis
-.. _lgrx: http://www.ctan.org/pkg/lgrx
.. _Linux Libertine: http://www.ctan.org/pkg/libertine
.. _polyglossia: http://www.ctan.org/pkg/polyglossia
.. _substitutefont: http://www.ctan.org/pkg/substitutefont
diff --git a/Master/texmf-dist/doc/generic/babel-greek/README.html b/Master/texmf-dist/doc/generic/babel-greek/README.html
index 2a95c1c28f2..42085387bd3 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/README.html
+++ b/Master/texmf-dist/doc/generic/babel-greek/README.html
@@ -91,7 +91,11 @@ Greek language and script via the <a class="reference external" href="http://www
</tr>
<tr><td><p>1.7a</p></td>
<td><p>2013-09-13</p></td>
-<td><p>Fix <a class="reference external" href="http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=babel/4360">babel/4360</a>: spurious <tt class="literal">\fi</tt></p></td>
+<td><p>Fix bug <a class="reference external" href="http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=babel/4360">babel/4360</a>: spurious <tt class="literal">\fi</tt>.</p></td>
+</tr>
+<tr><td><p>1.7b</p></td>
+<td><p>2013-10-01</p></td>
+<td><p>bugfix: correct upcasing of babel strings with Xe/LuaTeX.</p></td>
</tr>
</tbody>
</table>
@@ -131,9 +135,9 @@ ending in <tt class="literal">.dtx</tt> through LaTeX.</p></li>
<pre class="literal-block">\languageattribute{greek}{polutoniko}
</pre>
<p>When compiling with XeTeX or LuaTeX, it is recommended to load Greek LICR
-macro definitions via the <a class="reference external" href="http://www.ctan.org/pkg/greek-fontenc">greek-fontenc</a> package (<tt class="literal"><span class="pre">greek-fontenc.sty</span></tt>,
-added 2013-09-10 in version 0.9.4):</p>
-<pre class="literal-block">\usepackage{greek-fontenc}
+macro definitions via <tt class="literal">textalpha.sty</tt> or <tt class="literal">alphabeta.sty</tt> that are part
+of the <a class="reference external" href="http://www.ctan.org/pkg/greek-fontenc">greek-fontenc</a> bundle since version 0.10 (2013-09-13):</p>
+<pre class="literal-block">\usepackage{textalpha}
\usepackage[greek]{babel}
</pre>
<p>For details see <a class="reference external" href="usage.pdf">usage.pdf</a>, <a class="reference external" href="greek.pdf">greek.pdf</a> and the <a class="reference external" href="http://www.ctan.org/pkg/babel">babel</a> documentation.
diff --git a/Master/texmf-dist/doc/generic/babel-greek/greek.pdf b/Master/texmf-dist/doc/generic/babel-greek/greek.pdf
index 32b4b17e172..a52873f3585 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/greek.pdf
+++ b/Master/texmf-dist/doc/generic/babel-greek/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 da14200f713..cab6de96b9b 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 1e21d769f68..7d0d3c2b22c 100644
--- a/Master/texmf-dist/doc/generic/babel-greek/test-greek.tex
+++ b/Master/texmf-dist/doc/generic/babel-greek/test-greek.tex
@@ -30,11 +30,12 @@ defined in the file ``greek.ldf'' (source ``greek.dtx'').
The declaration \verb|\selectlanguage| switches between languages.
-\selectlanguage{greek}
-Ὁ Σύλλογος Ἑλλήνων Φίλων τοῦ TeX, γνωστὸς καὶ ὡς
-«Ἕλληνες Φίλοι τοῦ \TeX» (ΕΦΤ γιὰ συντομία) ἀποτελεῖ τὴν ἐπίσημη Τοπικὴ Ὁμάδα
-τοῦ \TeX{} ἢ τὸ ἑλληνικὸ \textlatin{\TeX{} LUG (Local Users Group)}.
-\selectlanguage{english}
+\begin{quote}
+ \selectlanguage{greek}
+ Τί φήις; Ἱδὼν ἐνθέδε παῖδ’ ἐλευθέραν
+ τὰς πλησίον Νύμφας στεφανοῦσαν, Σώστρατε,
+ ἐρῶν άπῆλθες εὐθύς;
+\end{quote}
The macro \verb|\foreignlanguage| sets its second argument in the specified
language. This is intended for short text parts like
@@ -84,26 +85,6 @@ Latin:
\@Roman{1}, \@Roman{2}, \@Roman{3}, \@Roman{4}, \ldots, \@Roman{1975}
\makeatother
-Enumerated lists:
-
-\selectlanguage{greek}
-\begin{enumerate}
- \item \textlatin{Item} 1
- \begin{enumerate}
- \item \textlatin{Item} 1.1
- \begin{enumerate}
- \item \textlatin{Item} 1.1.1
- \begin{enumerate}
- \item \textlatin{Item} 1.1.1.1
- \item \textlatin{Item} 1.1.1.2
- \end{enumerate}
- \item \textlatin{Item} 1.1.2
- \end{enumerate}
- \end{enumerate}
-\end{enumerate}
-\selectlanguage{english}
-
-
\section{MakeUppercase, MakeLowercase}
Capital Greek letters have diacritics (except the dialytika and sub-iota) to
@@ -349,6 +330,24 @@ Some examples:
\selectlanguage{english}
-Enumerated lists use Greek numerals in the second and fourth level.
+Enumerated lists use Greek numerals in the second and fourth level:
+
+\selectlanguage{greek}
+\begin{enumerate}
+ \item \textlatin{Item} 1
+ \begin{enumerate}
+ \item \textlatin{Item} 1.1
+ \begin{enumerate}
+ \item \textlatin{Item} 1.1.1
+ \begin{enumerate}
+ \item \textlatin{Item} 1.1.1.1
+ \item \textlatin{Item} 1.1.1.2
+ \end{enumerate}
+ \item \textlatin{Item} 1.1.2
+ \end{enumerate}
+ \end{enumerate}
+\end{enumerate}
+\selectlanguage{english}
+
\end{document}
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 853553a3a8c..835ec064594 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 9cad388bf16..52249b089e7 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
@@ -8,12 +8,13 @@
\setmainfont{Linux Libertine O}
\setsansfont{Linux Biolinum O}
% \setmainfont{DejaVu Serif}
+% \setmainfont{Droid Serif} % only monotonic Greek (subset of Greek and Coptic)
% Declare the font encoding and Greek LICR definitions:
\usepackage{textalpha}[2013/09/11]
\usepackage[greek,english]{babel}
-\languageattribute{greek}{polutoniko}
+% \languageattribute{greek}{polutoniko}
\DeclareTextCommandDefault{\ensuregreek}{\textgreek}
@@ -35,10 +36,9 @@ Examples for suitable fonts are the ``Deja Vu'', ``Linux Libertine'', or
The declaration \verb|\selectlanguage| switches between languages.
-
\begin{quote}
\selectlanguage{greek}
- Τί φήις; ̔Ιδὼν ἐνθέδε παῖδ’ ἐλευθέραν
+ Τί φήις; Ἱδὼν ἐνθέδε παῖδ’ ἐλευθέραν
τὰς πλησίον Νύμφας στεφανοῦσαν, Σώστρατε,
ἐρῶν άπῆλθες εὐθύς;
\end{quote}
@@ -116,7 +116,7 @@ MakeLowercase:
\end{quote}
The lowercase of Σ is σ (GREEK SMALL LETTER SIGMA).\footnote{%
-With LGR, it is \texttt{\textbackslash textautosigma}.}
+With LICRs, it is \texttt{\textbackslash textautosigma}.}
The lowercase of Ϛ (GREEK LETTER STIGMA) is \MakeLowercase{Ϛ}.
% \newpage
@@ -242,7 +242,35 @@ m\acctonos\textalpha\textiota να $\mapsto$
\seename,
\alsoname,
\proofname,
-\glossaryname,
+\glossaryname
+\selectlanguage{english}
+
+Test correct upcasing (dropping of accents):
+
+\selectlanguage{greek}
+\MakeUppercase{
+\prefacename,
+\refname,
+\abstractname,
+\bibname,
+\chaptername,
+\appendixname,
+\contentsname,
+\listfigurename,
+\listtablename,
+\indexname,
+\figurename,
+\tablename,
+\partname,
+\enclname,
+\ccname,
+\headtoname,
+\pagename,
+\seename,
+\alsoname,
+\proofname,
+\glossaryname
+}
\selectlanguage{english}
@@ -308,7 +336,7 @@ Some examples:
\Greeknumeral{2013},
-Enumerated lists use Greek characters/numerals in the second and fourth level.
+Enumerated lists use Greek characters/numerals in the second and fourth level:
\selectlanguage{greek}
\begin{enumerate}
@@ -328,4 +356,15 @@ Enumerated lists use Greek characters/numerals in the second and fourth level.
\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}