https://wiki.contextgarden.net/index.php?title=Command/inlinerange&feed=atom&action=historyCommand/inlinerange - Revision history2024-03-28T22:35:37ZRevision history for this page on the wikiMediaWiki 1.34.1https://wiki.contextgarden.net/index.php?title=Command/inlinerange&diff=31883&oldid=prevTaco: Created page with "Documentation for \inlinerange"2020-09-26T14:36:12Z<p>Created page with "Documentation for \inlinerange"</p>
<p><b>New page</b></p><div><cd:commandgroup name="inlinerange" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"><br />
<cd:shortdesc>The command <tt>\inlinerange</tt> is used to refer to numbered lines<br />
</cd:shortdesc><br />
<cd:variants><br />
<cd:command category="structure" file="page-lin.mkvi" interfacedate="2020-07-14T09:24" interfacefile="i-linenumber.xml" level="document" name="inlinerange" variantnumber="1"><br />
<cd:arguments><br />
<cd:keywords ordinal="1"><br />
<cd:keywordsdoc></cd:keywordsdoc><br />
<cd:constant type="cd:reference"></cd:constant><br />
</cd:keywords><br />
</cd:arguments><br />
</cd:command><br />
</cd:variants><br />
<cd:description>The command <code>\inlinerange</code> inserts the number(s) of a line or a line range from a typing that has been marked with a label. It is mostly equivalent to <code>{{cmd|inline}}[ref]</code>; the main difference is that <code>\inlinerange</code> does not accept an optional label text.<br />
<br />
</cd:description><br />
<cd:examples><cd:example title=""><context source="yes"><br />
\setuppapersize[A6]<br />
\setuptyping[numbering=line, escape=yes]<br />
<br />
\starttext<br />
<br />
<br />
The title in line \inlinerange[myline]. <br />
From small to large data in lines \inlinerange[myrange].<br />
<br />
\starttyping<br />
Hard Copies and Chmod/BTEX\someline[myline]/ETEX<br />
<br />
And everyone thinks computers are impersonal<br />
cold diskdrives hardware monitors<br />
user-hostile software <br />
<br />
of course they're only bits and bytes/BTEX\startline[myrange]/ETEX<br />
and characters and strings <br />
and files/BTEX\stopline[myrange]/ETEX<br />
<br />
just some old textfiles from my old boyfriend<br />
telling me he loves me and<br />
he'll take care of me<br />
<br />
simply a discarded printout of a friend's directory<br />
deep intimate secrets and<br />
how he doesn't trust me<br />
<br />
couldn't hurt me more if they were scented in lavender or mould<br />
on personal stationery<br />
-- terri@csd4.milw.wisc.edu<br />
\stoptyping<br />
\stoptext<br />
</context></cd:example></cd:examples><br />
<cd:notes></cd:notes><br />
<cd:seealso><br />
<cd:source file="page-lin.mkvi" originator="system"></cd:source><br />
<cd:wikipage originator="system" page="Category:Structure"></cd:wikipage><br />
<cd:commandref name="inline"></cd:commandref><br />
<cd:commandref name="startline"></cd:commandref><br />
<cd:commandref name="someline"></cd:commandref></cd:seealso><br />
</cd:commandgroup></div>Taco