ConTEXt an excursion - Pragma ADE

ConTEXt an excursion - Pragma ADE ConTEXt an excursion - Pragma ADE

pragma.ade.nl
from pragma.ade.nl More from this publisher
29.05.2014 Views

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

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!