summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-src/doc/dvisvgm.txt.in
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/doc/dvisvgm.txt.in')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-src/doc/dvisvgm.txt.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/doc/dvisvgm.txt.in b/Build/source/texk/dvisvgm/dvisvgm-src/doc/dvisvgm.txt.in
index 5bf8921fcd7..8a8ba2504d2 100644
--- a/Build/source/texk/dvisvgm/dvisvgm-src/doc/dvisvgm.txt.in
+++ b/Build/source/texk/dvisvgm/dvisvgm-src/doc/dvisvgm.txt.in
@@ -112,6 +112,7 @@ Additionally, dvisvgm also supports the following format specifiers:
*dvi*::: page size stored in the DVI file
*min*::: computes the minimal/tightest bounding box
*none*::: no bounding box is assigned
+ *preview*::: bounding box data computed by the preview package (if present in the dvi file)
//
*Page orientation*;;
The default page orientation for DIN/ISO and American paper sizes is 'portrait',
@@ -668,10 +669,13 @@ dvisvgm disables the processing of PostScript specials and prints a warning mess
Use option *--list-specials* to check whether PostScript support is available, i.e. entry 'ps' is present.
+
The PostScript handler also recognizes and evaluates bounding box data generated by the
-http://www.ctan.org/pkg/preview[preview package] with option 'tightpage'. If such data is present in the DVI file,
-dvisvgm adapts the bounding box of the generated SVG file accordingly, and prints a message showing the width, height,
-and depth of the box in TeX point units. Especially, the depth value can be used to vertically align the SVG graphics
-with the baseline of surrounding text in HTML or XSL-FO documents, for example.
+http://www.ctan.org/pkg/preview[preview package] with option 'tightpage'. If such data is present in the DVI file
+and if dvisvgm is called with option *--bbox=preview*, dvisvgm adapts the bounding box of the generated SVG file
+accordingly, and prints a message showing the width, height, and depth of the box in TeX point units. Especially,
+the depth value can be used to vertically align the SVG graphics with the baseline of surrounding text in HTML or
+XSL-FO documents, for example. If you call dvisvgm with option *--bbox=min* (the default), the tight bounding box
+computed while processing the page is applied and not the one provided by the preview package. Thus, the height,
+depth and width values written to the console are adapted accordingly.
*tpic*::
The TPIC special set defines instructions for drawing simple geometric objects. Some LaTeX packages, like