Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/manual/cmds/ocamldoc.etex b/manual/cmds/ocamldoc.etex
- index 563c6df..55e119b 100644
- --- a/manual/cmds/ocamldoc.etex
- +++ b/manual/cmds/ocamldoc.etex
- @@ -753,7 +753,9 @@ text: {{text-element}}
- @||@&@ '{[' string ']}' @ & set the given @string@ in preformatted
- source code style.\\
- @||@&@ '{v' string 'v}' @ & set the given @string@ in verbatim style. \\
- -@||@&@ '{%' string '%}' @ & take the given @string@ as raw \LaTeX\ code.\\
- +@||@&@ '{%' string '%}' @ & target-specific content
- + (\LaTeX\ code by default, see details
- + in \ref{sss:target-specific-syntax}) \\
- @||@&@ '{!' string '}' @ & insert a cross-reference to an element
- (see below \ref{sss:crossref} for the syntax of cross-references).\\
- @||@&@ '{!modules:' string string ... '}' @ & insert an index table
- @@ -830,6 +832,15 @@ names. For example, the constructor "Node" of the type "tree" will be
- referenced as "{!tree.Node}" or "{!const:tree.Node}", or possibly
- "{!Mod1.Mod2.tree.Node}" from outside the module.
- +\subsubsection*{Target-specific formatting}
- +\label{sss:target-specific-syntax}
- +
- +The content inside "{%foo: ... %}" is target-specific and will only be
- +interpreted by the backend "foo", and ignored by the others. The
- +backends of the distribution are "latex", "html", "texi" and "man". If
- +no target is specified (syntax "{% ... %}"), "latex" is chosen by
- +default. Custom generators may support their own target prefix.
- +
- \subsubsection*{First sentence}
- In the description of a value, type, exception, module, module type, class
Add Comment
Please, Sign In to add comment