From 04f9ebfc388550910d0849435952c98690ae579d Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Sat, 26 May 2007 02:36:38 +0000 Subject: [PATCH] latex Guidebook [2 of 2] (trunk only) The documentation for symset also changed Guidebook.tex to use the hyperref package, which the old DECUS TeX distribution I'm using doesn't have. I can't remember any discussion about inserting URLs into the Guidebook and using LaTeX to generate html output. If there was, no comments to that effect made it into the .tex file or the cvs log text. So I'm guessing that \usepackage{hyperref} was a work-around for the font issue (below) and that the latter was a side-effect of converting from deprecated \documentstyle{} to recommended \documentclass{}. I tried installing hyperref after tracking it down, but using it generated complaints about several other packages either being too old or missing entirely. Coping with them would be too much hassle. I also tried just commenting it out, but that results in a font warning that I assume isn't present when it gets used. I managed to cobble together a fix for that, but since hyperref.sty isn't actually needed by our Guidebook, it was simpler to revert to the way things were done back in the old days.... --- doc/Guidebook.tex | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/Guidebook.tex b/doc/Guidebook.tex index f78b49d5a..2f8c14488 100644 --- a/doc/Guidebook.tex +++ b/doc/Guidebook.tex @@ -1,8 +1,10 @@ -\documentclass{article} -% \documentstyle[titlepage]{article} - -\usepackage{hyperref} -\usepackage{longtable} +\documentstyle[titlepage,longtable]{article} +%+% we're still limping along in LaTeX 2.09 compatability mode +%-%\documentclass{article} +%-%\usepackage{hyperref} % before longtable +%-%% if hyperref isn't available, we can get by with this instead +%-%%\RequirePackage[errorshow]{tracefnt} \DeclareSymbolFont{typewriter}{OT1}{cmtt}{m}{n} +%-%\usepackage{longtable} \textheight 220mm \textwidth 160mm @@ -31,7 +33,7 @@ \begin{document} % % input file: guidebook.mn -% $Revision: 1.105 $ $Date: 2007/04/27 02:05:28 $ +% $Revision: 1.106 $ $Date: 2007/05/25 02:02:43 $ % %.ds h0 " %.ds h1 %.ds h2 \%