Scroll to navigation

TIKZSVG(1)   TIKZSVG(1)

NAME

tikzsvg - Render TikZ diagrams to SVG.

SYNOPSIS

tikzsvg [OPTION]... INPUT_PATH

DESCRIPTION

The tikzsvg(1) command renders TikZ diagrams to SVG.

If INPUT_PATH is set to - the input will be read from stdin.

OPTIONS

-o, --output=OUTPUT_PATH

Write output to file OUTPUT_PATH. If set to - the output will be written to stdout. Defaults to the base name of the input file suffixed with the .svg extension. The file is resolved relative to the working directory.

-p, --package=+PACKAGE

Include \usepackage{PACKAGE} when rendering the diagram.

-q, --quiet

Silence application log messages and script warnings.

-h, --help

Print a help message.

-v, --version

Prints version information.

ENVIRONMENT

tikztosvg requires xetex and pdf2svg to be installed. Make sure any additional LaTeX packages are installed before using them in a diagram.

EXIT STATUS

0

Success.

1

Failure (syntax or usage error; configuration error).

[n]

Failure (document processing failure).

AUTHORS

tikztosvg was written by Pablo Emilio Escobar Gaviria < <pablo-escobar@riseup.net>>.

pdf2svg was written by David Barton < <davebarton@cityinthesky.co.uk>> and Matthew Flaschen < <matthew.flaschen@gatech.edu>>.

RESOURCES

Git source repository on GitLab: <https://gitlab.com/pablo-escobar/tikztosvg>

COPYING

Copyright (C) 2020 Pablo Emilio Escobar Gaviria. Free use of this software is granted under the terms of the GPL-3.0 License.

2020-08-16