tiptrick.xml /size: 1995 b    last modification: 2020-07-01 14:35
1<?xml version='1.0'?>
2
3<!-- author: Hans Hagen - Pragma ADE - www.pragma-ade.com -->
4
5<!-- feel free to submit more tips -->
6
7<tips xmlns="www.pragma-ade.com/schemas/tip.rng">
8
9    <tip>
10        <title>Generating Formats</title>
11        <remark>for all languages:</remark>
12        <command>context --make --all</command>
13        <remark>only english interface:</remark>
14        <command>context --make en</command>
15        <remark>for plain tex:</remark>
16        <command>mtxrun --script plain --make</command>
17        <!-- reference>mtexexec.pdf</reference -->
18    </tip>
19
20    <tip>
21        <title>Updating</title>
22        <remark>when installed from the wiki:</remark>
23        <command>..../first-setup(.cmd)</command>
24        <remark>when downloaded from the website:</remark>
25        <command>cd ..../tex/texmf-context</command>
26        <command>wget http://www.pragma-ade.com/context/current/cont-tmf.zip</command>
27        <command>unzip cont-tmf.zip</command>
28        <command>mtxrun --generate</command>
29        <!-- reference>minstall.pdf</reference -->
30    </tip>
31
32    <tip>
33        <title>Generating Command Lists</title>
34        <remark>quick reference document of english and dutch commands:</remark>
35        <command>context --interface=nl --global --result=setup-nl x-set-12.mkiv</command>
36        <command>context --interface=en --global --result=setup-en x-set-12.mkiv</command>
37    </tip>
38
39    <tip>
40        <title>Module Documentation</title>
41        <remark>pretty printed, annotated module documentation:</remark>
42        <command>mtxrun --script modules syst-aux.mkiv</command>
43    </tip>
44
45    <tip>
46        <title>Listings</title>
47        <remark>verbatim listings of (ascii) files:</remark>
48        <command>context --extra=listing --bodyfont=8pt --scite somefile.tex</command>
49        <command>context --extra=listing --bodyfont=8pt --scite somefile.lua</command>
50        <command>context --extra=listing --bodyfont=8pt --scite somefile.xml</command>
51    </tip>
52
53</tips>
54