Changes

Jump to navigation Jump to search
1,077 bytes removed ,  08:58, 27 January 2020
remove obsolete manual syntax table, add autosyntax for setup
<!-- please remove this and the following line if you have checked this page -->
{{Reference_Cleanup}}
{{Reference
|name=definestartstop
}}
== [[Help:Reference|Syntax]] (autogenerated) ==<table cellspacing="4" cellpadding="2" class="cmd"syntax> <tr> <td colspan="2" class="cmd">\definestartstop<span class="first" >[...]</span><span class="second" >[...,...=...,...]</span></td> </tr> <tr valign="top" class="first"> <td class="cmd">[...]</td> <td>name </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Reference/en/keyword:before|before]]</td> <td>[[Reference/en/value:command|command]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Reference/en/keyword:after|after]]</td> <td>[[Reference/en/value:command|command]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Reference/en/keyword:style|style]]</tdsyntax> <tdsyntax>[[Reference/en/value:normal|normal]] [[Reference/en/value:bold|bold]] [[Reference/en/value:slanted|slanted]] [[Reference/en/value:boldslanted|boldslanted]] [[Reference/en/value:type|type]] [[Reference/en/value:cap|cap]] [[Reference/en/value:small...|small...]] [[Reference/en/value:command|command]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Reference/en/keyword:commands|commands]]</td> <td>[[Reference/en/value:command|command]] </td> </tr>setupstartstop</tablesyntax>
Used to define block level commands.
== Example ==
Example: Long Quotations
<precontext source="yes">\setuppapersize[A5] 
\defineblank[ExtractDistance][3pt]
\definestartstop[Extract][
\blank[ExtractDistance]
\indenting[next]}]
</pre>%Now the following commands are available: \startExtract and \stopExtract
Then the following commands are available: <cmd>\starttextThe extract from D.Knuth\startExtract</cmd> and <cmd>\input knuth \stopExtract\stoptext</cmdcontext>
== See also ==
<!-- something like {{cmd|goto}} -->
== Example ==<!-- Please fill in an example if you can -Help from ConTeXt-> == See also Mailinglist/Forum ==<!-- something like [[cmdAll issues with:goto{{Forum|\goto]] -->{{SUBPAGENAME}}}}
[[Category:ReferenceCommand/enMiscellaneous|definestartstop]]

Navigation menu