SWI-Prolog / swipl-devel

SWI-Prolog Main development repository
http://www.swi-prolog.org
Other
951 stars 171 forks source link

tabref links are broken in the online manual #642

Open fnogatz opened 4 years ago

fnogatz commented 4 years ago

In the online manual for op/3 in Section 4.24, the anchor link "table 5" is broken. Similarly, the predicate's documentation page links to https://www.swi-prolog.org/pldoc/operators.html#tab:operators which gives a 404.

I tried to track this down a little bit. The link in the LaTeX documentation is here. The used \tabref command gets translated via packages-ltx2htm. Aaaand it was at this point, I stood in awe :sweat_smile:

Screenshot from 2020-07-24 01-43-42 :exploding_head:

JanWielemaker commented 4 years ago

Hi Falco, I think the missing link is in the reference rewriting in pldoc/doc_man.pl. This file provides an index to the manual and extracts parts of the manual such as individual predicate descriptions.