diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-11-28 20:09:11 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-11-29 14:07:47 -0800 |
commit | 176afb0397e5c3bf0c5c1967cec65e1d017fc87c (patch) | |
tree | 52e414d6cc5a5241664a757158330155c7447ee7 | |
parent | 8c4f0ad1f49448940d12430b664045ae6c52f892 (diff) |
Speed up ps/pdf output by not trying to fetch draft.png from web
Force draft mode to "no" instead of default of "maybe" as discussed in
various posts in http://sources.redhat.com/ml/docbook-apps archives.
For those of us building behind firewalls, shaves approx. 3 minutes off
document creation for each set of documents by not waiting for download
of the draft.png watermark image from the docbook website to time out.
Also gets rid of these errors from xmlto:
Nov 28, 2010 8:10:04 PM org.apache.fop.apps.FOURIResolver resolve
SEVERE: Error with opening URL 'http://docbook.sourceforge.net/release/images/draft.png': Connection timed out
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | xorg.xsl | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -40,4 +40,10 @@ DEALINGS IN THE SOFTWARE. <!-- Index links should point to indexterm location, not start of section --> <xsl:param name="index.links.to.section" select="0"/> + + <!-- + Speed up ps & pdf creation by not creating pages with "draft" image, + thus not needing to wait for http fetch of draft.png from docbook website. + --> + <xsl:param name="draft.mode" select="no"/> </xsl:stylesheet> |