Reputation
1,960
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 7 9
Newest
 Fanatic
Impact
~79k people reached

Jul
3
comment Why does “fi” render to 㐌 when I compile my Latex to SVG using dvisvgm?
@HeikoOberdiek Yes, there are many characters with odd names. Fortunately, I found some documentation about them and was able to get valid Unicode points for many of them. A list of the names that will be supported can be found in the sources. :)
Jul
3
comment Why does “fi” render to 㐌 when I compile my Latex to SVG using dvisvgm?
Concerning the wrong Unicode points: Unfortunately, some Type1 fonts don't provide a proper Unicode mapping for the characters so that it's not possible to derive the correct code from the font file. In order to fix this, I've added a mapping table to the dvisvgm code that maps from PS character names to Unicode points. The code is already present in the trunk and will be part of the next release of dvisvgm.
Apr
13
awarded  Yearling
Jan
28
comment Increase equation resolution in TeX4ht using accessible images or typeset text
Just a short note: The dvisvgm command-line option -n is an abbreviation for --no-fonts. So it's not necessary to add both options in the above mk4 example but you can omit one of them.
Jan
7
comment WYSIWYG LaTeX editor for maths
Yes, it does or at least did. Even if the developer doesn't provide binaries, the sources can be built for Mac. A former colleague of mine did that successfully. However, I don't own an Mac and can't test if it still works with the latest release.
Jan
6
awarded  Enlightened
Jan
6
awarded  Nice Answer
Sep
21
answered How can I add an xmlns to the <html> tag in tex4ht
Sep
15
comment Asymptote SVG export as vectors, instead of rendered. How?
You're right, SVG supports gradient fills but compared to PDF or PostScript they are pretty limited. It's hard to map arbitrary function-, cone or tensor-based shading patterns to the linear/radial fills offered by SVG. Asymptote works with pdflatex and the classic latex which produces DVI files as well. I guess it should be possible to approximate the results you're looking for if Asymptote called the proper post-processors rather than referencing bitmaps. However, I'm not an Asymptote expert and don't know how complicated that would be.
Sep
15
comment Asymptote SVG export as vectors, instead of rendered. How?
As far as I can tell, in SVG mode, Asymptote creates bitmaps for all parts of the graphic that can't be expressed by SVG elements properly. Compared to PDF, SVG has only limited support for shading patterns aka gradient fills for example. The pre-rendered bitmaps are forwarded to dvisvgm (using specials) in order to arrange them together with the text. That's probably not the most satisfying solution. It should be possible to approximate things in SVG completely even if the result is not perfect. I'm working on shading patterns for one of the next dvisvgm releases.
Sep
15
comment Asymptote SVG export as vectors, instead of rendered. How?
Asymptote's SVG driver can't create a pure vector image from the example you mentioned. Thus, you probably have to post-process the PDF file (e.g. with pdf2svg) to get a proper SVG file.
Jul
31
comment Did one manage to get the new dvisvgm driver from PGF 3.0 to work?
dvisvgm doesn't evaluate the SVG portions created by PGF so it doesn't expand the bounding/view box automatically here. Therefore, PGF should also create dvisvgm:bbox specials which tell dvisvgm that there's further stuff to be considered when computing the bounding box.
Apr
13
awarded  Yearling
Jan
18
comment eqnarray math to svg
The rendering quality of the SVG files created with dvisvgm might be bad, but this is most likely because the browser/viewer you use does not support SVG fonts. In order to create more compatible SVG files, call dvisvgm with option -n.
Jul
25
comment DVISVGM and PSTricks
@Fabrice Can you give us some more information? The positions of what labels do you have to adapt? The generated SVG and the PS file created with dvips look almost identical to me.
Jul
25
comment DVISVGM and PSTricks
There's no problem with the math font but with the SVG viewer. :) Call dvisvgm with option -n to create an SVG file that can be rendered correctly by most SVG viewers.
Apr
19
comment difference between pdfLaTeX and LaTeX outputs
dvisvgm does convert the given document correctly. However, the optional PostScript support must be enabled. If it's not, it leads to the mentioned result. So, just ensure that Ghostscript is installed and it's accessible by dvisvgm. See the dvisvgm website for more information about this.
Apr
13
awarded  Yearling
Sep
17
comment How can I use TikZ to make standalone (SVG) graphics?
You're welcome. I'm glad to hear that you've got it working now.
Sep
17
comment How can I use TikZ to make standalone (SVG) graphics?
In order to enable the processing of PS specials, you have to install a recent version of Ghostscript, and add the directory containing gsdll32.dll to the PATH environment variable. You can check the availability of PS processing with dvisvgm -l. If the ps entry is present, everything should work as expected.