Changes

Jump to navigation Jump to search
1,179 bytes added ,  19:18, 25 July 2004
new
Here's a slightly more complex sample:

<pre>
% the first line can hold texexec's command line options
\enableregime [il1] % choose input encoding: il1 is "ISO Latin 1" (ISO 8859-1)
\mainlanguage [de] % language mode: changes typesetting rules, quote signs etc.
\starttext
Rotkäppchen:
\quotation{Aber Großmutter, warum hast du so große Augen?}

Der böse Wolf:
\quotation{Damit ich dich besser {\em sehen} kann!}

\stoptext
</pre>

* '''regime''' is the input encoding, i.e. what you type, so that you can use accented characters (like umlauts in the example) directly. It depends on your language, your OS and the capabilities of your editor. Try "utf8" if your editor can process Unicode!
* '''language''' is the language of your text. Besides <tt>\mainlanguage</tt> there's also <tt>\language</tt> to switch temporarily.
* '''quotation''': use logical markup instead of specified signs! You get single quotes with <tt>\quote</tt>. Use <tt>\startquotation ... \stopquotation</tt> for longer quotes.
* '''em''': again, logical markup! say "<tt>em</tt>phasized" instead of bold or italics. Remember, it's a switch, not a command! (Not <tt>\em{bla}</tt>, but <tt>{\em bla}.)

Navigation menu