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