6 homepage=http://freefoam.sourceforge.net
18 subs=verbatim,attributes,quotes
22 math-style=template="mathblock",subs=[],posattrs=("name","imageref")
25 # Custom macro to reference the git repositories
26 # usage: linkrepo:<openfoam|openfoam17|freefoam>[<commitId>]
27 (?su)(?P<name>linkrepo):(?P<target>[^\[]+)\[(?P<commitId>\w+)\]=
29 # Custom cross-reference macro for man-pages
30 # Usage: linkff:command[man-section]
31 (?su)(?P<name>linkff):(?P<target>[^\[]+)\[(?P<manvolnum>\d+)\]=
34 # Usage: math:[<latex-math>]
35 (?su)[\\]?(?P<name>math):(?P<imageref>\S*?)\[(?P<passtext>.*?)(?<!\\)\]=[]
36 (?u)^(?P<name>math)::(?P<imageref>\S*?)(\[(?P<passtext>.*?)\])$=#[]
38 # Custom menuselection macro
39 # Usage: menuselection:[<menu> --> <submenu>]
40 (?su)[\\]?(?P<name>menuselection):\[(?P<menuname>.*?(?<!-→))(?:\s*-→\s*(?P<menuitems>.*?))?\]=
42 # Custom filename and dirname macros
43 # Usage: file:<filename>[]
44 # Usage: dir:<dirname>[]
45 (?su)(?P<name>filename|dirname):(?P<passtext>[^\[]+)\[\]=diskitem[specialcharacters,quotes,attributes]
47 # Custom command-option macro
48 # Usage: option:<option-name>[]
49 (?su)(?P<name>option):(?P<passtext>[^\[]+)\[\]=
51 # Custom guilabel and guibutton macros
52 # Usage: guilabel:[<text>]
53 # Usage: guibutton:[<text>]
54 (?su)(?P<name>guilabel|guibutton):\[(?P<passtext>.*?)(?<!\\)\]=guiitem[specialcharacters,quotes,replacements,attributes]