Running linux, when I compile a latex document from vim with the latex-suite package installed, I (without need) are prompted to press ENTER. That is, when I type \ll
for compilation, the output from vim to the command line appears on the screen, which reads:
Press ENTER or type command to continue
Pressing ENTER brings me back to vim with my compiled document, however I would prefer not to press ENTER here (I don't have the same problem as on a Mac).
My .tex file is as follows
\documentclass{article} \title{This is the title} \author{The Author} \date{September 2013} \begin{document} \maketitle Hello World! \end{document}
From within vim, I provide the following command:
:echo g:Tex_DefaultTargetFormat
and get
pdf
I give the following command:
:echo g:Tex_CompileRule_pdf
and get
pdflatex -interaction=nonstopmode $* >/dev/null 2>/dev/null
At the bash prompt, I can type
pdflatex -interaction=nonstopmode HelloWorld.tex >/dev/null 2>/dev/null
and pdflatex compiles my document without requiring me to press ENTER. Any help that shouldn't hit ENTER on the command line would be appreciated.
source share