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.


You can search for all the bug reports about:
which are the responsibility of:
with the status of:
containing the keyword:
or having the reference
(of the form category/number):
by pressing here:  .
PR number: babel/4360
Synopsis: Extra \fi in greek.ldf
Confidential: no
State: closed
Arrival date: Thu Sep 12 14:21:01 +0200 2013


Originator (email address hidden)
Thu, 12 Sep 2013 14:18:39 +0200

Description of bug:
In the last revision of greek.ldf (2013/09/09 v1.7) a chunk of conditional code 
has been removed, but not its final \fi, so this causes an "Extra \else" error (and 
many other problems). The extra \fi is at line 73, commenting it out solves the 
issue.

Sample file which indicates the problem:
========================================
\documentclass{article}
\usepackage[greek]{babel}
\begin{document}
Hello
\end{document}

The log file from running LaTeX on the sample:
==============================================
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) (format=pdflatex 2013.9.4)  12 SEP 2013 14:15
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**testgreek.tex
(./testgreek.tex
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 78 languages loaded.
(/usr/local/texlive/2013/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2013/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
)
(/usr/local/texlive/2013/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2013/05/16 v3.9f The Babel package

(/usr/local/texlive/2013/texmf-dist/tex/generic/babel-greek/greek.ldf
Language: greek 2013/09/09 v1.7 Greek support for the babel system

(/usr/local/texlive/2013/texmf-dist/tex/generic/babel/babel.def
File: babel.def 2013/05/16 v3.9f Babel common definitions
\babel@savecnt=\count87
\U@D=\dimen103
)
! Extra \else.
l.74 \else
          
? 
(/usr/local/texlive/2013/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
File: lgrenc.def 2013/07/16 v0.9 LGR Greek font encoding definitions

(/usr/local/texlive/2013/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def
File: greek-fontenc.def 2013/07/18 v0.9.1 Common Greek font encoding definition
s
)))
! Extra \fi.
\@for ... \@forloop #2,\@nil ,\@nil \@@ #1{#3}\fi 
                                                  
l.293 \ProcessOptions*
                      
? 
)
No file testgreek.aux.
\openout1 = `testgreek.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for LGR/cmr/m/n on input line 3.
LaTeX Font Info:    Try loading font information for LGR+cmr on input line 3.
(/usr/local/texlive/2013/texmf-dist/tex/latex/cbfonts-fd/lgrcmr.fd
File: lgrcmr.fd 2013/09/01 v1.0 Greek European Computer Regular
)
LaTeX Font Info:    ... okay on input line 3.
 [1

{/usr/local/texlive/2013/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./test
greek.aux) ) 
Here is how much of TeX's memory you used:
 1351 strings out of 493311
 21659 string characters out of 6137851
 67299 words of memory out of 5000000
 4871 multiletter control sequences out of 15000+600000
 4324 words of font info for 15 fonts, out of 8000000 for 9000
 957 hyphenation exceptions out of 8191
 23i,4n,23p,464b,113s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/local/texlive/2013/texmf-dist/fonts/type1/public/cbfonts/grmn
1000.pfb>
Output written on testgreek.pdf (1 page, 9036 bytes).
PDF statistics:
 12 PDF objects out of 1000 (max. 8388607)
 7 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 500000)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)


>Fix:
Unknown


latex-bugs@latex-project.org
Sat, 12 Oct 2013 18:01:08 +0200
Synopsis: Extra \fi in greek.ldf

State-Changed-From-To: open->closed
State-Changed-By: gnats
State-Changed-When: Sat, 12 Oct 2013 18:01:07 +0200
State-Changed-Why:
Fixed by the maintainer of greek (G?nter Milde).





Address information
Copyright 1994 — 2011 the LaTeX3 project and Alan Jeffrey.


The LaTeX home page