Difference between revisions of "Command/inlinerange"

From ConTeXt wiki
 
Line 4: Line 4:
 
}}
 
}}
  
== [[Help:Reference|Syntax]] (autogenerated)] ==
+
== [[Help:Reference|Syntax]] (autogenerated) ==
 
<syntax>inlinerange</syntax>
 
<syntax>inlinerange</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Latest revision as of 14:36, 13 October 2019

\inlinerange

Syntax (autogenerated)

\inlinerange[...]
[...]reference


Syntax

\inlinerange[ref]
[ref]

Description

The command \inlinerange 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 \inline[ref]; the main difference is that \inlinerange does not accept an optional label text.

Example

% mode=mkiv
\setuptyping[numbering=line, escape=yes]

\starttext

(For some reason, numbered lines do not work on the wiki.)

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

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: