diff options
author | Norbert Preining <norbert@preining.info> | 2019-10-29 03:00:39 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-10-29 03:00:39 +0000 |
commit | 97f5151099967e6c823d640a90d87bca92c44035 (patch) | |
tree | 685caa49488599f87d0caa4e972833b2263d8567 /dviware/dvisvgm/doc/dvisvgm.txt.in | |
parent | 25a647b97ef526aefcc75269dd19c46dbe3ae4c1 (diff) |
CTAN sync 201910290300
Diffstat (limited to 'dviware/dvisvgm/doc/dvisvgm.txt.in')
-rw-r--r-- | dviware/dvisvgm/doc/dvisvgm.txt.in | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/dviware/dvisvgm/doc/dvisvgm.txt.in b/dviware/dvisvgm/doc/dvisvgm.txt.in index 7a80f3e05b..02f3618a10 100644 --- a/dviware/dvisvgm/doc/dvisvgm.txt.in +++ b/dviware/dvisvgm/doc/dvisvgm.txt.in @@ -22,6 +22,7 @@ Martin Gieseking <@PACKAGE_BUGREPORT@> :man source: dvisvgm :man version: @VERSION@ :man manual: dvisvgm Manual +:revdate: 2019-08-25 20:14 +0200 Name ---- @@ -129,7 +130,8 @@ Hence, if you choose a landscape format, the page won't be rotated. // *-C, --cache*[='dir']:: To speed up the conversion process of bitmap fonts, dvisvgm saves intermediate conversion -information in cache files. By default, these files are stored in +$HOME/.dvisvgm/cache+. +information in cache files. By default, these files are stored in +$XDG_CACHE_HOME/dvisvgm/+ +or +$HOME/.cache/dvisvgm+ if +XDG_CACHE_HOME+ is not set. If you prefer a different location, use option *--cache* to overwrite the default. Furthermore, it is also possible to disable the font caching mechanism completely with option *--cache=none*. If argument 'dir' is omitted, dvisvgm prints the path of the default cache directory together @@ -465,7 +467,10 @@ By default, dvisvgm uses the XXH64 hash algorithm to compute the values provided +%hc+. It's extremely fast, and a 64-bit hash should be sufficient for most documents with an average size of pages. Alternatively, XXH32 and MD5 can be used as well. The desired algorithm is specified by argument 'params' of option *--page-hashes*. It takes one of the strings +MD5+, +XXH32+, and +XXH64+, -where the names can be given in lower case too, like +--page-hashes=md5+. +where the names can be given in lower case too, like +--page-hashes=md5+. Since version 0.7.1, +xxHash provides an experimental 128-bit hash function, whose algorithm may still change with the next +versions of the library. If the corresponding API is available, dvisvgm supports the new hash function +and option *--page-hashes* additionally accepts the algorithm specifier +XXH128+. + Finally, option *--page-hashes* can take a second argument that must be separated by a comma. Currently, only the two parameters 'list' and 'replace' are evaluated, e.g. +--page-hashes=md5,list+ @@ -750,11 +755,11 @@ The following TeX snippet adds two raw SVG elements to the output and updates th [source,tex] ------------------------------------------------------------------------------------- \special{dvisvgm:raw <circle cx='{?x}' cy='{?y}' r='10' stroke='black' fill='red'/>}% -\special{dvisvgm:bbox 10bp 10bp 10bp}% -\special{dvisvgm:bbox -10bp 10bp 10bp} +\special{dvisvgm:bbox 10bp 10bp 10bp transform}% +\special{dvisvgm:bbox -10bp 10bp 10bp transform} -\special{dvisvgm:raw <path d='M50 200 L10 250 H100 Z' stroke='black' fill='blue'/>} -\special{dvisvgm:bbox abs 10bp 200bp 100bp 250bp} +\special{dvisvgm:raw <path d='M50 200 L10 250 H100 Z' stroke='black' fill='blue'/>}% +\special{dvisvgm:bbox abs 10bp 200bp 100bp 250bp transform} ------------------------------------------------------------------------------------- + |