Syntax: Macro without formatting string

Date : @DATE@ - @DATE@
Mtime : @MTIME@ - @MTIME@
Infile : macro.t2t - macro.t2t
Outfile : macro.html - macro.html

Syntax: Macro name is case insensitive

Date : @DATE@
Mtime : @MTIME@
Infile : macro.t2t
Outfile : macro.html

Syntax: Macro with formatting string

Date : txt 20 txt
Mtime : txt 20 txt
Infile : txt t2t txt
Outfile : txt html txt

Syntax: Leading and trailing spaces are preserved

Date : ( txt ) - ( 20 )
Mtime : ( txt ) - ( 20 )
Infile : ( txt ) - ( t2t )
Outfile : ( txt ) - ( html )

Test: Expansion of the percent char

Date : % - % - %% - %%
Mtime : % - % - %% - %%
Infile : % - % - %% - %%
Outfile : % - % - %% - %%

Test: Various per line, glued

Date : 20@DATE@@DATE@
Mtime : 20@MTIME@@MTIME@
Infile : t2tmacro.t2tmacro.t2t
Outfile : htmlmacro.htmlmacro.html

Test: Path formatters

Path : @DIRNAME@/marks/macro.t2t
Path : @DIRNAME@/marks/macro.html
Dirname : @DIRNAME@/marks, marks
Dirname : @DIRNAME@/marks, marks
File : macro + t2t = macro.t2t
File : macro + html = macro.html