Überarbeitungsverlauf[Zurück]
Klicke auf Einblenden/Ausblenden von Überarbeitungen 2

18 Nov '18, 11:12

cis's gravatar image

cis
9.5k98460491

Für `svg.sty` muss `inscape` als Umgebungsvariable im `path` eingetragen sein. Das dürfte bei Linux standardmäßig der Fall sein, [bei Windows muss es vermutlich ergänzt werden](https://matheplanet.de/matheplanet/nuke/html/viewtopic.php?topic=238654&post_id=1737416). werden](http://techfrage.de/question/1119/windows-8-umgebungsvariablen-anzeigen-und-andern/). [![alt text][1]][1] % arara: pdflatex: {shell: yes} \RequirePackage{filecontents} \begin{filecontents*}{BRD.svg} <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" width="1000" height="600" viewBox="0 0 5 3"> <desc>Flag of Germany</desc> <rect id="black_stripe" width="5" height="3" y="0" x="0" fill="#000"/> <rect id="red_stripe" width="5" height="2" y="1" x="0" fill="#D00"/> <rect id="gold_stripe" width="5" height="1" y="2" x="0" fill="#FFCE00"/> </svg> \end{filecontents*} \documentclass[margin=5pt]{standalone} \usepackage{svg} \begin{document} Test: \fbox{\includesvg[scale=0.125]{BRD.svg}} \end{document} [1]: https://texwelt.de/wissen/upfiles/55555555_283.png
Klicke auf Einblenden/Ausblenden von Überarbeitungen 1

16 Nov '18, 09:21

cis's gravatar image

cis
9.5k98460491

Für `svg.sty` muss `inscape` als Umgebungsvariable im `path` eingetragen sein. Das dürfte bei Linux standardmäßig der Fall sein, [bei Windows muss es vermutlich ergänzt werden](https://matheplanet.de/matheplanet/nuke/html/viewtopic.php?topic=238654&post_id=1737416). [![alt text][1]][1] % arara: pdflatex: {shell: yes} \RequirePackage{filecontents} \begin{filecontents*}{BRD.svg} <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" width="1000" height="600" viewBox="0 0 5 3"> <desc>Flag of Germany</desc> <rect id="black_stripe" width="5" height="3" y="0" x="0" fill="#000"/> <rect id="red_stripe" width="5" height="2" y="1" x="0" fill="#D00"/> <rect id="gold_stripe" width="5" height="1" y="2" x="0" fill="#FFCE00"/> </svg> \end{filecontents*} \documentclass[margin=5pt]{standalone} \usepackage{svg} \begin{document} Test: \fbox{\includesvg[scale=0.125]{BRD.svg}} \end{document} [1]: https://texwelt.de/wissen/upfiles/55555555_283.png