Re: [Vim-latex-devel] IMAP with multibyte lhs
Brought to you by:
srinathava,
tmaas
From: Bodo G. <ma...@bo...> - 2010-07-10 11:43:01
|
Hi, Just wanted to send some note on my progress. First of all thx a lot to LuX, that patch works wonderfully for my current use. Also I have succeeded in using unicode-characters in math mode by defining: \catcode`\Σ=\active \defΣ{\sum} for the characters I want to use (those that are available on my neo keyboard layout) ucs didn't work for me — might be because I use xelatex I think saving my texsources as utf8 is good enough. Even if I would try to save it as plain ASCII, I would end up with your problem, LuX and I don't think converting those tex commands to their unicode representation in vim would be a good thing. If you need to give the file to someone without utf8 capabilities, you could still write a small filter, that replaces all the unicode-characters with the latex commands... best regards Bodo On Tue, Jun 29, 2010 at 9:22 PM, Kay Smarczewski < kay...@ma...> wrote: > On Mon, Jun 28, 2010 at 11:11:44PM +0200, com...@fr... wrote: > > I do not have such keys in my keyboard, I have a plane qwerty keyboard. > > What I wanted is an easy access to mathematical unicode symbols from > > my keyboard, not necessarily for LaTeX, but for mail, plain text, > > whatever. For example I can type in this mail: ∀ ε ≤ 1, ∃ ζ ∈ ℂ… and > > so on. (Apparently these characters are displayed properly on > > the web site, I hope it is the same for your mail viewer.) > Have you tried snipMate? I use it to map some of my ALT Gr + xx keys > to special unicode characters. > > > What I really wanted actually was that when I open a tex file all the > > LaTeX macros that it contains for mathematical symbols are converted > > to UTF8 glyphs which represent them, and when I save the file the UTF8 > > characters are converted back. So that I have a more "wysiwyg" LaTeX > > editor, with much more compact and readable formulas, but still have > > plain ascii LaTeX file, which latex can compile without problem. > I use the ucs (mathletters) package in LaTex. So LaTex can compile > UTF-8 characters. This is just a workaround for missing unicode > support. But it works for me. > > Kind regards, > > Kay > > -- > Kay Smarczewski > Web: http://www.smarti.info > Jabber: ka...@ja... > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > -- NOTHING IS REAL |