Difference between revisions of "Modules"

From Wiki
Jump to navigation Jump to search
(→‎Included modules:: updated the list)
(→‎Included modules:: m-database added)
Line 11: Line 11:
 
* [[source:m-chemic.tex|m-chemic]]: [[Chemistry|PPCHTeX]] (chemical structure formulae)
 
* [[source:m-chemic.tex|m-chemic]]: [[Chemistry|PPCHTeX]] (chemical structure formulae)
 
* [[source:m-cweb.tex|m-cweb]]: [[CWEB]] pretty printing
 
* [[source:m-cweb.tex|m-cweb]]: [[CWEB]] pretty printing
 +
* [[source:m-database.tex|m-database]]: creating simple tables (or forwarding data to user-defined commands) using [[m-database|comma/space/tab-separated values]]
 
* [[source:m-dratex|m-dratex]]: loading of DraTeX
 
* [[source:m-dratex|m-dratex]]: loading of DraTeX
 
* [[source:m-edtsnc.tex|m-edtsnc]]: support for editor synchronization, will replace m-pdfsync
 
* [[source:m-edtsnc.tex|m-edtsnc]]: support for editor synchronization, will replace m-pdfsync

Revision as of 14:27, 15 May 2006

< The ConTeXt Way

Modules are extensions to ConTeXt's core functions.

There are not as many modules for ConTeXt as packages for LaTeX, because a lot of LaTeX package features are in ConTeXt's core.

Included modules:

Contributed modules:

For a list of contributed modules see the modules section on contextgarden.net.


File names of included modules start with "m-", but third party (contributed) modules should start with "t-".

Modules writing guidelines

Prior to release 2005.05.25, ConTeXt silently truncated all file names in \usemodule commands to 8 characters long and lowercased them to "prevent cross platform problems with filenames". Thus, module files that are to be used with older versions of ConTeXt must have filenames that fit those restrictions, or they will (somewhat cryptically) not be found.


TODO

Each module should have an associated specification file (as in /tex/context/interface/cont-en.xml). Probably one day this will become a part of texshow and will also be easy-to-edit.