Public bug reported:

Binary package hint: dblatex

When trying to compile a document in XML docbook write in pt-br (i.e.,
one that has the <book lang="pt-br"> attribute), i get the following
error:

1:Build the listings...
2:XSLT stylesheets DocBook -  LaTeX 2e (0.2.6-1)
3:===================================================
4:Processing Revision History
5:Build SegurancaDeRedes.docbook.pdf
6:This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
7: %&-line parsing enabled.
8:entering extended mode
9:pdflatex failed
10:/usr/share/texmf-texlive/tex/generic/babel/babel.sty:141: Package babel 
Error: Language definition file portugese.ldf not found.
11usr/share/texmf-texlive/tex/generic/babel/babel.sty:141: leading text: 
\ProcessOptions*
12:/1sr/share/texmf-texlive/tex/generic/babel/babel.sty:149: Package babel 
Error: You haven't specified a language option.
13:/usr/share/texmf-texlive/tex/generic/babel/babel.sty:149: leading text: 
...ry to proceed from here, type x to quit.}
14:SegurancaDeRedes.docbook_tmp.tex:37: Package babel Error: You haven't loaded 
the option english yet.
15:SegurancaDeRedes.docbook_tmp.tex:37: leading text: \begin{document}
16:SegurancaDeRedes.docbook_tmp.aux:14: Package babel Error: You haven't loaded 
the option english yet.
17:SegurancaDeRedes.docbook_tmp.aux:14: leading text: [EMAIL PROTECTED]
18:SegurancaDeRedes.docbook_tmp.aux:61: Missing \endcsname inserted.
19:SegurancaDeRedes.docbook_tmp.aux:61: leading text: ...a de pacotes \relax 
}{subsection.2.2.2}{}}

Note that, on line 10, its looking for the file portugesse.ldf. Doing a search 
on packges.ubuntu.com, i can see that there is no such file in ubuntu.
Looking for that string i see its present on line 110 of 
/usr/share/xml/docbook/stylesheet/dblatex/xsl/lang.xsl
Changing this line, that, at first, contains:
<xsl:otherwise>portugese</xsl:otherwise>
to
<xsl:otherwise>portuges</xsl:otherwise>
the compilation works Ok!

This is happening on Kubuntu, 8.04 final, dblatex 0.2.6-1.

** Affects: dblatex (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Error compiling docbook in pt-br with dblatex
https://bugs.launchpad.net/bugs/225083
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to