summaryrefslogtreecommitdiff
path: root/textproc/db2latex/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/db2latex/patches/patch-ac')
-rw-r--r--textproc/db2latex/patches/patch-ac42
1 files changed, 42 insertions, 0 deletions
diff --git a/textproc/db2latex/patches/patch-ac b/textproc/db2latex/patches/patch-ac
new file mode 100644
index 00000000000..11c982c9a90
--- /dev/null
+++ b/textproc/db2latex/patches/patch-ac
@@ -0,0 +1,42 @@
+$NetBSD: patch-ac,v 1.1 2009/07/28 16:27:12 minskim Exp $
+
+--- xsl/preamble.mod.xsl.orig 2004-01-31 04:26:12.000000000 -0800
++++ xsl/preamble.mod.xsl
+@@ -875,17 +875,7 @@
+ <doc:param name="latex.pdf.preamble" xmlns="">
+ <doc:description>
+ <screen>
+- \usepackage{ifthen}
+- % --------------------------------------------
+- % Check for PDFLaTeX/LaTeX
+- % --------------------------------------------
+- \newif\ifpdf
+- \ifx\pdfoutput\undefined
+- \pdffalse % we are not running PDFLaTeX
+- \else
+- \pdfoutput=1 % we are running PDFLaTeX
+- \pdftrue
+- \fi
++ \usepackage{ifpdf}
+ % --------------------------------------------
+ % Load graphicx package with pdf if needed
+ % --------------------------------------------
+@@ -899,17 +889,7 @@
+ </doc:description>
+ </doc:param>
+ <xsl:param name="latex.pdf.preamble">
+- <xsl:text>\usepackage{ifthen}&#10;</xsl:text>
+- <xsl:text>% --------------------------------------------&#10;</xsl:text>
+- <xsl:text>% Check for PDFLaTeX/LaTeX &#10;</xsl:text>
+- <xsl:text>% --------------------------------------------&#10;</xsl:text>
+- <xsl:text>\newif\ifpdf&#10;</xsl:text>
+- <xsl:text>\ifx\pdfoutput\undefined&#10;</xsl:text>
+- <xsl:text>\pdffalse % we are not running PDFLaTeX&#10;</xsl:text>
+- <xsl:text>\else&#10;</xsl:text>
+- <xsl:text>\pdfoutput=1 % we are running PDFLaTeX&#10;</xsl:text>
+- <xsl:text>\pdftrue&#10;</xsl:text>
+- <xsl:text>\fi&#10;</xsl:text>
++ <xsl:text>\usepackage{ifpdf}&#10;</xsl:text>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>
+ <xsl:text>% Load graphicx package with pdf if needed &#10;</xsl:text>
+ <xsl:text>% --------------------------------------------&#10;</xsl:text>