Sunday, October 13, 2013

Re: vim-latex/latex-suite macros like FEM in nonEnglish languages


On Oct 13, 2013 9:23 PM, "Vandra _" <vanpva@rambler.ru> wrote:
>
>
> I work on a book in Russian using vim-latex.
> While in insert mode in Russian (with keymap command c-^) latex-suite macros like FEM don't work.
> Thats indeed very embarrassing. Is there a way to get them work in nonEnglish languages?
> Thanks!

You mean, those that are created using IMAP function? AFAIK they work like this: map the last character (M in your case) and when it is typed check whether the preceding characters are present just before the cursor. If they are, IMAP deletes them and does what it was requested, otherwise it returns the last character which will then be inserted. I do not know how mappings interact with &keymap, but as with &keymap preceding characters (FE in your case) are replaced with Russian ones IMAP will not work. I do not know any way around this without modifying IMAP to be &keymap-aware.

I personally just disabled all these macros for them being too intrusive (do not remember which of them exactly though).

> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> --- You received this message because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
 
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: