[tex4ht] [bug #484] Package arydshln clash

Nasser M. Abbasi nma at 12000.org
Wed Sep 30 11:32:52 CEST 2020


On 9/30/2020 4:21 AM, Michal Hoftich wrote:
> URL:
>    <http://puszcza.gnu.org.ua/bugs/?484>
> 
>                   Summary: Package arydshln clash
>                   Project: tex4ht
>              Submitted by: michal_h21
>              Submitted on: Wed 30 Sep 2020 12:21:47 PM EEST
>                  Category: None
>                  Priority: 5 - Normal
>                  Severity: 5 - Normal
>                    Status: None
>                   Privacy: Public
>               Assigned to: None
>          Originator Email:
>               Open/Closed: Open
>           Discussion Lock: Any
> 
>      _______________________________________________________
> 
> Details:
> 
> This is repost frome here: https://tex.stackexchange.com/q/245234/2891
> 
> The `arydshln` package seems to clash with TeX4ht. From quick look at the
> source code I can see that it redefines \hline and \cline commands among
> others, so I am not really surprised that it doesn't work.
> 
> MWE:
> 
> \documentclass[12pt]{report}
> \usepackage{arydshln}
> \begin{document}
> \begin{tabular}{|l|l|l|}\hline
> text
> & text 1
> & text 2
> \\\hline
> \end{tabular}
> \end{document}
> 

Hi Michal;

I ended up removing this package from building pdf also.

I found it conflicts with lualatex/pdflatex also when loading longtable package:

---------------------
\documentclass[12pt]{report}
\usepackage{arydshln}
\usepackage{longtable}
\begin{document}
\begin{longtable}{|l|l|l|}\hline
text
& text 1
& text 2
\\\hline
\end{longtable}
\end{document}
----------------------

and now

(base) >lualatex foo4.tex
This is LuaHBTeX, Version 1.12.0 (TeX Live 2020)
  restricted system commands enabled.
(./foo4.tex
LaTeX2e <2020-02-02> patch level 5
  L3 programming layer <2020-08-07> (/usr/local/texlive/2020/texmf-dist/tex/latex/base/report.cls
Document Class: report 2019/12/20 v1.4l Standard LaTeX document class
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/size12.clo)) (/usr/local/texlive/2020/texmf-dist/tex/latex/arydshln/arydshln.sty) (/usr/local/texlive/2020/texmf-dist/tex/latex/tools/longtable.sty) (/usr/local/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def) (./foo4.aux) (/usr/local/texlive/2020/texmf-dist/tex/latex/base/ts1cmr.fd)
! Undefined control sequence.
\adl at vlineL #1#2#3#4->\adl at ivline #4\@nil {#1}{#2}\xdef \adl at colsL {\adl at colsL
                                                                                \@elt {#3}{\number \@tempcnta }{\number \@tempcntb }{\adl at dashcolor }{\adl at gapcolor }}
l.6 t
    ext
?

=============

So it is of no use for me, since I use longtable everywhere.

I am trying to find alternative package, which makes dashed lines in
array like this does, that would work in tex4ht and pdf mode,
and causes no problems.

Regards
--Nasser



More information about the tex4ht mailing list.