Quantcast
Channel: Active questions tagged convert - TeX - LaTeX Stack Exchange
Viewing all articles
Browse latest Browse all 75

Standalone Package: Convert Option + KOMA Script class

$
0
0

I'm trying to compile a standalone document using the option class=scrartcl for setting the KOMA script article class. In addition I use the convert option for generating an .emf file automatically:

\def\CONVERTCOMMAND{pdf2svg\space \infile\space \inname .svg%\space &&%\space inkscape\space -z%\space -f\space \inname .svg%\space --export-emf=\outfile%\space && \space del\space \inname .svg %}\documentclass[11pt, class=scrartcl, convert={    command={\noexpand\CONVERTCOMMAND},    outext=.emf %damit Output erkannt wird    }]{standalone}\begin{document}test\end{document}

This code throws a couple of Undefined control sequence. \FamilyProcessOptions{KOMA} errors when compiled with PDFLaTeX. No output files are produced.

As you can see, I use a more complex convert command, but the file compiles without errors when omitting the class=scrartcl option.

Also setting class=scrartcl and convert=true works fine, producing a PDF and a PNG file.

Based on these obsevations, I assume a conflict between the selected class and the custom convert command. Can you reproduce this error or is it specific for my system? Are there any possibilities to make these two options work together?


Viewing all articles
Browse latest Browse all 75

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>