| 1 |
|
| 2 |
svg and svg-extract – Handling SVG pictures in LaTeX documents |
| 3 |
---------------------------------------------------------------------------- |
| 4 |
|
| 5 |
Copyright (C) Philip Ilten <[email protected]>, 2012-2016<br> |
| 6 |
Copyright (C) Falk Hanisch <[email protected]>, 2017-2020 |
| 7 |
|
| 8 |
**svg 2020/11/26 v2.02k** |
| 9 |
|
| 10 |
The current release is shiped via CTAN: https://www.ctan.org/pkg/svg |
| 11 |
|
| 12 |
---------------------------------------------------------------------------- |
| 13 |
|
| 14 |
This material is subject to the LaTeX Project Public License version 1.3c |
| 15 |
or later. See http://www.latex-project.org/lppl.txt for details. |
| 16 |
|
| 17 |
---------------------------------------------------------------------------- |
| 18 |
|
| 19 |
|
| 20 |
Summary |
| 21 |
------- |
| 22 |
|
| 23 |
The **svg** package provides an user‑interface for automated integration |
| 24 |
of SVG graphics created with ***Inkscape*** into LaTeX documents. |
| 25 |
Therefor the capabilities provided by ***Inkscape***—and its command line |
| 26 |
tool—are used to export the text within a SVG graphic to a separate |
| 27 |
file, which is then rendered by LaTeX. The two commands `\includesvg` and |
| 28 |
`\includeinkscape` are provided as central user‑interface, which are very |
| 29 |
similar to the `\includegraphics` command of the **graphicx** package. |
| 30 |
|
| 31 |
In addition, the package **svg-extract** extends the user‑interface of |
| 32 |
package **svg** in order to support the extraction of these graphics into |
| 33 |
independent files in different graphic formats, exactly as they are rendered |
| 34 |
within the LaTeX document. For the creation of these graphics in the |
| 35 |
well‑known formats PDF, EPS and PS, LaTeX and possibly conversion |
| 36 |
tools shipped with the most LaTeX distributions are used. If the graphics are |
| 37 |
required in other file formats, either ***ImageMagick*** or ***Ghostscript*** |
| 38 |
can be invoked. |
| 39 |
|
| 40 |
|
| 41 |
Versions |
| 42 |
-------- |
| 43 |
|
| 44 |
**v2.02k** (2020/11/26) |
| 45 |
+ ***MiKTeX*** was updated, bug fix removed |
| 46 |
|
| 47 |
**v2.02j** (2020/10/23) |
| 48 |
+ bug fix for automatic version detection of ***Inkscape*** with ***MiKTeX*** |
| 49 |
|
| 50 |
**v2.02i** (2020/09/29) |
| 51 |
+ update for package **scrlfile** v3.32 and kernel (2020/10/01) |
| 52 |
|
| 53 |
**v2.02h** (2020/06/23) |
| 54 |
+ hot fix for package **transparent**, |
| 55 |
see https://github.com/mrpiggi/svg/issues/28 |
| 56 |
|
| 57 |
**v2.02g** (2020/06/12) |
| 58 |
+ hot fix for including files with multiple dots in its names, |
| 59 |
see https://github.com/mrpiggi/svg/issues/27 |
| 60 |
|
| 61 |
**v2.02f** (2020/05/07) |
| 62 |
+ support for ***Inkscape 1.0*** CLI |
| 63 |
|
| 64 |
**v2.02e** (2020/01/13) |
| 65 |
+ fixes for new version of package **scrbase** |
| 66 |
|
| 67 |
**v2.02d** (2019/10/22) |
| 68 |
+ fix bugs with current kernel (2019/10/01) regarding file name parsing, see |
| 69 |
https://github.com/mrpiggi/svg/issues/16 |
| 70 |
+ use `\filemoddate` with XeLaTeX, see https://github.com/mrpiggi/svg/issues/12 |
| 71 |
|
| 72 |
**v2.02c** (2019/10/10) |
| 73 |
+ fix bugs with current kernel (2019/10/01) regarding file name parsing |
| 74 |
|
| 75 |
**v2.02b** (2018/11/12) |
| 76 |
+ fix bug for package **tikzscale** which changes the definition of |
| 77 |
`\includegraphics` |
| 78 |
|
| 79 |
**v2.02a** (2018/10/17) |
| 80 |
+ fix bug for package **polyglossia** which fakes **babel** poorly |
| 81 |
|
| 82 |
**v2.02** (2018/09/08) |
| 83 |
+ distortion of included and extracted graphics supported with options `distort` |
| 84 |
(or `keepaspectratio`) and `extractdistort` as well as rotation for |
| 85 |
extractions (`extractangle`) |
| 86 |
+ fixed errors with active double quotes from **babel** in path arguments |
| 87 |
+ multiple dots within file names possible |
| 88 |
+ package **trimspaces** required |
| 89 |
|
| 90 |
**v2.01** (2017/11/29) |
| 91 |
+ new option `svgextension` to change the format of files exported by |
| 92 |
***Inkscape*** from `svg` to a custom one |
| 93 |
+ usage of `\input{tex filename}` within ***Inkscape*** graphics |
| 94 |
locates files in all declared searched folders |
| 95 |
|
| 96 |
**v2.00b** (2017/05/23) |
| 97 |
+ improved warnings, if package **svg** is loaded by package **svg-extract** |
| 98 |
|
| 99 |
**v2.00a** (2017/03/28) |
| 100 |
+ Bug fix for checking stock- and mediasizes |
| 101 |
|
| 102 |
**v2.00** (2017/03/27) |
| 103 |
+ New maintainer: Falk Hanisch |
| 104 |
+ Re-implementation from scratch |
| 105 |
+ functionality split in two packages **svg** and **svg-extract** |
| 106 |
+ package **svg** intended for including SVG files |
| 107 |
+ package **svg-extract** for extracting graphic files rendered with LaTeX |
| 108 |
+ **svg-extract**: enhanced support for ***ImageMagick*** |
| 109 |
+ **svg-extract**: support for ***Ghostscript*** added |
| 110 |
+ package **subfig** not required anymore |
| 111 |
+ support of subfigures stopped due to the huge number of packages which deal |
| 112 |
with this topic and the large variety of implementing this functionality; |
| 113 |
naming exported graphics after their consecutive numbering can't be ensured |
| 114 |
for all variants of subfigures, so it's neglected |
| 115 |
|
| 116 |
**v1.0** (2016/10/10) |
| 117 |
+ initial version by Philip Ilten |