Changes

Jump to navigation Jump to search
1,066 bytes added ,  14:38, 7 June 2012
m
stray linebreak
<!-- please remove this and the following line if you have checked this page -->
{{Reference_Cleanup}}
{{Reference
|name=version
</table>
== Description ==
== Description == == comment ==* By default the <precode>temporary: add slugs (overfull rules in margins)final</precode>version is produced, with no extra markup.
By default the definitive version is produced. In case * If a preliminary version <code>concept</code> is produced theword 'concept is ' and the date are placed at the bottom of each page.
The keyword * <bcode>temporary</bcode> shows someprints information on for instance related to what one might call 'document and layout debugging': slugs behind overfull lines, and mentions of succesful and failed references, figure float placement, and index entries. Most messages are placed in the margin. In some cases these messages refer to the next pages, because TEX TeX is processing in advance.
== Example ==
{| class=wikitable
|<texcode>
\setuppapersize[A9, landscape]
\version[concept]
 
A word or two
</texcode>
|<context>
\setuppapersize[A9, landscape]
\version[concept]
 
A word or two
</context>
|}
 
An example showing most of the features of <code>\version[temporary]</code>.
<context source=yes>
\setuppapersize[A6]
% Tell ConTeXt where the windmill picture is
\setupexternalfigures[location={default}]
\version[temporary]
 
\section{Slithy toves}
 
% Top right of page will show successful reference '< fig2'
% Left margin will mention unsuccessful reference 'figNothing->'
See \in{Figure}[fig2] and \in{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:ReferenceCommand/enMiscellaneous|version]][[Category:Command/Debugging|version]]

Navigation menu