Hi again, sorry for cross-posting. I am not quite sure whether this falls into the expertise of one or the other group.
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. 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. This is what I ran: *dvilualatex test.tex dvilualatex test.tex* *dvilualatex test.tex* *tex4ht -f/test.tex* *t4ht -f/test.tex* *fix_svg_legend.py test-1.svg* *fix_svg_legend.py test-2.svg* 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. 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. Sincerely, -- Johannes Wilm http://www.johanneswilm.org tel: +1 (520) 399 8880
SVG-Viewer needed.
test.tex
Description: TeX document
<<attachment: test-1.svg>>
<<attachment: test-2.svg>>
------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey
_______________________________________________ Pgfplots-features mailing list Pgfplots-features@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pgfplots-features