-p
.-> |
® | <- |
¬ | * |
× | |||
<= |
£ | >= |
³ | ~- |
- | |||
<> |
¹ | == |
º | != |
¬ º | |||
or , || |
or | & , && |
& | not |
not |
123 |
® | 123 |
0b010011 |
® | 0100112 |
0o466 |
® | 4668 |
0x3fff |
® | 3fff16 |
1.2e6 |
® | 1.2· 106 |
1e-4 |
® | 10-4 |
|
'
also in front of the first pattern. Here is the difference:
|
|
-
). Caml files are identified
by the suffixes .ml
and .mli
, and LATEX files by the
suffix .tex
. The latter will be copied `as is' in the final
document. The order of files on the command line is kept in the final
document.\section
, \subsection
, etc. There is
still an index, in the usual LATEX sense. (Therefore, if you have
introduced LATEX sections and subsections, their numbers will
appear in the index.)\begin{document}
. See also the control (*p..ml
file, a
.mli
file or a .tex
file.List.hd
is displayed as
List.hd : a list ® abut with this option, it will be displayed as
List.hd : 'a list ® 'a
--no-preamble
), then you must insert
into your own preamble the command
Alternatively, you may also pass these options with the\usepackage[
options]{ocamlweb}
--latex-options
option of the ocamlweb
command.ocamlweb.sty
that the document was generated with the
--noweb
option so that no WEB sections are used, and
the index was generated by referencing the LATEX sections,
subsections, etc.int
, string
, etc.), uppercase identifiers (type
constructors, exception names, module names), lowercase identifiers
and type variables respectively. Defaults are sans-serif for
keywords and italic for all others. Some of the single-letter type
variables are displayed by default as greek letters, but this
behaviour can be selected by the --no-greek
option.\renewcommand{\ocwbt}[1]{\textsl{#1}}anywhere between
\usepackage{ocamlweb}
and
\begin{document}
. .mli
file,
the title of a .ml
file, the interface part of a .ml
file and the code part of a .ml
file, respectively. Defaults
are is
\newcommand{\ocwinterface}[1]{\section*{Interface for module #1}} \newcommand{\ocwmodule}[1]{\section*{Module #1}} \newcommand{\ocwinterfacepart}{\subsection*{Interface}} \newcommand{\ocwcodepart}{\subsection*{Code}}and you may redefine them using
\renewcommand
.ocamlweb.sty
style file. See
Section 5. We do not recommend to modify
the ocamlweb.sty
file directly, since you would not be able to
update easily to future versions. You should rather redefine the
macros using \renewcommand
. If you want to customize other
parameters that are not currently customizable, please contact the
developers.\input
or \include
command to insert the file generated by ocamlweb in your main
LATEX file.).tex
file that you will provide on the ocamlweb command
line. Then, there is no longer square brackets in your source
comments, but only calls to these macros.--impl
anymore).\usepackage{ocamlweb}
, and input each file in each directory
with the \input
or the \include
macro.ocamlweb
command.
If you don't want to put all source file names on one single command
line, you can use the --files
option which allows you to read
the source file names from a file. Example :
ocamlweb --files lib1/source-files --files lib2/source-fileswill produce documentation for files in
lib1
and lib2
provided that the files source-files
in each directory
contain the name of the documented source files.This document was translated from LATEX by HEVEA.