Menu

#57 dblatex 0.2.8 fails on dedication tag

closed-fixed
nobody
None
5
2008-05-28
2007-11-25
No

Hello,

dblatex 0.2.8 fails to convert dedication tag. Error shown is:

Build the listings...
XSLT stylesheets DocBook - LaTeX 2e (0.2.8)
===================================================
Build book.pdf
This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6)
entering extended mode
pdflatex failed
book_tmp.tex:43: Argument of \label has an extra }.
book_tmp.tex:43: leading text: \chapter\label
book_tmp.tex:43: Argument of \label has an extra }.
book_tmp.tex:43: leading text: \chapter\label
book_tmp.tex:43: Missing $ inserted.
book_tmp.tex:43: leading text: \chapter\label{_
book_tmp.tex:43: Extra }, or forgotten $.
book_tmp.tex:43: leading text: \chapter\label{_dedication}
book_tmp.tex:44: Missing $ inserted.
Error: pdflatex compilation failed

File to reproduce:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<book lang="en">
<dedication id="_dedication">
<simpara>Optional dedication.</simpara>
</dedication>
</book>

Discussion

  • Guillon

    Guillon - 2007-11-26

    Logged In: YES
    user_id=698327
    Originator: NO

    Please try the attached patch.
    File Added: titles.diff

     
  • Guillon

    Guillon - 2007-11-26

    Special section patch

     
  • Guido Ostkamp

    Guido Ostkamp - 2007-11-27
    • status: open --> open-accepted
     
  • Guido Ostkamp

    Guido Ostkamp - 2007-11-27

    Logged In: YES
    user_id=1028306
    Originator: YES

    Your patch works ok. Thanks!

     
  • Guillon

    Guillon - 2008-05-28
    • status: open-accepted --> closed-fixed
     
  • Guillon

    Guillon - 2008-05-28

    Logged In: YES
    user_id=698327
    Originator: NO

    Fixed in version 0.2.9.

     

Log in to post a comment.