The Document Mark-Up Tool (dmu)

DocumentMarkUp (dmu) is invoked from the Documents Environment and is applicable to all constructs that have not been marked up (with the exception of `.ops' constructs).

The tool produces LaTeX source code (controlled through the Documents Option setting)  - a source file named _constructname.tex written in the TEX directory - and the LaTeX Executable command issued.

The location of the executable (LaTeX or LaTeX2e) may be set in the LaTeX Executable option of the Documents Options (if not already in the PATH of the user); the default is latex.

The formatting of AMN constructs is automatic; the user may, however, dictate the style by the positioning of newlines/annotations in the document.

Note that the following comments do not apply to proof files; see Top Bar Help on ProofPrinter concerning the editing of proof files.


Comments and Annotations

The AMN source document may contain normal C-like comments:
   /* comment */
which are removed before processing.

However a special kind of comment - an annotation - is also permitted:

   /*" annotation "*/
Annotations are not discarded, but processed, and form an integral part of the end document, and so provide a means of complementing the formal mathematics of AMN documents with informal comment.

Annotations comprise LaTeX source code, and thus any LaTeX commands may be used inside an annotation, for example:

   /*" {\bf A bold statement}\\
   ... some annotation ... "*/
A single newline after the begin-annotation or preceding the end-annotation is not significant; thus the following annotations will appear the same in the printed document:
  /*" annotation "*/

  /*"
     annotation
  "*/
More that one newline in either position will result in more space appearing at that point in the document.

Annotations will normally be separated from the mathematical content in a document by horizontal lines; horizontal lines will not, however, appear around an empty annotation - one consisting entirely of white space (which may therefore be used to print vertical space) , or around an newpage annotation - one consisting of the command `\newpage' and optional white space (which will, of course, cause a newpage to be produced).

Positioning of Comments

Positioning of Newlines


Rules Concerning Annotations


A Special Annotation

An annotation appearing between the document name and the CONTENTS clause of a DOCUMENT is treated in a different way to other annotations: it is taken to be a prologue annotation, and will appear in the .tex file of the document immediately before the \begin{document}. This is to enable LaTeX commands specific to that document to be included (for example, the inclusion of a particular package through the \usepackage command. This prologue text may be set in the LaTeX Declaration of the Documents Options.
 

If LaTeX complains

Should your file fail to LaTeX correctly (for example if an annotation contains bad syntax) you should quit from LaTeX by typing `x' in the LaTeX window, edit the file, commit the edits and re-submit it for mark-up.

Note that the double quote character " inside an annotation causes the message `Bad annotation position' to be displayed (this is because annotations are represented internally as strings). Single quotes ` and ' may be used; if double quotes are required, `` and '' (double single quotes) should be used.


The Document Options

For a fuller explanation, see also Options.
A full on-line help listing is available in the Contents Page
Also available in the form of a complete Index.
Blogo © B-Core (UK) Limited, Last updated: 22 Feb 2002