[tex4ht] [bug #143] Including tikz pictures with pgfsys-tex4ht.def closes paragraph inside figure.
Mikael Öhman
puszcza-hackers at gnu.org.ua
Fri Aug 5 18:11:09 CEST 2011
URL:
<http://puszcza.gnu.org.ua/bugs/?143>
Summary: Including tikz pictures with pgfsys-tex4ht.def
closes paragraph inside figure.
Project: tex4ht
Submitted by: micket
Submitted on: Friday 08/05/2011 at 16:11
Category: None
Priority: 5 - Normal
Severity: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
It seems that trying to use a simple tikz figure with math doesn't work out
nicely.
A very simple example is:
\documentclass{article}
\usepackage{amsmath}
\def\pgfsysdriver{pgfsys-tex4ht.def}
\usepackage{tikz}
\begin{document}
Before
\begin{tikzpicture}
\draw[->] (0,0) -- (1,0);
\end{tikzpicture}
After
\end{document}
Compiled with
mk4ht htlatex test.tex
the <p> tag isn't closed (but a browser will probably display it correctly
regardless).
Compiled with
mk4ht mzlatex test.tex
the <p> tag is closed inside the test-1.svg figure, breaking both the main
test.xml document, as well as the figure.
The first part inside the svg document is:
<g transform="translate(0, 0.2 ) scale(1,-1) translate(0,0.2 )">
</p>
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Friday 08/05/2011 at 16:11 Name: test-1.svg Size: 976B By: micket
Faulty files generated with mzlatex
<http://puszcza.gnu.org.ua/bugs/download.php?file_id=105>
-------------------------------------------------------
Date: Friday 08/05/2011 at 16:11 Name: test.css Size: 7kB By: micket
Faulty files generated with mzlatex
<http://puszcza.gnu.org.ua/bugs/download.php?file_id=106>
-------------------------------------------------------
Date: Friday 08/05/2011 at 16:11 Name: test.xml Size: 1005B By: micket
Faulty files generated with mzlatex
<http://puszcza.gnu.org.ua/bugs/download.php?file_id=107>
_______________________________________________________
Reply to this item at:
<http://puszcza.gnu.org.ua/bugs/?143>
_______________________________________________
Message sent via/by Puszcza
http://puszcza.gnu.org.ua/
More information about the tex4ht
mailing list