Re: [Vim-latex-devel] e acute and the FAQ
I've found that typing works, I get that way a "\item" but the e- remains a "\item" despite what is told in the faq. Corentin 2006/12/4, corentin barbu <[EMAIL PROTECTED]>: > Hi ! > > I'm under ubuntu and I've downoloaded the last version of latex suite, > as it is described in the faq I'm not able to understand the answer in > the > FAQ for at least the 3 following reasons. A tour on the french > forums show it's a common problem. > > The text of the faq is on : > http://vim-latex.sourceforge.net/index.php?subject=faq&title=FAQ#faq-e-acute > > The problems are : > > - the tex.vim file doesn't exixt in the > ~/.vim/ftplugin repertory > I've created it, inserted the line, changed it by it and > the problem remain. > > - I really don't understand the link between this change and the e-acute. > > - I don't understand which is the key if it's + i it doesn't work. > > Thanks in advance. > > Corentin > > -- > ___ > Corentin Barbu > http://corentin.barbu.free.fr/ > 91 avenue Gabriel Péri > 95200 Sarcelles > France > +33679284434 > -- ___ Corentin Barbu http://corentin.barbu.free.fr/ 91 avenue Gabriel Péri 95200 Sarcelles France +33679284434 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
Re: [Vim-latex-devel] e acute and the FAQ
Finally it works. But I can no more access to the "\item" facility with this key make an "é" ?!?. I have putted the following line in ~/.vim/ftplugin/tex.vim : imap Tex_InsertItemOnThisLine Any idea ? Otherway, I sugest to modify that way the faq (which is mainly for french people I think) : Insert the following line in your ~/.vim/ftplugin/tex.vim file (you may have to create it) : imap it Tex_InsertItemOnThisLine Replace it with any other key-sequence (for example ). This should make it key (in the example key and key ) insert an \item command corresponding to the last opened environment in the current line in insert mode. The <é> key which is used for inserting the e-acute character will remain unmapped and able to produce this letter. Regards, Corentin 2006/12/4, corentin barbu <[EMAIL PROTECTED]>: > I've found that typing works, I get that way a "\item" but the > e- remains a "\item" despite what is told in the faq. > > Corentin > > 2006/12/4, corentin barbu <[EMAIL PROTECTED]>: > > Hi ! > > > > I'm under ubuntu and I've downoloaded the last version of latex suite, > > as it is described in the faq I'm not able to understand the answer in > > the > > FAQ for at least the 3 following reasons. A tour on the french > > forums show it's a common problem. > > > > The text of the faq is on : > > http://vim-latex.sourceforge.net/index.php?subject=faq&title=FAQ#faq-e-acute > > > > The problems are : > > > > - the tex.vim file doesn't exixt in the > > ~/.vim/ftplugin repertory > > I've created it, inserted the line, changed it by it and > > the problem remain. > > > > - I really don't understand the link between this change and the e-acute. > > > > - I don't understand which is the key if it's + i it doesn't > > work. > > > > Thanks in advance. > > > > Corentin > > > > -- > > ___ > > Corentin Barbu > > http://corentin.barbu.free.fr/ > > 91 avenue Gabriel Péri > > 95200 Sarcelles > > France > > +33679284434 > > > > > -- > ___ > Corentin Barbu > http://corentin.barbu.free.fr/ > 91 avenue Gabriel Péri > 95200 Sarcelles > France > +33679284434 > -- ___ Corentin Barbu http://corentin.barbu.free.fr/ 91 avenue Gabriel Péri 95200 Sarcelles France +33679284434 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
[Vim-latex-devel] Fwd: e acute and the FAQ
Finally I used the key as it's proposed at the following question of the FAQ. Probably better to group both questions in one as writed below, is any chance that an administrator of the web-site change it ? Corentin <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Help e- and other european letters doesn't work !!! To cut off the problem quickly, insert the following lines in your ~/.vim/ftplugin/tex.vim file (you may have to create it) : imap Tex_InsertItemOnThisLine imap Tex_MathBF imap Tex_MathCal imap Tex_LeftRight It frees <é> <â> and others and allow + to insert a \item ; + to insert a \mathbf{ } ; + to insert a \cite{} and + to insert \label{ } If you want to change the keys for this shortcuts, just replace with any other key-sequence. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 2006/12/6, Luc Hermitte <[EMAIL PROTECTED]>: > Hello, > > * On Mon, Dec 04, 2006 at 06:53:05PM +0100, corentin barbu <[EMAIL > PROTECTED]> wrote: > > Finally it works. But I can no more access to the "\item" facility > > with this key make an "é" ?!?. I have putted the following > > line in ~/.vim/ftplugin/tex.vim : > > > > imap Tex_InsertItemOnThisLine > > > > Any idea ? > > Vim does not distiniguish 'é' from '', and '' is ''. > Just find another keys sequence that better suits your taste -- I advise > you against playing with for insert mode mappings. > > > > Otherway, I sugest to modify that way the faq (which is mainly for > > french people I think) : > > We aren't the only ones concerned by this point of FAQ. > > > Insert the following line in your ~/.vim/ftplugin/tex.vim file (you > > may have to create it) : > > > > imap it Tex_InsertItemOnThisLine > > > > Replace it with any other key-sequence (for example ). > > This should make it key (in the example key and key ) > > insert an \item command corresponding to the last opened environment > > in the current line in insert mode. The <é> key which is used for > > inserting the e-acute character will remain unmapped and able to > > produce this letter. > > IMHO, is preferable over > > -- > Luc Hermitte > http://hermitte.free.fr/vim/ > -- ___ Corentin Barbu http://corentin.barbu.free.fr/ 91 avenue Gabriel Péri 95200 Sarcelles France +33679284434 -- ___ Corentin Barbu http://corentin.barbu.free.fr/ 91 avenue Gabriel Péri 95200 Sarcelles France +33679284434 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
[Vim-latex-devel] comment / uncomment
Hello, I'm very fond of vim latex, I use it for 4 months and the only thing that disturb me is not to have a "comment/uncomment" command. I tried to think on how to implent it in a macro but I didn't found. Do you have any idea on it ? Friendly, Corentin Barbu -- ___ Corentin Barbu http://corentin.barbu.free.fr/ 91 avenue Gabriel Péri 95200 Sarcelles France +33679284434 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
[Vim-latex-devel] indentation
Hello, I desperatly look for indentation in latex files, I now use latex-suite for months and I've already put the followings : " OPTIONAL: This enables automatic indentation as you type. filetype indent on in .vimrc and " this is mostly a matter of taste. but LaTeX looks good with just a bit " of indentation. set sw=2 in ~/.vim/ftplugin/tex.vim May you help me to find what's wrong ? Is it simply that latex-suite doesn't allow indentation according to section, subsection etc... ? Any help welcome to implement it. Regards, Corentin ___ Corentin Barbu http://corentin.barbu.free.fr/ 91 avenue Gabriel Péri 95200 Sarcelles France +33679284434 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
[Vim-latex-devel] section indentation
I finally implement it myself, you can find the modified .vim/indent/tex.vim attached. I only don't find where to define the variable g:tex_indent_section. If anybody is interested in ... Or should I put it directly on the vim script site ? Regards, Corentin -- ___ Corentin Barbu http://corentin.barbu.free.fr/ 91 avenue Gabriel Péri 95200 Sarcelles France +33679284434 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
Re: [Vim-latex-devel] section indentation
This version contain a minor bug fix 2007/2/21, corentin barbu <[EMAIL PROTECTED]>: I finally implement it myself, you can find the modified .vim/indent/tex.vim attached. I only don't find where to define the variable g:tex_indent_section. If anybody is interested in ... Or should I put it directly on the vim script site ? Regards, Corentin -- ___ Corentin Barbu http://corentin.barbu.free.fr/ 91 avenue Gabriel Péri 95200 Sarcelles France +33679284434 -- ___ Corentin Barbu http://corentin.barbu.free.fr/ 91 avenue Gabriel Péri 95200 Sarcelles France +33679284434 tex.vim Description: Binary data - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
[Vim-latex-devel] opening all tex files with latexsuite
Hello, I'm using latex-suite for a while and I thank you a lot for this great piece of software. I usually use multi-files document and I would like latex-suite to open all .tex document even if doesn't contain \documentclass or \begin{end}. I search in the code to understand why It doesn't open my .tex files but I didn't found where to make this adjustment. Faithfully, Corentin -- ___ Corentin Barbu http://corentin.barbu.free.fr/ 91 avenue Gabriel Péri 95200 Sarcelles France +33679284434 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
[Vim-latex-devel] patch proposal
Hi, I've been trying knitr ultimately and the smart quotes make the use of knitr impossible. In order to keep the functionality of the smart quotes but being able to use knitr I propose to disable the smart quotes in comments, just like it's done within math expressions. The following is working perfectly on my machine: in ftplugin/latex-suite/main.vim in function! s:TexQuotes() " In math mode or when preceded by a \, just move the cursor past the " already-inserted " character. if (synIDattr(synID(l, c, 1), "name") =~ "^texMath") \ || (c > 1 && (getline(l)[c-2] == '\')) becomes " In math mode, comments or when preceded by a \, just move the cursor past the " already-inserted " character. let colComment = match(getline(l),"%",0) if (synIDattr(synID(l, c, 1), "name") =~ "^texMath") \ || (c > 1 && (getline(l)[c-2] == '\')) \ || ((colComment > -1) && (colComment < c)) Please tell me if I can do something else to get that into the code: any git repository where I can make a pull request? Corentin -- ___ Corentin Barbu-Covantes (484) 843-1580 http://scholar.google.com/citations?hl=en&user=sxDMRdQJ "For what does it profit a man to gain the whole world, and forfeit his soul?" Mark 8:36 -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel