Difference between revisions of "Module template"

From Wiki
Jump to navigation Jump to search
m (moved module template to Module template: move to Uppercase)
m
 
Line 20: Line 20:
  
 
Source: [http://www.ntg.nl/pipermail/ntg-context/2010/047469.html Wolfgang Schuster on ntg-context].
 
Source: [http://www.ntg.nl/pipermail/ntg-context/2010/047469.html Wolfgang Schuster on ntg-context].
 +
 +
[[Category:Tools]]

Latest revision as of 15:04, 8 June 2020

The following can be used as a template when writing modules:

%D \module
%D   [     file=<filename>, % e.g. t-xxx
%D      version=<module version>, % e.g. 20xx.xx.xx
%D        title=<module title>, % e.g. \CONTEXT\ User Module
%D     subtitle=<module subtitle>,
%D       author=<author>,
%D         date=<date>, % e.g. \currentdate
%D    copyright=<copyright>, % e.g. <author>
%D      license=<license>] % e.g. 'Public Domain' or 'GNU GPL 2.0'

\unprotect

% module code

\protect \endinput

Source: Wolfgang Schuster on ntg-context.