summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/start/en/ma-cb-en-modules.tex
blob: 4f92e8e4764769e9684c233da9b1975c055aac56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
\startcomponent ma-cb-en-modules

\enablemode[**en-us]

\project ma-cb

\startchapter[title=Using modules]

%% VZ: many new modules was added (see ma-cb-cz-modules.tex)

\index{module}

\Command{\tex{usemodule}}

For reasons of efficiency \CONTEXT\ comes with a number of modules that contain
specific functionality. Loading a module is done in the set up area of your input
file by means of:

\shortsetup{usemodule}

When you load a module \CONTEXT\ looks for a file with the following (prefix-)name:

\startitemize[packed]
\item m-modulename (core module)
\item p-modulename (private module)
\item s-modulename (\CONTEXT\ style file)
\item x-modulename (XML module)
\item t-modulename (third party module)
\item modulename
\stopitemize

A few example core modules are:

\startitemize[packed]
\item m-fields        (\type{m-fields.mkiv}): for PDF forms
\item m-morse         (\type{m-morse.mkvi}): for morse
\item m-spreadsheet   (\type{m-spreadsheet.mkiv}): for spreadsheets
\item m-visual        (\type{m-visual.mkiv}): for visual debugging
\item m-zint          (\type{m-zint.mkiv}): for generating bar codes
\item s-pre-**        (\type{s-pre-**}): for presentations
\stopitemize

\stopchapter

\stopcomponent