![]() There is a free article about the export on CTAN: How to include an SVG image in LaTeX. The latest Inkscape version can be found on the official site. This way all the text appears in your document font. The graphic itself is exported as PDF, but all text can be put into a. The latest version of Inkscape supports PDF+LaTeX export. The switch /Q also suppresses any question! The switch /Y overwrites existing files without any question! I introduced it here for the use with TeX editors. In Windows we can emulate them once more with batch scripts, which again must get the names given here and should be put into the bin folder of the local texmf tree: The package uses the *nix specific commands mv and rm. Of course, adjust the paths to your local settings. Pdftops.cmd (it also must be named this way!), not needed for Users of TeX Live: off Inkscape.cmd (it must get this name!): off Additonal hint for MiKTeX users: Create a local texmf tree in MiKTeX. ![]() ![]() For inkscape and pstopdf one needs to add the paths oneself, or I would recommend for each a batch file in the binary path of your local texmf tree (which anyway should be itself in the search path). In Windows only the “ImageMagick” installer does this by default. only MiKTeX users: Xpdf (actually the included pdftops)įor compilation pdflatex needs the command line switch -shell-escape.Īll executables/binaries must be located in the search path.ImageMagick (actually the included convert).Inkscape (for using the technique already mentioned in other answers).See answer of Heiko Oberdiek for a solution.Įvery SVG file given by the command \includesvg will under the hood be converted with the help of some additional programs, which at least on Windows are not installed by default (the package claims, it wouldn’t run in Windows, but see below): Not all of these are defined in LuaTeX, so you would get errors on compiling. This package makes use of pdfTeX primitives. There is now (at time of writing for about a month) a package svg on CTAN and also included into the big TeX distributions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |