units.tex 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. %
  2. % $Id$
  3. % This file is part of the FPC documentation.
  4. % Copyright (C) 1997, by Michael Van Canneyt
  5. %
  6. % The FPC documentation is free text; you can redistribute it and/or
  7. % modify it under the terms of the GNU Library General Public License as
  8. % published by the Free Software Foundation; either version 2 of the
  9. % License, or (at your option) any later version.
  10. %
  11. % The FPC Documentation is distributed in the hope that it will be useful,
  12. % but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. % Library General Public License for more details.
  15. %
  16. % You should have received a copy of the GNU Library General Public
  17. % License along with the FPC documentation; see the file COPYING.LIB. If not,
  18. % write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  19. % Boston, MA 02111-1307, USA.
  20. %
  21. \documentclass{report}
  22. %
  23. % This is just a main file. All units are described in separate files.
  24. %
  25. % Preamble
  26. %
  27. \usepackage{a4}
  28. \usepackage{makeidx}
  29. \usepackage{html}
  30. \latex{\usepackage{fpc}}
  31. \latex{\usepackage{listings}\blankstringtrue%
  32. \selectlisting{tp}\stringstyle{\ttfamily}}
  33. \html{\input{fpc-html.tex}}
  34. \usepackage{fancyheadings}
  35. \pagestyle{fancy}
  36. \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
  37. \makeindex
  38. %
  39. % start of document.
  40. %
  41. \begin{document}
  42. \title{Free Pascal supplied units : \\ Reference guide.}
  43. \docdescription{Reference guide for standard Free Pascal units.}
  44. \docversion{1.3}
  45. \date{March 1998}
  46. \author{Micha\"el Van Canneyt\\ Florian Kl\"ampfl}
  47. \maketitle
  48. \tableofcontents
  49. \newpage
  50. \section*{About this guide}
  51. This document describes all constants, types, variables, functions and
  52. procedures as they are declared in the units that come standard with \fpc.
  53. Throughout this document, we will refer to functions, types and variables
  54. with \var{typewriter} font. Functions and procedures gave their own
  55. subsections, and for each function or procedure we have the following
  56. topics:
  57. \begin{description}
  58. \item [Declaration] The exact declaration of the function.
  59. \item [Description] What does the procedure exactly do ?
  60. \item [Errors] What errors can occur.
  61. \item [See Also] Cross references to other related functions/commands.
  62. \end{description}
  63. The cross-references come in two flavors:
  64. \begin{itemize}
  65. \item References to other functions in this manual. In the printed copy, a
  66. number will appear after this reference. It refers to the page where this
  67. function is explained. In the on-line help pages, this is a hyperlink, on
  68. which you can click to jump to the declaration.
  69. \item References to Unix manual pages. (For Linux related things only) they
  70. are printed in \var{typewriter} font, and the number after it is the Unix
  71. manual section.
  72. \end{itemize}
  73. The chapters are ordered alphabetically. The functions and procedures in
  74. most cases also, but don't count on it. Use the table of contents for quick
  75. lookup.
  76. %
  77. % Each unit is in its own file. Each file is a chapter.
  78. %
  79. % The crt unit.
  80. \input{crt.tex}
  81. % The Dos unit
  82. \input{dos.tex}
  83. % The getopts unit
  84. \input{getopts.tex}
  85. % the go32 unit
  86. \input{go32.tex}
  87. % The graph unit
  88. \input{graph.tex}
  89. % the Linux unit
  90. \input{linux.tex}
  91. % The MMX unit
  92. \input{mmx.tex}
  93. % The mouse unit
  94. \input{mouse.tex}
  95. % the printer unit
  96. \input{printer.tex}
  97. % the sockets unit
  98. \input{sockets.tex}
  99. % the strings unit
  100. \input{strings.tex}
  101. \printindex
  102. \end{document}