[Vim-latex-devel] Vim 7 and character =?utf-8?q?=27=C3=A9=27_+_how_to_setup_s=3Atarget_in?= vimrc?
Brought to you by:
srinathava,
tmaas
From: Boris <bor...@cm...> - 2006-05-08 20:44:17
|
Hi! I have started using vim7 today and latex-suite from svn. However I cannot= =20 type character '=C3=A9', I can press the key 100 times but nothing appears = on the=20 screen. If I start typing after that, nothing special happens (e.g. the=20 letter '=C3=A9' has no side-effect). Other characters (e.g. =C4=9B, =C5=A1,= =C4=8D, =C5=99, =C5=BE, =C3=BD, =C3=A1,=20 =C3=AD, =C3=A9) just appear fine. The big letter '=C3=89' appears fine too.= Any suggestions? I had problems with previous setup (don't remember exactly what version of= =20 latex-suite, maybe also svn, but certainly vim 6.4) where I believe that th= e=20 letter '=C3=A9' triggered a shortcut for "\item", if I recall correctly. Ma= ybe=20 this might be a clue? (the unicode index of letter '=C3=A9' is 00E9, so it = is in=20 latin1, so the problem probably has nothing to do with encodings. I am usin= g=20 utf-8 as my file and terminal encoding) Next question I have is on compilation, particularly s:target. When startin= g a=20 session, I have to choose s:target by issuing ":TTarget pdf". Otherwise=20 compilation does not work because s:target is not defined. I would prefer t= o=20 have it setup in my .vimrc. I tried in my .vimrc: let s:target=3D'pdf' let target=3D'pdf' but it did not help. My current .vimrc which worked till now looks like this: let s:target=3D'pdf' let target=3D'pdf' let g:Tex_DefaultTargetFormat=3D'pdf' let g:Tex_CompileRule_ps=3D'latex --interaction=3Dnonstopmode $*; dvips -Pp= df-o=20 `basename $* .tex`.ps `basename $* .tex`.dvi' let g:Tex_ViewRule_ps=3D'kghostview' let g:Tex_CompileRule_pdf=3D'latex --interaction=3Dnonstopmode $*; dvips -P= pdf -o=20 `basename $* .tex`.ps `basename $* .tex`.dvi; ps2pdf14 `basename $* .tex`.p= s' let g:Tex_ViewRule_pdf=3D'acroread' let g:Tex_Env_exercise =3D "%<++>%{{{2\<CR>\\begin{exercise}{<++>} {%\<CR><++>\<CR>}\<CR><++>\<CR>\\end{exercise}" With non-svn latex-suite (dated approx. 2006-01-10) my .vimrc worked=20 seamlessly. I grepped for the string "s:target" in the whole doc subdirecto= ry=20 of latex-suite, but it is not there. Could you please help me? Thanks for any help/suggestions. Best regards, Boris Du=C5=A1ek |