Hey,<br><br>that sounds really good. The final SVG is still not perfect though -- the legend is not drawn for example, and the SVG is not alrge enough to contain all the text.<br><br>I did send you the link to my spaghetti-code work-around script, right?<br>
<br><a href="http://dl.dropbox.com/u/5518978/latex2compile">http://dl.dropbox.com/u/5518978/latex2compile</a><br><br>Whatever happened to the effort for perfect tikz -> SVG conversion that was supposed to come out within a few weeks? Have you heard more about that? <br>
<br><div class="gmail_quote">On Wed, Sep 14, 2011 at 1:35 PM, Christian Feuersaenger <span dir="ltr"><<a href="mailto:cfeuersaenger@googlemail.com">cfeuersaenger@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Johannes,<br>
<br>
a couple of months ago, you reported a problem with SVG output of pgfplots: there have been TWO SVG rather than one per figure.<br>
<br>
Although I assume that the issue is no longer important for you, you may be interested in the following news:<br>
<br>
I am currently working on a prototype which allows pgfplots to save one temporary pgf node - and this node was the cause for the outer SVG. I have just ran an experiment with<br>
<br>
htlatex testXXX.tex<br>
<br>
on your example. I only uncommented some of your \HCode instructions and added my new feature 'cell picture=false' to the option list and got the attached results (just one SVG).<br>
<br>
Best regards<br>
<br>
Christian<br>
<br>
<br>
<br>
Am <a href="tel:27.07.2011%2003" value="+12707201103" target="_blank">27.07.2011 03</a>:04, schrieb Johannes Wilm:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Hi again,<br>
sorry for cross-posting. I am not quite sure whether this falls into the expertise of one or the other group.<br>
<br>
The attached is a test case of a document which includes a graph I've created with pgfplots and then converted to html using tex4ht. I fixed the SVG-output with the script I recently mailed around.<br>
<br>
The problem is this: There is only one graph. Yet for some reason 2 SVG files are created. The second SVG-file seems to just be empty, whereas the first one includes the graph. For some reason the HTML-code that is being output only includes the second, empty, SVG-file.<br>

<br>
This is what I ran:<br>
<br>
/dvilualatex test.tex<br>
dvilualatex test.tex/<br>
/dvilualatex test.tex/<br>
/tex4ht -f/test.tex/<br>
/t4ht -f/test.tex/<br>
/fix_svg_legend.py test-1.svg/<br>
/fix_svg_legend.py test-2.svg/<br>
<br>
Obviously I could make a script that simply exchanges all occurrences of "test-2" with "test-1" and so on. But strangely, when the legend is in a separate svg, the legend works fine, so the numbering wouldn't work out that way.<br>

<br>
I believe this is my very last issue with the whole setup. So if it cannot be resolved, I'll spend another day on a quick fix rather than trying to switch tools as some have recommended I do.<br>
<br>
Sincerely,<br>
<br>
-- <br>
Johannes Wilm<br>
<a href="http://www.johanneswilm.org" target="_blank">http://www.johanneswilm.org</a><br>
tel: <a href="tel:%2B1%20%28520%29%20399%208880" value="+15203998880" target="_blank">+1 (520) 399 8880</a><br>
<br>
<br></div></div><div class="im">
------------------------------<u></u>------------------------------<u></u>------------------<br>
Got Input?   Slashdot Needs You.<br>
Take our quick survey online.  Come on, we don't ask for help often.<br>
Plus, you'll get a chance to win $100 to spend on ThinkGeek.<br>
<a href="http://p.sf.net/sfu/slashdot-survey" target="_blank">http://p.sf.net/sfu/slashdot-<u></u>survey</a><br>
<br>
<br>
______________________________<u></u>_________________<br>
Pgfplots-features mailing list<br>
<a href="mailto:Pgfplots-features@lists.sourceforge.net" target="_blank">Pgfplots-features@lists.<u></u>sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/pgfplots-features" target="_blank">https://lists.sourceforge.net/<u></u>lists/listinfo/pgfplots-<u></u>features</a><br>
</div></blockquote>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Johannes Wilm<br><a href="http://www.johanneswilm.org" target="_blank">http://www.johanneswilm.org</a><br>tel: +1 (520) 399 8880<br><div style="display:inline"></div><br>