In order to compile Txt2FPDoc you need :
Txt2FPDoc sources :
http://yann.merignac.free.fr/txt2fpdoc.html
When the Txt2FPDoc sources have been uncompressed enter the
Txt2FPDoc source directory and run the following commands:
~$ fpc pasconf
~$ ./pasconf
~$ make
For extra configuration options try running ./pasconf -h.