This module translates the Herbrand term from the documentation
extracting module doc_wiki.pl
into a LaTeX document for us with the
pl.sty LaTeX style file. The function of this module is very similar to
doc_html.pl
, providing the HTML backend, and the implementation follows
the same paradigm. The module can
Typically Spec is either a list of filenames or a list of predicate indicators. Defined options are:
true
(default), create a document that can be run
through LaTeX. If false
, produce a document to be
included in another LaTeX document.true
(default), only emit documentation for
exported predicates.section
.modules([Module])
.stand_alone
, public_only
and section_level
.
See doc_latex/3 for a description of the options.stand_alone
, public_only
and
section_level
. See doc_latex/3 for a description of the
options.opt(Arg)
it is written as [Arg], Otherwise it is written as
{Arg}. Note that opt([])
is omitted. I think no LaTeX command is
designed to handle an empty optional argument special.
During processing the arguments it asserts fragile/0 to allow is taking care of LaTeX fragile constructs (i.e. constructs that are not allows inside {...}).
name/arity
.\cite{Citations}
commandtag(Name, Values)
terms produced by doc_wiki.pl
.args(List)
created by doc_wiki.pl
. Params is a
list of arg(Name, Descr)
.span
using
class pred
and the arguments and var
using class arglist
.
doc_wiki.pl
.
summary(+File)
, write a summary of all
documented predicates to File.nl(N)
and return the maximum of it.\urldef
definitions from File and populate
urldef_name/2. See pldoc.sty
for details.