michael 22 年之前
父节点
当前提交
c352481936
共有 3 个文件被更改,包括 20 次插入15 次删除
  1. 2 8
      docs/preamble.report
  2. 17 7
      docs/ref.tex
  3. 1 0
      docs/units.tex

+ 2 - 8
docs/preamble.report

@@ -1,14 +1,8 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Preamble for report output
 % Preamble for report output
-
 %
 %
 \documentclass{report}
 \documentclass{report}
-
 %
 %
 \usepackage{fpc}
 \usepackage{fpc}
-
-% Use times for PDF
-\ifx\pdfoutput\undefined
-\else
-  \usepackage{times}
-\fi
+%
+%

+ 17 - 7
docs/ref.tex

@@ -44,6 +44,7 @@
 % Start of document.
 % Start of document.
 %
 %
 \begin{document}
 \begin{document}
+\renewcommand{\hline}{\xspace}
 \title{Free Pascal :\\ Reference guide.}
 \title{Free Pascal :\\ Reference guide.}
 \docdescription{Reference guide for Free Pascal, version \fpcversion}
 \docdescription{Reference guide for Free Pascal, version \fpcversion}
 \docversion{1.9}
 \docversion{1.9}
@@ -111,21 +112,21 @@ Keywords which must be typed exactly as in the diagram:
 \end{mysyntdiag}
 \end{mysyntdiag}
 When something can be repeated, there is an arrow around it:
 When something can be repeated, there is an arrow around it:
 \begin{mysyntdiag}
 \begin{mysyntdiag}
-\<[b] \synt{this\ can\ be\ repeated} \\ \>
+\begin{rep}[b] \synt{this\ can\ be\ repeated} \\ \end{rep}
 \end{mysyntdiag}
 \end{mysyntdiag}
 When there are different possibilities, they are listed in columns:
 When there are different possibilities, they are listed in columns:
 \begin{mysyntdiag}
 \begin{mysyntdiag}
-\(
+\begin{stack}
 \synt{First\ possibility} \\
 \synt{First\ possibility} \\
 \synt{Second\ possibility}
 \synt{Second\ possibility}
-\)
+\end{stack}
 \end{mysyntdiag}
 \end{mysyntdiag}
 Note, that one of the possibilities can be empty:
 Note, that one of the possibilities can be empty:
 \begin{mysyntdiag}
 \begin{mysyntdiag}
-\[
+\begin{stack}\\
 \synt{First\ possibility} \\
 \synt{First\ possibility} \\
 \synt{Second\ possibility}
 \synt{Second\ possibility}
-\]
+\end{stack}
 \end{mysyntdiag}
 \end{mysyntdiag}
 This means that both the first or second possibility are optional.
 This means that both the first or second possibility are optional.
 Of course, all these elements can be combined and nested.
 Of course, all these elements can be combined and nested.
@@ -565,7 +566,13 @@ check error if range checking is enabled.
 \end{enumerate}
 \end{enumerate}
 \subsubsection{Integers}
 \subsubsection{Integers}
 A list of pre-defined integer types is presented in \seet{integerstyp}
 A list of pre-defined integer types is presented in \seet{integerstyp}
-\begin{FPCltable}{l}{Predefined integer types}{integerstyp}
+%
+\begin{table}[ht]
+\caption{Predefined integer types}
+\label{tab:integerstyp}
+\begin{center}
+\begin{tabular}{l}
+%\begin{FPCltable}{l}{Predefined integer types}{integerstyp}
 Name\\ \hline
 Name\\ \hline
 Integer \\
 Integer \\
 Shortint \\
 Shortint \\
@@ -581,7 +588,10 @@ Boolean \\
 ByteBool \\
 ByteBool \\
 LongBool \\
 LongBool \\
 Char \\ \hline
 Char \\ \hline
-\end{FPCltable}
+\end{tabular}
+\end{center}
+\end{table}
+%\end{FPCltable}
 The integer types, and their ranges and sizes, that are predefined in
 The integer types, and their ranges and sizes, that are predefined in
 \fpc are listed in \seet{integersranges}. It is to note that
 \fpc are listed in \seet{integersranges}. It is to note that
 the \var{qword} and \var{int64} types are not true ordinals, so
 the \var{qword} and \var{int64} types are not true ordinals, so

+ 1 - 0
docs/units.tex

@@ -46,6 +46,7 @@
 % Start of document.
 % Start of document.
 %
 %
 \begin{document}
 \begin{document}
+%
 \title{Free Pascal supplied units : \\ Reference guide.}
 \title{Free Pascal supplied units : \\ Reference guide.}
 \docdescription{Reference guide for standard Free Pascal units.}
 \docdescription{Reference guide for standard Free Pascal units.}
 \docversion{1.9}
 \docversion{1.9}