Package: dblatex
Version: 0.3.10-2
Severity: normal

I had an XML source which worked fine to build pdf file under dblatex
0.3.9-3.  But with 0.3.10-2 it fails as:

XSLT stylesheets DocBook - LaTeX 2e (0.3.10)
===================================================
Build stdin.pdf
xelatex failed
stdin.tex:107: Illegal parameter number in definition of \DBKlegalblock.
stdin.tex:107: leading text: ...ttps://www.debian.org/doc/devel-manuals#d
stdin.tex:115: Illegal parameter number in definition of \Hy@tempa.
stdin.tex:115: leading text: \maketitle
stdin.tex:115: Illegal parameter number in definition of \Hy@tempa.
stdin.tex:115: leading text: \maketitle
stdin.tex:115: Illegal parameter number in definition of \Hy@tempa.
stdin.tex:115: leading text: \maketitle
stdin.tex:115: Illegal parameter number in definition of \Hy@gtemp.
stdin.tex:115: leading text: \maketitle
/tmp/tmpUYdZMg not removed


The line 107 of tex code which breaks my podf building has:

\item{} at the 
\href{https://www.debian.org/doc/devel-manuals#debmake-doc}{Debian 
Documentation web site}.

This line 107 in tex source came from XML block

    <legalnotice>

... (snip) ...
<simpara>The latest version of this guide should be available:</simpara>
<itemizedlist>
<listitem>
<simpara>
in the <ulink url="https://tracker.debian.org/pkg/debmake-doc";>debmake-doc 
package</ulink> and
</simpara>
</listitem>
<listitem>
<simpara>
at the <ulink url="https://www.debian.org/doc/devel-manuals#debmake-doc";>Debian 
Documentation web site</ulink>.
</simpara>
</listitem>
</itemizedlist>
    </legalnotice>

This seems to be the case # needed to be escaped since the error message

 Illegal parameter number in definition of \Hy@tempa

is seen when there is an unescaped "#" somewhere in the document you may get 
the message.


Osamu

PS: For now I skip using # in url.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (10, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dblatex depends on:
ii  docbook-xml           4.5-8
ii  python                2.7.15-3
ii  python-apt            1.6.2
ii  texlive               2018.20180505-1
ii  texlive-bibtex-extra  2018.20180505-1
ii  texlive-extra-utils   2018.20180505-1
ii  texlive-latex-extra   2018.20180505-1
ii  texlive-science       2018.20180505-1
ii  xsltproc              1.1.32-2

Versions of packages dblatex recommends:
pn  dblatex-doc    <none>
ii  libxml2-utils  2.9.4+dfsg1-7+b1

Versions of packages dblatex suggests:
pn  docbook                                          <none>
ii  evince [pdf-viewer]                              3.28.2-1
ii  ghostscript                                      9.22~dfsg-2.1
ii  graphicsmagick-imagemagick-compat [imagemagick]  1.3.30-1
ii  inkscape                                         0.92.3-2
ii  latex-cjk-all                                    4.8.4+git20170127-2
ii  lmodern                                          2.004.5-3
ii  opensp                                           1.5.2-13+b1
pn  texlive-lang-all                                 <none>
pn  texlive-lang-cyrillic                            <none>
ii  texlive-xetex                                    2018.20180505-1
pn  transfig                                         <none>
pn  xindy                                            <none>

-- no debconf information

Reply via email to