/usr/share/source-highlight/tml_macros.lang is in libsource-highlight-common 3.1.8-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | # %MACRO%
vardef MACRO = '%[A-Za-z][A-Za-z0-9_:]*%'
keyword = $MACRO
# $percntMACRO{\"...\"}$percnt
vardef DELAYEDMACROSTART = '\$perce?nt[A-Za-z][A-Za-z0-9_:]*\{?'
vardef DELAYEDMACROEND = '\}?\$perce?nt'
# foo=
vardef MACROATTR = '[[:word:]-]+='
# %MACRO{"..."}% or the GluePlugin syntax:
# %~~ MACRO{"...
# ~~~ }%
vardef MACROSTART = '%(~~[[:space:]]+)?[A-Za-z][A-Za-z0-9_:]*\{'
vardef MACROEND = '(^~~~[[:space:]]*)?\}%'
environment keyword delim $MACROSTART $MACROEND multiline nested begin
attribute = $MACROATTR
keyword = $MACRO
include "tml_macros1.lang"
include "tml_glue.lang"
environment string delim "\"" "\"" escape "\\" multiline begin
keyword = $MACRO
include "tml_macros1.lang"
include "tml_macrosdelayed1.lang"
include "tml_macrotokens.lang"
include "tml_macrolinks.lang"
include "tml_formatting.lang"
end
end
|