Skip to main content

Crate svg2tex_rs

Crate svg2tex_rs 

Source
Expand description

Library entry points for converting SVG input into PDF operators or TeX.

The crate keeps CLI parsing separate from conversion so tests and other callers can run the same pipeline through render_output.

Structs§

Args
Convert SVG files to PDF literals for LaTeX.

Enums§

TexEngine
TeX backends supported by the generated output wrapper.
TexFormat
Wrapper styles available when emitting TeX output.

Functions§

render_output
Renders an SVG input into either raw PDF operators or TeX source.
run
Runs the full conversion pipeline and writes the result to stdout or a file.