Re: [Vim-latex-devel] Re: Review of vim-latex status
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2002-12-27 19:58:28
|
Well, at least one issue seems to be decided upon. The diacritics will go! Your scheme seems quite excellent! I think the latter suggestion of making specific functions such as Tex_Convert_{from}_to_{to} and then calling these from a central Tex_Compile() function (the dependency engine) which uses options such as: " Dependency definitions " for tex -> dvi -> ps -> pdf g:Tex_dvi_dependsOn = 'tex' g:Tex_ps_dependsOn = 'dvi' g:Tex_pdf_dependsOn = 'ps' " Compilation rules. g:Tex_CompileRule_dvi = 'latex \nonstopmode \input{$*}' g:Tex_CompileRule_ps = 'dvips -Ppdf $*' g:Tex_CompileRule_pdf = 'ps2pdf $*' is the best way to go... The Tex_Convert_tex_to_dvi and Tex_Convert_tex_to_pdf can both use another function Tex_Convert_tex with a few changed options... The Tex_Convert_tex can be a special function which also runs the makeindex, bibtex etc as needed. Maybe I will get around to it when I next get time... As of now, I am still fixing little bugs here and there... If you are interested, you could get access to our CVS treee... On Thu, 26 Dec 2002, Luc Hermitte wrote: > 6. Sometimes, I'd like some feedback about the last improvments I made > in mu-template. But before, I must found some time to finish to write > the documentation and to definitively fix the funky-characters issue. > The big last improvment concerns the possibility to hit for instance: > '\tab^R<SPACE>' which pops up a dialog box asking for which > template-file we wish to expand (here: tabular, tabeqnarray, etc) > Well, as of now latex-suite does this in 2 ways. If the user presses the <F5> key on an empty line, then it prompts him to insert an environment from amongst a list. (This idea is from auctex.vim) It also supports "custom macros". These are basically files in the latex-suite/macros/ directory. Your feature could be implemented as: inoremap <C-x>t <C-r>=Tex_ReadCustomMacro()<CR> This pops up a prompt asking the user to choose from the files found in the macros/ directory and asks the user to choose one. This is then read in. The file can contain optional placeholders etc... Srinath |