Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/templates
In directory sc8-pr-cvs1:/tmp/cvs-serv5270
Modified Files:
IEEEtran.tex
Log Message:
Bug: IEEEtran.tex template inserted needless indentation. There was also an
extra ``\begin{document}`` and some mismatched curly braces.
Please follow the following guidelines henceforth in creating templates:
1. The first placeholder in the template should be an empty placeholder
As of now, vim does not provide the equivalent of a "startinsert"
command for leaving in visual mode.
2. There should not be any indentation in the file. For example, if the
template contains a ``\begin{eqnarray}``, it should be written as::
\begin{eqnarray}
<+write equation here+>
\end{eqnarray}
instead of::
\begin{eqnarray}
<+write equation here+>
\end{eqnarray}
``IMAP_PutTextWithMovement`` automatically inserts the correct
indentation according to the user's ``'sw'`` and other indent settings.
3. No trailing empty lines after the ``\end{document}``.
Index: IEEEtran.tex
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/templates/IEEEtran.tex,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** IEEEtran.tex 29 Jan 2003 03:17:20 -0000 1.1
--- IEEEtran.tex 16 Dec 2003 21:27:20 -0000 1.2
***************
*** 19,24 ****
%
\documentclass[journal]{IEEEtran}
- \begin{document}
-
\usepackage{cite, graphicx, subfigure, amsmath}
--- 19,22 ----
***************
*** 29,33 ****
% There should be no need to do such things with IEEEtran.cls V1.6 and later.
!
% correct bad hyphenation here
\hyphenation{<+op-tical net-works semi-conduc-tor+>}
--- 27,31 ----
% There should be no need to do such things with IEEEtran.cls V1.6 and later.
! <++>
% correct bad hyphenation here
\hyphenation{<+op-tical net-works semi-conduc-tor+>}
***************
*** 48,56 ****
% was not built to handle multiple paragraphs
\author{<+Sumit Bhardwaj+>~\IEEEmembership{<+Student~Member,~IEEE,+>}
! <+John~Doe+>,~\IEEEmembership{<+Fellow,~OSA,+>}
! <+and~Jane~Doe,+>~\IEEEmembership{<+Life~Fellow,~IEEE+>}% <-this % stops a space
\thanks{<+Manuscript received January 20, 2002; revised August 13, 2002.
! This work was supported by the IEEE.+>}% <-this % stops a space
! \thanks{<+S. Bhardwaj is with the Indian Institute of Technology, Delhi.+>}}
%
% The paper headers
--- 46,54 ----
% was not built to handle multiple paragraphs
\author{<+Sumit Bhardwaj+>~\IEEEmembership{<+Student~Member,~IEEE,+>}
! <+John~Doe+>,~\IEEEmembership{<+Fellow,~OSA,+>}
! <+and~Jane~Doe,+>~\IEEEmembership{<+Life~Fellow,~IEEE+>}}% <-this % stops a space
\thanks{<+Manuscript received January 20, 2002; revised August 13, 2002.
! This work was supported by the IEEE.+>}% <-this % stops a space
! \thanks{<+S. Bhardwaj is with the Indian Institute of Technology, Delhi.+>}
%
% The paper headers
***************
*** 108,112 ****
\bibitem{IEEEhowto:kopka}
H.~Kopka and P.~W. Daly, \emph{A Guide to {\LaTeX}}, 3rd~ed.\hskip 1em plus
! 0.5em minus 0.4em\relax Harlow, England: Addison-Wesley, 1999.
\end{thebibliography}
--- 106,110 ----
\bibitem{IEEEhowto:kopka}
H.~Kopka and P.~W. Daly, \emph{A Guide to {\LaTeX}}, 3rd~ed.\hskip 1em plus
! 0.5em minus 0.4em\relax Harlow, England: Addison-Wesley, 1999.
\end{thebibliography}
***************
*** 143,146 ****
\end{document}
-
-
--- 141,142 ----
|