The sources of the Free Pascal compiler, RTL, packages and utilities. See https://www.freepascal.org/ for more info.
Go to file
2005-02-20 13:21:25 +00:00
compiler * allow assignment to elements of constant dyn array in delphi mode 2005-02-20 13:12:22 +00:00
demo * 1.9.8 2005-02-15 22:28:29 +00:00
docs + Changed tar.gz names to resemble zip names 2005-02-20 00:38:28 +00:00
fcl + Patch from Luiz Américo to fix several issues 2005-02-18 22:34:38 +00:00
fv * 1.9.8 2005-02-15 22:28:29 +00:00
ide * 1.9.8 2005-02-15 22:28:29 +00:00
install * put cvsfiles in outputdir 2005-02-20 13:21:25 +00:00
installer * 1.9.8 2005-02-15 22:28:29 +00:00
packages * 1.9.8 2005-02-15 22:28:29 +00:00
rtl * fixed overflow detection, + some small optimizations 2005-02-19 14:16:02 +00:00
tests * updates from Ales Katona 2005-02-19 21:30:04 +00:00
utils + added -P: 2005-02-20 11:09:41 +00:00
Makefile * 1.9.8 2005-02-15 22:28:29 +00:00
Makefile.fpc * 1.9.8 2005-02-15 22:28:29 +00:00

This is the README for the Free Pascal documentation.

All documentation is stored here, in LaTeX format and in fpdoc format.
it uses special style files (fpc*.sty) which are also in the directory.

do a 'make dvi' to produce the dvi format of the docs.
a 'make html' will produce the html version (using latex2html).
a 'make ps' will produce PostScript documents.
a 'make pdf' will produce PDF (Portable Document Format) documents.
a 'make txt' will produce plain text documents.

If you want to produce dos docs, you can do a 'make htm' this will convert
the .html files to .htm files (including all references), suitable for a 8:3
format.

The rest of this document is only interesting if you want to write docs.
Otherwise, you can bail out now.

THE DOCS...

Why LaTeX ? 
- because I like a printed copy of the manuals, HTML just isn't good enough 
  for this.
- I know LaTeX very well :) (mind you : html also !)
- It converts to many other formats.
- many other reasons.

In order to translate the things to HTML, I use latex2html, since it is the
most powerful and flexible, although sluggish... 

Why fpdoc ?
- Because it always creates up-to-date documentation.
- The documentation is separate from the units contrary to many other
  documentation tools which require comments in the sources, which makes
  the source unreadable.
- It's written in FPC.



Then how to proceed ?
If you just want to write general latex docs, just use fpc.sty. 
fpc.sty.doc describes what fpc.sty does. (one day I'll integrate them using
the doc package, but I need some time for it)

If you want to document units, use fpdoc. It is documented fairly complete,
and you can have a look at the many .xml units for examples on how to use
it.

Happy TeXing,

Michael.