Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgfpicture environments do not work with tex4ht driver #663

Closed
dcpurton opened this issue Apr 22, 2019 · 3 comments
Closed

pgfpicture environments do not work with tex4ht driver #663

dcpurton opened this issue Apr 22, 2019 · 3 comments
Labels

Comments

@dcpurton
Copy link
Contributor

I can't get anything to work inside a pgfpicture environment with the tex4ht driver. dvisvgm is fine.

Running this with htlatex produces an empty \jobname-1.svg file and the HTML file doesn't even reference \jobname-1.svg at all.

\documentclass{article}
%\def\pgfsysdriver{pgfsys-dvisvgm.def}% works
\def\pgfsysdriver{pgfsys-tex4ht.def}
\usepackage{pgf}
\begin{document}
\begin{pgfpicture}
  \pgfpathrectangle{\pgfpointorigin}{\pgfpoint{2cm}{1cm}}
  \pgfusepath{stroke}
\end{pgfpicture}
\end{document}
@hmenke
Copy link
Member

hmenke commented Apr 22, 2019

https://github.com/michal-h21/dvisvgm4ht

Duplicate of #651?

@dcpurton
Copy link
Contributor Author

It works with he dvisvgm4ht driver but not with tex4ht-updated.

You can make it a duplicate if you want, but "manual doesn't build" is pretty generic :). I guess it depends on whether you are resigned to tex4ht being broken for the time being. If so, I won't bother testing things with it.

@hmenke
Copy link
Member

hmenke commented Apr 22, 2019

Well, the only testcase we currently have is the manual and since that doesn't build with tex4ht, we can't test it at all.

@hmenke hmenke added the tex4ht label Apr 22, 2019
@hmenke hmenke closed this as completed Apr 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants