Ver código fonte

+ Changes to be able to make book

michael 25 anos atrás
pai
commit
039c929f5c
1 arquivos alterados com 18 adições e 2 exclusões
  1. 18 2
      docs/units.tex

+ 18 - 2
docs/units.tex

@@ -18,9 +18,12 @@
 %   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 %   Boston, MA 02111-1307, USA.
 %
-% This is just a main file. All units are described in separate files.
-%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Preamble. 
+% Uncomment the one you need here. The book version is for the published
+% book version.
 \documentclass{report}
+%\documentclass{book}
 %
 % Preamble
 %
@@ -31,6 +34,17 @@
 \else
   \usepackage{fpc}
 \fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Uncomment the fpc or fpcbook version, depending on the output format 
+% you want.
+\usepackage{fpc}
+%\usepackage{fpcbook}
+\latex{\usepackage{multicol}}
+\latex{%
+  \ifpdf
+  \pdfcompresslevel=9
+  \pdfpagewidth=210mm
+  \pdfpageheight=297mm
 %
 \html{\input{fpc-html.tex}}
 %
@@ -48,6 +62,8 @@
 %
 % Syntax style
 %
+% This is just a main file. All units are described in separate files.
+%
 \usepackage{syntax}
 \input{syntax/diagram.tex}
 %