Description: texlive now is using pdftex so we need to use the ifpdf package
Author: Peter Van Eynde <pvaneynd@debian.org>
Forwarded: TBD


Index: b/src/docs/cmu-user/introduction.tex
===================================================================
--- a/src/docs/cmu-user/introduction.tex	2011-12-06 09:04:56.000000000 +0000
+++ b/src/docs/cmu-user/introduction.tex	2011-12-06 09:05:46.711385722 +0000
@@ -43,12 +43,7 @@
 This user's manual contains only implementation-specific information
 about \cmucl. Users will also need a separate manual describing the
 \clisp{} standard, for example, the
-\ifpdf
-\href{http://www.lispworks.com/documentation/HyperSpec/Front/index.htm}
-{Hyperspec}.
-\else
-\emph{Hyperspec} at \href{http://www.lispworks.com/documentation/HyperSpec/Front/index.htm}
-\fi
+\href{http://www.lispworks.com/documentation/HyperSpec/Front/index.htm}{Hyperspec}.
 
 
 In addition to the language itself, this document describes a number
Index: b/src/docs/cmu-user/macros.tex
===================================================================
--- a/src/docs/cmu-user/macros.tex	2011-12-06 09:04:56.000000000 +0000
+++ b/src/docs/cmu-user/macros.tex	2011-12-06 09:05:46.719389722 +0000
@@ -4,17 +4,8 @@
 %
 % by Raymond Toy
 
-
-% define a new conditional statement which allows us to include
-% stuff conditionally when compiling to PDF. 
-\newif\ifpdf
-\ifx\pdfoutput\undefined
-   \pdffalse
-\else
-   \pdfoutput=1
-   \pdftrue
-\fi
-
+% use ifpdf library:
+\usepackage{ifpdf}
 
 % use Palatino
 \renewcommand{\rmdefault}{ppl}
Index: b/src/docs/cmu-user/unicode.tex
===================================================================
--- a/src/docs/cmu-user/unicode.tex	2011-12-06 09:04:56.802444572 +0000
+++ b/src/docs/cmu-user/unicode.tex	2011-12-06 09:05:46.719389722 +0000
@@ -8,11 +8,7 @@
 coding format.
 
 To understand the support for Unicode, we refer the reader to the
-\ifpdf
 \href{http://www.unicode.org/}{Unicode standard}.
-\else
-\emph{Unicode standard} at \href{http://www.unicode.org}
-\fi
 \section{Changes}
 
 To support internationalization, the following changes to Common Lisp
Index: b/src/docs/interface/toolkit.tex
===================================================================
--- a/src/docs/interface/toolkit.tex	2011-12-06 09:04:56.000000000 +0000
+++ b/src/docs/interface/toolkit.tex	2011-12-06 09:05:46.719389722 +0000
@@ -7,14 +7,7 @@
 % \usepackage{a4wide}
 \usepackage{palatino}
 
-
-\newif\ifpdf
-\ifx\pdfoutput\undefined
-   \pdffalse
-\else
-   \pdfoutput=1
-   \pdftrue
-\fi
+\usepackage{ifpdf}
 
 \ifpdf
 \pdfinfo{
Index: b/src/docs/internals/design.tex
===================================================================
--- a/src/docs/internals/design.tex	2011-12-06 09:04:56.000000000 +0000
+++ b/src/docs/internals/design.tex	2011-12-06 09:05:46.719389722 +0000
@@ -7,15 +7,7 @@
 \usepackage{palatino}
 \usepackage[hyperindex=false,colorlinks=false,urlcolor=blue]{hyperref}
 
-% define a new conditional statement which allows us to include
-% stuff conditionally when compiling to PDF. 
-\newif\ifpdf
-\ifx\pdfoutput\undefined
-   \pdffalse
-\else
-   \pdfoutput=1
-   \pdftrue
-\fi
+\usepackage{ifpdf}
 
 
 
