[texhax] \Configure{graphics*} does not work inside picture-environment?

Ernst Reissner rei3ner at arcor.de
Tue Oct 18 00:20:21 CEST 2016




I use myxhtml.cfg as follows

|\Preamble{xhtml}\makeatletter\Configure{graphics*}{pdf}{\Needs{"convert
\csnameGin at base\endcsname.pdf \csnameGin at base\endcsname.png"}%
\Picture[pict]{\csnameGin at base\endcsname.png}% \special{t4ht+ at File:
\csnameGin at base\endcsname.png}}\begin{document}\EndPreamble|

|\documentclass[12pt]{article}\usepackage[dvips]{xcolor}\usepackage[dvips]{graphicx}\usepackage[tex4ht]{hyperref}\begin{document}\begin{picture}(0,0)%
\includegraphics{1fig2dev.pdf}% \end{picture}% \end{document} |Now i type htlatex test.tex myxhtml but this does not work: 

|! LaTeX Error: Cannot determine size of graphic in 1fig2dev.pdf (no
BoundingBox ). See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help. ... l.7 \includegraphics{1fig2dev.pdf} |

t seems as if the pdf is not replaced. I tried convert 1fig2dev.pdf
1fig2dev.png manually and verified with gwenview 1fig2dev.png... seems
to be fine.

What went wrong????

ok, partial answer: The problem disappears if i remove the picture
environment. Is this a bug in htlatex????



Greetings,


Ernst


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20161018/be6b44a2/attachment.html>


More information about the texhax mailing list