/contrib/groff/contrib/mom/examples/elvis_syntax
https://bitbucket.org/freebsd/freebsd-head/ · #! · 90 lines · 82 code · 8 blank · 0 comment · 0 complexity · ce2dcfaac6ee6702de67fea3789770d7 MD5 · raw file
- #Mom
- language mom
- extension .mom .tmac
- startword .
- color startword normal
- inword _.'
- color inword normal
- other initialpunct
- mostly normal
- backslash none
- color args like fixed
- color braces like char
- color brackets like underlined
- color chars like emphasized
- color decimals like number
- color ellipsis normal
- color escapes like keyword
- color math like cursor
- color misc like string
- color operators like string
- color parens like comment
- color reg_string like math
- color tmac_escapes like keyword
- color single_slash like char
- font args DA DE EN ES FR IT NL NO PT SV
- font args DEFAULT CHAPTER NAMED LETTER
- font args TYPESET TYPEWRITE
- font args FINAL DRAFT
- font args BLOCK QUAD
- font args LEFT RIGHT CENTER CENTRE JUSTIFY TOP BOTTOM L R C J
- font args OFF QUIT END EXIT DONE NO ALL
- font args PAGE NUMBER STAR
- font args LETTER LEGAL EXECUTIVE LEDGER TABLOID QUARTO FOLIO
- font args 10x14 A3 A4 A5 B4 B5
- font args SINGLESPACE
- font args FACTOR
- font args DASH BULLET ALPHA DIGIT USER
- font args RGB CYM CMYK GRAY GREY
- font args COND CONDX EXT EXTX SUP SUPX CONDSUP CONDSUPX EXTSUP EXTSUPX
- font args BOLDER BOLDERX SLANT SLANTX
- font args UP DOWN BCK FWD BU BP FU FP
- font args ROM IT BD BDI PREV
- font args ST
- font args SUSPEND RESUME
- prefix { \{ \{\
- font braces { \{ \{\
- prefix [ ]
- font brackets [ ]
- prefix \(bu \(co \(ct \(de \(dg \(di \(em \(en \(mu \(pl \(rg \(sc \(sq \(lq \(rq
- font chars \(bu \(co \(ct \(de \(dg \(di \(em \(en \(mu \(pl \(rg \(sc \(sq \(lq \(rq
- prefix \(14 \(12 \(34 \(+-
- font chars \(14 \(12 \(34 \(+-
- prefix \fR \fB \fI \fP \f0 \f1 \f2 \f3
- font chars \fR \fB \fI \fP \f0 \f1 \f2 \f3
- prefix .0 .1 .2 .3 .4 .5 .6 .7 .8 .9
- font decimals . .0 .1 .2 .3 .4 .5 .6 .7 .8 .9
- prefix \/ \/. \/? \/! \/, \/; \/:
- font escapes \/ \/. \/? \/! \/, \/; \/:
- prefix \, \,. \,? \,! \,, \,; \,:
- font escapes \, \,. \,? \,! \,, \,; \,:
- prefix \~ \0 \: \| \^ \& \% \!
- font escapes \~ \0 \: \| \^ \& \% \!
- prefix \b \c \C \d \D \e \f \f( \h \l \L \p \r \s \s+ \s- \S \u \v \w
- font escapes \b \c \C \d \D \e \f \f( \h \l \L \p \r \s \s+ \s- \S \u \v \w
- prefix ...
- font ellipsis ...
- prefix + - * / = == < > <= >= <? >? %
- font math + - * / = == < > <= >= <? >? %
- prefix |
- font misc |
- prefix ! : &
- font operators ! : &
- prefix ( )
- font parens ( )
- prefix # * $
- font reg_string # * $
- prefix \n \* \[
- font single_slash \n \* \[
- prefix \\n \\* \\$
- font tmac_escapes \\n \\* \\$
- comment \#
- comment \"