Closed pforero closed 4 years ago
Imho it is a standalone bug. It cleans up \@classoptionslist
but forgets to do the same with \XKV@classoptionslist
and then scrbase fails which tries to handle this option list.
\documentclass[ngerman,convert={density=720,outext=.png}]{standalone}
\makeatletter
\show\@classoptionslist
\show\XKV@classoptionslist
\usepackage{scrbase}
\begin{document}
abc
\end{document}
I created an issue for standalone: https://bitbucket.org/martin_scharrer/standalone/issues/51
Nevertheless, you can also convert individual graphics directly with package svg-extract.
\documentclass{scrartcl}
\usepackage[convert=true,convertformat=png]{svg-extract}
\begin{document}
\includesvg[convertdpi=720]{test}
\end{document}
Thanks to @u-fischer for figuring out the problem.
Perfect! Thanks to both of you. Work around worked perfectly, and now standalone is aware of the issues. Thanks for all the help!
When creating a standalone document to convert it into a PNG file, I get an error if I include the SVG package.
MWE
Without the convert option it works perfectly. With the convert option I get the following log result:
I have tried to compile using both, pdftex and luatex, and get the same result.