[tex4ht] [bug #422] error from pgflibraryfadings when adding tcolorbox with new tex4ht tikz driver. TL 2019

Nasser M. Abbasi nma at 12000.org
Fri May 3 08:20:02 CEST 2019


URL:
  <http://puszcza.gnu.org.ua/bugs/?422>

                 Summary: error from pgflibraryfadings when adding tcolorbox
with new tex4ht tikz driver. TL 2019
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Fri 03 May 2019 09:15:09 AM EEST
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Minor
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I think this looks like a bug. Reporting just in case.

reference

https://tex.stackexchange.com/questions/488880/error-from-pgf-libraries-pgflibraryfadings-code-tex-when-adding-tcolorbox-tl

Just installed fresh TL 2019. I was trying the new tikz driver for tex4ht. I
found this error. Here is a MWE. This error only shows up in tex4ht and not in
lualatex and it shows up only when adding tcolorbox package

I actually do not use \usepackage[most]{tcolorbox} much any more. This was in
an old file. So I can remove this package for now. But thought to mention this
error just in case it affects other code somewhere else.

Here is MWE

-------------------
\documentclass[11pt]{article}    

\ifdefined\HCode %This driver to tex4ht only. For tikz
   \def\pgfsysdriver{pgfsys-dvisvgm4ht.def}
\fi     
\usepackage{tikz,graphicx,tikz-dependency}
\usetikzlibrary{fit}
\usepackage{adjustbox}    
\usepackage[most]{tcolorbox} %adding this causes the error
%\tcbuselibrary{listings}     
\begin{document}

\adjustbox{max width=1.35in}{
\begin{tikzpicture}[baseline=(current bounding box.center)]
\coordinate[label =above:$0$,   label =below:{$u=0$}] (A) at (0,0);
\coordinate[label =above:$\pi$, label =below:{$u_x=0$}] (B) at (4,0);

\draw (A) -- node[above] {$u_t = k u_{xx} +c^2 u_x $}  node[below] {$f(x)$} ++
(B);
\end{tikzpicture} 
}    
\end{document}
------------------------------

Gives error 

-------------------
(/usr/local/texlive/2019/texmf-dist/tex/generic/pgf/libraries/pgflibraryfadings
.code.tex
! Undefined control sequence.
\a:tikzpicture ->\Picture
                          *{}
l.31 ...ing{east}{\pgfuseshading{pgf at lib@fade at east}}
                                                  %
?
--------------------------

TL 2019 on Linux

which make4ht
/usr/local/texlive/2019/bin/x86_64-linux/make4ht
which lualatex
/usr/local/texlive/2019/bin/x86_64-linux/lualatex

Thanks
--Nasser







    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?422>

_______________________________________________
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/


More information about the tex4ht mailing list