dvisvgm Guide for TikZ Pictures with Pattern Filling

A quick note of the right commands for the conversion

Problem I had issues in getting a SVG from a TikZ picture containing a pattern filling: https://github.com/mgieseki/dvisvgm/issues/158. The reported issue was created last year, and it’s marked as fixed. Nonetheless, I had this issue even though my MikTeX was up-to-date. Discussion I wanted to confirm whether my dvisvgm.exe, which had been shipped with MikTeX, was latest. I first asked at https://github.com/mgieseki/dvisvgm/issues/184, but I was referred to MikTeX’s GitHub repository since it’s about the MikTeX-packaged version of this tool. [Read More]
LaTeX  dvisvgm  SVG 

Dvisvgm's Issue With Fill Pattern

Goal Generate SVG file for TikZ graphics. Method TeX → PDF with PDFLaTeX PDF → SVG with dvisvgm -P filename Example: I generated a PGF plot from the source code on my personal template. Problem When I applied this method to the following TeX code in my previous post, dvisvgm -P returns a blank SVG. \documentclass[tikz,border=2pt]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.6} \usetikzlibrary{patterns} \begin{document} \begin{tikzpicture} \begin{axis}[axis lines=center,legend style={at={(0.7,0.7)},anchor=south west}] \addplot [domain=-3:3, thick, smooth, yellow] { 1/sqrt(2*pi)*exp(-x^2/2) }; \addlegendentry{$y =\frac{1}{\sqrt{2\pi}} e^{-x^2/2}$}; \addplot [dashed, yellow] coordinates {(1. [Read More]
LaTeX  dvisvgm  SVG