/pack/languages/tex.properties

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