Changes

Jump to navigation Jump to search
2,177 bytes added ,  14:38, 26 September 2020
Created page with "Documentation for \inlinerange"
<cd:commandgroup name="inlinerange" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>The command <tt>\inlinerange</tt> is used to refer to numbered lines
</cd:shortdesc>
<cd:variants>
<cd:command category="structure" file="page-lin.mkvi" interfacedate="2020-07-14T09:24" interfacefile="i-linenumber.xml" level="document" name="inlinerange" variantnumber="1">
<cd:arguments>
<cd:keywords ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:reference"></cd:constant>
</cd:keywords>
</cd:arguments>
</cd:command>
</cd:variants>
<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.

</cd:description>
<cd:examples><cd:example title=""><context source="yes">
\setuppapersize[A6]
\setuptyping[numbering=line, escape=yes]

\starttext


The title in line \inlinerange[myline].
From small to large data in lines \inlinerange[myrange].

\starttyping
Hard Copies and Chmod/BTEX\someline[myline]/ETEX

And everyone thinks computers are impersonal
cold diskdrives hardware monitors
user-hostile software

of course they're only bits and bytes/BTEX\startline[myrange]/ETEX
and characters and strings
and files/BTEX\stopline[myrange]/ETEX

just some old textfiles from my old boyfriend
telling me he loves me and
he'll take care of me

simply a discarded printout of a friend's directory
deep intimate secrets and
how he doesn't trust me

couldn't hurt me more if they were scented in lavender or mould
on personal stationery
-- terri@csd4.milw.wisc.edu
\stoptyping
\stoptext
</context></cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:source file="page-lin.mkvi" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Structure"></cd:wikipage>
<cd:commandref name="inline"></cd:commandref>
<cd:commandref name="startline"></cd:commandref>
<cd:commandref name="someline"></cd:commandref></cd:seealso>
</cd:commandgroup>

Navigation menu