[fpc-pascal] Problems with fpdoc

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Mon Jan 2 11:40:43 CET 2012



On Mon, 2 Jan 2012, dhkblaszyk at zeelandnet.nl wrote:

>
>
> Hi,
>
> I seem to have some problems using fpdoc in combination with
> html tags. When I enter some text (taken from the documentation) I get
> compilation errors:
>
> Text used:
>
> With Strings do
> For i:=Count-1
> downto 0 do
> Delete(i);
>
> Compilation errors:
> [] Invalid description
> (illegal XML element: "#text")
> [] Invalid paragraph content
> [] Invalid
> description (illegal XML element: "#text")
>
> If I drop the  tags, I
> still get compilation errors (just not the 2nd one) but to my surprise
> the pascal code is shown in the .chm file. However any text after this
> code section is ignored. So my question is, how am I supposed to use
> html tags inside the documentation? Is there a special switch needed?

Can you post the actual XML you used in a separate mail ?

Because the above is useless, I just see plain text.

> I'm using: 2.7.1 [2011/12/27] for i386
>
> On a side note, I would like
> to include images in my documentation. How to do this? Is simply putting
> a  tag enough and will these links be embedded in the chm file?

Yes, an 'img' tag exists. This is documented. It does NOT use the HTML
syntax, though.

Michael.



More information about the fpc-pascal mailing list