A pattern declaration must be in a file called NAME.inweb which is inside a directory of plugins and templates, called NAME. The declaration should be written thus:

Language "NAME" {
	...
}

where the body ... consists of blank lines, or of any of the following, given in any order: