Changes

Jump to navigation Jump to search
1,249 bytes added ,  14:39, 15 November 2019
no edit summary
|attributes=
}}
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>version</syntax>
== [[Help:Reference|Syntax]] ==
</table>
== Description ==
 
* By default the <code>final</code> version is produced, with no extra markup.
 
* If a <code>concept</code> is produced the word 'concept' and the date are placed at the bottom of each page.
 
* <code>temporary</code> prints information related to what one might call 'document and layout debugging': slugs behind overfull lines, and mentions of succesful and failed references, float placement, and index entries. Most messages are placed in the margin. In some cases these messages refer to the next pages, because TeX is processing in advance.
 
== Example ==
{| class=wikitable
|<texcode>
\setuppapersize[A9, landscape]
\version[concept]
== Description ==A word or two</texcode>|<context>\setuppapersize[A9, landscape]\version[concept] A word or two</context>|}
== Comment ==An example showing most of the features of <ttcode>\version[temporary]</ttcode>: add slugs (overfull rules in margins).<context source=yes>\setuppapersize[A6]% Tell ConTeXt where the windmill picture is\setupexternalfigures[location={default}]\version[temporary]
By default the definitive version is produced. In case a preliminary version is produced theword concept is placed at the bottom of each page. \section{Slithy toves}
The keyword % Top right of page will show successful reference '<tt>temporary</ttfig2'% Left margin will mention unsuccessful reference 'figNothing-> shows some'information on for instance overfull lines, references, figure placement, See \in{Figure}[fig2] and index entries. Most messages are placed in the margin. In some cases these messages refer to the next pagesbecause TEX is processing \in advance{Figure}[figNothing].
% Top right of page will show new-created anchors '> fig1' and '> fig2'
% Top right of page will show successfully placed floats
\placefigure[here][fig1]{First windmill}{
\externalfigure[mill][width=1cm]
}
\placefigure[here][fig2]{Second windmill}{
\externalfigure[mill][width=1cm]
}
\startcolumns[n== Example ==3] % Overfull lines will have slugs in colum margins. \input linden % Underfull hboxes get no warning x\stopcolumns<!-- Please fill in an example if you can --/context>
== See also Help from ConTeXt-Mailinglist/Forum ==<!-- something like [[cmdAll issues with:goto{{Forum|\goto]] -->{{SUBPAGENAME}}}}
[[Category:CommandsCommand/Miscellaneous|version]][[Category:Command/Debugging|version]]

Navigation menu