bugtex4ht - Bugs: bug #612, tex4ht gives compile error when...

 
 
Show feedback again

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

bug #612: tex4ht gives compile error when using transparent package

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Fri Oct 13 08:01:32 2023  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Fri Oct 13 11:47:27 2023, comment #1:

Thanks for the report. I've added my anwser on TeX.sx and updated TeX4ht sources with the support.

Michal Hoftich <michal_h21>
Project Member
Fri Oct 13 08:01:32 2023, original submission:

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

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 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
    Wed Oct 18 13:22:31 2023michal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray