[Vim-latex-cvs] vimfiles/doc latex-suite.xml,1.35,1.36 latex-suite.txt,1.56,1.57
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2004-08-05 23:06:59
|
Update of /cvsroot/vim-latex/vimfiles/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10256 Modified Files: latex-suite.xml latex-suite.txt Log Message: Description of the g:Bib_{type}_extrafields option. Index: latex-suite.xml =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/doc/latex-suite.xml,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** latex-suite.xml 22 Jul 2004 00:41:18 -0000 1.35 --- latex-suite.xml 5 Aug 2004 23:06:50 -0000 1.36 *************** *** 648,652 **** <programlisting>g:Bib_{type}_options</programlisting> in you <literal>$VIM/ftplugin/bib.vim</literal> file, where ! <literal>{option}</literal> is a string like <literal>'article'</literal>, <literal>'book'</literal> etc. This variable should contain one of the letters defined in the following --- 648,652 ---- <programlisting>g:Bib_{type}_options</programlisting> in you <literal>$VIM/ftplugin/bib.vim</literal> file, where ! <literal>{type}</literal> is a string like <literal>'article'</literal>, <literal>'book'</literal> etc. This variable should contain one of the letters defined in the following *************** *** 711,714 **** --- 711,731 ---- }&ph;</programlisting> </para> + <para> + If you have some other fields you wish to associate with an article + which are not listed above, then you will have to use the + <literal>Bib_{type}_extrafields</literal> option. This is a newline + seperated string of complete field names which will be included in the + template. For example, if you define + <programlisting>let g:Bib_article_extrafields = "crossref\nabstract"</programlisting> + then the article template will include the lines + <programlisting>crossref = {&ph;}, + abstract = {&ph;},</programlisting> + </para> + <note> + <para> + You will need to define <literal>Bib_*</literal> settings in your + <literal>$VIMRUNTIME/ftplugin/bib.vim</literal> file. + </para> + </note> </section> </section> Index: latex-suite.txt =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/doc/latex-suite.txt,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** latex-suite.txt 22 Jul 2004 00:41:17 -0000 1.56 --- latex-suite.txt 5 Aug 2004 23:06:50 -0000 1.57 *************** *** 614,618 **** fields it creates, then you will need to define global variables of the form > g:Bib_{type}_options ! in you $VIM/ftplugin/bib.vim file, where {option} is a string like 'article', 'book' etc. This variable should contain one of the letters defined in the following table --- 614,618 ---- fields it creates, then you will need to define global variables of the form > g:Bib_{type}_options ! in you $VIM/ftplugin/bib.vim file, where {type} is a string like 'article', 'book' etc. This variable should contain one of the letters defined in the following table *************** *** 665,668 **** --- 665,683 ---- + If you have some other fields you wish to associate with an article which are + not listed above, then you will have to use the Bib_{type}_extrafields option. + This is a newline seperated string of complete field names which will be + included in the template. For example, if you define > + let g:Bib_article_extrafields = "crossref\nabstract" + then the article template will include the lines > + crossref = {<++>}, + abstract = {<++>}, + + + NOTE: You will need to define Bib_* settings in your + $VIMRUNTIME/ftplugin/bib.vim file. + + + -------------------------------------------------------------------------------- Smart Key Mappings *ls_3_9* *ls_a_bv* |