1TIKZTOSVG(1) TIKZTOSVG(1)
2
3
4
6 tikztosvg - Render TikZ diagrams to SVG.
7
9 tikztosvg [OPTION]... INPUT_PATH
10
12 The tikztosvg(1) command renders TikZ diagrams to SVG.
13
14 If INPUT_PATH is set to - the input will be read from stdin.
15
17 -o, --output=OUTPUT_PATH
18 Write output to file OUTPUT_PATH. If set to - the output will be
19 written to stdout. Defaults to the base name of the input file
20 suffixed with the .svg extension. The file is resolved relative to
21 the working directory.
22
23 -p, --package=+PACKAGE
24 Include \usepackage{PACKAGE} when rendering the diagram. The tikz,
25 tikz-cd, pgfplots, amsmath and amssymb packages are always included
26 by default.
27
28 -l, --library=+_LIBRARY
29 Include \usetikzlibrary{LIBRARY} when rendering the diagram.
30
31 -q, --quiet
32 Silence application log messages and script warnings.
33
34 --lualatex
35 Use LuaTeX as the TeX engine. LuaTeX is already the default, so
36 this option doesn’t really do much.
37
38 --xelatex
39 Use XeTeX as the TeX engine.
40
41 --pdflatex
42 Use pdfTeX as the TeX engine.
43
44 -h, --help
45 Print a help message.
46
47 -v, --version
48 Prints version information.
49
51 tikztosvg requires XeTeX and pdf2svg to be installed. Make sure any
52 additional LaTeX packages are installed before using them in a diagram.
53
55 0
56 Success.
57
58 1
59 Failure (syntax or usage error; configuration error).
60
61 [n]
62 Failure (document processing failure).
63
65 tikztosvg was written by Pablo pablo-escobar@riseup.net.
66
67 pdf2svg was written by David Barton davebarton@cityinthesky.co.uk and
68 Matthew Flaschen matthew.flaschen@gatech.edu.
69
71 Git source repository on sourcehut
72 https://git.sr.ht/~pablo-pie/tikztosvg
73
74 Bug tracker
75 https://todo.sr.ht/~pablo-pie/tikztosvg
76
77 CTAN package
78 https://www.ctan.org/pkg/tikztosvg
79
80 TeXLive
81 https://tug.org/texlive/
82
83 LuaTeX
84 http://luatex.org/
85
86 XeTeX
87 http://xetex.sourceforge.net/
88
89 pdfTeX https://www.tug.org/applications/pdftex/
90
92 Copyright (C) 2021 Pablo. Free use of this software is granted under
93 the terms of the GPL-3.0 License.
94
95
96
97 2021-08-19 TIKZTOSVG(1)