ConTEXt an excursion - Pragma ADE
ConTEXt an excursion - Pragma ADE ConTEXt an excursion - Pragma ADE
Miscellaneous \language[...] contents index Between the brackets you fill in nl, fr, en, de and sp. To change from one language to another you can use the shorthand versions: \nl \en \de \fr \sp If you want to know more about Hasselt, the best book to read is probably {\nl \em Uit de geschiedenis van Hasselt} by F.˜Peereboom. commands definitions colofon If you want to know more about Hasselt, the best book to read is probably Uit de geschiedenis van Hasselt by F. Peereboom. If a word is wrongly hyphenated you can define points of hyphenation yourself. This is done in the set up area of your input file: \hyphenation{his-to-ry} 37.12 Comment in input file All text between \starttext and \stoptext will be processed while running CONT E XT. Sometimes however you may have text fragments you don’t want to be processed or you want to comment on your CONT E XT commands. If you preceed your text with the percentage sign % it will not be processed. % In very big documents you can use the command input for % different files. % % For example: % % \input hass01.tex % chapter 1 on Hasselt % \input hass02.tex % chapter 2 on Hasselt % \input hass03.tex % chapter 3 on Hasselt exit search + go back – + 37 120
Using modules When you delete the % before \input the three files will be processed. The comment describing the contents of the files will not be processed. contents index 37.13 Input of another tex file In a number of situations you may want to insert other T E X files in your input file. For example, sometimes it is more efficient to specify CONT E XT sources in more than one file in order to be able to partially process your files. Another file (with the name another.tex) can be inserted by: commands definitions colofon \input another.tex The extension is optional so this will work too: \input another The command \input is a T E X command. 38 Using modules For reasons of efficiency the author decided to implement some functionality of CONT E XT by means of external modules. At this moment you can load the following modules: • chemic for typesetting chemical structures • units for using SI units • pictex for drawing pictures (is used in conjunction with module chemic) Loading is done in the set up area of your input file and done by means of: exit search + go back – + 38 121
- 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 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: Miscellaneous On a wooden panel in
- 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
- Page 165 and 166: Command Index \starttextrule 113 \s
- Page 167 and 168: Subject Index h headers 10 hiding t
- Page 169: Text: Ton Otten contents index comm
Using modules<br />
When you delete the % before \input the three files will be processed. The comment<br />
describing the contents of the files will not be processed.<br />
contents<br />
index<br />
37.13 Input of <strong>an</strong>other tex file<br />
In a number of situations you may w<strong>an</strong>t to insert other T E X files in your input file. For<br />
example, sometimes it is more efficient to specify CONT E XT sources in more th<strong>an</strong> one file<br />
in order to be able to partially process your files.<br />
Another file (with the name <strong>an</strong>other.tex) c<strong>an</strong> be inserted by:<br />
comm<strong>an</strong>ds<br />
definitions<br />
colofon<br />
\input <strong>an</strong>other.tex<br />
The extension is optional so this will work too:<br />
\input <strong>an</strong>other<br />
The comm<strong>an</strong>d \input is a T E X comm<strong>an</strong>d.<br />
38 Using modules<br />
For reasons of efficiency the author decided to implement some functionality of CONT E XT<br />
by me<strong>an</strong>s of external modules. At this moment you c<strong>an</strong> load the following modules:<br />
• chemic for typesetting chemical structures<br />
• units for using SI units<br />
• pictex for drawing pictures (is used in conjunction with module chemic)<br />
Loading is done in the set up area of your input file <strong>an</strong>d done by me<strong>an</strong>s of:<br />
exit<br />
search +<br />
go back<br />
– +<br />
38 121