bugtex4ht - Bugs: bug #422, error from pgflibraryfadings when...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

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

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Fri May 3 06:15:09 2019  
 
Category: NonePriority: 5 - Normal
Severity: 3 - MinorStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue Dec 14 16:36:55 2021, comment #3:

I think the fix is in TL now.

Michal Hoftich <michal_h21>
Project Member
Mon Aug 19 01:17:26 2019, comment #2:

still awaiting a webquiz (or tikz) update that includes the new pgfsys-dvisvgm4ht.def to update in TL ...

Karl Berry <karl>
Project Administrator
Fri May 3 08:07:56 2019, comment #1:

Hi Nasser.

this issue had been fixed by the current version of the dvisvgm4ht driver. It should work for most documents now.

Best,
Michal

Michal Hoftich <michal_h21>
Project Member
Fri May 3 06:15:09 2019, original submission:

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@lib@fade@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

Nasser M. Abbasi <nma123>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by nma123 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Dec 14 16:36:55 2021michal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray