Fix issues with creating pdf and ps documents, from Carl.
authorRaymond Toy <toy.raymond@gmail.com>
Thu, 17 Jan 2013 04:42:33 +0000 (20:42 -0800)
committerRaymond Toy <toy.raymond@gmail.com>
Thu, 17 Jan 2013 04:42:33 +0000 (20:42 -0800)
cmu-user.tex:
o Include ifpdf package

design.tex:
o Include ifpdf package
o Remove the home-grown ifpdf macro.

macros.tex:
o Remove the home-grown ifpdf macro.

introduction.tex:
unicode.tex:
o Use \url instead of \href for URLs.

src/docs/cmu-user/cmu-user.tex
src/docs/cmu-user/introduction.tex
src/docs/cmu-user/macros.tex
src/docs/cmu-user/unicode.tex
src/docs/internals/design.tex

index 4a94c16..55e8cde 100644 (file)
@@ -32,6 +32,7 @@
 \usepackage{xspace}
 \usepackage{alltt}
 \usepackage{index}
+\usepackage{ifpdf}
 \usepackage{ifthen}
 \usepackage{calc}
 \usepackage{sectsty}
index dbce9ba..2075509 100644 (file)
@@ -47,7 +47,7 @@ about \cmucl. Users will also need a separate manual describing the
 \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}
+\emph{Hyperspec} at \url{http://www.lispworks.com/documentation/HyperSpec/Front/index.htm}
 \fi
 
 
index 9c8cba5..bfb1669 100644 (file)
@@ -4,18 +4,6 @@
 %
 % 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 Palatino
 \renewcommand{\rmdefault}{ppl}
 \ifpdf
index c6a1a98..cab4c59 100644 (file)
@@ -11,7 +11,7 @@ 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}
+\emph{Unicode standard} at \url{http://www.unicode.org}
 \fi
 \section{Changes}
 
index 753ed61..776ee1e 100644 (file)
@@ -2,23 +2,12 @@
 %\documentstyle{report} % -*- Dictionary: design -*-
 
 \documentclass{report}
+\usepackage{ifpdf}
 \usepackage{ifthen}
 \usepackage{calc}
 \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
-
-
-
 \title{Design of CMU Common Lisp}
 \date{January 15, 2003}
 \author{Robert A. MacLachlan (ed)}