/pack/languages/tex.properties

https://code.google.com/p/scite-ru/ · Properties File · 453 lines · 314 code · 71 blank · 68 comment · 0 complexity · 26e17e611bb410d81b09f298c5d3ded9 MD5 · raw file

  1. # file : tex.properties
  2. # version : 18 august 2003
  3. # author : Hans Hagen / PRAGMA ADE / www.pragma-ade.com
  4. # TeX users may want to use the Latin Modern Typewriter font:
  5. #
  6. # font.monospace=font:LMTypewriter10,size:16.5
  7. # font.errorfont=font:LMTypewriter10,size:11.5
  8. #
  9. # These and more presets are done in context.properties.
  10. # TeX: patterns
  11. file.patterns.tex=*.tex;*.sty
  12. file.patterns.latex=*.tex;*.sty;*.aux;*.toc;*.idx
  13. file.patterns.context=*.tex;*.tui;*.tuo;*.sty
  14. # filter to be checked/tested:
  15. filter.context=TeX|$(file.patterns.tex)|
  16. filter.context=LaTeX|$(file.patterns.latex)|
  17. filter.context=ConTeXt|$(file.patterns.context)|
  18. lexer.$(file.patterns.tex)=tex
  19. lexer.$(file.patterns.latex)=tex
  20. lexer.$(file.patterns.context)=tex
  21. # TeX: commands (check process view)
  22. command.compile.$(file.patterns.tex)=
  23. command.build.$(file.patterns.tex)=tex $(FileNameExt)
  24. command.go.$(file.patterns.tex)=gv $(FileName).pdf
  25. command.compile.$(file.patterns.latex)=
  26. command.build.$(file.patterns.latex)=pdflatex $(FileNameExt)
  27. command.go.$(file.patterns.latex)=gv $(FileName).pdf
  28. command.compile.$(file.patterns.context)=
  29. command.build.$(file.patterns.context)=texexec --pdf $(FileNameExt)
  30. command.go.$(file.patterns.context)=gv $(FileName).pdf
  31. command.0.$(file.patterns.tex)=
  32. command.1.$(file.patterns.tex)=
  33. command.2.$(file.patterns.tex)=
  34. command.3.$(file.patterns.tex)=
  35. command.4.$(file.patterns.tex)=
  36. command.5.$(file.patterns.tex)=
  37. command.6.$(file.patterns.tex)=
  38. command.7.$(file.patterns.tex)=
  39. command.8.$(file.patterns.tex)=
  40. command.9.$(file.patterns.tex)=
  41. command.0.$(file.patterns.latex)=
  42. command.1.$(file.patterns.latex)=
  43. command.2.$(file.patterns.latex)=
  44. command.3.$(file.patterns.latex)=
  45. command.4.$(file.patterns.latex)=
  46. command.5.$(file.patterns.latex)=
  47. command.6.$(file.patterns.latex)=
  48. command.7.$(file.patterns.latex)=
  49. command.8.$(file.patterns.latex)=
  50. command.9.$(file.patterns.latex)=
  51. command.0.$(file.patterns.context)=
  52. command.1.$(file.patterns.context)=
  53. command.2.$(file.patterns.context)=
  54. command.3.$(file.patterns.context)=
  55. command.4.$(file.patterns.context)=
  56. command.5.$(file.patterns.context)=
  57. command.6.$(file.patterns.context)=
  58. command.7.$(file.patterns.context)=
  59. command.8.$(file.patterns.context)=
  60. command.9.$(file.patterns.context)=
  61. # TeX: highlighting
  62. # Default
  63. style.tex.0=fore:#3F3F3F
  64. # Special
  65. style.tex.1=fore:#007F7F
  66. # Group
  67. style.tex.2=fore:#7F0000
  68. # Symbol
  69. style.tex.3=fore:#7F7F00
  70. # Command
  71. style.tex.4=fore:#007F00
  72. # Text
  73. # style.tex.5=
  74. style.tex.34=fore:#00007F
  75. style.tex.35=fore:#7F007F
  76. # TeX: comments
  77. comment.block.tex=%
  78. comment.block.at.line.start.tex=1
  79. # TeX: lexer.tex.interface.default
  80. #
  81. # 0 all \commands
  82. # 1 tex etex pdftex omega primitives
  83. # 2 context nl (when context.properties is loaded)
  84. # 3 context en (when context.properties is loaded)
  85. # 4 context de (when context.properties is loaded)
  86. # 5 context cz (when context.properties is loaded)
  87. # 6 context it (when context.properties is loaded)
  88. # 7 context ro (when context.properties is loaded)
  89. # 8 latex (no keywords yet; will move up)
  90. #
  91. # first lines of a tex file are interpreted as follows
  92. #
  93. # % interface=all|nl|en|de|cz|it|ro|latex
  94. lexer.tex.interface.default=0
  95. # TeX: lexer.tex.use.keywords
  96. #
  97. # 0 don't use keyword lists
  98. # 1 use keyword lists
  99. lexer.tex.use.keywords=1
  100. # TeX: lexer.tex.comment.process
  101. #
  102. # 0 don't interpret comment
  103. # 1 color comment like source code
  104. lexer.tex.comment.process=0
  105. # TeX: lexer.tex.auto.if
  106. #
  107. # 0 don't handle \if<unknown>
  108. # 1 treat \if<unknown> as command
  109. lexer.tex.auto.if=1
  110. # TeX: keywords (incomplete, just for testing and as example)
  111. keywordclass.primitives.tex=\
  112. above abovedisplayshortskip abovedisplayskip \
  113. abovewithdelims accent adjdemerits advance afterassignment \
  114. aftergroup atop atopwithdelims \
  115. badness baselineskip batchmode begingroup \
  116. belowdisplayshortskip belowdisplayskip binoppenalty botmark \
  117. box boxmaxdepth brokenpenalty \
  118. catcode char chardef cleaders closein closeout clubpenalty \
  119. copy count countdef cr crcr csname \
  120. day deadcycles def defaulthyphenchar defaultskewchar \
  121. delcode delimiter delimiterfactor delimeters \
  122. delimitershortfall delimeters dimen dimendef discretionary \
  123. displayindent displaylimits displaystyle \
  124. displaywidowpenalty displaywidth divide \
  125. doublehyphendemerits dp dump \
  126. edef else emergencystretch end endcsname endgroup endinput \
  127. endlinechar eqno errhelp errmessage errorcontextlines \
  128. errorstopmode escapechar everycr everydisplay everyhbox \
  129. everyjob everymath everypar everyvbox exhyphenpenalty \
  130. expandafter \
  131. fam fi finalhyphendemerits firstmark floatingpenalty font \
  132. fontdimen fontname futurelet \
  133. gdef global group globaldefs \
  134. halign hangafter hangindent hbadness hbox hfil horizontal \
  135. hfill horizontal hfilneg hfuzz hoffset holdinginserts hrule \
  136. hsize hskip hss horizontal ht hyphenation hyphenchar \
  137. hyphenpenalty hyphen \
  138. if ifcase ifcat ifdim ifeof iffalse ifhbox ifhmode ifinner \
  139. ifmmode ifnum ifodd iftrue ifvbox ifvmode ifvoid ifx \
  140. ignorespaces immediate indent input inputlineno input \
  141. insert insertpenalties interlinepenalty \
  142. jobname \
  143. kern \
  144. language lastbox lastkern lastpenalty lastskip lccode \
  145. leaders left lefthyphenmin leftskip leqno let limits \
  146. linepenalty line lineskip lineskiplimit long looseness \
  147. lower lowercase \
  148. mag mark mathaccent mathbin mathchar mathchardef mathchoice \
  149. mathclose mathcode mathinner mathop mathopen mathord \
  150. mathpunct mathrel mathsurround maxdeadcycles maxdepth \
  151. meaning medmuskip message mkern month moveleft moveright \
  152. mskip multiply muskip muskipdef \
  153. newlinechar noalign noboundary noexpand noindent nolimits \
  154. nonscript scriptscript nonstopmode nulldelimiterspace \
  155. nullfont number \
  156. omit openin openout or outer output outputpenalty over \
  157. overfullrule overline overwithdelims \
  158. pagedepth pagefilllstretch pagefillstretch pagefilstretch \
  159. pagegoal pageshrink pagestretch pagetotal par parfillskip \
  160. parindent parshape parskip patterns pausing penalty \
  161. postdisplaypenalty predisplaypenalty predisplaysize \
  162. pretolerance prevdepth prevgraf \
  163. radical raise read relax relpenalty right righthyphenmin \
  164. rightskip romannumeral \
  165. scriptfont scriptscriptfont scriptscriptstyle scriptspace \
  166. scriptstyle scrollmode setbox setlanguage sfcode shipout \
  167. show showbox showboxbreadth showboxdepth showlists showthe \
  168. skewchar skip skipdef spacefactor spaceskip span special \
  169. splitbotmark splitfirstmark splitmaxdepth splittopskip \
  170. string \
  171. tabskip textfont textstyle the thickmuskip thinmuskip time \
  172. toks toksdef tolerance topmark topskip tracingcommands \
  173. tracinglostchars tracingmacros tracingonline tracingoutput \
  174. tracingpages tracingparagraphs tracingrestores tracingstats \
  175. uccode uchyph underline unhbox unhcopy unkern unpenalty \
  176. unskip unvbox unvcopy uppercase \
  177. vadjust valign vbadness vbox vcenter vfil vfill vfilneg \
  178. vfuzz voffset vrule vsize vskip vsplit vss vtop \
  179. wd widowpenalty write \
  180. xdef xleaders xspaceskip \
  181. year
  182. keywordclass.primitives.etex=\
  183. beginL beginR botmarks \
  184. clubpenalties currentgrouplevel currentgrouptype \
  185. currentifbranch currentiflevel currentiftype \
  186. detokenize dimexpr displaywidowpenalties \
  187. endL endR eTeXrevision eTeXversion everyeof \
  188. firstmarks fontchardp fontcharht fontcharic fontcharwd \
  189. glueexpr glueshrink glueshrinkorder gluestretch \
  190. gluestretchorder gluetomu \
  191. ifcsname ifdefined iffontchar interactionmode \
  192. interactionmode interlinepenalties \
  193. lastlinefit lastnodetype \
  194. marks topmarks middle muexpr mutoglue \
  195. numexpr \
  196. pagediscards parshapedimen parshapeindent parshapelength \
  197. predisplaydirection \
  198. savinghyphcodes savingvdiscards scantokens showgroups \
  199. showifs showtokens splitdiscards splitfirstmarks \
  200. TeXXeTstate tracingassigns tracinggroups tracingifs \
  201. tracingnesting tracingscantokens \
  202. unexpanded unless \
  203. widowpenalties
  204. keywordclass.primitives.pdftex=\
  205. pdfadjustspacing pdfannot pdfavoidoverfull \
  206. pdfcatalog pdfcompresslevel \
  207. pdfdecimaldigits pdfdest pdfdestmargin \
  208. pdfendlink pdfendthread \
  209. pdffontattr pdffontexpand pdffontname pdffontobjnum pdffontsize \
  210. pdfhorigin \
  211. pdfimageresolution pdfincludechars pdfinfo \
  212. pdflastannot pdflastdemerits pdflastobj \
  213. pdflastvbreakpenalty pdflastxform pdflastximage \
  214. pdflastximagepages pdflastxpos pdflastypos \
  215. pdflinesnapx pdflinesnapy pdflinkmargin pdfliteral \
  216. pdfmapfile pdfmaxpenalty pdfminpenalty pdfmovechars \
  217. pdfnames \
  218. pdfobj pdfoptionpdfminorversion pdfoutline pdfoutput \
  219. pdfpageattr pdfpageheight pdfpageresources pdfpagesattr \
  220. pdfpagewidth pdfpkresolution pdfprotrudechars \
  221. pdfrefobj pdfrefxform pdfrefximage \
  222. pdfsavepos pdfsnaprefpoint pdfsnapx pdfsnapy pdfstartlink \
  223. pdfstartthread \
  224. pdftexrevision pdftexversion pdfthread pdfthreadmargin \
  225. pdfuniqueresname \
  226. pdfvorigin \
  227. pdfxform pdfximage
  228. keywordclass.primitives.omega=\
  229. odelimiter omathaccent omathchar oradical omathchardef omathcode odelcode \
  230. leftghost rightghost \
  231. charwd charht chardp charit \
  232. localleftbox localrightbox \
  233. localinterlinepenalty localbrokenpenalty \
  234. pagedir bodydir pardir textdir mathdir \
  235. boxdir nextfakemath \
  236. pagewidth pageheight pagerightoffset pagebottomoffset \
  237. nullocp nullocplist ocp externalocp ocplist pushocplist popocplist clearocplists ocptracelevel \
  238. addbeforeocplist addafterocplist removebeforeocplist removeafterocplist \
  239. OmegaVersion \
  240. InputTranslation OutputTranslation DefaultInputTranslation DefaultOutputTranslation \
  241. noInputTranslation noOutputTranslation \
  242. InputMode OutputMode DefaultInputMode DefaultOutputMode \
  243. noInputMode noOutputMode noDefaultInputMode noDefaultOutputMode
  244. # only the macros that make sense:
  245. keywordclass.macros.plain.partial=\
  246. TeX \
  247. bgroup egroup endgraf space empty null \
  248. newcount newdimen newskip newmuskip newbox newtoks newhelp newread newwrite newfam newlanguage newinsert newif \
  249. maxdimen magstephalf magstep \
  250. frenchspacing nonfrenchspacing normalbaselines obeylines obeyspaces raggedright ttraggedright \
  251. thinspace negthinspace enspace enskip quad qquad \
  252. smallskip medskip bigskip removelastskip topglue vglue hglue \
  253. break nobreak allowbreak filbreak goodbreak smallbreak medbreak bigbreak \
  254. line leftline rightline centerline rlap llap underbar strutbox strut \
  255. cases matrix pmatrix bordermatrix eqalign displaylines eqalignno leqalignno \
  256. pageno folio tracingall showhyphens fmtname fmtversion \
  257. hphantom vphantom phantom smash
  258. keywordclass.macros.eplain.partial=\
  259. eTeX \
  260. newmarks grouptype interactionmode nodetype iftype \
  261. tracingall loggingall tracingnone
  262. # for fun
  263. keywordclass.primitives.pdftex.experimental=
  264. keywordclass.primitives.all=\
  265. $(keywordclass.primitives.tex) \
  266. $(keywordclass.primitives.etex) \
  267. $(keywordclass.primitives.pdftex) \
  268. $(keywordclass.primitives.pdftex.experimental) \
  269. $(keywordclass.primitives.omega)
  270. # hooks for context
  271. keywordclass.macros.context.undocumented.en=
  272. keywordclass.macros.context.undocumented.nl=
  273. keywordclass.macros.context.undocumented.de=
  274. keywordclass.macros.context.undocumented.cz=
  275. keywordclass.macros.context.undocumented.it=
  276. keywordclass.macros.context.undocumented.ro=
  277. keywordclass.macros.context.extras=
  278. keywordclass.macros.context.nl=
  279. keywordclass.macros.context.en=
  280. keywordclass.macros.context.de=
  281. keywordclass.macros.context.cz=
  282. keywordclass.macros.context.it=
  283. keywordclass.macros.context.ro=
  284. import cont-en-scite
  285. import cont-nl-scite
  286. import cont-de-scite
  287. import cont-cz-scite
  288. import cont-it-scite
  289. import cont-ro-scite
  290. import cont-xx-scite
  291. # hooks for latex (file should define keywordclass.macros.latex.all)
  292. keywordclass.macros.latex.all=
  293. import latex-scite
  294. # collections
  295. keywordclass.tex.all=\
  296. $(keywordclass.primitives.tex) \
  297. $(keywordclass.macros.plain.partial)
  298. keywordclass.etex.all=\
  299. $(keywordclass.primitives.tex) \
  300. $(keywordclass.primitives.etex) \
  301. $(keywordclass.macros.plain.partial) \
  302. $(keywordclass.macros.eplain.partial)
  303. keywordclass.latex.all=\
  304. $(keywordclass.primitives.tex) \
  305. $(keywordclass.primitives.etex) \
  306. $(keywordclass.macros.latex.all)
  307. keywordclass.pdflatex.all=\
  308. $(keywordclass.primitives.tex) \
  309. $(keywordclass.primitives.etex) \
  310. $(keywordclass.primitives.pdftex) \
  311. $(keywordclass.macros.latex.all)
  312. # we can't use $(keywordclass.primitives.all) here due to some kind of
  313. # limitation in nesting
  314. keywordclass.context.base=\
  315. $(keywordclass.primitives.tex) \
  316. $(keywordclass.primitives.etex) \
  317. $(keywordclass.primitives.pdftex) \
  318. $(keywordclass.primitives.pdftex.experimental) \
  319. $(keywordclass.primitives.omega) \
  320. $(keywordclass.macros.plain.partial) \
  321. $(keywordclass.macros.eplain.partial)
  322. keywordclass.context.all=\
  323. $(keywordclass.context.base) \
  324. $(keywordclass.macros.context.en) \
  325. $(keywordclass.macros.context.extras) \
  326. $(keywordclass.macros.context.undocumented.en)
  327. keywordclass.context.all.nl=\
  328. $(keywordclass.context.base) \
  329. $(keywordclass.macros.context.nl) \
  330. $(keywordclass.macros.context.extras) \
  331. $(keywordclass.macros.context.undocumented.nl)
  332. keywordclass.context.all.en=\
  333. $(keywordclass.context.base) \
  334. $(keywordclass.macros.context.en) \
  335. $(keywordclass.macros.context.extras) \
  336. $(keywordclass.macros.context.undocumented.en)
  337. keywordclass.context.all.de=\
  338. $(keywordclass.context.base) \
  339. $(keywordclass.macros.context.de) \
  340. $(keywordclass.macros.context.extras) \
  341. $(keywordclass.macros.context.undocumented.de)
  342. keywordclass.context.all.cz=\
  343. $(keywordclass.context.base) \
  344. $(keywordclass.macros.context.cz) \
  345. $(keywordclass.macros.context.extras) \
  346. $(keywordclass.macros.context.undocumented.cz)
  347. keywordclass.context.all.it=\
  348. $(keywordclass.context.base) \
  349. $(keywordclass.macros.context.it) \
  350. $(keywordclass.macros.context.extras) \
  351. $(keywordclass.macros.context.undocumented.it)
  352. keywordclass.context.all.ro=\
  353. $(keywordclass.context.base) \
  354. $(keywordclass.macros.context.ro) \
  355. $(keywordclass.macros.context.extras) \
  356. $(keywordclass.macros.context.undocumented.ro)
  357. # hm
  358. keywords.$(file.patterns.tex)=$(keywordclass.tex.all)
  359. keywords.$(file.patterns.latex)=$(keywordclass.latex.all)
  360. keywords.$(file.patterns.context)=$(keywordclass.context.all)
  361. # keywords1 is not used since scintilla takes it from 'keywords'
  362. keywords.$(file.patterns.context)=$(keywordclass.context.base)
  363. keywords2.$(file.patterns.context)=$(keywordclass.context.all.nl)
  364. keywords3.$(file.patterns.context)=$(keywordclass.context.all.en)
  365. keywords4.$(file.patterns.context)=$(keywordclass.context.all.de)
  366. keywords5.$(file.patterns.context)=$(keywordclass.context.all.cz)
  367. keywords6.$(file.patterns.context)=$(keywordclass.context.all.it)
  368. keywords7.$(file.patterns.context)=$(keywordclass.context.all.ro)
  369. # keywords71.$(file.patterns.context)=$(keywordclass.tex.all)
  370. # keywords72.$(file.patterns.context)=$(keywordclass.etex.all)
  371. # keywords73.$(file.patterns.context)=$(keywordclass.pdftex.all)
  372. # keywords74.$(file.patterns.context)=$(keywordclass.pdfetex.all)
  373. #
  374. # keywords91.$(file.patterns.context)=$(keywordclass.latex.all)
  375. # for the moment LaTeX gets slot 8, but we will move it up as soon as
  376. # more keyword lists can be defined
  377. keywords8.$(file.patterns.context)=$(keywordclass.pdflatex.all)
  378. # TeX: words
  379. word.characters.$(file.patterns.tex)=$(chars.alpha)$(chars.numeric)$(chars.accented)\@
  380. word.characters.$(file.patterns.latex)=$(chars.alpha)$(chars.numeric)$(chars.accented)\@
  381. word.characters.$(file.patterns.context)=$(chars.alpha)$(chars.numeric)$(chars.accented)\@!?
  382. # TeX: end of file