Update for last 2 commits.
[geany-mirror.git] / data / filetypes.latex
blob71f64baf40067de8749377b72cb9f441108438ab
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling]
3 # foreground;background;bold;italic
4 default=0x00002f;0xffffff;false;false
5 command=0xff0000;0xffffff;true;false
6 tag=0x007f7f;0xffffff;true;false
7 math=0x00007f;0xffffff;false;false
8 comment=0x007f00;0xffffff;false;true
10 [keywords]
11 # all items must be in one line
12 primary=above abovedisplayshortskip abovedisplayskip abovewithdelims accent adjdemerits advance afterassignment aftergroup atop atopwithdelims badness baselineskip batchmode begin begingroup belowdisplayshortskip belowdisplayskip binoppenalty botmark box boxmaxdepth brokenpenalty catcode char chardef cleaders closein closeout clubpenalty copy count countdef cr crcr csname day deadcycles def defaulthyphenchar defaultskewchar delcode delimeters delimiter delimiterfactor delimitershortfall dimen dimendef discretionary displayindent displaylimits displaystyle displaywidowpenalty displaywidth divide doublehyphendemerits dp dump edef else emergencystretch end endcsname endgroup endinput endlinechar eqno errhelp errmessage errorcontextlines errorstopmode escapechar everycr everydisplay everyhbox everyjob everymath everypar everyvbox exhyphenpenalty expandafter fam fi finalhyphendemerits firstmark floatingpenalty font fontdimen fontname futurelet gdef global globaldefs group halign hangafter hangindent hbadness hbox hfil hfill hfilneg hfuzz hoffset holdinginserts horizontal hrule hsize hskip hss ht hyphen hyphenation hyphenchar hyphenpenalty if ifcase ifcat ifdim ifeof iffalse ifhbox ifhmode ifinner ifmmode ifnum ifodd iftrue ifvbox ifvmode ifvoid ifx ignorespaces immediate indent input inputlineno insert insertpenalties interlinepenalty jobname kern language lastbox lastkern lastpenalty lastskip lccode leaders left lefthyphenmin leftskip leqno let limits line linepenalty lineskip lineskiplimit long looseness lower lowercase mag mark mathaccent mathbin mathchar mathchardef mathchoice mathclose mathcode mathinner mathop mathopen mathord mathpunct mathrel mathsurround maxdeadcycles maxdepth meaning medmuskip message mkern month moveleft moveright mskip multiply muskip muskipdef newlinechar noalign noboundary noexpand noindent nolimits nonscript nonstopmode nulldelimiterspace nullfont number omit openin openout or outer output outputpenalty over overfullrule overline overwithdelims pagedepth pagefilllstretch pagefillstretch pagefilstretch pagegoal pageshrink pagestretch pagetotal par parfillskip parindent parshape parskip patterns pausing penalty postdisplaypenalty predisplaypenalty predisplaysize pretolerance prevdepth prevgraf radical raise read relax relpenalty right righthyphenmin rightskip romannumeral scriptfont scriptscript scriptscriptfont scriptscriptstyle scriptspace scriptstyle scrollmode setbox setlanguage sfcode shipout show showbox showboxbreadth showboxdepth showlists showthe skewchar skip skipdef spacefactor spaceskip span special splitbotmark splitfirstmark splitmaxdepth splittopskip string subsection tabskip textfont textstyle the thickmuskip thinmuskip time toks toksdef tolerance topmark topskip tracingcommands tracinglostchars tracingmacros tracingonline tracingoutput tracingpages tracingparagraphs tracingrestores tracingstats uccode uchyph underline unhbox unhcopy unkern unpenalty unskip unvbox unvcopy uppercase vadjust valign vbadness vbox vcenter vfil vfill vfilneg vfuzz voffset vrule vsize vskip vsplit vss vtop wd widowpenalty write xdef xleaders xspaceskip year
15 [settings]
16 # default extension used when saving files
17 #extension=tex
19 # the following characters are these which a "word" can contains, see documentation
20 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
22 # if only single comment char is supported like # in this file, leave comment_close blank
23 comment_open=%
24 comment_close=
26 # set to false if a comment character/string should start at column 0 of a line, true uses any
27 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
28         #command_example();
29 # setting to false would generate this
30 #       command_example();
31 # This setting works only for single line comments
32 comment_use_indent=true
34 # context action command (please see Geany's main documentation for details)
35 context_action_cmd=
37 [build_settings]
38 # %f will be replaced by the complete filename
39 # %e will be replaced by the filename without extension
40 # (use only one of it at one time)
41 compiler=latex --file-line-error-style "%f"
42 # it is called linker, but here it is an alternative compiler command
43 linker=pdflatex --file-line-error-style "%f"
44 run_cmd=xdvi "%e.dvi"
45 run_cmd2=xpdf "%e.pdf"
47 [build-menu]
48 FT_00_LB=LaTeX -> _DVI
49 FT_00_CM=latex --file-line-error-style "%f"
50 FT_00_BD=false
51 FT_01_LB=LaTeX -> _PDF
52 FT_01_CM=pdflatex --file-line-error-style "%f"
53 FT_01_BD=false
54 EX_00_LB=V_iew PDF File
55 EX_00_CM=xpdf "%e.pdf"
56 EX_00_BD=false
57 EX_01_LB=_View DVI File
58 EX_01_CM=xdvi "%e.dvi"
59 EX_01_BD=false