Hi, I'm new to this list.
Debian Testing has moved to REVTeX 4-1, removing REVTeX 4. Needless to
say, this is causing problems for many scientists who have documents
written for REVTeX 4.
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561836)
My issue regards the use of \ll with REVTeX 4-1. My workaround has been
to use :!pdflatex %, which does not cause the problem but is less
convenient than \ll. \ll seems to create a compiled document just fine.
However, afterwards vim displays
Ran latex 1 time(s)
Error detected while processing function
Tex_RunLaTeX..Tex_SetupErrorWindow..Tex_GetMainFileName:
line 18:
E344: Cannot find directory "Document Class: revtex4-1 2009/10" in cdpath
E472: Command failed
line 31:
E344: Cannot find directory "Document Class: revtex4-1 2009" in cdpath
E472: Command failed
Press ENTER or type command to continue
I press enter. Vim displays the same thing in a buffer at the bottom of
the screen and an empty buffer at the top of the screen. How can I make
the error message go away and have vim return me back to the document I
was working on after \ll? Here is an example of a document that causes
the problem:
\documentclass{revtex4-1}
\begin{document}
Text
\end{document}
The problem does not occur with the letter documentclass.
I have vim 7.2. dpkg says my latexsuite 20100129-1. Here is my vimrc
" Configuration file for vim
set
runtimepath=~/.vim,/usr/share/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vimcurrent,/usr/share/vim/vimfiles/after,/usr/share/vim/addons/after,~/.vim/after
" Normally we use vim-extensions. If you want true vi-compatibility
" remove change the following statements
set nocompatible " Use Vim defaults instead of 100% vi compatibility
set backspace=indent,eol,start " more powerful backspacing
" Now we set some defaults for the editor
set autoindent " always set autoindenting on
" set linebreak " Don't wrap words by default
set textwidth=0 " Don't wrap lines by default
set viminfo='20,\"50 " read/write a .viminfo file, don't store more than
" 50 lines of registers
set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time
" Suffixes that get lower priority when doing tab completion for filenames.
" These are files we are not likely to want to edit or read.
set
suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc,.pdf
" We know xterm-debian is a color terminal
if &term =~ "xterm-debian" || &term =~ "xterm-xfree86"
set t_Co=16
set t_Sf=[3%dm
set t_Sb=[4%dm
endif
" Vim5 and later versions support syntax highlighting. Uncommenting the
next
" line enables syntax highlighting by default.
syntax on
" If using a dark background within the editing area and syntax
highlighting
" turn on this option as well
" set background=dark
if has("autocmd")
" Enabled file type detection
" Use the default filetype settings. If you also want to load indent files
" to automatically do language-dependent indenting add 'indent' as well.
filetype plugin on
endif " has ("autocmd")
" Some Debian-specific things
if has("autocmd")
augroup filetype
au BufRead reportbug.* set ft=mail
au BufRead reportbug-* set ft=mail
augroup END
endif
" Uncomment the following to have Vim jump to the last position when
" reopening a file
" if has("autocmd")
" au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
" \| exe normal g'\"" | endif
" endif
" Set paper size from /etc/papersize if available (Debian-specific)
if filereadable("/etc/papersize")
try
let s:shellbak = &shell
let &shell="/bin/sh"
let s:papersize = matchstr(system("cat /etc/papersize"), "\\p*")
let &shell=s:shellbak
if strlen(s:papersize)
let &printoptions = "paper:" . s:papersize
endif
catch /^Vim\%((\a\+)\)\=:E145/
endtry
endif
" The following are commented out as they cause vim to behave a lot
" different from regular vi. They are highly recommended though.
"set showcmd " Show (partial) command in status line.
"set showmatch " Show matching brackets.
"set ignorecase " Do case insensitive matching
"set incsearch " Incremental search
"set autowrite " Automatically save before commands like :next and
:make
" Source a global configuration file if available
if filereadable("/etc/vim/vimrc.local")
source /etc/vim/vimrc.local
endif
"folding
set foldmethod=syntax
" OPTIONAL: Starting with Vim 7, the filetype of empty .tex files defaults
to
" " 'plaintex' instead of 'tex', which results in vim-latex not being
loaded.
" " The following changes the default filetype back to 'tex':
let g:tex_flavor='latex'
--
Nicholas Laszlo Frazer
[email protected]
[email protected]
[email protected]
[email protected]
1516 Hinman Ave #510
Evanston, IL 60201
(773)634-9638
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Vim-latex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel