Skip to content
Snippets Groups Projects
Commit ca46df29 authored by Raymond Toy's avatar Raymond Toy
Browse files

Fix issues with creating pdf and ps documents, from Carl.

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.
parent ce037e96
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
\usepackage{xspace} \usepackage{xspace}
\usepackage{alltt} \usepackage{alltt}
\usepackage{index} \usepackage{index}
\usepackage{ifpdf}
\usepackage{ifthen} \usepackage{ifthen}
\usepackage{calc} \usepackage{calc}
\usepackage{sectsty} \usepackage{sectsty}
......
...@@ -47,7 +47,7 @@ about \cmucl. Users will also need a separate manual describing the ...@@ -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} \href{http://www.lispworks.com/documentation/HyperSpec/Front/index.htm}
{Hyperspec}. {Hyperspec}.
\else \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 \fi
......
...@@ -4,18 +4,6 @@ ...@@ -4,18 +4,6 @@
% %
% by Raymond Toy % 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 % use Palatino
\renewcommand{\rmdefault}{ppl} \renewcommand{\rmdefault}{ppl}
\ifpdf \ifpdf
......
...@@ -11,7 +11,7 @@ To understand the support for Unicode, we refer the reader to the ...@@ -11,7 +11,7 @@ To understand the support for Unicode, we refer the reader to the
\ifpdf \ifpdf
\href{http://www.unicode.org/}{Unicode standard}. \href{http://www.unicode.org/}{Unicode standard}.
\else \else
\emph{Unicode standard} at \href{http://www.unicode.org} \emph{Unicode standard} at \url{http://www.unicode.org}
\fi \fi
\section{Changes} \section{Changes}
......
...@@ -2,23 +2,12 @@ ...@@ -2,23 +2,12 @@
%\documentstyle{report} % -*- Dictionary: design -*- %\documentstyle{report} % -*- Dictionary: design -*-
\documentclass{report} \documentclass{report}
\usepackage{ifpdf}
\usepackage{ifthen} \usepackage{ifthen}
\usepackage{calc} \usepackage{calc}
\usepackage{palatino} \usepackage{palatino}
\usepackage[hyperindex=false,colorlinks=false,urlcolor=blue]{hyperref} \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} \title{Design of CMU Common Lisp}
\date{January 15, 2003} \date{January 15, 2003}
\author{Robert A. MacLachlan (ed)} \author{Robert A. MacLachlan (ed)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment