Command/inlinerange

From Wiki
Jump to navigation Jump to search


\inlinerange

Summary

The command \inlinerange is used to refer to numbered lines

Settings

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

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.


Examples

Example 1

\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

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: