ConTEXt an excursion - Pragma ADE
ConTEXt an excursion - Pragma ADE ConTEXt an excursion - Pragma ADE
Miscellaneous 37.3 Storing text for later use You can store information temporarily for future use in your document with: contents index \startbuffer[...] ... \stopbuffer commands For example: \startbuffer[visit] If you want to see what Hasselt has in store you should come and visit it some time. \stopbuffer definitions colofon \getbuffer[visit] With \getbuffer[visit] you recall the stored text. The logical name is optional. With \typebuffer[visit] you get back the typeset version of the content of the buffer. Buffers are set up with: \setupbuffer[...][..,..=..,..] 37.4 Hiding text Text can be hidden with: exit \starthiding ... \stophiding The text in between will not be processed. search + go back – + 37 112
Miscellaneous 37.5 Lines There are many comands to draw lines. For a single line you type: \hairline contents index commands or: definitions \thinrule colofon For more lines you type: \thinrules[..=..] Text in combination with lines is also possible: Hasselt – Amsterdam If you draw a straight line from Hasselt to Amsterdam you would have to cover a distance of almost 145 km. If you draw two straight lines from Hasselt to Amsterdam you would have to cover a distance of almost 290 km. Amsterdam exit Hasselt \starttextrule{Hasselt -- Amsterdam} If you draw a straight line from Hasselt to Amsterdam you would have to cover a distance of almost 145 \Kilo \Meter. \stoptextrule search + go back – + 37 113
- 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 and 76: Synonyms The first bracket pair con
- Page 77 and 78: Refering to text elements \item sai
- 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: Miscellaneous \keepblocks[..,.1.,..
- 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
- Page 127 and 128: Auxilliary files contents C Auxilli
- Page 129 and 130: Command definitions \crlf 118 conte
- Page 131 and 132: Command definitions \definefloat[.1
- Page 133 and 134: Command definitions \framed[..,..=.
- Page 135 and 136: Command definitions \page[..,...,..
- Page 137 and 138: Command definitions \setupbackgroun
- Page 139 and 140: Command definitions \setupcombinedl
- Page 141 and 142: Command definitions \setupfillinrul
- Page 143 and 144: Command definitions \setupformulae[
- Page 145 and 146: Command definitions \setupframedtex
- Page 147 and 148: Command definitions \setupinteracti
- Page 149 and 150: Command definitions \setupitemize[.
- Page 151 and 152: Command definitions \setuplist[..,.
- Page 153 and 154: Command definitions \setuppositioni
- Page 155 and 156: Command definitions \setupthinrules
- Page 157 and 158: Command definitions \startformula .
- Page 159 and 160: Command definitions \subject[ref,..
- Page 161 and 162: Command definitions \useexternalfig
- Page 163 and 164: Command Index \hairline 113 \head 1
Miscell<strong>an</strong>eous<br />
37.5 Lines<br />
There are m<strong>an</strong>y com<strong>an</strong>ds to draw lines. For a single line you type:<br />
\hairline<br />
contents<br />
index<br />
comm<strong>an</strong>ds<br />
or:<br />
definitions<br />
\thinrule<br />
colofon<br />
For more lines you type:<br />
\thinrules[..=..]<br />
Text in combination with lines is also possible:<br />
Hasselt – Amsterdam<br />
If you draw a straight line from Hasselt to Amsterdam you would have to cover a dist<strong>an</strong>ce<br />
of almost 145 km.<br />
If you draw two straight lines from Hasselt to Amsterdam you would have to cover a<br />
dist<strong>an</strong>ce of almost 290 km.<br />
Amsterdam<br />
exit<br />
Hasselt<br />
\starttextrule{Hasselt -- Amsterdam}<br />
If you draw a straight line from Hasselt to Amsterdam you would have<br />
to cover a dist<strong>an</strong>ce of almost 145 \Kilo \Meter.<br />
\stoptextrule<br />
search +<br />
go back<br />
– +<br />
37 113