Changes

Jump to navigation Jump to search
547 bytes added ,  17:26, 19 December 2023
additions and fixes
* {{code|s-cdr-00.tex}}: CD-ROM cover style
* {{code|s-faq-00.tex}} to `-03`: FAQ styles
* {{code|s-pre-00.tex}} to `-96`: Several old presentation styles(replaced by the following) in `texmf-context/tex/context/modules/mkiv`:* {{code|s-present-*.tex}}: Several presentation styles (examples in `texmf-context/doc/context/presentations/examples`)
… many more …
Sort these files into folders according to TDS (TeX directory structure) – just have a look at the distribution to understand what goes where.
 
* Module code and data files go into tex/context/third/modulename
* Documentation files go into doc/context/third/modulename
* You can also look at properly setup git repositories like that of [https://codeberg.org/fiee/context-simpleslides the simpleslides module].
=== Module release file ===
All module files should start with a block containing ''meta information'' about that module.
There is a [[Module template]] available to help setting up that header correctly.
 
=== License ===
Do not forget to specify a ''license'' as the permitted modes of distribution
==XML Interface file==
 
Each module should have an associated XML specification file
(as in [http://source.contextgarden.net/tex/context/interface/cont-en.xml /tex/context/interface/cont-en.xml]).
When documenting your module, you can use
<texcode>
\usemodule[intsetups-loadbasics] %Allow xml parsing
\loadsetups[t-name-of-your-module.xml] % to load the file with definitions
\setup{nameofyourcommand}
<context source="yes">
\setuppapersize[A5]
\usemodule[intsetups-loadbasics]\loadsetups[i-framed]
\setup{setupframed}
</context>
* Register an account, then you can login to the “member section”.
* If you lost your password, please ask Taco or Mojca (via the mailing list if you don’t know them).
* Please read the help page (it’s mostly the same as here).
* Create a '''new module''' entry with a distinct name (e.g. “simple”; this will become the internal ID) and fill in the metadata:

Navigation menu