ConTEXt an excursion - Pragma ADE
ConTEXt an excursion - Pragma ADE ConTEXt an excursion - Pragma ADE
Refering to text elements \setupsynonyms Look at chapter 9 for another application of synonyms. contents index commands 25 Refering to text elements definitions colofon For referring to one location in a document from another you can use the command: \in{.1.}{.2.}[ref] The curly braces contain text, the brackets contain a logical label. If you have written a chapter header like this: \chapter[hotel]{Hotels in Hasselt} then you can refer to this chapter with: \in{chapter}[hotel] After processing the chapter number is available and the reference could look something like: chapter 23. You can use \in for any references to text elements like chapters, sections, figures, tables, formulae etc. Another example: There are a number of things you can do in Hasselt: \startitemize[n,packed] \item swimming exit search + go back – + 25 74
Refering to text elements \item sailing \item[hiking] hiking \item biking \stopitemize Activities like \in{activity}[hiking] described on \at{page}[hiking] are very tiring. This would look like this: There are a number of things you can do in Hasselt: 1. swimming 2. sailing 3. hiking 4. biking contents index commands definitions colofon Activities like activity 3 described on page 75 are very tiring. As you can see, it is also possible to refer to pages. This is done with: \at{.1.}{.2.}[ref] For example with: \at{page}[hiking] This command can be used in combination with: \pagereference[ref] exit and \textreference[ref]{...} search + go back – + 25 75
- Page 25 and 26: Legends \leg t \\ time \\ s \\ \leg
- Page 27 and 28: Figures You can define your own uni
- Page 29 and 30: Figures Option here force page top
- Page 31 and 32: Figures \placefigure [here,force] [
- Page 33 and 34: Figures \externalfigure[...][..,..=
- Page 35 and 36: Tables For placing a table the comm
- Page 37 and 38: Tables Command \JustLeft \JustRight
- Page 39 and 40: Tables Year Citizens contents 1675
- Page 41 and 42: Tables \VL \bf Year \VL \bf Citizen
- Page 43 and 44: Tables A more sensible example is g
- Page 45 and 46: Tables \VL 1808 \VL ˜9 \VL 2 \VL -
- Page 47 and 48: Tables Decline of wealth in Dutch f
- Page 49 and 50: Paragraph formatting \setupparagrap
- Page 51 and 52: Paragraph formatting \chemical{CaCO
- Page 53 and 54: Columns There you will find the St.
- Page 55 and 56: Footnotes contents 14 Footnotes ind
- Page 57 and 58: Definitions \concept{Hasselter juff
- Page 59 and 60: Numbered definitions Now the new co
- Page 61 and 62: Outlined text \framed[..,..=..,..]{
- Page 63 and 64: Margin texts It was essential for H
- Page 65 and 66: Page breaking and page numbering co
- Page 67 and 68: Page breaking and page numbering co
- Page 69 and 70: Table of contents (lists) \setupfoo
- Page 71 and 72: Table of contents (lists) Alternati
- Page 73 and 74: Registers \writetolist[section]{}{-
- Page 75: Synonyms The first bracket pair con
- Page 79 and 80: Color There are many canals in Hass
- Page 81 and 82: Page backgrounds Backgrounds can sp
- Page 83 and 84: Interactive mode in electronic docu
- Page 85 and 86: Interactive mode in electronic docu
- Page 87 and 88: Interactive mode in electronic docu
- Page 89 and 90: Fonts and font switches contents 31
- Page 91 and 92: Fonts and font switches [cmr] \tf \
- Page 93 and 94: Fonts and font switches PDF and PDF
- Page 95 and 96: Composite characters 32.2 Accents A
- Page 97 and 98: Page layout top header left left te
- Page 99 and 100: Page layout \adaptlayout[21,38][hei
- Page 101 and 102: Paragraph spacing contents 34 Parag
- Page 103 and 104: Paragraph spacing \startlinecorrect
- Page 105 and 106: Paragraph spacing You can force ver
- Page 107 and 108: Defining commands / macros The comm
- Page 109 and 110: Defining commands / macros contents
- Page 111 and 112: Miscellaneous The newly defined flo
- Page 113 and 114: Miscellaneous \keepblocks[..,.1.,..
- Page 115 and 116: Miscellaneous 37.5 Lines There are
- Page 117 and 118: Miscellaneous adress contents index
- Page 119 and 120: Miscellaneous 37.9 Rotating text, f
- Page 121 and 122: Miscellaneous On a wooden panel in
- Page 123 and 124: Using modules When you delete the %
- Page 125 and 126: User specifications contents A User
Refering to text elements<br />
\setupsynonyms<br />
Look at chapter 9 for <strong>an</strong>other application of synonyms.<br />
contents<br />
index<br />
comm<strong>an</strong>ds<br />
25 Refering to text elements<br />
definitions<br />
colofon<br />
For referring to one location in a document from <strong>an</strong>other you c<strong>an</strong> use the comm<strong>an</strong>d:<br />
\in{.1.}{.2.}[ref]<br />
The curly braces contain text, the brackets contain a logical label. If you have written a<br />
chapter header like this:<br />
\chapter[hotel]{Hotels in Hasselt}<br />
then you c<strong>an</strong> refer to this chapter with:<br />
\in{chapter}[hotel]<br />
After processing the chapter number is available <strong>an</strong>d the reference could look something<br />
like: chapter 23. You c<strong>an</strong> use \in for <strong>an</strong>y references to text elements like chapters,<br />
sections, figures, tables, formulae etc.<br />
Another example:<br />
There are a number of things you c<strong>an</strong> do in Hasselt:<br />
\startitemize[n,packed]<br />
\item swimming<br />
exit<br />
search +<br />
go back<br />
– +<br />
25 74