vim-latex-cvs Mailing List for Vim-Latex (Page 36)
Brought to you by:
srinathava,
tmaas
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(82) |
Dec
(124) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(104) |
Feb
(3) |
Mar
(6) |
Apr
(48) |
May
(34) |
Jun
(62) |
Jul
(33) |
Aug
(24) |
Sep
(32) |
Oct
(16) |
Nov
(36) |
Dec
(39) |
| 2004 |
Jan
|
Feb
(3) |
Mar
(8) |
Apr
|
May
(29) |
Jun
(13) |
Jul
(4) |
Aug
(6) |
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
(6) |
Dec
(9) |
| 2006 |
Jan
(9) |
Feb
(2) |
Mar
(16) |
Apr
(5) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(22) |
Jun
(1) |
Jul
|
Aug
(6) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
(2) |
May
|
Jun
(1) |
Jul
|
Aug
(17) |
Sep
(3) |
Oct
(4) |
Nov
(1) |
Dec
(3) |
| 2010 |
Jan
(25) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(8) |
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(10) |
Oct
(1) |
Nov
|
Dec
(1) |
| 2012 |
Jan
(5) |
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(4) |
Nov
(1) |
Dec
|
| 2013 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(15) |
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
|
From: <sri...@us...> - 2002-11-12 18:54:56
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory usw-pr-cvs1:/tmp/cvs-serv22754 Modified Files: main.vim Log Message: Always source texrc whether or not user texrc exists. This is because the user texrc could be from an older version where not all variables are defined. All the other files depend on the variables existing. Index: main.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** main.vim 8 Nov 2002 18:02:11 -0000 1.6 --- main.vim 12 Nov 2002 18:54:53 -0000 1.7 *************** *** 4,8 **** " Email: sr...@fa... " URL: ! " Last Change: Thu Nov 07 06:00 PM 2002 PST " " Help: --- 4,8 ---- " Email: sr...@fa... " URL: ! " Last Change: Mon Nov 11 09:00 PM 2002 PST " " Help: *************** *** 55,62 **** if filereadable(s:up_path.'/tex/texrc') exe "so ".s:up_path.'/tex/texrc' - else - " set up global defaults. - exe "so ".s:path.'/texrc' endif " }}} --- 55,61 ---- if filereadable(s:up_path.'/tex/texrc') exe "so ".s:up_path.'/tex/texrc' endif + " set up global defaults. + exe "so ".s:path.'/texrc' " }}} |
|
From: <ma...@us...> - 2002-11-12 18:24:05
|
Update of /cvsroot/vim-latex/vimfiles/plugin In directory usw-pr-cvs1:/tmp/cvs-serv2787 Modified Files: imaps.vim Log Message: I fixed a problem where using $$ (for example) would trash the search history. I commented out a line, and added a comment, in case this depends on version and patch number of vim; I think this should work with vim any vim 6.0+. Please test. If this change is correct, it should be possible to simplify the code a bit. Index: imaps.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** imaps.vim 4 Nov 2002 22:22:55 -0000 1.4 --- imaps.vim 12 Nov 2002 18:24:01 -0000 1.5 *************** *** 190,195 **** " This function performs a reverse lookup when this character is typed in. It " loops over all the possible left-hand side variables ending in this ! " character and then if a possible match exists, ereases the left-hand side ! " and inserts the right hand side instead. function! <SID>LookupCharacter(char) let charHash = char2nr(a:char) --- 190,195 ---- " This function performs a reverse lookup when this character is typed in. It " loops over all the possible left-hand side variables ending in this ! " character and then if a possible match exists, erases the left-hand side ! " and inserts the right-hand side instead. function! <SID>LookupCharacter(char) let charHash = char2nr(a:char) *************** *** 329,333 **** " history. let movement = movement.":call SAImaps_RemoveLastHistoryItem()\<cr>" ! let movement = movement.":call SAImaps_RemoveLastHistoryItem()\<cr>" " if its a ä or «», then just delete it --- 329,335 ---- " history. let movement = movement.":call SAImaps_RemoveLastHistoryItem()\<cr>" ! " BNF 12 Nov 2002: Functions never add more than one item to the searcg ! " history. I do not recall where this is documented... ! " let movement = movement.":call SAImaps_RemoveLastHistoryItem()\<cr>" " if its a ä or «», then just delete it |
|
From: <sri...@us...> - 2002-11-12 16:47:28
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory usw-pr-cvs1:/tmp/cvs-serv8567
Modified Files:
compiler.vim
Log Message:
. after opening the cwindow, jump back to the file being edited.
(Carl Mueller's suggestion)
Index: compiler.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** compiler.vim 12 Nov 2002 13:44:31 -0000 1.7
--- compiler.vim 12 Nov 2002 16:47:23 -0000 1.8
***************
*** 4,8 ****
" Version: 1.0
" Created: Tue Apr 23 05:00 PM 2002 PST
! " Last Change: Sun Oct 27 10:00 PM 2002 PST
"
" Description: functions for compiling/viewing/searching latex documents
--- 4,8 ----
" Version: 1.0
" Created: Tue Apr 23 05:00 PM 2002 PST
! " Last Change: Tue Nov 12 08:00 AM 2002 PST
"
" Description: functions for compiling/viewing/searching latex documents
***************
*** 111,115 ****
--- 111,121 ----
exec 'make '.mainfname
+ let bufnum = bufnr('%')
cwindow
+ " just open the cwindow, do not remain there...
+ if bufnr('%') != bufnum
+ wincmd w
+ endif
+
exec 'cd '.curd
endfunction
|
|
From: <sri...@us...> - 2002-11-12 13:44:35
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory usw-pr-cvs1:/tmp/cvs-serv23612
Modified Files:
compiler.vim
Log Message:
. Syntax Error!!!! I commited a syntax error! Vim's line continuation \
occurs at the beginning of the second line, not the end of the first
line!
Hmm... This calls for a strict regimentation. Since I do not use unix so
often, I will never again touch code in "if !has('win32')" blocks.
However, installing latex with cygwin provides a very nice unix emulation
of vim... so debugging those things is possible.
Note to self: If you are touching "if !has('win32')" blocks, then verify
on cygwin/latex before commiting!
Index: compiler.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** compiler.vim 8 Nov 2002 18:00:48 -0000 1.6
--- compiler.vim 12 Nov 2002 13:44:31 -0000 1.7
***************
*** 153,158 ****
" because that seems to not work on older bash'es.
if s:target == 'dvi'
! if exists('g:Tex_UseEditorSettingInDVIViewer') && \
! g:Tex_UseEditorSettingInDVIViewer == 1
exec '!'.s:viewer.' -editor "gvim --servername '.v:servername.' --remote-silent +%l %f" '.mainfname.'.dvi &'
else
--- 153,158 ----
" because that seems to not work on older bash'es.
if s:target == 'dvi'
! if exists('g:Tex_UseEditorSettingInDVIViewer') &&
! \ g:Tex_UseEditorSettingInDVIViewer == 1
exec '!'.s:viewer.' -editor "gvim --servername '.v:servername.' --remote-silent +%l %f" '.mainfname.'.dvi &'
else
|
|
From: <sri...@us...> - 2002-11-11 08:55:55
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory usw-pr-cvs1:/tmp/cvs-serv14146a
Modified Files:
texmenuconf.vim
Log Message:
. patch by Peter Wilson:
fixes a bug in texmenuconf.vim where s:mainmenuname wasn't used when it
should have been
. also remove a echomsg statement which crept in after the last debugging
attempt.
Index: texmenuconf.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texmenuconf.vim,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** texmenuconf.vim 8 Nov 2002 03:02:13 -0000 1.5
--- texmenuconf.vim 11 Nov 2002 08:55:52 -0000 1.6
***************
*** 5,9 ****
"
" Installation:
! " Last Change: Thu Nov 07 06:00 PM 2002 PST
" TODO:
"=============================================================================
--- 5,9 ----
"
" Installation:
! " Last Change: Mon Nov 11 12:00 AM 2002 PST
" TODO:
"=============================================================================
***************
*** 12,16 ****
let s:path = expand("<sfile>:p:h")
let s:up_path = expand("<sfile>:p:h:h")
! let s:mainmenuname = 'Te&X-Suite.'
if g:Tex_NestPackagesMenu
--- 12,16 ----
let s:path = expand("<sfile>:p:h")
let s:up_path = expand("<sfile>:p:h:h")
! let s:mainmenuname = g:Tex_MenuPrefix.'Suite.'
if g:Tex_NestPackagesMenu
***************
*** 34,38 ****
"
if has('gui_running') && g:Tex_Menus
! anoremenu 80.25 Te&X-Suite.-sepsuite0- :
" menus for compiling / viewing etc.
--- 34,38 ----
"
if has('gui_running') && g:Tex_Menus
! exec 'anoremenu 80.25 '. s:mainmenuname.'-sepsuite0- :'
" menus for compiling / viewing etc.
***************
*** 71,75 ****
command! -nargs=0 Ttexrc :call Tex_texrc()
function! Tex_texrc()
- echomsg 's:path = '.s:path.', s:up_path = '.s:up_path
if filereadable(s:up_path.'/tex/texrc')
exec 'split '.s:up_path.'/tex/texrc'
--- 71,74 ----
|
|
From: <sri...@us...> - 2002-11-11 08:54:20
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory usw-pr-cvs1:/tmp/cvs-serv13554 Modified Files: texrc Log Message: . incorporating a patch submitted by Peter Wilson, with the small change that g:Tex_MainMenuPrefix is not used. Instead use only g:Tex_MenuPrefix. Index: texrc =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texrc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** texrc 8 Nov 2002 17:37:26 -0000 1.9 --- texrc 11 Nov 2002 08:54:17 -0000 1.10 *************** *** 4,8 **** " Author: Srinath Avadhanula " Created: Mon Apr 01 11:00 AM 2002 PST ! " Last Change: Sun Oct 27 10:00 PM 2002 PST " " Description: This file contains resource configuration information for the --- 4,8 ---- " Author: Srinath Avadhanula " Created: Mon Apr 01 11:00 AM 2002 PST ! " Last Change: Mon Nov 11 12:00 AM 2002 PST " " Description: This file contains resource configuration information for the *************** *** 303,306 **** --- 303,307 ---- " 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 *************** *** 310,314 **** TexLet g:Tex_MathMenus = 1 ! " The following 2 options control the "compactness" of the menus. " " Setting this option to 1 makes the Font, Counter and Dimensioning menus to --- 311,315 ---- 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 *************** *** 321,330 **** --- 322,339 ---- " 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 = 0 + " 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. TexLet g:Tex_MenuPrefix = 'TeX-' + " }}} |
|
From: <sri...@us...> - 2002-11-11 02:08:42
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/tex
In directory usw-pr-cvs1:/tmp/cvs-serv7759
Added Files:
Tag: release-nov-10-02-auctex-brach
ls_brackets.vim ls_formatline.vim
Log Message:
adding files from carl mueller
--- NEW FILE: ls_brackets.vim ---
" ==============================================================================
" Author: Carl Mueller
" (incorporated into latex-suite by Srinath Avadhanula)
" Last Change: Sun Nov 10 05:00 PM 2002 PST
" Desciption:
" ==============================================================================
" ==============================================================================
" Boldface: Mapping <M-b> to insert \mathbf{} {{{
" Insert Mode:
" Typing <M-b> after a character capitalizes it and encloses it in \mathbf{}
" Visual Mode:
" Encloses the selected portion in \mathbf{}
inoremap <buffer> <M-b> <Left>\mathbf{<Right>}<Esc>hvUla
vnoremap <buffer> <M-b> <C-C>`>a}<Esc>`<i\mathbf{<Esc>
" }}}
" ==============================================================================
" MathCal: Mapping <M-c> to insert \mathcal{} or \cite{} {{{
" 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{}
inoremap <buffer> <M-c> <C-R>=<SID>MathCal()<CR>
function! s:MathCal()
let line = getline(line("."))
let char = line[col(".")-2]
if char =~ '[a-zA-Z0-9]'
return "\<BS>".'\mathcal{'.toupper(char).'}'
else
return IMAP_PutTextWithMovement('\cite{«»}«»')
endif
endfunction
vnoremap <buffer> <M-c> <C-C>`>a}<Esc>`<i\mathcal{<Esc>
" }}}
" ==============================================================================
" LeftRight: Function for inserting \left and \right in front of bracket chars
" in various ways using <M-l>. If not possible, insert \label{«»}«»
" {{{
"
inoremap <buffer> <M-l> <C-r>=<SID>LeftRight()<CR>
noremap <buffer> <M-l> :call <SID>PutLeftRight()<CR>
" LeftRight: maps <M-l> in insert mode. {{{
" This is a polymorphic function, which maps the behaviour of <M-l> in the
" following way:
" 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{«»}«»
function! s:LeftRight()
let line = getline(line("."))
let char = line[col(".")-2]
let previous = line[col(".")-3]
let matchedbrackets = '()[]{}||'
if char =~ '(\|\[\|{\||'
let add = ''
if char =~ '{'
let add = "\\"
endif
let rhs = matchstr(matchedbrackets, char.'\zs.\ze')
return "\<BS>".IMAP_PutTextWithMovement('\left'.add.char.'«»\right'.add.rhs.'«»')
elseif char == '<'
return "\<BS>".IMAP_PutTextWithMovement('langle«»\rangle«»')
elseif char == 'q'
return "\<BS>".IMAP_PutTextWithMovement('\lefteqn{«»}«»')
else
return '\label{«»}«»'
endif
endfunction " }}}
" PutLeftRight: maps <M-l> in normal mode {{{
" Put \left...\right in front of the matched brackets.
function! s:PutLeftRight()
let previous = getline(line("."))[col(".") - 2]
let char = getline(line("."))[col(".") - 1]
if previous == '\'
if char == '{'
exe "normal ileft\\\<Esc>l%iright\\\<Esc>l%"
elseif char == '}'
exe "normal iright\\\<Esc>l%ileft\\\<Esc>l%"
endif
elseif char =~ '\[\|('
exe "normal i\\left\<Esc>l%i\\right\<Esc>l%"
elseif char =~ '\]\|)'
exe "normal i\\right\<Esc>l%i\\left\<Esc>l%"
endif
endfunction " }}}
" }}}
" ==============================================================================
" vim:fdm=marker
--- NEW FILE: ls_formatline.vim ---
" ==============================================================================
" Author: Carl Mueller
" (incorporated into latex-suite by Srinath Avadhanula)
" Last Change: Sun Nov 10 05:00 PM 2002 PST
" Desciption:
" ==============================================================================
if &tw > 0
let b:tw = &tw
else
let b:tw = 79
endif
" The following is necessary for TexFormatLine() and TexFill()
set tw=0
" With this map, <Space> will split up a long line, keeping the dollar
" signs together (see the next function, TexFormatLine).
inoremap <buffer> <Space> <Space><Esc>:call <SID>TexFill(b:tw)<CR>a
function! s:TexFill(width)
if col(".") > a:width
exe "normal! a##\<Esc>"
call <SID>TexFormatLine(a:width)
exe "normal! ?##\<CR>2s\<Esc>"
endif
endfunction
function! s:TexFormatLine(width)
let first = strpart(getline(line(".")),0,1)
normal! $
let length = col(".")
let go = 1
while length > a:width+2 && go
let between = 0
let string = strpart(getline(line(".")),0,a:width)
" Count the dollar signs
let number_of_dollars = 0
let evendollars = 1
let counter = 0
while counter <= a:width-1
if string[counter] == '$' && string[counter-1] != '\' " Skip \$.
let evendollars = 1 - evendollars
let number_of_dollars = number_of_dollars + 1
endif
let counter = counter + 1
endwhile
" Get ready to split the line.
exe "normal! " . (a:width + 1) . "|"
if evendollars
" Then you are not between dollars.
exe "normal! ?\\$\\| \<CR>W"
else
" Then you are between dollars.
normal! F$
if col(".") == 1 || strpart(getline(line(".")),col(".")-1,1) != "$"
let go = 0
endif
endif
if first == '$' && number_of_dollars == 1
let go = 0
else
exe "normal! i\<CR>\<Esc>$"
let first = strpart(getline(line(".")),0,1)
endif
let length = col(".")
endwhile
endfunction
|
|
From: <sri...@us...> - 2002-11-11 02:05:55
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/tex In directory usw-pr-cvs1:/tmp/cvs-serv7038/tex Log Message: Directory /cvsroot/vim-latex/vimfiles/ftplugin/tex added to the repository --> Using per-directory sticky tag `release-nov-10-02-auctex-brach' |
|
From: <mi...@us...> - 2002-11-10 22:12:31
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages In directory usw-pr-cvs1:/tmp/cvs-serv1882 Added Files: chapterbib overcite drftcite inputenc Log Message: new package files --- NEW FILE: chapterbib --- let g:TeX_package_option_chapterbib = \ "sectionbib," \."rootbib," \."gather," \."duplicate" let g:TeX_package_chapterbib = \ "env:cbunit," \."brd:sectionbib," \."bra:cbinput," \."sep:redefine," \."bra:citeform," \."bra:citepunct," \."bra:citeleft," \."bra:citeright," \."bra:citemid," \."bra:citedash" --- NEW FILE: overcite --- let g:TeX_package_option_cite = \ "verbose," \."ref," \."nospace," \."space," \."nosort," \."sort," \."nomove," \."noadjust" let g:TeX_package_cite = \ "bra:cite," \."bra:citen," \."bra:citenum," \."bra:citeonline," \."bra:nocite," \."sep:redefine," \."bra:citeform," \."bra:citepunct," \."bra:citeleft," \."bra:citeright," \."bra:citemid," \."bra:citedash" --- NEW FILE: drftcite --- let g:TeX_package_option_cite = \ "verbose," \."nospace," \."space," \."breakcites," \."manualsort," \."tt," \."shownumbers," \."nocitecount" let g:TeX_package_cite = \ "bra:cite," \."bra:citen," \."sep:redefine," \."bra:citeform," \."bra:citepunct," \."bra:citeleft," \."bra:citeright," \."bra:citemid," \."bra:citedash" --- NEW FILE: inputenc --- let g:TeX_package_option_inputenc = \ "ascii," \."latin1," \."latin2," \."latin3," \."latin4," \."latin5," \."latin9," \."decmulti," \."cp850," \."cp852," \."cp437," \."cp437de," \."cp865," \."applemac," \."next," \."ansinew," \."cp1250," \."cp1252" let g:TeX_package_inputenc = \ "bra:inputencoding" |
|
From: <mi...@us...> - 2002-11-10 22:11:52
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages In directory usw-pr-cvs1:/tmp/cvs-serv1643 Modified Files: cite Log Message: real cite package file Index: cite =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/cite,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** cite 30 Apr 2002 00:03:23 -0000 1.1.1.1 --- cite 10 Nov 2002 22:11:49 -0000 1.2 *************** *** 1,2 **** ! let g:TeX_package_cite = "bra:halo,sep:,env:ja" ! let g:TeX_package_option_cite = "to,ja,bede" --- 1,22 ---- ! let g:TeX_package_option_cite = ! \ "verbose," ! \."nospace," ! \."space," ! \."nosort," ! \."sort," ! \."noadjust" ! ! let g:TeX_package_cite = ! \ "bra:cite," ! \."bra:citen," ! \."bra:citenum," ! \."bra:citeonline," ! \."bra:nocite," ! \."sep:redefine," ! \."bra:citeform," ! \."bra:citepunct," ! \."bra:citeleft," ! \."bra:citeright," ! \."bra:citemid," ! \."bra:citedash" ! |
|
From: <mi...@us...> - 2002-11-10 22:11:51
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory usw-pr-cvs1:/tmp/cvs-serv1602
Modified Files:
elementmacros.vim
Log Message:
added nocite element to Various menu
Index: elementmacros.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/elementmacros.vim,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** elementmacros.vim 5 Nov 2002 17:10:28 -0000 1.3
--- elementmacros.vim 10 Nov 2002 22:11:48 -0000 1.4
***************
*** 3,7 ****
" Author: Mikolaj Machowski
" Created: Tue Apr 23 06:00 PM 2002 PST
! " Last Change: wto lis 05 02:00 2002 C
"
" Description: macros for dimensions/fonts/counters.
--- 3,7 ----
" Author: Mikolaj Machowski
" Created: Tue Apr 23 06:00 PM 2002 PST
! " Last Change: nie lis 10 11:00 2002 C
"
" Description: macros for dimensions/fonts/counters.
***************
*** 327,330 ****
--- 327,331 ----
call <SID>Tex_VariousMenus('footnotemark{}', '\footnotetext{ä}«»')
call <SID>Tex_VariousMenus('cite{}' , '\cite{ä}«»')
+ call <SID>Tex_VariousMenus('nocite{}' , '\nocite{ä}«»')
" }}}
endif
|
|
From: <mi...@us...> - 2002-11-10 18:09:45
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory usw-pr-cvs1:/tmp/cvs-serv18506
Modified Files:
packages.vim
Log Message:
modification of function names TeX_... -> Tex_...
cosmetic change, but this is easier to write them
menu name: Update -> UpdatePackage
more clear name (IMO)
Fixed problem with UpdateAll. But here I see one problem. This works
only if in file exists line \begin{document}. This is fundamental.
IMO there is no sense in figuring out all ways of searching preamble.
First 20 lines? If there are rich comments preamble can be much longer.
Whole file? If this is file about latex in body of file can be line with
\usepackage{ and menu will give information about file which noexists in
preamble (and with weird formatting whole function may go to hell).
Index: packages.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages.vim,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** packages.vim 21 May 2002 21:11:03 -0000 1.7
--- packages.vim 10 Nov 2002 18:09:39 -0000 1.8
***************
*** 4,8 ****
" Version: 1.0
" Created: Tue Apr 23 06:00 PM 2002 PST
! " Last Change: czw maj 09 11:00 2002 U
"
" Description: handling packages from within vim
--- 4,8 ----
" Version: 1.0
" Created: Tue Apr 23 06:00 PM 2002 PST
! " Last Change: nie lis 10 06:00 2002 C
"
" Description: handling packages from within vim
***************
*** 32,36 ****
function! Tex_pack_check(package)
if has("gui_running") && filereadable(s:path."/packages/".a:package)
! call TeX_pack(a:package)
let g:Tex_package_supported = g:Tex_package_supported.",".a:package
endif
--- 32,36 ----
function! Tex_pack_check(package)
if has("gui_running") && filereadable(s:path."/packages/".a:package)
! call Tex_pack(a:package)
let g:Tex_package_supported = g:Tex_package_supported.",".a:package
endif
***************
*** 70,76 ****
let g:Tex_package_supported = ""
let g:Tex_package_detected = ""
! call TeX_pack_all()
else
! call TeX_pack_all()
endif
endfunction
--- 70,76 ----
let g:Tex_package_supported = ""
let g:Tex_package_detected = ""
! call Tex_pack_all()
else
! call Tex_pack_all()
endif
endfunction
***************
*** 95,103 ****
endfunction
" }}}
! " TeX_pack_all: scans the current file for \\usepackage{ lines {{{
" and loads the corresponding package options as menus.
! function! TeX_pack_all()
let pos = line('.').' | normal! '.virtcol('.').'|'
if Tex_GetMainFileName() != ''
--- 95,104 ----
endfunction
" }}}
! " Tex_pack_all: scans the current file for \\usepackage{ lines {{{
" and loads the corresponding package options as menus.
! function! Tex_pack_all()
let pos = line('.').' | normal! '.virtcol('.').'|'
+ let currfile = expand('%:p')
if Tex_GetMainFileName() != ''
***************
*** 109,120 ****
let fname = ''
else
! let fname = expand('%:p')
endif
else
! let fname = expand('%:p')
endif
let toquit = 0
! if fname != expand('%:p')
exe 'split '.fname
let toquit = 1
--- 110,121 ----
let fname = ''
else
! let fname = currfile
endif
else
! let fname = currfile
endif
let toquit = 0
! if fname != currfile
exe 'split '.fname
let toquit = 1
***************
*** 162,168 ****
" }}}
! " TeX_pack_supp_menu: sets up a menu for packages found in packages/ {{{
" groups the packages thus found into groups of 20...
! function! TeX_pack_supp_menu()
let g:suplist = glob(s:path."/packages/*")
let g:suplist = substitute(g:suplist, "\n", ",", "g")
--- 163,169 ----
" }}}
! " Tex_pack_supp_menu: sets up a menu for packages found in packages/ {{{
" groups the packages thus found into groups of 20...
! function! Tex_pack_supp_menu()
let g:suplist = glob(s:path."/packages/*")
let g:suplist = substitute(g:suplist, "\n", ",", "g")
***************
*** 186,190 ****
endif
endif
! exe "amenu ".s:p_menu_lev."&Supported".OptMenu.".&".fptr." :call TeX_pack_supp('".fpt."')<CR>"
let basic_nu_s_list = basic_nu_s_list + 1
endwhile
--- 187,191 ----
endif
endif
! exe "amenu ".s:p_menu_lev."&Supported".OptMenu.".&".fptr." :call Tex_pack_supp('".fpt."')<CR>"
let basic_nu_s_list = basic_nu_s_list + 1
endwhile
***************
*** 192,197 ****
" }}}
! " TeX_pack: loads the options (and commands) for the given package {{{
! function! TeX_pack(pack)
let basic_nu_p_list = ""
let nu_p_list = ""
--- 193,198 ----
" }}}
! " Tex_pack: loads the options (and commands) for the given package {{{
! function! Tex_pack(pack)
let basic_nu_p_list = ""
let nu_p_list = ""
***************
*** 334,338 ****
endif
exe "amenu ".s:p_menu_lev."&".a:pack.ComMenu.".".l_m_item." ".r_m_item
! let basic_nu_p_list = basic_nu_p_list + 1
let loop_nu = loop_nu + 1
endwhile " }}}
--- 335,339 ----
endif
exe "amenu ".s:p_menu_lev."&".a:pack.ComMenu.".".l_m_item." ".r_m_item
! let basic_nu_p_list = basic_nu_p_list + 1
let loop_nu = loop_nu + 1
endwhile " }}}
***************
*** 342,348 ****
" }}}
! " TeX_pack_supp: "supports" the package... {{{
! function! TeX_pack_supp(supp_pack)
! call TeX_pack(a:supp_pack)
exe "let g:s_p_o = g:TeX_package_option_".a:supp_pack
if exists("g:s_p_o") && g:s_p_o != ""
--- 343,349 ----
" }}}
! " Tex_pack_supp: "supports" the package... {{{
! function! Tex_pack_supp(supp_pack)
! call Tex_pack(a:supp_pack)
exe "let g:s_p_o = g:TeX_package_option_".a:supp_pack
if exists("g:s_p_o") && g:s_p_o != ""
***************
*** 352,355 ****
--- 353,361 ----
exe "normal i\\usepackage{".a:supp_pack."}\<cr>"
endif
+ if g:Tex_package_supported == ""
+ let g:Tex_package_supported = a:supp_pack
+ else
+ let g:Tex_package_supported = g:Tex_package_supported . ",". a:supp_pack
+ endif
endfunction
***************
*** 357,368 ****
if g:Tex_Menus
! exe "amenu ".s:p_menu_lev."&Update :call TeX_pack(expand('<cword>'))<cr>"
exe "amenu ".s:p_menu_lev."&UpdateAll :call Tex_pack_updateall()<cr>"
endif
if g:Tex_Menus
! call TeX_pack_supp_menu()
! call TeX_pack_all()
endif
! " vim:fdm=marker:ts=4:sw=4:noet
--- 363,374 ----
if g:Tex_Menus
! exe "amenu ".s:p_menu_lev."&UpdatePackage :call Tex_pack(expand('<cword>'))<cr>"
exe "amenu ".s:p_menu_lev."&UpdateAll :call Tex_pack_updateall()<cr>"
endif
if g:Tex_Menus
! call Tex_pack_supp_menu()
! call Tex_pack_all()
endif
! " vim:fdm=marker:ts=4:sw=4:noet:fo-=wa1
|
|
From: <mi...@us...> - 2002-11-10 18:09:39
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory usw-pr-cvs1:/tmp/cvs-serv18513 Modified Files: templates.vim Log Message: modification of function name TeX_pack_all -> Tex_... Index: templates.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/templates.vim,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** templates.vim 8 Nov 2002 02:04:28 -0000 1.5 --- templates.vim 10 Nov 2002 18:09:35 -0000 1.6 *************** *** 5,9 **** " Version: 1.0 " Created: Tue Apr 23 05:00 PM 2002 PST ! " Last Change: Thu Nov 07 05:00 PM 2002 P " " Description: functions for handling templates in latex-suite/templates --- 5,9 ---- " Version: 1.0 " Created: Tue Apr 23 05:00 PM 2002 PST ! " Last Change: nie lis 10 05:00 2002 C " " Description: functions for handling templates in latex-suite/templates *************** *** 54,58 **** let fname = glob(s:path."/templates/".filename) exe "0read ".fname ! call TeX_pack_all() endfunction --- 54,58 ---- let fname = glob(s:path."/templates/".filename) exe "0read ".fname ! call Tex_pack_all() endfunction |
|
From: <mi...@us...> - 2002-11-10 13:39:51
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory usw-pr-cvs1:/tmp/cvs-serv25666
Modified Files:
mathmacros.vim
Log Message:
added some dimensions defined in amsmath
added some arrows defined in amsmath
Index: mathmacros.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/mathmacros.vim,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** mathmacros.vim 30 Apr 2002 00:03:20 -0000 1.1.1.1
--- mathmacros.vim 10 Nov 2002 13:39:48 -0000 1.2
***************
*** 3,7 ****
" Author: Mikolaj Machowski
" Created: Tue Apr 23 06:00 PM 2002 PST
! " Last Change: Mon Apr 29 01:00 PM 2002 PDT
"
" Description: macros for everything mathematical in latex.
--- 3,7 ----
" Author: Mikolaj Machowski
" Created: Tue Apr 23 06:00 PM 2002 PST
! " Last Change: sob lis 09 10:00 2002 C
"
" Description: macros for everything mathematical in latex.
***************
*** 60,64 ****
exe s:pA1.'rightharpoondown <plug>\rightharpoondown '
exe s:pA1.'rightleftharpoons <plug>\rightleftharpoons '
! exe s:pA1.'Leftarrow <plug>\Leftarrow'
" }}}
" MATH nArrows {{{
--- 60,71 ----
exe s:pA1.'rightharpoondown <plug>\rightharpoondown '
exe s:pA1.'rightleftharpoons <plug>\rightleftharpoons '
! exe s:pA1.'overleftarrow <plug>\overleftarrow '
! exe s:pA1.'overrightarrow <plug>\overrightarrow '
! exe s:pA1.'overleftrightarrow <plug>\overleftrightarrow '
! exe s:pA1.'underleftarrow <plug>\underleftarrow '
! exe s:pA1.'underrightarrow <plug>\underrightarrow '
! exe s:pA1.'underleftrightarrow <plug>\underleftrightarrow '
! exe s:pA1.'xleftarrow <plug>\xleftarrow '
! exe s:pA1.'xrightarrow <plug>\xrightarrow '
" }}}
" MATH nArrows {{{
***************
*** 610,613 ****
--- 617,624 ----
exe s:pA16a.'vert <plug>\vert '
exe s:pA16a.'Vert <plug>\Vert '
+ exe s:pA16a.'lvert <plug>\lvert '
+ exe s:pA16a.'lVert <plug>\lVert '
+ exe s:pA16a.'rvert <plug>\rvert '
+ exe s:pA16a.'rVert <plug>\rVert '
exe s:pA16a.'uparrow <plug>\uparrow '
exe s:pA16a.'Uparrow <plug>\Uparrow '
***************
*** 642,645 ****
--- 653,657 ----
exe s:pA17.'hom <plug>\hom '
exe s:pA17.'inf <plug>\inf '
+ exe s:pA17.'injlim <plug>\injlim '
exe s:pA17.'ker <plug>\ker '
exe s:pA17.'lg <plug>\lg '
***************
*** 652,655 ****
--- 664,668 ----
exe s:pA17.'min <plug>\min '
exe s:pA17.'Pr <plug>\Pr '
+ exe s:pA17.'projlim <plug>\projlim '
exe s:pA17.'sec <plug>\sec '
exe s:pA17.'sin <plug>\sin '
***************
*** 658,661 ****
--- 671,678 ----
exe s:pA17.'tan <plug>\tan '
exe s:pA17.'tanh <plug>\tanh '
+ exe s:pA17.'varlimsup <plug>\varlimsup '
+ exe s:pA17.'varliminf <plug>\varliminf '
+ exe s:pA17.'varinjlim <plug>\varinjlim '
+ exe s:pA17.'varprojlim <plug>\varprojlim '
" }}}
" {{{ MathSpacing
***************
*** 668,671 ****
--- 685,694 ----
exe s:pA18.'qquad <plug>\qquad '
exe s:pA18.'! <plug>\! '
+ exe s:pA18.'thinspace <plug>\thinspace '
+ exe s:pA18.'medspace <plug>\medspace '
+ exe s:pA18.'thickspace <plug>\thickspace '
+ exe s:pA18.'negthinspace <plug>\negthinspace '
+ exe s:pA18.'negmedspace <plug>\negmedspace '
+ exe s:pA18.'negthickspace <plug>\negthickspace '
" 1}}}
|
|
From: <mi...@us...> - 2002-11-09 22:52:46
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages
In directory usw-pr-cvs1:/tmp/cvs-serv9377
Added Files:
amsmath
Log Message:
first version of amsmath package file
--- NEW FILE: amsmath ---
let g:TeX_package_option_amsmath =
\ "centertags,"
\."tbtags,"
\."sumlimits,"
\."nosumlimits,"
\."intlimits,"
\."nointlimits,"
\."namelimits,"
\."nonamelimits,"
\."leqno,"
\."reqno,"
\."fleqno"
let g:TeX_package_amsmath =
\ "sbr:Environments,"
\."env:equation,"
\."env:equation*,"
\."env:align,"
\."env:align*,"
\."env:gather,"
\."env:gather*,"
\."env:flalign,"
\."env:flalign*,"
\."env:multline,"
\."env:multline*,"
\."env:alignat,"
\."env:alignat*,"
\."env:subequations,"
\."env:subarray,"
\."env:split,"
\."env:cases,"
\."sbr:Matrices,"
\."env:matrix,"
\."env:pmatrix,"
\."env:bmatrix,"
\."env:Bmatrix,"
\."env:vmatrix,"
\."env:Vmatrix,"
\."env:smallmatrix,"
\."bra:hdotsfor,"
\."sbr:Dots,"
\."dotsc,"
\."dotsb,"
\."dotsm,"
\."dotsi,"
\."dotso,"
\."sbr:ItalicGreek,"
\."nor:varGamma,"
\."nor:varDelta,"
\."nor:varTheta,"
\."nor:varLambda,"
\."nor:varXi,"
\."nor:varPi,"
\."nor:varSigma,"
\."nor:varUpsilon,"
\."nor:varPhi,"
\."nor:varPsi,"
\."nor:varOmega,"
\."sbr:Mod,"
\."nor:mod,"
\."nor:bmod,"
\."nor:pmod,"
\."nor:pod,"
\."sbr:CreatingSymbols,"
\."brd:overset,"
\."brd:underset,"
\."brd:sideset,"
\."sbr:Fractions,"
\."brd:frac,"
\."brd:dfrac,"
\."brd:tfrac,"
\."brd:cfrac,"
\."brd:binom,"
\."brd:dbinom,"
\."brd:tbinom,"
\."brs:genfrac{«ldelim»}{«rdelim»}{«thick»}{«style»}{«numer»}{«denom»}«»,"
\."sbr:Commands,"
\."nob:smash,"
\."bra:substack,"
\."bra:tag,"
\."bra:tag*,"
\."nor:notag,"
\."bra:raisetag,"
\."bra:shoveleft,"
\."bra:shoveright,"
\."bra:intertext,"
\."bra:text,"
\."nor:displaybreak,"
\."noo:displaybreak,"
\."noo:allowdisplaybreaks,"
\."nor:nobreakdash,"
\."brs:numberwithin,"
\."bra:leftroot,"
\."bra:uproot,"
\."bra:boxed,"
\."brs:DeclareMathSymbol{«»}{«»}{«»}{«»}«»,"
\."bra:eqref"
" vim:ft=vim
|
|
From: <ma...@us...> - 2002-11-08 18:05:23
|
Update of /cvsroot/vim-latex/vimfiles/compiler
In directory usw-pr-cvs1:/tmp/cvs-serv9747
Modified Files:
tex.vim
Log Message:
I changed the definition of 'makeprg'. It now mostly follows the same logic
as SetTexCompilerTarget(), but is not as flexible (since the target format is
not used here). This is a temporary fix. Duplication is bad ...
Index: tex.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/compiler/tex.vim,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** tex.vim 8 Nov 2002 13:39:29 -0000 1.2
--- tex.vim 8 Nov 2002 18:05:20 -0000 1.3
***************
*** 120,136 ****
" needs to be complete, i.e it should contain $* and stuff.
if exists('g:Tex_CompilerFormat')
! let &makeprg = current_compiler.g:Tex_CompilerFormat
else
" Furthermore, if 'win32' is detected, then we want to set the arguments up so
" that miktex can handle it.
if has('win32')
! let &makeprg = current_compiler.' --src-specials -interaction=nonstopmode $*'
else
! if &shell =~ 'sh'
! let &makeprg = current_compiler.' \\nonstopmode \\input\{$*\}'
! else
! let &makeprg = current_compiler.' \nonstopmode \input{$*}'
! endif
endif
endif
--- 120,141 ----
" needs to be complete, i.e it should contain $* and stuff.
if exists('g:Tex_CompilerFormat')
! let &l:makeprg = current_compiler.' '.g:Tex_CompilerFormat
else
+ if exists('g:Tex_EscapeChars') " Use this if LaTeX Suite is installed.
+ let escChars = g:Tex_EscapeChars
+ elseif has('win32')
+ let escChars = ''
+ else
+ let escChars = '{}\'
+ endif
" Furthermore, if 'win32' is detected, then we want to set the arguments up so
" that miktex can handle it.
if has('win32')
! let options = '--src-specials'
else
! let options = ''
endif
+ let &l:makeprg = current_compiler . ' ' . options .
+ \ escape(' \nonstopmode \input{$*}', escChars)
endif
|
|
From: <ma...@us...> - 2002-11-08 18:02:19
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory usw-pr-cvs1:/tmp/cvs-serv8660 Modified Files: main.vim Log Message: I uncommented the line "runtime compiler/tex.vim" in SetTexOptions(), reversing the change I made a few days ago. Index: main.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** main.vim 8 Nov 2002 03:02:13 -0000 1.5 --- main.vim 8 Nov 2002 18:02:11 -0000 1.6 *************** *** 466,474 **** " compiler. if the user has put another compiler before ours, then we dont " get into our compiler/tex.vim. ! " BNF 11/4/2002: I commented out the next line, since it seems to ! " override the effects of ftplugin/latex-suite/compiler.vim . ! " This is a short-term solution. Eventually, the work done in ! " ftplugin/latex-suite/compiler.vim should be done in compiler/tex.vim . ! " runtime compiler/tex.vim endfunction --- 466,470 ---- " compiler. if the user has put another compiler before ours, then we dont " get into our compiler/tex.vim. ! runtime compiler/tex.vim endfunction |
|
From: <ma...@us...> - 2002-11-08 18:00:51
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory usw-pr-cvs1:/tmp/cvs-serv6686
Modified Files:
compiler.vim
Log Message:
Use the g:Tex_EscapeChars variable (defined in texrc) to decide whether to
escape \{} in 'makeprg'. Default: for win32, do not escape these characters;
otherwise, do escape them. I believe the resulting value for 'makeprg' is
very robust.
Index: compiler.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** compiler.vim 4 Nov 2002 16:32:37 -0000 1.5
--- compiler.vim 8 Nov 2002 18:00:48 -0000 1.6
***************
*** 21,26 ****
if exists('g:Tex_'.a:type.'Rule_'.target)
if a:type == 'Compile'
! let &l:makeprg = escape(g:Tex_CompileRule_{target}, '{}\')
! " exec 'let &l:makeprg = g:Tex_CompileRule_'.target
elseif a:type == 'View'
exec 'let s:viewer = g:Tex_'.a:type.'Rule_'.target
--- 21,25 ----
if exists('g:Tex_'.a:type.'Rule_'.target)
if a:type == 'Compile'
! let &l:makeprg = escape(g:Tex_CompileRule_{target}, g:Tex_EscapeChars)
elseif a:type == 'View'
exec 'let s:viewer = g:Tex_'.a:type.'Rule_'.target
|
|
From: <ma...@us...> - 2002-11-08 17:37:29
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory usw-pr-cvs1:/tmp/cvs-serv25760
Modified Files:
texrc
Log Message:
I added g:Tex_EscapeChars, used in compiler.vim .
Index: texrc
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texrc,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** texrc 4 Nov 2002 16:32:37 -0000 1.8
--- texrc 8 Nov 2002 17:37:26 -0000 1.9
***************
*** 76,85 ****
" values, but if use some other compiler, then you will want to change this.
if has('win32')
! let s:CompileFlags = ' --src-specials '
else
! let s:CompileFlags = ' '
endif
! TexLet g:Tex_CompileRule_dvi = 'latex' . s:CompileFlags .
! \ '\nonstopmode \input{$*}'
TexLet g:Tex_CompileRule_ps = 'dvips -Ppdf -o $*.ps $*.dvi'
--- 76,87 ----
" values, but if use some other compiler, then you will want to change this.
if has('win32')
! let s:CompileFlags = '--src-specials'
! TexLet g:Tex_EscapeChars = ''
else
! let s:CompileFlags = ''
! TexLet g:Tex_EscapeChars = '{}\'
endif
! TexLet g:Tex_CompileRule_dvi = 'latex ' . s:CompileFlags .
! \ ' \nonstopmode \input{$*}'
TexLet g:Tex_CompileRule_ps = 'dvips -Ppdf -o $*.ps $*.dvi'
***************
*** 93,97 ****
" TexLet g:Tex_CompileRule_pdf = 'dvipdf $*.dvi'
! TexLet g:Tex_CompilerRule_html = 'latex2html $*.tex'
" }}}
--- 95,99 ----
" TexLet g:Tex_CompileRule_pdf = 'dvipdf $*.dvi'
! TexLet g:Tex_CompileRule_html = 'latex2html $*.tex'
" }}}
|
|
From: <sri...@us...> - 2002-11-08 13:39:32
|
Update of /cvsroot/vim-latex/vimfiles/compiler
In directory usw-pr-cvs1:/tmp/cvs-serv939
Modified Files:
tex.vim
Log Message:
. missing space in &makeprg. (bug reported by Siegfried Bublitz).
Index: tex.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/compiler/tex.vim,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** tex.vim 30 Apr 2002 00:03:05 -0000 1.1.1.1
--- tex.vim 8 Nov 2002 13:39:29 -0000 1.2
***************
*** 3,7 ****
" Original Author: Artem Chuprina <ra...@ra...>
" Customization: Srinath Avadhanula <sr...@fa...>
! " Last Change: Mon Apr 01 02:00 AM 2002 PST
" Description: {{{
" This file sets the 'makeprg' and 'errorformat' options for the LaTeX
--- 3,7 ----
" Original Author: Artem Chuprina <ra...@ra...>
" Customization: Srinath Avadhanula <sr...@fa...>
! " Last Change: Fri Nov 08 05:00 AM 2002 P
" Description: {{{
" This file sets the 'makeprg' and 'errorformat' options for the LaTeX
***************
*** 128,134 ****
else
if &shell =~ 'sh'
! let &makeprg = current_compiler.'\\nonstopmode \\input\{$*\}'
else
! let &makeprg = current_compiler.'\nonstopmode \input{$*}'
endif
endif
--- 128,134 ----
else
if &shell =~ 'sh'
! let &makeprg = current_compiler.' \\nonstopmode \\input\{$*\}'
else
! let &makeprg = current_compiler.' \nonstopmode \input{$*}'
endif
endif
|
|
From: <sri...@us...> - 2002-11-08 03:02:16
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory usw-pr-cvs1:/tmp/cvs-serv21021
Modified Files:
main.vim texmenuconf.vim
Log Message:
doing
let s:up_path = substitute(s:path, "latex-suite", "", "")
doesnt work because s:path could be of the form
s:path = '~/latex-suite/vimfiles/ftplugin/latex-suite'
so that the first latex-suite is removed instead of the second.
doing
let s:up_path = expand("<sfile>:p:h:h")
is much more robust.
Index: main.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** main.vim 7 Nov 2002 11:21:12 -0000 1.4
--- main.vim 8 Nov 2002 03:02:13 -0000 1.5
***************
*** 4,8 ****
" Email: sr...@fa...
" URL:
! " Last Change: czw lis 07 01:00 2002 C
"
" Help:
--- 4,8 ----
" Email: sr...@fa...
" URL:
! " Last Change: Thu Nov 07 06:00 PM 2002 PST
"
" Help:
***************
*** 51,60 ****
" these lines need to be outside the function.
let s:path = expand('<sfile>:p:h')
-
-
" set up personal defaults.
! let s:up_path = substitute(s:path, "latex-suite", "", "")
! if filereadable(s:up_path.'tex/texrc')
! exe "so ".s:up_path.'tex/texrc'
else
" set up global defaults.
--- 51,58 ----
" these lines need to be outside the function.
let s:path = expand('<sfile>:p:h')
" set up personal defaults.
! let s:up_path = expand('<sfile>:p:h:h')
! if filereadable(s:up_path.'/tex/texrc')
! exe "so ".s:up_path.'/tex/texrc'
else
" set up global defaults.
Index: texmenuconf.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texmenuconf.vim,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** texmenuconf.vim 7 Nov 2002 22:25:05 -0000 1.4
--- texmenuconf.vim 8 Nov 2002 03:02:13 -0000 1.5
***************
*** 5,9 ****
"
" Installation:
! " Last Change: czw lis 07 11:00 2002 C
" TODO:
"=============================================================================
--- 5,9 ----
"
" Installation:
! " Last Change: Thu Nov 07 06:00 PM 2002 PST
" TODO:
"=============================================================================
***************
*** 11,15 ****
" Paths, crucial for functions
let s:path = expand("<sfile>:p:h")
! let s:up_path = substitute(s:path, "latex-suite", "", "")
let s:mainmenuname = 'Te&X-Suite.'
--- 11,15 ----
" Paths, crucial for functions
let s:path = expand("<sfile>:p:h")
! let s:up_path = expand("<sfile>:p:h:h")
let s:mainmenuname = 'Te&X-Suite.'
***************
*** 71,76 ****
command! -nargs=0 Ttexrc :call Tex_texrc()
function! Tex_texrc()
! if filereadable(s:up_path.'tex/texrc')
! exec 'split '.s:up_path.'tex/texrc'
lcd
else
--- 71,77 ----
command! -nargs=0 Ttexrc :call Tex_texrc()
function! Tex_texrc()
! echomsg 's:path = '.s:path.', s:up_path = '.s:up_path
! if filereadable(s:up_path.'/tex/texrc')
! exec 'split '.s:up_path.'/tex/texrc'
lcd
else
|
|
From: <sri...@us...> - 2002-11-08 02:04:31
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory usw-pr-cvs1:/tmp/cvs-serv319 Modified Files: templates.vim Log Message: . bug in ReadTemplate() function caused the TTemplate command not to function properly. was trying to read in files of the form: templates/report_twocolumn.tex.* which gives an error. Index: templates.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/templates.vim,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** templates.vim 7 May 2002 22:10:16 -0000 1.4 --- templates.vim 8 Nov 2002 02:04:28 -0000 1.5 *************** *** 5,9 **** " Version: 1.0 " Created: Tue Apr 23 05:00 PM 2002 PST ! " Last Change: ¶ro maj 08 12:00 2002 U " " Description: functions for handling templates in latex-suite/templates --- 5,9 ---- " Version: 1.0 " Created: Tue Apr 23 05:00 PM 2002 PST ! " Last Change: Thu Nov 07 05:00 PM 2002 P " " Description: functions for handling templates in latex-suite/templates *************** *** 44,48 **** if a:0 > 0 ! let filename = a:1 else let pwd = getcwd() --- 44,48 ---- if a:0 > 0 ! let filename = a:1.'.*' else let pwd = getcwd() *************** *** 52,56 **** endif ! let fname = glob(s:path."/templates/".filename.'.*') exe "0read ".fname call TeX_pack_all() --- 52,56 ---- endif ! let fname = glob(s:path."/templates/".filename) exe "0read ".fname call TeX_pack_all() |
|
From: <mi...@us...> - 2002-11-07 22:25:09
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory usw-pr-cvs1:/tmp/cvs-serv22902 Modified Files: texmenuconf.vim Log Message: texmenuconf.vim: fixed problem with "Edit texrc" menu entry now 1. it works 2. gives message if private texrc doesn't exist 3. command Ttexrc works in non-gui session Index: texmenuconf.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texmenuconf.vim,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** texmenuconf.vim 8 May 2002 17:22:03 -0000 1.3 --- texmenuconf.vim 7 Nov 2002 22:25:05 -0000 1.4 *************** *** 5,9 **** " " Installation: ! " Last Change: ¶ro maj 08 12:00 2002 U " TODO: "============================================================================= --- 5,9 ---- " " Installation: ! " Last Change: czw lis 07 11:00 2002 C " TODO: "============================================================================= *************** *** 58,75 **** exec 'anoremenu 80.110 '.s:mainmenuname.'-sepsuite2- :' endif - if filereadable(s:up_path.'tex/texrc') - function! Tex_texrc() - exec 'split '.s:up_path.'tex/texrc' - lcd - endfunction - com! -nargs=0 TTexrc :call Tex_texrc() - exec 'anoremenu 80.120 '.s:mainmenuname.'Edit\ &texrc<tab>:TexTexrc'. - \' :TexTexrc<CR>' - endif endif " }}} " ============================================================================== --- 58,82 ---- exec 'anoremenu 80.110 '.s:mainmenuname.'-sepsuite2- :' endif + " editing private texrc + exec 'anoremenu 80.120 '.s:mainmenuname.'Edit\ &texrc<tab>:Ttexrc'. + \' :Ttexrc<CR>' endif " }}} + " ============================================================================== + " Edittexrc: split window and show texrc + " ============================================================================== + command! -nargs=0 Ttexrc :call Tex_texrc() + function! Tex_texrc() + if filereadable(s:up_path.'tex/texrc') + exec 'split '.s:up_path.'tex/texrc' + lcd + else + echomsg "Please, create your own texrc by copying system texrc" + \ ." into ftplugin/tex directory" + endif + endfunction " ============================================================================== |
|
From: <mi...@us...> - 2002-11-07 11:21:14
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory usw-pr-cvs1:/tmp/cvs-serv24473
Modified Files:
main.vim
Log Message:
main.vim:
1. added to SmartDots inserting \ldots outside math mode
2. removed from "other miscellaneous stuff from imaps.vim"
some redundant functions (secondary maps for sections and math symbols).
Sometimes too much is just too much. Three letter system for sections
and auctex shortcuts for math symbols seems more logical for me.
Index: main.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** main.vim 4 Nov 2002 15:39:25 -0000 1.3
--- main.vim 7 Nov 2002 11:21:12 -0000 1.4
***************
*** 4,8 ****
" Email: sr...@fa...
" URL:
! " Last Change: sob maj 04 08:00 2002 U
"
" Help:
--- 4,8 ----
" Email: sr...@fa...
" URL:
! " Last Change: czw lis 07 01:00 2002 C
"
" Help:
***************
*** 127,135 ****
call IMAP ("sq".s:ml, "\\sqrt{ä}«»", "tex")
call IMAP ("eps".s:ml, "\\psfig{figure=ä.eps}«»", "tex")
- call IMAP ("sec".s:ml, "\\section{ä}«»", "tex")
- call IMAP ("ssec".s:ml, "\\subsection{ä}«»", "tex")
- call IMAP ("sssec".s:ml, "\\subsubsection{ä}«»", "tex")
- call IMAP ("sec2".s:ml, "\\subsection{ä}«»", "tex")
- call IMAP ("sec3".s:ml, "\\subsubsection{ä}«»", "tex")
call IMAP ("sum".s:ml, "\\sum{ä}{«»}«»", "tex")
call IMAP ("suml".s:ml, "\\sum\\limits_{ä}^{«»}«»", "tex")
--- 127,130 ----
***************
*** 142,147 ****
call IMAP ("ll".s:ml, "\\left", "tex")
call IMAP ("part".s:ml, "\\partial", "tex")
- call IMAP ("dot".s:ml, "\\dot{ä}«»", "tex")
- call IMAP ("ddot".s:ml, "\\ddot{ä}«»", "tex")
" }}}
" Greek Letters {{{
--- 137,140 ----
***************
*** 315,323 ****
endfun
" }}}
! " SmartDots: inserts \cdots instead of ... in math mode otherwise ... {{{
function! <SID>SmartDots()
if synIDattr(synID(line('.'),col('.')-1,0),"name") =~ '^texMath'
\&& strpart(getline('.'), col('.')-3, 2) == '..'
return "\<bs>\<bs>\\cdots"
else
return '.'
--- 308,318 ----
endfun
" }}}
! " SmartDots: inserts \cdots instead of ... in math mode otherwise \ldots {{{
function! <SID>SmartDots()
if synIDattr(synID(line('.'),col('.')-1,0),"name") =~ '^texMath'
\&& strpart(getline('.'), col('.')-3, 2) == '..'
return "\<bs>\<bs>\\cdots"
+ elseif strpart(getline('.'), col('.')-3, 2) == '..'
+ return "\<bs>\<bs>\\ldots"
else
return '.'
|
|
From: <mi...@us...> - 2002-11-07 11:20:59
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages
In directory usw-pr-cvs1:/tmp/cvs-serv24472
Modified Files:
polski
Log Message:
polski: add support for ~
Index: polski
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/polski,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** polski 30 Apr 2002 00:03:23 -0000 1.1.1.1
--- polski 7 Nov 2002 11:20:56 -0000 1.2
***************
*** 22,23 ****
--- 22,45 ----
\"tg,".
\"tgh"
+
+ function! TPackagePolskiTylda()
+ call IMAP(" A ", " A~", "tex")
+ call IMAP(" a ", " a~", "tex")
+ call IMAP(" I ", " I~", "tex")
+ call IMAP(" i ", " i~", "tex")
+ call IMAP(" O ", " O~", "tex")
+ call IMAP(" o ", " o~", "tex")
+ call IMAP(" U ", " U~", "tex")
+ call IMAP(" u ", " u~", "tex")
+ call IMAP(" W ", " W~", "tex")
+ call IMAP(" w ", " w~", "tex")
+ call IMAP(" Z ", " Z~", "tex")
+ call IMAP(" z ", " z~", "tex")
+ call IMAP(" tys. ", "~tys. ", "tex")
+ call IMAP(" mln", "~mln", "tex")
+ call IMAP(" mld", "~mld", "tex")
+ call IMAP("...", "\ldots{}", "tex")
+ call IMAP(" ---", "~---", "tex")
+ call IMAP(" r. ", "~r. ", "tex")
+ endfunction
+ call TPackagePolskiTylda()
|