fpc/docs
2005-01-11 17:07:45 +00:00
..
bunixex
buttons
crtex
datutex
dosex
dynlibex
go32ex
gpmex
graphex
gtk1ex
gtk3ex
gtk4ex
gtk5ex
heapex
internal
ipcex
kbdex
linuxex
mathex
mmouseex
mouseex
objectex
old
olinuxex
optex
packages
pics
printex
progex
refex
sockex
stringex
strutex
styles
syntax
sysutex
typinfex
unixex
unutilex
videoex
.latex2html-init
baseunix.xml
chart.tex
classchart.ps
classes.xml
convert.sed
crt.xml
dateutils.xml
dos.xml
dxeload.xml
dynlibs.xml
emu387.xml
fakehtml.sty
fcl.tex
foot.sed
fpc-hevea.tex
fpc-html.tex
fpc.sty
fpc.sty.doc
fpctoc.html
fpdoc.cst
fpdoc.tex
getopts.xml
go32.xml
gpm.xml
graph.xml
gtk1.tex
gtk2.tex
gtk3.tex
gtk4.tex
gtk5.tex
heaptrc.xml
ide.tex
internal.tex
ipc.xml
keyboard.xml
keys.tex
linux.xml
linux.xpm
Makefile * regenerated 2005-01-11 17:07:45 +00:00
Makefile.4ht
Makefile.fpc
Makefile.hev
Makefile.l2h
makehtm.pp
math.xml
mkkeytab.pp
mmx.xml
mouse.xml
msmouse.tex
objects.xml
objpas.xml
oldlinux.xml
onechap.tex
options.tex
ports.xml
pp2tex
pp2tex.bat
preamble.book
preamble.hevea
preamble.html
preamble.report
preamble.ts3
preamble.ts4
printer.xml
prog.tex
README.DOCS
ref.tex
reserved.tex
rtl.tex
rtl.xml
search.html
sockets.xml
strings.xml
strutils.xml
system.xml
systhrds.xml
sysutils.xml
table.eps
table.fig
tex2htex
tex4ht.env
TODO
typinfo.xml
units.tex
unix.xml
unixtype.xml
unixutil.xml
user.tex
video.xml
win.xpm
x86.xml

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.