[SCM] xmds documentation packaging branch, master, updated. b4eb51bb8656c508c8851d2fad1e2a434fa4adce
Sylvestre Ledru
sylvestre.ledru at scilab.org
Wed Aug 10 08:52:53 UTC 2011
The following commit has been merged in the master branch:
commit b4eb51bb8656c508c8851d2fad1e2a434fa4adce
Author: Christian T. Steigies <cts at debian.org>
Date: Wed Aug 10 10:52:32 2011 +0200
xmds-doc (0~svn.1884-3) unstable; urgency=low
* debian/control:
+ Add texlive-font-utils to Build-Depends-Indep
(closes: #562316)
+ Bump Standards-Version to 3.9.1 (no changes needed)
* Fix multiple definition of \ifpdf in xmds_defs.tex
diff --git a/debian/patches/ifpdf.patch b/debian/patches/ifpdf.patch
new file mode 100644
index 0000000..d145d44
--- /dev/null
+++ b/debian/patches/ifpdf.patch
@@ -0,0 +1,40 @@
+Index: xmds-doc-0~svn.1884/latex/xmds_defs.tex
+===================================================================
+--- xmds-doc-0~svn.1884.orig/latex/xmds_defs.tex 2010-02-23 23:41:57.000000000 +0100
++++ xmds-doc-0~svn.1884/latex/xmds_defs.tex 2010-02-23 23:42:20.000000000 +0100
+@@ -33,23 +33,22 @@
+ %%%% helps latex2html *not* see the stuff inbetween
+
+ % this code hacked from that of R Chandrasekhar from UWA
+-\newif\ifpdf
++\newif\ifmakepdf
+ \ifx\pdfoutput\undefined
+ \pdffalse % we are not running pdfLaTeX
+ \else
+ \pdfoutput=1 % we are running pdfLaTeX
+- \pdftrue
+ \fi
+
+ % add the color package
+-\ifpdf
++\ifmakepdf
+ \usepackage[usenames,dvipsnames]{color}
+ \else
+ \usepackage[usenames,dvips]{color}
+ \fi
+
+ % add the hyperref package
+-\ifpdf
++\ifmakepdf
+ \usepackage[pdftex]{hyperref}
+ \else
+ \usepackage[hypertex]{hyperref}
+@@ -62,7 +61,7 @@
+ \usepackage{ccaption}
+ \usepackage{fancyhdr}
+
+-\ifpdf
++\ifmakepdf
+ \DeclareGraphicsExtensions{.pdf} % this command defined in graphicx
+ \pdfcompresslevel=9 % 0: no compression, 9: highest compression
+ % or, set compress_level 9 in file pdftex.cfg
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..70da1ca
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+ifpdf.patch
--
xmds documentation packaging
More information about the debian-science-commits
mailing list