Santo D'Agostino

Unregistered less info
96 reputation
6
bio website qedinsight.wordpress.com
location
age
visits member for 1 years, 7 months
seen Oct 1 '12 at 20:53

Sep
18
comment How can I use TikZ to make standalone (SVG) graphics?
Thanks, Martin. I've sent you an email message so that you will have my email address.
Sep
18
comment How can I use TikZ to make standalone (SVG) graphics?
Hi Martin, Thanks for the fix. However, I tried it and the result was an upside-down graph (not serious as it can be flipped, but I thought you would want the feedback), and some symbols are not rendered properly (negative signs and square root symbols). I switched to MiKTeX 2.9 with the same result. I don't know if it is still a bug in dvisvgm or if I am missing some font files. However, the original MWE run with the new .exe file suffers the same font problems as the current standalone example, although the original MWE is rendered right-side-up in the svg output.
Sep
17
comment How can I use TikZ to make standalone (SVG) graphics?
Hi Martin, I think I spoke a little too soon. The program works if I use the example file, but if I try to use standalone with the following first line <br /><br /> \documentclass[tikz,crop=true,border=0.5cm]{standalone} <br /><br /> then I get an error message <br /><br /> DVI error: no font selected <br /><br /> and no svg file is produced. Any advice? (Using dvisvgm -l shows that the ps entry is present, so that is not the problem.)
Sep
17
comment How can I use TikZ to make standalone (SVG) graphics?
This works! Thank-you very much, Martin! All the best!
Sep
16
comment How can I use TikZ to make standalone (SVG) graphics?
Sorry to hear this, Paul, but thanks very much for your time anyway. I now face the question of whether I should transfer my latex operation from my Windows machine to my Linux machine; if I do this (which seems inevitable, the only question being when), then your answer will be relevant, and I will store it for use at that time. Thanks again!
Sep
16
comment How can I use TikZ to make standalone (SVG) graphics?
@Andrew Stacey On the other hand, when I use the mzlatex command I do get an svg file, and the graphs are correctly rendered, but there are no square root symbols, and the fonts are incorrect.
Sep
16
comment How can I use TikZ to make standalone (SVG) graphics?
@Andrew Stacey When I use the advice at the linked question (with the command htlatex), I get a blank svg file, and the html file contains only an error message: XML Parsing Error: mismatched tag. Expected: </img>. Location: file:///C:/Documents%20and%20Settings/User/Desktop/SVGexamples/EX-1.svg Line Number 253, Column 22: x" class="sqrt" ></text> ---------------------^ The zzfile.ps file contains just a single square root of x symbol.
Sep
16
comment How can I use TikZ to make standalone (SVG) graphics?
This doesn't work for me in MiKTeX (Windows). I get a one-line mash up of symbols, and no graph. I placed the dvisvgm.exe in the miktex\bin folder (I'm using MiKTeX 2.8). How do I enable the evaluation of PostScript specials?
Sep
16
comment How can I use TikZ to make standalone (SVG) graphics?
I have tried to implement your suggestion, but this doesn't work for me in MiKTeX in Windows. I can produce a pdf file as usual, but when I use the command pdf2svg file.pdf file.svg I get the following error message: 'pdf2svg' is not recognized as an internal or external command, operable program or batch file. Using the commands htlatex or mzlatex produce html files that do not have the graphics in them, and do not produce svg files.
Sep
15
comment How can I use TikZ to make standalone (SVG) graphics?
I see that pdf2svg relies on Cairo and Poppler, which I also downloaded, but perhaps they are not working together correctly on my machine, and they may be working correctly at the online conversion site. I shall work on this. But a direct tikz to svg solution would still be nice.
Sep
15
comment How can I use TikZ to make standalone (SVG) graphics?
OK, this is strange. The second post you mentioned led me to search and find www.tlhiv.org/MetaPost/tools/mptosvg/ . On this site, it is explained that first MetaPost is converted to pdf, then to svg. So I just used the online converter at the site to convert my pdf file to svg. Although the online site claims to use the same pdf2svg program that I downloaded, for some reason the online converter produces beautiful results whereas my downloaded version gave poor results. This may be a solution for me, but it would still be nice to produce svg directly from tikz so I'll let the question stand.
Sep
15
comment How can I use TikZ to make standalone (SVG) graphics?
Thanks, Peter. I've tried most of the suggestions in the two posts you refer to, without good results, except for the Metapost suggestion in the second post. I shall try this, although I have never used Metapost.