Package: dblatex
Version: 0.3.5-1
Severity: important
User: debian-...@lists.debian.org
Usertags: debian-edu

This issue is simliar to bug #684393 and the nn language, but for the nb
language code.

When trying to build the docbook XML file from bug #684393 with language
code nb, dblatex fail with a build failure.  We discovered this when
working on the debian-edu-doc translation which is generated from .po
files.  Using language code nn and en work.  Here is the test run:

% cat x.xml 
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; >
<book lang="nb">
  <bookinfo>
    <title>Your title here</title>
  </bookinfo>
  <part>
    <title>"Test"</title>
    <chapter>
      <title>"Another test"</title>
      <para>
        Bla, bla, bla.
      </para>
    </chapter>
  </part>
</book>
% dblatex x.xml 
Build the book set list...
Build the listings...
XSLT stylesheets DocBook - LaTeX 2e (0.3.5-1)
===================================================
Build x.pdf
pdflatex failed
x.tex:67: Argument of \language@active@arg" has an extra }.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Paragraph ended before \language@active@arg" was complete.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Paragraph ended before \HyPsd@@ProtectSpacesFi was complete.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Use of \HyPsd@RemoveMask doesn't match its definition.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Undefined control sequence \HyPsd@End.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Paragraph ended before \HyPsd@RemoveBraces was complete.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Argument of \HyPsd@CheckCatcodes has an extra }.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Paragraph ended before \HyPsd@CheckCatcodes was complete.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Paragraph ended before \HyPsd@RemoveMask was complete.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Extra }, or forgotten \endgroup.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Missing { inserted.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Missing number, treated as zero.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Illegal unit of measure (pt inserted).
x.tex:67: leading text: \part{"Test"}
x.tex:67: Missing number, treated as zero.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Illegal unit of measure (pt inserted).
x.tex:67: leading text: \part{"Test"}
x.tex:67: Missing number, treated as zero.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Illegal unit of measure (pt inserted).
x.tex:67: leading text: \part{"Test"}
x.tex:67: Missing { inserted.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Missing number, treated as zero.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Illegal unit of measure (pt inserted).
x.tex:67: leading text: \part{"Test"}
x.tex:67: Missing number, treated as zero.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Illegal unit of measure (pt inserted).
x.tex:67: leading text: \part{"Test"}
x.tex:67: Missing number, treated as zero.
x.tex:67: leading text: \part{"Test"}
x.tex:67: Illegal unit of measure (pt inserted).
x.tex:67: leading text: \part{"Test"}
x.tex:73: Argument of \language@active@arg" has an extra }.
x.tex:73: leading text: \chapter{"Another test"}
x.tex:73: Paragraph ended before \language@active@arg" was complete.
x.tex:73: leading text: \chapter{"Another test"}
x.tex:79: Use of \end doesn't match its definition.
x.tex:79: leading text: \end{
x.tex:79: Missing number, treated as zero.
x.tex:79: leading text: \end{document}
x.tex:79: Illegal unit of measure (pt inserted).
x.tex:79: leading text: \end{document}
x.tex:79: Infinite glue shrinkage found in a paragraph.
x.tex:79: leading text: \end{document}
x.tex:79: Missing number, treated as zero.
x.tex:79: leading text: \end{document}
x.tex:79: Illegal unit of measure (pt inserted).
x.tex:79: leading text: \end{document}
x.tex:79: Infinite glue shrinkage found in a paragraph.
x.tex:79: leading text: \end{document}
x.tex: Emergency stop.
Unexpected error occured
Error: pdflatex compilation failed
% 

The problem is the " character in the titles.  Using <quote></quote>
hide the problem, but this is not really an option when generating
translated docbook files from po files using po4a and a wiki page as the
source document.

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to