mgieseki / dvisvgm

A fast DVI, EPS, and PDF to SVG converter
https://dvisvgm.de
GNU General Public License v3.0
306 stars 33 forks source link

Feature Request: specify output directory #193

Closed erwindenboer closed 2 years ago

erwindenboer commented 2 years ago

Hello, Is it possible to add an option to specify the output directory of the svg file? This will help me organize all the svg files. Thanks in advance!

mgieseki commented 2 years ago

You can specify the output directory as part of the output pattern. e.g. --output=myfolder/%f or -o ../../myfolder/%f-%p. The folders must exist in advance, though, because dvisvgm doesn't create missing directories. So a separate option isn't really needed. Or are you missing anything special here?