Module template

From Wiki
Jump to navigation Jump to search

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.