[tex4ht] [bug #612] tex4ht gives compile error when using transparent package

Nasser M. Abbasi puszcza-hackers at gnu.org.ua
Fri Oct 13 10:01:32 CEST 2023


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

                 Summary: tex4ht gives compile error when using transparent
package
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Fri Oct 13 08:01:32 2023
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Reference:

https://tex.stackexchange.com/questions/698403/tex4ht-gives-compile-error-when-using-transparent-package


I was trying https://ctan.org/pkg/transparent package. I get an error when
using it with tex4ht. Same code works OK in lualatex and pdf.

Is there a way to make it work with tex4ht? Here is MWE

------------------------
\documentclass[12pt]{book}
\usepackage{graphicx}
\usepackage{transparent}
\begin{document} 

some text here

More text here

\transparent{1}\includegraphics[width=0.5\textwidth]{example-image-a}

More text here

More text here
\end{document}
--------------------

Compiled using

make4ht  -ulm default -a debug foo2.tex "mathjax,htm,nostyle"

gives

------------------------------
/usr/local/texlive/2023/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)
(./foo2.aux) (/usr/local/texlive/2023/texmf-dist/tex/latex/base/ts1cmr.fd)
! Undefined control sequence.
l.12 \transparent
               {1}\includegraphics[width=0.5\textwidth]{example-image-a}
? 
-----------------


TL 2023 on Linux.

--Nasser




    _______________________________________________________

Reply to this item at:

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

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



More information about the tex4ht mailing list.