[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#405994: hevea fails on \urldef on multiple lines



Package: hevea
Version: 1.09-3
Severity: normal

Hi,

Hevea fails on the following example, which is perfectly accepted by
LaTeX:

\documentclass{article}
\usepackage{url}

\urldef{\debian}{\url}
       {http://www.debian.org/}

\begin{document}
Debian is here: \debian.
\end{document}

When I try to compile this file with hevea, I get:

% hevea test.tex
./test.tex:5: Parsing of argument failed
Giving up command: \Url
Giving up command: \url
Giving up command: \urldef
./test.tex:5: Error while reading LaTeX:
        Eof while looking for argument
Adios

The problem is not present if I put the \urldef in one line i.e.:

\urldef{\debian}{\url}{http://www.debian.org/}

Of course, putting the \urldef on multiple lines could be considered as
bad style but here I bumped into this problem when trying to generate the
documentation for the latest version of coq, and the .tex are automatically
generated (I'd rather avoid patching coq)...

Thanks!

Cheers,

Samuel.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)

Versions of packages hevea depends on:
ii  gs                       8.54.dfsg.1-5   Transitional package
ii  gs-esp [gs]              8.15.3.dfsg.1-1 The Ghostscript PostScript interpr
ii  gs-gpl [gs]              8.54.dfsg.1-5   The GPL Ghostscript PostScript int
ii  netpbm                   2:10.0-10.1     Graphics conversion tools
ii  ocaml-base-nox [ocaml-ba 3.09.2-9        Runtime system for ocaml bytecode 
ii  tetex-bin                3.0-28          The teTeX programs

hevea recommends no packages.

-- no debconf information



Reply to: