bugtex4ht - Bugs: bug #143, Including tikz pictures with...

 
 
Show feedback again

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

bug #143: Including tikz pictures with pgfsys-tex4ht.def closes paragraph inside figure.

Submitted by:  Mikael Öhman <micket>
Submitted on:  Fri Aug 5 16:11:09 2011  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Fri Aug 5 16:11:09 2011, original submission:

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>

Mikael Öhman <micket>

 

Attached Files
file #105:  test-1.svg added by micket (976B - image/svg+xml - Faulty files generated with mzlatex)
file #106:  test.css added by micket (7kB - text/css - Faulty files generated with mzlatex)
file #107:  test.xml added by micket (1005B - text/xml - Faulty files generated with mzlatex)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by micket (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):

     

     

    3 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Aug 5 16:11:09 2011micketAttached File-=>Added test-1.svg, #105
      Attached File-=>Added test.css, #106
      Attached File-=>Added test.xml, #107
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray