aboutsummaryrefslogtreecommitdiffstats
path: root/docbook/asciidoc.conf
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-09-13 11:29:25 -0700
committerGerald Combs <gerald@wireshark.org>2016-09-13 21:02:54 +0000
commit3c163637d6890ce5782fc204186629b789932d32 (patch)
tree35a67604c3e6a5538389523f90a4c56ecc7c33a4 /docbook/asciidoc.conf
parent1e3c57b486b1d6a443cc29884337f983ca61bbfe (diff)
WSUG: Fixup PDF images.
Pass relative image directory paths to xsltproc. The DocBook documentation says you can use a URI, but trying to get that to work with CMake and Windows appears to be a path to tears and undignified wails of frustration. Add attributes for our different types of images and use them so that the PDFs don't scale our screenshots to an unusable size. Change-Id: I786d09d9ef9be3d423b2af426a8867739ae12c1a Reviewed-on: https://code.wireshark.org/review/17688 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'docbook/asciidoc.conf')
-rw-r--r--docbook/asciidoc.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/docbook/asciidoc.conf b/docbook/asciidoc.conf
index 1b7ca000eb..c0678bb929 100644
--- a/docbook/asciidoc.conf
+++ b/docbook/asciidoc.conf
@@ -4,6 +4,15 @@
wireshark-version=2.3.0
+# "scaledwidth" only applies to PDF output
+pdf-scaledwidth=scaledwidth="85%"
+screenshot-attrs=scaledwidth="85%"
+toolbar-icon-attrs=height=24,width=24
+related-attrs=height=18
+# XXX height=22 results in content-height="22px" in the .fo file. Not sure
+# how to make scaledwidth take precedence.
+statusbar-attrs=scaledwidth="85%",height=22
+
[replacements]
# Most of these are fake macros.