1
"=============================================================================
2
" vim:ft=vim:ts=4:sw=4:noet:fdm=marker:commentstring=\"\ %s:ff=unix
4
" Author: Srinath Avadhanula
5
" Created: Mon Apr 01 11:00 AM 2002 PST
6
" CVS: $Id: texrc 998 2006-03-20 09:52:12Z srinathava $
8
" Description: This file contains resource configuration information for the
11
" NOTE: Do NOT be edit this file directly:
12
" this file will be over-written each time you install a new copy
15
" You can do one of the following:
16
" 1. Copy this file into $VIMFILES/ftplugin/tex/texrc
17
" and edit the values in that file.
18
" $VIMFILES is ~/.vim for UNIX systems and ~/vimfiles for
21
" 2. Just set values of each setting individually in your
22
" $VIMFILES/ftplugin/tex.vim file. (See above for what
23
" $VIMFILES is). You will need to use :let instead of :TexLet
26
" NOTE: This file is best viewed with Vim-6.0+ with folding turned on.
27
" CVS: $Id: texrc 998 2006-03-20 09:52:12Z srinathava $
28
"=============================================================================
30
" ==============================================================================
31
" SafeLet: checks for value before giving default value {{{
32
" Description: The function takes in a single argument and splits it into 2
33
" parts, the first being the first <CWORD> found. this is taken
34
" as a variable name and the next part is assigned to it
35
" depending on whether the variable already exists or not.
36
" handles the case where the next part is quoted or not.
37
" All these calls work:
38
" TexLet g:varname = 1
39
" TexLet g:varname = '1'
40
" TexLet g:varname = 'foo bar'
41
" TexLet g:varname = "foo\nbar"
42
" TexLet g:varname = foo bar
43
function! <SID>SafeLet(arg)
44
let name = matchstr(a:arg, '^\s*\zs\(\S\+\)\ze\s*=')
45
let value = matchstr(a:arg, '=\s*\zs.*\ze')
46
let value = substitute(value, '\s*$', '', '')
48
if value =~ "^'\\|^\""
49
exec "let ".name." = ".value
51
exe "let ".name." = value"
55
com! -nargs=+ TexLet :call <SID>SafeLet(<q-args>)
57
" ==============================================================================
59
" ==============================================================================
60
" General settings {{{
62
TexLet g:Tex_UsePython = 1
64
" the system command which pulls in a file.
66
TexLet g:Tex_CatCmd = 'cat'
67
TexLet g:Tex_RmCmd = 'rm'
69
TexLet g:Tex_CatCmd = 'type'
70
TexLet g:Tex_RmCmd = 'del'
73
" whether to turn on debugging
74
TexLet g:Tex_Debug = 0
75
" If non empty, all the debugging information will be written to a file of
77
TexLet g:Tex_DebugLog = ''
80
" ==============================================================================
81
" Rules: specifications of programs for compiling and viewing {{{
84
" By default, when you compile a tex file using \ll, then you will be
85
" generating a .dvi file. Change this line if you want to set another default.
86
" NOTE: Make sure that a target for this format exists in the 'Compiler rules'
87
" section below and is set up properly for your system.
89
TexLet g:Tex_DefaultTargetFormat = 'pdf'
91
TexLet g:Tex_DefaultTargetFormat = 'dvi'
94
" A comma seperated list of formats which need multiple compilations to be
96
TexLet g:Tex_MultipleCompileFormats = 'dvi'
98
" Uncomment this line if you compile ps files via dvi files.
99
" TexLet g:Tex_FormatDependency_ps = 'dvi,ps'
101
" ------------------------------------------------------------------------------
103
" This is the first thing you should customize. It is set up for most common
104
" values, but if use some other compiler, then you will want to change this.
105
" As CompileFlags value you'd perhaps like to use, e.g., '-src-specials',
106
" but it is known that it can sometimes give different results in the output,
107
" so use it with care.
108
TexLet g:Tex_CompileRule_dvi = 'latex -interaction=nonstopmode $*'
109
TexLet g:Tex_EscapeChars = '{}\'
111
TexLet g:Tex_CompileRule_ps = 'dvips -Ppdf -o $*.ps $*.dvi'
113
" ways to generate pdf files. there are soo many...
114
" NOTE: pdflatex generates the same output as latex. therefore quickfix is
116
TexLet g:Tex_CompileRule_pdf = 'pdflatex -interaction=nonstopmode $*'
118
" TexLet g:Tex_CompileRule_pdf = 'ps2pdf $*.ps'
119
" TexLet g:Tex_CompileRule_pdf = 'dvipdfm $*.dvi'
120
" TexLet g:Tex_CompileRule_pdf = 'dvipdf $*.dvi'
122
TexLet g:Tex_CompileRule_html = 'latex2html $*.tex'
124
TexLet g:Tex_CompileRule_bib = g:Tex_BibtexFlavor . ' $*'
126
" Set Tex_UseMakefile to 0 if you want to ignore the presence of a Makefile
127
" when deciding how to compile
128
TexLet g:Tex_UseMakefile = 1
131
" ------------------------------------------------------------------------------
133
" these programs are for viewing other formats.
134
" NOTE: latex-suite will automatically append file.<format> to these functions
135
" when calling them. The viewer therefore cannot accept arguments after
137
" NOTE: Windows users:
138
" Set your $PATH variable to include the full path to these programs.
140
TexLet g:Tex_ViewRule_ps = 'gsview32'
141
TexLet g:Tex_ViewRule_pdf = 'AcroRd32'
142
TexLet g:Tex_ViewRule_dvi = 'yap -1'
143
elseif has('macunix')
144
" Let the system pick. If you want, you can override the choice here.
145
TexLet g:Tex_ViewRule_ps = ''
146
TexLet g:Tex_ViewRule_pdf = ''
147
" TexLet g:Tex_ViewRule_pdf = 'Acrobat\ Reader\ 5.1'
148
TexLet g:Tex_ViewRule_dvi = ''
150
TexLet g:Tex_ViewRule_ps = 'ghostview'
151
TexLet g:Tex_ViewRule_pdf = 'xpdf'
152
TexLet g:Tex_ViewRule_dvi = 'xdvi'
153
" the option below specifies an editor for the dvi viewer while starting
154
" up the dvi viewer according to Dimitri Antoniou's tip on vim.sf.net (tip
156
TexLet g:Tex_UseEditorSettingInDVIViewer = 0
159
" Tex_ViewRuleComplete_{format}
161
" If a variable like this is specified, then it takes precedence over the
162
" variable with the same suffix defined above. i.e, Tex_ViewRuleComplete_dvi
163
" takes precedence over Tex_ViewRule_dvi.
165
" If only Tex_ViewRule_{format} is specified, then latex-suite constructs the
166
" actual system command which calls that program automatically. For example,
167
" if you specify Tex_ViewRule_dvi = 'kdvi', then latex-suite will issue the
169
" !kdvi --unique file.dvi &
171
" However, if your viewer program accepts the file to be viewed in a way which
172
" doesn't fit with the way latex-suite constructs the system command, then
173
" specify it using this variable. You can use the same format here which
174
" 'makeprg' accepts. So $* can be used in place of the main file name.
176
" IMPORTANT: Make sure you make the process go into the background otherwise
177
" vim will wait for the viewer to terminate before letting you edit
181
" Suppose you have a latex->html converter which converts a file say foo.tex
182
" to a file foo/index.html. Then you would use:
184
" let g:Tex_ViewRuleComplete_html = 'MozillaFirebird $*/index.html &'
186
" Doing something like this would not be possible using Tex_ViewRule_html
187
TexLet g:Tex_ViewRuleComplete_dvi = ''
190
" ------------------------------------------------------------------------------
192
" ==============================================================================
193
" Compiler: latex-suite comes with a customizable compiler plugin. {{{
194
" :help latex-compiling for a detailed description of these options.
196
" this is the list of patterns which will be ignored from the compiler output.
197
" This is a handy way of specifying which warnings/errors to ignore. This is a
198
" list of patterns seperated by 'ļæ½'
199
TexLet g:Tex_IgnoredWarnings =
202
\'specifier changed to'."\n".
203
\'You have requested'."\n".
204
\'Missing number, treated as zero.'."\n".
205
\'There were undefined references'."\n".
206
\'Citation %.%# undefined'
208
" the 'ignore level' of the 'efm'. A value of 4 says that the first 4 kinds of
209
" warnings in the list above will be ignored. Use the command TCLevel to set a
211
TexLet g:Tex_IgnoreLevel = 7
213
" NOTE: The values of g:Tex_Flavor and g:Tex_CompilerFlags are provided as a
214
" way to make compiler/tex.vim standalone. i.e independent of the rest
215
" of latex-suite. These variables are NOT used if you have already
216
" defined g:Tex_CompileRule_dvi above.
218
" specifies the current latex flavor.
219
TexLet g:Tex_Flavor = 'latex'
221
" specifies the BibTeX flavor and if necessary options. If you use $* in this
222
" setting, it will be replaced by the *root* of the main file name, i.e, if
223
" the main file is "thesis.tex", $* will be "thesis".
224
TexLet g:Tex_BibtexFlavor = 'bibtex'
226
" specifies the MakeIndedx flavor and if necessary options. $* will be
227
" replaced by the *root* of the main file name. See above.
228
TexLet g:Tex_MakeIndexFlavor = 'makeindex $*.idx'
230
" By default the program described by g:Tex_Flavor above is called with the
231
" flags '--src-specials --interaction=nonstopmode'. If your particular version
232
" of latex does not accept these arguments, you will need to set this variable
233
" to the appropriate value.
234
" NOTE: leave commented for using the default flags.
235
" TODO: Is it necessary (or even desirable) to use 2 variables to specify a
236
" flavor and flags seperately? --SA
237
" TexLet g:Tex_CompilerFlags = ''
239
" If disabled (set to 0) LaTeX-Suite doesn't go immediately to warnings or
240
" errors after compilation
241
TexLet g:Tex_GotoError = 1
243
" If set to 1, then latex-suite shows the context of the error in a preview
244
" window beneath the window showing the actual errors.
245
TexLet g:Tex_ShowErrorContext = 1
247
" Remove temp files created during part compilations when vim exits.
248
TexLet g:Tex_RemoveTempFiles = 1
251
" ==============================================================================
252
" Project: how to deal with multi file projects via latex-suite {{{
254
" Use a valid vim expression here if you want to customize the way latex-suite
255
" searches for a master file from within another file.
256
TexLet g:Tex_MainFileExpression = ''
259
" ==============================================================================
260
" Macros: latex-suite comes with a large number of macros to speed up typing {{{
263
" Place Holder Options: {{{
264
" (See |placeholders| for a description of what place-holders are).
266
" these options are actually used by imaps.vim, therefore the prefix is Imap_
267
" and not Tex_. See |placeholders| for a description of how to use
268
" place-holders. You can either completely disable placeholders (not
269
" recommended) and/or you can change the place holder characters.
271
TexLet g:Imap_UsePlaceHolders = 1
272
TexLet g:Imap_PlaceHolderStart = '<+'
273
TexLet g:Imap_PlaceHolderEnd = '+>'
275
" This option when set to 1 makes <C-J> in insert mode delete
276
" non-descriptive (empty) placeholders and enters insert mode.
277
" NOTE: This option _has_ to be set in the .vimrc. Setting this in a filetype
278
" plugin file such as ftplugin/tex.vim will not have any affect.
279
TexLet g:Imap_DeleteEmptyPlaceHolders = 0
281
" When set to 1, in visual mode, <C-J> takes you to the next placeholder
282
" without deleting the current placeholder.
283
" NOTE: This option _has_ to be set in the .vimrc. Setting this in a filetype
284
" plugin file such as ftplugin/tex.vim will not have any affect.
285
TexLet g:Imap_StickyPlaceHolders = 1
289
" Menu Wizard Option: {{{
290
" If the following variable is set to 1, then when an enviroment is chosen
291
" from the menu then for selected environments, latex-suite asks a series of
292
" questions on the command line and inserts a template with the corresponding
293
" fields already filled in.
294
" Setting this to zero will insert a template with |placeholders| marking off
295
" the places where fields need to be filled.
296
TexLet g:Tex_UseMenuWizard = 0
299
" Visual Mode Mapping Correction: {{{
300
" With so many visual maps, its helpful to have a way of catching typing
301
" errors made in visual mode. What this does is to prompt you to correct your
302
" visual mode mapping if you start out with g:Tex_Leader and then type some
304
" It basically maps just the g:Tex_Leader character to a function
305
TexLet g:Tex_CatchVisMapErrors = 1
309
" whether or not you want to use diacritics
310
" (diacritics speed up typing some languages. the way they are set up in
312
" =char> = \'{<char>}
313
" +char> = \v{<char>}
317
TexLet g:Tex_Diacritics = 0
320
" Leader Options: {{{
321
" The mappings in latex-suite are by default prefixed with the back-tick
322
" character. For example, `/ inserts \frac{<++>}{<++>}<++> etc. You can change the
323
" prefix with the following setting.
324
" ',', '/', '`' are preferred values. '' or '\' will lead to a _lot_ of
326
" g:Tex_Leader is also used for visual mode mappings for fonts.
327
TexLet g:Tex_Leader = '`'
329
" In order to avoid ambiguity between the large number of visual mode macros
330
" provided, the visual mode macros for environments and sections start with a
331
" character different from '`'.
332
TexLet g:Tex_Leader2 = ','
335
" Environment Macros: {{{
336
" These mappings insert LaTeX "environments" such as
340
" with the cursor left at the first place-holder.
341
" (See |placeholders| for what these are.)
343
" 1. All environment mappings begin with 'E'
344
" 2. The next two capital letters are (for the common environments) the
345
" first 2 letters of the environment name converted into upper case. For
346
" example, for the center environment above, use ECE. There are a few
347
" necessary exceptions such as:
350
" Please see texmaps.vim for the complete list.
352
" Along with the insert mode mappings, a set of visual mode mappings is
353
" provided which encloses the visually selected region in an environment.
354
" These maps are related to the corresponding insert mode mappings by the
357
" and so on. i.e, the leading E becomes '`' and the next 2 letters are small
358
" case. Some of the visual mode mappings are sensetive to whether you choose
359
" line-wise or character wise. For example, if you choose a word and press
360
" `ve, then you get \verb|word|, whereas if you press `ve on a line-wise
361
" selection, you get:
366
" these 2 options give finer control on which aspect of the macros you want
368
TexLet g:Tex_EnvironmentMaps = 1
369
TexLet g:Tex_EnvironmentMenus = 1
374
" These mappings insert font descriptions such as:
376
" again with the cursor at the first place-holder.
378
" 1. first letter is always F (F for font)
379
" 2. next 2 letters are the 2 letters describing the font.
381
" Example: the above mapping is triggered by FSF.
383
" Just like environment mappings, you can visually select an area and press
384
" `sf to have it enclosed in:
390
" depending on character-wise or line-wise selection.
391
TexLet g:Tex_FontMaps = 1
392
TexLet g:Tex_FontMenus = 1
395
" Section Macros: {{{
396
" Inserts LaTeX sections:
398
" etc. Just as in the case of environments and fonts, can be enclosed with a
399
" visual selection. The enclosing is not sensetive to character or line-wise
401
" NOTE: In visual mode, you are supposed to select the name of the section
402
" etc, not the whole section.
403
" In the following case, select just the first line, not lines 1-3.
405
" 2 some lines in this section
406
" 3 and some more lines
407
" Mnemonic: (make your own!)
412
" SS2 for subsubsection
414
" SSP for subparagraph
415
TexLet g:Tex_SectionMaps = 1
416
TexLet g:Tex_SectionMenus = 1
419
" Auctex Style Mappings: {{{
420
" Auctex.vim has heavily inspired various portions of latex-suite providing
421
" various new ways of conviniently inserting environments.
423
" If you press <F5> in the insert mode while on an empty line, latex-suite
424
" prompts you with a list of environments you might want to insert. You can
425
" either choose one from the list or type in a new environment name.
426
" The variable below (which is a comma seperated list of environment names)
427
" decides the prompt which latex-suite generates.
428
" You can place as many items as you want here. If the environment name is a
429
" standard latex environment such as table or figure, then latex-suite will
430
" insert a template with additional fields, if not, just a bare bones
435
" \[ and $$ are also recognized.
436
" NOTE: Setting this variable to the empty string is a way of leaving the
439
TexLet g:Tex_PromptedEnvironments =
440
\ 'eqnarray*,eqnarray,equation,equation*,\[,$$,align,align*'
442
" Another quick way of inserting environments is to press one of the shifted
443
" function keys from <F1> through <F4>.
444
" Each environment in the following list is mapped to a corresponding shifted
446
" NOTE: Setting this variable to the empty string is a way of leaving all the
447
" shifted function keys untouched by latex-suite.
448
" NOTE: Only the first 4 items of the list are used. The rest will be silently
450
" The number of items in this list decides how many shifted function keys are
452
TexLet g:Tex_HotKeyMappings =
453
\ 'eqnarray*,eqnarray,bmatrix'
455
" Similar to above mechanisms works <F7> key. It prompts for command with list
456
" of commands from g:Tex_PromptedCommands. There are not HotKeys for commands.
457
" It works for commands of style \com{}. Changing of current command is done
460
TexLet g:Tex_PromptedCommands =
461
\ 'footnote,cite,pageref,label'
464
" Smart Key Mappings: {{{
465
" Latex-suite shites with a number of 'smart' maps, where the behavior of
466
" standard keys is modified in a way which makes editing tex files easy.
468
" Pressing <BS> in insert mode checks to see whether we are just after
469
" something like \'{a} and if so, deletes all of it. i.e, diacritics are
470
" treated as single characters for backspacing.
471
" Setting this to zero will leave the <BS> key unmapped.
473
TexLet g:Tex_SmartKeyBS = 1
474
" The pattern used to detect whether the previous characters comprise a
475
" diacritic character. This default pattern detects the standard LaTeX
477
TexLet g:Tex_SmartBSPattern =
479
\ "\\\\[\"^'=v]{\\S}" . '\|' .
480
\ "\\\\[\"^'=]\\S" . '\|' .
482
\ "\\\\[\"^'=v]{\\\\[iI]}" . '\|' .
483
\ '\\v \\[iI]' . '\|' .
488
" Pressing " (english double quote) will insert `` or '' by making an
489
" intelligent guess about whether we intended to open or close a quote.
491
TexLet g:Tex_SmartKeyQuote = 1
493
" Users of other languages might want to change the quote characters to suit
494
" their locale. These global values will be ignored if there are buffer-local
495
" versions, which may be set in the language-specific package files, such as
496
" ftplugin/latex-suite/packages/german
497
TexLet g:Tex_SmartQuoteOpen = "``"
498
TexLet g:Tex_SmartQuoteClose = "''"
500
" Latex-suite maps the <space> key in such a way that $ characters are not
501
" broken across lines.
502
" NOTE: Setting this to 1 has the side-effect of making the 'tw' setting be 0.
504
TexLet g:Tex_SmartKeySpace = 0
506
" Pressing ... (3 dots) results in \ldots outside math mode and \cdots in math
509
" TODO: Make it more intelligent within math mode. For example
510
" $1+...+3$ should expand to $1+\cdots+n$, whereas $1,...,n$ should expand
511
" to $1,\ldots,n$. The amsmath package actually provides a command \dots
512
" which does this. Maybe use that if amsmath is detected?
514
TexLet g:Tex_SmartKeyDot = 1
518
" These mappings allow for fast inserting of math constructions
519
" brackets, better handling of space in math mode, unfortunately
520
" they use <M-> mappings which conflicts with some encodings. This is easy way
521
" of turning them off.
523
" <M-b> encloses the previous character in \mathbf{}
524
" <M-c> is polymorphic as follows:
526
" 1. If the previous character is a letter or number, then capitalize it and
527
" enclose it in \mathcal{}
528
" 2. otherwise insert \cite{}
530
" 1. Enclose selection in \mathcal{}
531
" <M-l> is also polymorphic as follows:
532
" If the character before typing <M-l> is one of '([{|<q', then do the
534
" 1. (<M-l> \left(\right
536
" {<M-l> \left\{\right\}
537
" 2. <<M-l> \langle\rangle
538
" 3. q<M-l> \lefteqn{}
539
" otherwise insert \label{}
540
" <M-i> inserts \item commands at the current cursor location depending on
541
" the surrounding environment. For example, inside itemize, it will
542
" insert a simple \item, but within a description, it will insert
543
" \item[<+label+>] etc.
546
TexLet g:Tex_AdvancedMath = 1
551
" ==============================================================================
552
" TeX Completion: {{{
554
" Options for controlling the window sizes of the completion windows {{{
556
" The height of the window which contains the \label's (when completing a
557
" \ref) or bibtex entries (when completing a \cite). This option is used in
558
" the newer methods of completing \ref's and \cite's.
559
TexLet g:Tex_OutlineWindowHeight = 15
561
" Options for preview window for ref/cite completion. The next two options
562
" are used only when g:Tex_UseOutlineCompletion = 0 or
563
" g:Tex_UseCiteCompletionVer2 = 0, i.e, when we use a classic method of
564
" completing \refs and \cites.
566
TexLet g:Tex_ViewerCwindowHeight = 5
567
" Height of preview window
568
TexLet g:Tex_ViewerPreviewHeight = 10
570
" Options for explorer completion.
571
" Height of explorer window
572
TexLet g:Tex_ExplorerHeight = 10
574
" Directory for images. Read |latex-completion-explorer| before changing
575
TexLet g:Tex_ImageDir = ''
578
" Options for completing a \ref {{{
580
" Whether to use the "outline mode" for displaying the \label's while doing
581
" \ref completion. In this mode, each label is displayed within the
582
" document element it resides in. The entire thing is folded to ease
583
" navigation. Should be easier/faster than the classical mode.
584
TexLet g:Tex_UseOutlineCompletion = 1
586
" This option should be set via the .latexmain file. It should be a newline
587
" seperated list of files which make up all the "source" files in the
588
" current project. This enables latex-suite to skip the more complicated
589
" algorithm of finding the source files by recursively searching for
590
" \input'ed files from the |latex-master-file|.
592
" Only used when g:Tex_UseOutlineCompletion = 0.
593
TexLet g:Tex_ProjectSourceFiles = ''
595
" Whether latex-suite simply searches for \\label's in all the .tex file
596
" found in the current directory or whether it will use a more complex
597
" algorithm. This is used only g:Tex_UseOutlineCompletion = 0 and
598
" g:Tex_ProjectSourceFiles = ''.
600
" :help Tex_UseSimpleLabelSearch
601
" for more information
602
TexLet g:Tex_UseSimpleLabelSearch = 0
605
" Options for completing a \cite'ation {{{
607
" If set to 1, then the newer way of presenting the bibtex entries is used.
608
" Instead of a |cwindow| showing just the keys and a synced |preview|
609
" window beneath, show a single window containing a nicely formatted list
610
" of bibtex entries. This should be faster and easier to use than the
612
TexLet g:Tex_UseCiteCompletionVer2 = 1
614
" This is a string which is displayed to the user when he wants to sort or
615
" filter the bibtex entries. This string also serves to define acronyms for
616
" the various fields of a bibtex entry.
617
TexLet g:Tex_BibFieldPrompt =
618
\ "Field acronyms: (`:let g:Tex_EchoBibFields = 0` to avoid this message)\n" .
619
\ " [t] title [a] author [b] booktitle \n" .
620
\ " [j] journal [y] year [p] bibtype \n" .
621
\ " (you can also enter the complete field name) \n"
623
" Whether or not to display the string above to aid the user in choosing
624
" the field to filter/sort with.
625
TexLet g:Tex_EchoBibFields = 1
627
" A setting of this form defines the letter 'a' as standing for the field
628
" 'author'. Thus when the user types
630
" when asked to enter a filter, it is equivalent to the user specifying the
633
" TexLet g:Tex_BibAcronym_a = 'author'
635
" Whether or not to use Jabref to complete citations
637
" :help latex-suite-jabref
638
" for more infomration
639
TexLet g:Tex_UseJabref = 0
641
" whether or not searches for \cite's are cached.
642
TexLet g:Tex_RememberCiteSearch = 0
643
" Paths to the bibliography files and custom packages.
644
TexLet g:Tex_BIBINPUTS = ''
645
TexLet g:Tex_TEXINPUTS = ''
650
" ==============================================================================
651
" Menus: set the kinds of menus which you would like to see. {{{
653
" Setting this variable to zero will immediately disable _all_ menus.
654
" for finer control set this to 1 and then play with the other options.
656
TexLet g:Tex_Menus = 1
658
" The location of the main menu
659
TexLet g:Tex_MainMenuLocation = 80
661
" Math contains a large number of tex math elemets such as arrows,
662
" mathematical fonts (\mathrm), mathematical diacritics (\dot), binary
663
" relational operators etc. This menu compromises about 75% of the menus.
665
TexLet g:Tex_MathMenus = 1
667
" The following options control the "compactness" of the menus.
669
" Setting this option to 1 makes the Font, Counter and Dimensioning menus to
670
" be collected together into a single 'Tex-Elements' menu. Setting this to 0
671
" creates seperate menus for each of them.
673
TexLet g:Tex_NestElementMenus = 1
675
" Sometimes when you are using a lot of packages with lots of options etc,
676
" then a lot of time might be spent at startup loading the menus.
677
" Setting the following variable to 0 will stop autoloading the packages menu.
678
" You can still goto TeX-Suite.Configure Menu and load this after startup.
680
TexLet g:Tex_PackagesMenu = 1
681
" The following option will create the packages option within the TeX-Suite
684
TexLet g:Tex_NestPackagesMenu = 1
686
" This is the prefix added to the menu names created by latex suite. Add a
687
" dot to the following option to nest the menus under the menu name before the
689
" NOTE: With a '.' as the last character of the following setting, every
690
" single menu created by latex suite will be nested under the same menu.
692
TexLet g:Tex_MenuPrefix = 'TeX-'
694
" Use utf-8 menus. There is plenty of math symbols in LaTeX. It is hard to
695
" remember them. You can display them with utf-8. Your system/GUI interface
696
" have to support utf-8. This addition is necessary for resetting 'encoding'.
697
TexLet g:Tex_UseUtfMenus = 0
699
if g:Tex_UseUtfMenus != 0 && has("gui_running")
704
" ==============================================================================
705
" Folding: latex-suite comes with 'fake' syntax folding. {{{
707
" specifies whether the MakeTeXFolds() function will be defined. If this is
708
" set to zero, then esentially you have disabled all of latex-suite's folding
709
" functions. no maps for refreshing folds will be set up etc.
710
" NOTE: However, the function TexFoldTextFunction() is still avaiable
711
" and 'foldexpr' is set to point to it. This is so you can continue
712
" using another folding scheme but still use the fold text function.
713
TexLet g:Tex_Folding = 1
715
" specifies whether a latex file is automatically folded up when opened.
716
" Setting this to zero means that a file is not folded up as soon as its
718
" NOTE: the MakeTeXFolds() function will still be available (unless disabled
719
" by g:Tex_Folding), so you can do <F6> or \rf to refresh/create folds.
720
TexLet g:Tex_AutoFolding = 1
723
" ==============================================================================
724
" Taglist: Support for taglist.vim {{{
726
" LaTeX-Suite offers now support for taglist.vim, the most popular Vim
727
" interface for ctags. You should use ctags version >= 5.0 and taglist >= 3.0.
728
TexLet g:Tex_TaglistSupport = 1
730
" This option turns on definition of tags for LaTeX.
731
" NOTE: In taglist window you may see duplicate entries for the same tag. It
732
" means some definitions are repeated somewhere else. You can turn off
733
" internal definitions or remove external (read ctags description
735
TexLet g:Tex_InternalTagsDefinitions = 1
738
" ==============================================================================