Why do I switch my PDF viewer?
- Ado* Read* is proprietary. (EULA)
- Sumatra PDF is free. (GPLv3)
Actual process
Original settings for Ado* Read*: letg:Tex_ViewRuleComplete_dvi='C:/.../AcroRd32' in _vimrc (No extension name)Problem: How to change Vim-$\rm \LaTeX$'s setting of
\lv?Trial 1: Set
g:Tex_ViewRuleComplete_dvi='C:/.../SumatraPDF' in _vimrc (No effect)Trial 2: Set
g:Tex_ViewRule_dvi='C:/.../SumatraPDF' and disable g:Tex_ViewRuleComplete_dvi in _vimrc (No effect)Trial 3: Set
g:Tex_ViewRule_pdf='C:/.../SumatraPDF' and keep g:Tex_ViewRuleComplete_dvi='C:/.../AcroRd32' in _vimrc (Ado* Read* launched instead)...
Trial n: Set
g:Tex_ViewRule_pdf='C:/.../SumatraPDF' and disable g:Tex_ViewRuleComplete_dvi='C:/.../AcroRd32' in _vimrc (No effect)Solution:
- Change
PATHenvironment variable. (You can change it for vim runtime and keep the original one in other programs. See my newer post for details.) - Set
g:Tex_ViewRule_pdf='SumatraPDF' - Disable
g:Tex_ViewRuleComplete_dviin_vimrc
No comments:
Post a Comment