Difference between revisions of "Modules"

From Wiki
Jump to navigation Jump to search
m (Corrected comment about \usemodule truncation.)
m (Metapost -> MetaPost and syntax for source: added)
Line 6: Line 6:
  
 
==Included modules:==
 
==Included modules:==
* [http://source.contextgarden.net/tex/context/bib/t-bib.tex t-bib]: [[bibliography]] (maintained by Taco)
+
* [[source:t-bib.tex|t-bib]]: [[bibliography]] (maintained by Taco)
* [http://source.contextgarden.net/tex/context/base/m-arabtex.tex m-arabtex]: loading of Lagally's [[Arabian and Hebrew|ArabTeX]]
+
* [[source:m-arabtex.tex|m-arabtex]]: loading of Lagally's [[Arabian and Hebrew|ArabTeX]]
* [http://source.contextgarden.net/tex/context/base/m-chart.tex m-chart]: [[Flow Charts]]
+
* [[source:m-chart.tex|m-chart]]: [[Flow Charts]]
* [http://source.contextgarden.net/tex/context/base/m-chemic.tex m-chemic]: [[Chemistry|PPCHTeX]] (chemical structure formulae)
+
* [[source:m-chemic.tex|m-chemic]]: [[Chemistry|PPCHTeX]] (chemical structure formulae)
* [http://source.contextgarden.net/tex/context/base/m-cweb.tex m-cweb]: [[CWEB]] pretty printing
+
* [[source:m-cweb.tex|m-cweb]]: [[CWEB]] pretty printing
* [http://source.contextgarden.net/tex/context/base/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
* [http://source.contextgarden.net/tex/context/base/m-educat.tex m-educat]: educational additions (for settings school tests or questionaires)
+
* [[source:m-educat.tex|m-educat]]: educational additions (for settings school tests or questionaires)
* [http://source.contextgarden.net/tex/context/base/m-gamma.tex m-gamma]: [[Omega and Aleph|Omega]] support
+
* [[source:m-gamma.tex|m-gamma]]: [[Omega and Aleph|Omega]] support
* [http://source.contextgarden.net/tex/context/base/m-graph.tex m-graph]: support for [[Metapost]] graph module
+
* [[source:m-graph.tex|m-graph]]: support for [[MetaPost]] graph module
* [http://source.contextgarden.net/tex/context/base/m-layout.tex m-layout]: defines some [[Layout]] presets
+
* [[source:m-layout.tex|m-layout]]: defines some [[Layout]] presets
* [http://source.contextgarden.net/tex/context/base/m-level.tex m-level]: module for catching nesting errors
+
* [[source:m-level.tex|m-level]]: module for catching nesting errors
* [http://source.contextgarden.net/tex/context/base/m-newmat.tex m-newmat]: support for some AMSmath features, is loaded by [[Math with amsl|amsl]], see [[Math with newmat]]
+
* [[source:m-newmat.tex|m-newmat]]: support for some AMSmath features, is loaded by [[Math with amsl|amsl]], see [[Math with newmat]]
* [http://source.contextgarden.net/tex/context/base/m-pdfsnc.tex m-pdfsnc]: editor/PDF synchronization support (used by iTeXMac and TeXShop)
+
* [[source:m-pdfsnc.tex|m-pdfsnc]]: editor/PDF synchronization support (used by iTeXMac and TeXShop)
* [http://source.contextgarden.net/tex/context/base/m-pictex.tex m-pictex]: needed for PicTeX without eTeX
+
* [[source:m-pictex.tex|m-pictex]]: needed for [[PicTeX]] without eTeX
* [http://source.contextgarden.net/tex/context/base/m-plus.tex m-plus]: loads some extra features (side bars?)
+
* [[source:m-plus.tex|m-plus]]: loads some extra features (side bars?)
* [http://source.contextgarden.net/tex/context/base/m-pstric.tex m-pstric]: connection macros for [[PSTtricks]] (PostScript tricks)
+
* [[source:m-pstric.tex|m-pstric]]: connection macros for [[PSTtricks]] (PostScript tricks)
* [http://source.contextgarden.net/tex/context/base/m-quest.tex m-quest]: dutch only module for questionaires(?)
+
* [[source:m-quest.tex|m-quest]]: dutch only module for questionaires(?)
* [http://source.contextgarden.net/tex/context/base/m-steps.tex m-steps]: Step Charts, see [[XML]] step charts
+
* [[source:m-steps.tex|m-steps]]: Step Charts, see [[XML]] step charts
* [http://source.contextgarden.net/tex/context/base/m-subsub.tex m-subsub]: Defines 5 extra sectioning levels
+
* [[source:m-subsub.tex|m-subsub]]: Defines 5 extra sectioning levels
* [http://source.contextgarden.net/tex/context/base/m-tex4ht.tex m-tex4ht]: will become a tex4html interface for ConTeXt
+
* [[source:m-tex4ht.tex|m-tex4ht]]: will become a tex4html interface for ConTeXt
* [http://source.contextgarden.net/tex/context/base/m-atryout.tex m-tryout]: (changing, temporary functions for tryout)
+
* [[source:m-atryout.tex|m-tryout]]: (changing, temporary functions for tryout)
* [http://source.contextgarden.net/tex/context/base/m-units.tex m-units]: [[units]]
+
* [[source:m-units.tex|m-units]]: [[units]]
* [http://source.contextgarden.net/tex/context/base/m-visual.tex m-visual]: [[Visual Debugging]] (described in [[This Way]] no.7 [http://www.pragma-ade.com/general/magazines/mag-0007.pdf Faking Text and More])
+
* [[source:m-visual.tex|m-visual]]: [[Visual Debugging]] (described in [[This Way]] no.7 [[manual:mag-0007.pdf|Faking Text and More]])
  
 
==Contributed modules:==
 
==Contributed modules:==

Revision as of 16:55, 6 January 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.