Преглед на файлове

Changes to work with book

michael преди 25 години
родител
ревизия
d986b2ce21
променени са 1 файла, в които са добавени 15 реда и са изтрити 5 реда
  1. 15 5
      docs/prog.tex

+ 15 - 5
docs/prog.tex

@@ -18,10 +18,16 @@
 %   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.
 %
 %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Preamble. 
+% Uncomment the one you need here. The book version is for the published
+% book version.
 \documentclass{report}
 \documentclass{report}
+%\documentclass{book}
 %
 %
 % Preamble
 % Preamble
-%
+\usepackage{epsfig}
+\usepackage{multicol}
 \ifx\pdfoutput\undefined
 \ifx\pdfoutput\undefined
   \usepackage{html}
   \usepackage{html}
   \usepackage{htmllist}
   \usepackage{htmllist}
@@ -29,16 +35,20 @@
 \else
 \else
   \usepackage{fpc}
   \usepackage{fpc}
 \fi
 \fi
-%
-\html{\input{fpc-html.tex}}
-%
-\ifpdf
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Uncomment the fpc or fpcbook version, depending on the output format 
+% you want.
+%\usepackage{fpc}
+%\usepackage{fpcbook}
+\latex{%
+  \ifpdf
   \pdfinfo{/Author(Michael Van Canneyt)
   \pdfinfo{/Author(Michael Van Canneyt)
            /Title(Programmers' Guide)
            /Title(Programmers' Guide)
            /Subject(Free Pascal Programmers' guide)
            /Subject(Free Pascal Programmers' guide)
            /Keywords(Free Pascal)
            /Keywords(Free Pascal)
            }
            }
 \fi
 \fi
+}
 %
 %
 % Settings
 % Settings
 %
 %