[fpc-devel] fpdoc's RTF output

Michael Van Canneyt michael at freepascal.org
Tue Aug 24 20:47:35 CEST 2010



On Tue, 24 Aug 2010, Graeme Geldenhuys wrote:

> On 24 August 2010 20:06, Marco van de Voort wrote:
>>
>> I don't understand? You don't have to have Latex to inspect latex output of
>> fpdoc ?
>
> I can output latex for fpGUI class docs, but I don't know how to
> generate latex output for RTL & FCL. Using the make command, it always
> wants to build the whole thing giving my latex errors. I don't have
> latex installed.

run
  make rtl.inc
  make fcl.inc

And it will just run the fpdoc command. the rtl.inc and fcl.inc files are the ones you need.
the .tex files just include these files.

Michael.

>
> Here is the command I run in the fpc docs directory.. The resulting
> fcl.tex file is only 70 lines long.
>
> ------------------------------------------
> $ make ps FPCSRCDIR=~/programming/fpc-2.4.0/src
> FPDOC=~/programming/fpc-2.5.1/bin/fpdoc
> cp styles/listings.sty styles/lstdoc.sty styles/lstlang1.sty
> styles/lstlang2.sty styles/lstlang3.sty styles/lstmisc.sty
> styles/lstpatch.sty styles/syntax.sty .
> make -C /home/graemeg/programming/fpc-2.4.0/src/compiler/utils msg2inc
> make[1]: Entering directory
> `/home/graemeg/programming/fpc-2.4.0/src/compiler/utils'
> /home/graemeg/programming/fpc-2.5.1/bin/ppc386 -Fu..
> -Fu../../rtl/units/i386-linux -FE. -FUunits/i386-linux -di386
> msg2inc.pp
> Free Pascal Compiler version 2.5.1 [2010/08/23] for i386
> Copyright (c) 1993-2010 by Florian Klaempfl
> make[1]: Leaving directory
> `/home/graemeg/programming/fpc-2.4.0/src/compiler/utils'
> /home/graemeg/programming/fpc-2.4.0/src/compiler/utils/msg2inc -TE
> /home/graemeg/programming/fpc-2.4.0/src/compiler/msg/errore.msg
> messages.inc
> Loading messagefile
> /home/graemeg/programming/fpc-2.4.0/src/compiler/msg/errore.msg
> Writing TeXfile messages.inc
> echo "% Automatically generated. Do not edit" > comphelp.inc
> echo -n '\' >> comphelp.inc
> echo 'begin{verbatim}' >> comphelp.inc
> /home/graemeg/programming/fpc-2.5.1/bin/ppc386 -h >>comphelp.inc
> echo '\end{verbatim}' >> comphelp.inc
> rm user.aux user.idx  user.ilg  user.ind  user.log  user.out  user.toc
> user.tmp user.xref user.4ht
> rm: cannot remove `user.aux': No such file or directory
> rm: cannot remove `user.idx': No such file or directory
> rm: cannot remove `user.ilg': No such file or directory
> rm: cannot remove `user.ind': No such file or directory
> rm: cannot remove `user.log': No such file or directory
> rm: cannot remove `user.out': No such file or directory
> rm: cannot remove `user.toc': No such file or directory
> rm: cannot remove `user.tmp': No such file or directory
> rm: cannot remove `user.xref': No such file or directory
> rm: cannot remove `user.4ht': No such file or directory
> make: [user.dvi] Error 1 (ignored)
> cp -f preamble.report preamble.inc
> latex user
> make: latex: Command not found
> make: *** [user.dvi] Error 127
> ------------------------------------
>
>
>
> -- 
> Regards,
>   - Graeme -
>
>
> _______________________________________________
> fpGUI - a cross-platform Free Pascal GUI toolkit
> http://opensoft.homeip.net/fpgui/
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>


More information about the fpc-devel mailing list