% $Id$ %%% ------------- how to edit this file: ----------------------------------------------------- %%% o Do not use tabs, but spaces in grammars ! %%% ------------- how to compile this file: -------------------------------------------------- %%% you need to enable TeX to use the files ``ul9.map'' and ``fourier_v03.map''. Otherwise, the %%% resulting output will not include necessary font information. %%% o how to make a TeX installation use these fonts %%% (1) Get root, go to /usr/share/texmf/dvips/config %%% (2) Edit the file ./updmap by adding two new lines to the %%% extra_modules section. Initially it is empty, and should %%% look like this after the modifications: %%% %%% extra_modules=" %%% //ul9.map %%% //fourier.map %%% " %%% %%% (3) Execute ./updmap (still as root) to integrate the new fonts into %%% "hundreds" of messy tex config files. %%% (4) Execute texhash (still as root) so that the kpsetools can find %%% the new files. From now on, you do not have to be root anymore. %%% %%% in LAMP, you can find those files here %%% /home/linuxsoft/share/texmf/dvips/config/ul9.map %%% /home/linuxsoft/share/texmf/dvips/fourier/fourier.map %%% o last step: get normal user again and enable your tex tools to find the fonts as well %%% Adjust your environment varables. In LAMP: %%% (5) setenv HOMETEXMF /home/linuxsoft/share/texmf %%% or, if you have a local texmf structure use %%% (5') setenv TEXMF /home/myname/texmf,/home/linuxsoft/share/texmf,/usr/share/texmf %%% Please note that whenever you redefine TEXMF it will ignore HOMETEXMF %%% unless you specify it explicitly in the TEXMF initialization. \documentclass[a4paper,12pt,twoside,titlepage]{book} \usepackage{scaladoc} \usepackage{fleqn} \usepackage{modefs} \usepackage{math} \usepackage{scaladefs} \ifpdf \pdfinfo { /Author (Martin Odersky) /Title (The Scala Language Specification) /Keywords (Scala) /Subject () /Creator (TeX) /Producer (PDFLaTeX) } \fi \newcommand{\exercise}{\paragraph{Exercise}} \newcommand{\rewriteby}[1]{\mbox{\tab\tab\rm(#1)}} \renewcommand{\doctitle}{Scala By Example\\[33mm]\ } \renewcommand{\docauthor}{Martin Odersky\\[53mm]\ } \renewcommand{\doctitle}{The Scala Language \\ Specification \\ \Large Version 1.0 \ } \renewcommand{\docauthor}{Martin Odersky \\ Philippe Altherr \\ Vincent Cremet \\ Burak Emir \\ St\'ephane Micheloud \\ Nikolay Mihaylov \\ Michel Schinz \\ Erik Stenman \\ Matthias Zenger \\[25mm]\ } \begin{document} \frontmatter \makedoctitle \clearemptydoublepage \tableofcontents \mainmatter \sloppy %\todo{`:' as synonym for $\EXTENDS$?} \part{Rationale} \input{RationalePart} \part{The Scala Language Specification} \input{ReferencePart} \bibliographystyle{alpha} \bibliography{Scala} \input{ReferencePartAppendix} \end{document}