LaTeX bugs database
This is a search tool for the LaTeX bugs database.This search tool allows you to search the LaTeX3 project team's database of all bug reports for LaTeX. If you discover what you believe to be a bug with LaTeX, you can search this database to find out if it has already been reported.
Note that you can only search for bugs which were reported after December 1994, when we made the database public.
PR number: babel/4303
Synopsis: greek.ldf 1.4 with 8-bit chars breaks LuaLaTeX
Confidential: no
State: closed
Arrival date: Sun Jun 30 17:31:01 +0200 2013
Heiko Oberdiek
Sun, 30 Jun 2013 17:27:03 +0200
Description of bug:
The problem was reported by stefano on
http://tex.stackexchange.com/questions/121842/polutoniko-greek-in-texlive-2013.
The greek.ldf 2013/05/17 v1.4 contains 8-bit characters that break with
Unicode TeX engines. The test file comes from Enrico Gregorio:
http://tex.stackexchange.com/a/112939/16967
Using ^^-notation will might fix the issue.
Sample file which indicates the problem:
========================================
\documentclass{article}
\usepackage[polutonikogreek]{babel}
\usepackage{multicol}
\usepackage{fontspec}
\setmainfont{Old Standard}
\let\greektext\relax
% very narrow columns!
\columnsep=2cm
\textwidth=\dimexpr7\columnsep+8pt\relax
\hfuzz=\maxdimen % no overfull \hbox message
\begin{document}
\begin{multicols}{8}
\noindent\hspace{0pt}%
μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος
οὐλομένην, ἣ μυρί᾽ Ἀχαιοῖς ἄλγε᾽ ἔθηκε,
πολλὰς δ᾽ ἰφθίμους ψυχὰς Ἄϊδι προΐαψεν
ἡρώων, αὐτοὺς δὲ ἑλώρια τεῦχε κύνεσσιν
οἰωνοῖσί τε πᾶσι, Διὸς δ᾽ ἐτελείετο βουλή,
ἐξ οὗ δὴ τὰ πρῶτα διαστήτην ἐρίσαντε
Ἀτρεΐδης τε ἄναξ ἀνδρῶν καὶ δῖος Ἀχιλλεύς.
τίς τ᾽ ἄρ σφωε θεῶν ἔριδι ξυνέηκε μάχεσθαι;
ητοῦς καὶ Διὸς υἱός: ὃ γὰρ βασιλῆϊ χολωθεὶς
νοῦσον ἀνὰ στρατὸν ὄρσε κακήν, ὀλέκοντο δὲ λαοί,
οὕνεκα τὸν Χρύσην ἠτίμασεν ἀρητῆρα
Ἀτρεΐδης: ὃ γὰρ ἦλθε θοὰς ἐπὶ νῆας Ἀχαιῶν
λυσόμενός τε θύγατρα φέρων τ᾽ ἀπερείσι᾽ ἄποινα,
στέμματ᾽ ἔχων ἐν χερσὶν ἑκηβόλου Ἀπόλλωνος
χρυσέῳ ἀνὰ σκήπτρῳ, καὶ λίσσετο πάντας Ἀχαιούς,
Ἀτρεΐδα δὲ μάλιστα δύω, κοσμήτορε λαῶν:
Ἀτρεΐδαι τε καὶ ἄλλοι ἐϋκνήμιδες Ἀχαιοί,
ὑμῖν μὲν θεοὶ δοῖεν Ὀλύμπια δώματ᾽ ἔχοντες
ἐκπέρσαι Πριάμοιο πόλιν, εὖ δ᾽ οἴκαδ᾽ ἱκέσθαι:
παῖδα δ᾽ ἐμοὶ λύσαιτε φίλην, τὰ δ᾽ ἄποινα δέχεσθαι,
ἁζόμενοι Διὸς υἱὸν ἑκηβόλον Ἀπόλλωνα.
\end{multicols}
\end{document}
The log file from running LaTeX on the sample:
==============================================
This is LuaTeX, Version beta-0.76.0-2013061708 (rev 4627)
(format=lualatex 2013.5.21) 30 JUN 2013 17:18
restricted \write18 enabled.
**test
(./test.tex
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 77 languages loaded.
([...]/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
([...]/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
([...]/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2013/05/16 v3.9f The Babel package
([...]/texmf-dist/tex/generic/babel-greek/greek.ldf
Language: greek 2013/05/17 v1.4 Greek support from the babel system
([...]/texmf-dist/tex/generic/babel/babel.def
File: babel.def 2013/05/16 v3.9f Babel common definitions
\babel@savecnt=\count87
\U@D=\dimen103
([...]/texmf-dist/tex/generic/babel/luababel.def
luatex-hyphen: using data file: [...]/texmf-dist/tex/gene
ric/config/language.dat.lua))
([...]/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
File: lgrenc.def 2013/05/24 v0.8.2 LGR Greek font encoding definitions
)
! String contains an invalid utf-8 sequence.
l.74 \DeclareTextCompositeCommand{\"}{LGR}{
X}{\accdialytika}
? x
Here is how much of LuaTeX's memory you used:
1215 strings out of 494719
100000,89155 words of node,token memory allocated 239 words of node
memory still in use:
1 hlist, 1 rule, 38 glue_spec, 2 if_stack, 1 write, 1 dir nodes
avail lists: 2:10,3:1,4:2,6:2,9:3
4985 multiletter control sequences out of 65536+600000
15 fonts using 602239 bytes
25i,0n,23p,175b,36s stack positions out of
5000i,500n,10000p,200000b,100000s
No pages of output.
PDF statistics: 0 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 131072)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
============================================================
End of LaTeX2e bug report.
============================================================
>Fix:
Unknown
LaTeX2e bug report.
Generated by latexbug.tex on 2013/06/30
Reports may be submitted by email to latex-bugs@latex-project.org
Please use the subject line:
Subject: greek.ldf 1.4 with 8-bit chars breaks LuaLaTeX
To follow up an existing report, include the bug reference, e.g.
"latex/1234: ", preceding the subject text.
============================================================
*** Initex configuration files
fonttext.cfg
2004/02/04 v2.3a LaTeX Kernel (Uncustomised text font setup)
fonttext.ltx
2004/02/04 v2.3a LaTeX Kernel (Text font setup)
omlenc.def
2005/09/27 v1.99g Standard LaTeX file
t1enc.def
2005/09/27 v1.99g Standard LaTeX file
ot1enc.def
2005/09/27 v1.99g Standard LaTeX file
omsenc.def
2005/09/27 v1.99g Standard LaTeX file
t1cmr.fd
1999/05/25 v2.5h Standard LaTeX font definitions
ot1cmr.fd
1999/05/25 v2.5h Standard LaTeX font definitions
ot1cmss.fd
1999/05/25 v2.5h Standard LaTeX font definitions
ot1cmtt.fd
1999/05/25 v2.5h Standard LaTeX font definitions
fontmath.cfg
2004/02/04 v2.3a LaTeX Kernel (Uncustomised math font setup)
fontmath.ltx
2004/02/04 v2.3a LaTeX Kernel (Math font setup)
omlcmm.fd
1999/05/25 v2.5h Standard LaTeX font definitions
omscmsy.fd
1999/05/25 v2.5h Standard LaTeX font definitions
omxcmex.fd
1999/05/25 v2.5h Standard LaTeX font definitions
ucmr.fd
1999/05/25 v2.5h Standard LaTeX font definitions
preload.cfg
2004/02/04 v2.3a LaTeX Kernel (Uncustomised preload font setup)
preload.ltx
1998/08/17 v2.1g LaTeX Kernel (Font Preloading)
hyphen.cfg
2013/05/16 v3.9f Babel language switching mechanism
2013/05/16 v3.9f Babel language switching mechanism
***
Javier Bezos
Mon, 01 Jul 2013 19:47:09 +0200
Thank you for your report, Heiko. Please, contact Günter Milde, who is the current maintainer of the Greek style (I'm cc'ing this message to him.) Cheers Javier PS. Günter, please find the report here: http://www.latex-project.org/cgi-bin/ltxbugs2html?category=Babel&responsible=anyone&state=not+closed&keyword=&pr=&search= You may also want to see other bugs related to the Greek style.
Guenter Milde
Tue, 2 Jul 2013 10:13:57 +0200
Thanks for the report. The bug was also reported from other side in a private mail and is fixed in version 1.5a which I uploaded to CTAN on 2013-06-27. However, the fix is not (yet) visible - CTAN still has greek.dtx version 1.5. Günter
Javier Bezos
Tue, 02 Jul 2013 15:38:27 +0200
Guenter, > Thanks for the report. The bug was also reported from other side in a > private mail and is fixed in version 1.5a which I uploaded to CTAN > on 2013-06-27. However, the fix is not (yet) visible - CTAN still has > greek.dtx version 1.5. Thanks. And I'll update the LaTeX bug tracker in a few hours (somewhat busy right now). Cheers Javier State-Changed-From-To: open->closed State-Changed-By: gnats State-Changed-When: Tue, 02 Jul 2013 18:48:31 +0200 State-Changed-Why:
latex-bugs@latex-project.org
Tue, 2 Jul 2013 18:48:31 +0200
Synopsis: greek.ldf 1.4 with 8-bit chars breaks LuaLaTeX State-Changed-From-To: open->closed State-Changed-By: gnats State-Changed-When: Tue, 02 Jul 2013 18:48:31 +0200 State-Changed-Why: Fixed in version 1.5a by the current maintaner of the Greek style (Günter Milde).
Address information Copyright 1994 — 2016 the LaTeX3 project and Alan Jeffrey.