Bug#1116047: texlive-plain-generic: htlatex fails to build documents using the hhline package
Package: texlive-plain-generic
Version: 2024.20250309-2
Severity: normal
Dear Maintainer,
-- Package-specific info:
##################################
\documentclass{article}
\usepackage{hhline}
\begin{document}
\begin{tabular}{|l||l|l|}
\hline
Bits & Device Specific & Purpose \\
\cline{1-2}
Read / Write & Device Specific & \\
\cline{1-2}
Purpose & Device Specific & \\
\hline
\end{tabular}
\end{document}
##################################
other files
######################################
List of ls-R files
-rw-r--r-- 1 root root 2933 Sep 23 11:18 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Feb 28 2025 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Mar 13 2025 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Mar 13 2025 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
######################################
Config files
-rw-r--r-- 1 root root 475 May 22 15:19 /etc/texmf/web2c/texmf.cnf
lrwxrwxrwx 1 root root 33 Mar 13 2025 /usr/share/texmf/web2c/fmtutil.cnf -> /var/lib/texmf/fmtutil.cnf-DEBIAN
lrwxrwxrwx 1 root root 32 Mar 13 2025 /usr/share/texmf/web2c/updmap.cfg -> /var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 5231 Sep 23 11:16 /var/lib/texmf/tex/generic/config/language.dat
######################################
Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root 283 Apr 1 2019 mktex.cnf
-rw-r--r-- 1 root root 475 May 22 15:19 texmf.cnf
######################################
md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c /etc/texmf/texmf.d/00debian.cnf
*** Reporter, please consider answering these questions, where appropriate ***
I was attempting to re-build the VirtIO specifications since upgrading
to Trixie. The build fails to complete with:
! Undefined control sequence.
\f:HBorder ...border-top:1px solid \#\hline:color
;"></td>
l.867 R
ead / Write & Device Specific & \\
?
! Emergency stop.
\f:HBorder ...border-top:1px solid \#\hline:color
The final result is an empty html file. I verified this was a regression
by running the same build on Bookworm using distrobox. It also works
with the latest Ubuntu.
I've attached a minimal reproducer which fails the same way:
$ htlatex test.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2025/dev/Debian) (preloaded format=latex)
restricted \write18 enabled.
entering extended mode
LaTeX2e <2024-11-01> patch level 2
L3 programming layer <2025-01-18>
(./test.tex (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2024/06/29 v1.4n Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/tex4ht.sty)
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/usepackage.4ht)
(/usr/share/texlive/texmf-dist/tex/latex/tools/hhline.sty)
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/tex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (/usr/share/texlive/texmf-dist/tex/generic/tex4ht/tex4ht.sty
l.875 --- TeX4ht warning --- nonprimitive \everypar ---
--- needs --- tex4ht test ---
(./test.tmp) (./test.xref)
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4-math.4ht)
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4-math.4ht) (test.4tc)
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4-math.4ht)
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/latex.4ht
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4-math.4ht)
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4-math.4ht))
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/fontmath.4ht
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4-math.4ht))
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/article.4ht
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4-math.4ht))
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/share/texlive/texmf-dist/tex/generic/tex4ht/html4-math.4ht))
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)
(./test.aux)
! Undefined control sequence.
\f:HBorder ...border-top:1px solid \#\hline:color
;"></td>
l.8 R
ead / Write & Device Specific & \\
?
! Emergency stop.
\f:HBorder ...border-top:1px solid \#\hline:color
;"></td>
l.8 R
ead / Write & Device Specific & \\
No pages of output.
Transcript written on test.log.
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: 13.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64
Kernel: Linux 6.15.9-ajb-00004-gb407cd764d8d (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages texlive-plain-generic depends on:
ii tex-common 6.19
ii texlive-base 2024.20250309-1
ii texlive-binaries 2024.20240313.70630+ds-6
Versions of packages texlive-plain-generic recommends:
ii texlive-latex-base 2024.20250309-1
Versions of packages texlive-plain-generic suggests:
ii default-jre-headless 2:1.21-76
Versions of packages tex-common depends on:
ii ucf 3.0052
Versions of packages tex-common suggests:
ii debhelper 13.24.2
Versions of packages texlive-plain-generic is related to:
ii tex-common 6.19
ii texlive-binaries 2024.20240313.70630+ds-6
-- no debconf information
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
Reply to: