Package: latexml
Version: 0.8.1-1
Severity: normal

Dear Maintainer,


Running latexml currently fails: assuming the file /tmp/test.tex
contains

\documentclass{article}

\begin{document}
hello
\end{document}

the command

latexml --destination=/tmp/test.xml /tmp/test.tex

says:

POSIX class [:cntrl::] unknown in regex; marked by <-- HERE in m/([[:cntrl::] 
<-- HERE ])/ at /usr/share/perl5/LaTeXML/Common/Error.pm line 364.
Compilation failed in require at /usr/share/perl5/LaTeXML/Core.pm line 18.
BEGIN failed--compilation aborted at /usr/share/perl5/LaTeXML/Core.pm line 18.
Compilation failed in require at /usr/bin/latexml line 22.
BEGIN failed--compilation aborted at /usr/bin/latexml line 22.


Changing line 364 in Error.pm to [[:cntrl:]] solves it.


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

Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages latexml depends on:
ii  imagemagick                         8:6.8.9.9-7.2+b1
ii  libarchive-zip-perl                 1.59-1
ii  libfile-which-perl                  1.21-1
ii  libimage-magick-perl [perlmagick]   8:6.8.9.9-7.2
ii  libimage-size-perl                  3.300-1
ii  libio-string-perl                   1.08-3
ii  libjson-xs-perl                     3.020-1+b1
ii  libparse-recdescent-perl            1.967013+dfsg-1
ii  liburi-perl                         1.71-1
ii  libuuid-tiny-perl                   1.0400-1
ii  libwww-perl                         6.15-1
ii  libxml-libxml-perl                  2.0128+dfsg-1+b1
ii  libxml-libxslt-perl                 1.95-1+b1
ii  libxml2                             2.9.4+dfsg1-2
ii  libxslt1.1                          1.1.29-1
ii  perl                                5.24.1~rc3-3
ii  perlmagick                          8:6.8.9.9-7.2
ii  texlive-local [texlive-latex-base]  2016-1

latexml recommends no packages.

latexml suggests no packages.

-- no debconf information

Reply via email to