Browse Source

+ Fixes to work with book

michael 25 năm trước cách đây
mục cha
commit
b785e062d5
1 tập tin đã thay đổi với 13 bổ sung8 xóa
  1. 13 8
      docs/ref.tex

+ 13 - 8
docs/ref.tex

@@ -18,7 +18,12 @@
 %   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 %   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 %   Boston, MA 02111-1307, USA.
 %   Boston, MA 02111-1307, USA.
 %
 %
-\documentclass{report}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Preamble. 
+% Uncomment the one you need here. The book version is for the published
+% book version.
+%\documentclass{report}
+\documentclass{book}
 %
 %
 % Preamble
 % Preamble
 %
 %
@@ -27,18 +32,20 @@
   \usepackage{htmllist}
   \usepackage{htmllist}
   \latex{\usepackage{fpc}}
   \latex{\usepackage{fpc}}
 \else
 \else
+b%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Uncomment the fpc or fpcbook version, depending on the output format 
+% you want.
   \usepackage{fpc}
   \usepackage{fpc}
+  \usepackage{fpcbook}
 \fi
 \fi
-%
-\html{\input{fpc-html.tex}}
-%
-\ifpdf
+\latex{%
+  \ifpdf
   \pdfinfo{/Author(Michael Van Canneyt)
   \pdfinfo{/Author(Michael Van Canneyt)
            /Title(Standard units Reference Guide)
            /Title(Standard units Reference Guide)
            /Subject(Free Pascal Reference guide)
            /Subject(Free Pascal Reference guide)
            /Keywords(Free Pascal, Language, System Unit)
            /Keywords(Free Pascal, Language, System Unit)
            }
            }
-\fi
+\fi}
 %
 %
 % Settings
 % Settings
 %
 %
@@ -48,7 +55,6 @@
 %
 %
 \usepackage{syntax}
 \usepackage{syntax}
 \input{syntax/diagram.tex}
 \input{syntax/diagram.tex}
-\usepackage{layout}
 %
 %
 % Start of document.
 % Start of document.
 %
 %
@@ -72,7 +78,6 @@
 
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % About this guide
 % About this guide
-\layout
 \section*{About this guide}
 \section*{About this guide}
 This document describes all constants, types, variables, functions and
 This document describes all constants, types, variables, functions and
 procedures as they are declared in the system unit.
 procedures as they are declared in the system unit.