Add latexmkrc and set vimtex view to zathura

This commit is contained in:
flyingscorpio@arch-desktop 2020-11-24 10:04:20 +01:00
parent 6d4756a532
commit 2578d3bf52
2 changed files with 11 additions and 0 deletions

10
dotfiles/latexmkrc Normal file
View file

@ -0,0 +1,10 @@
add_cus_dep('glo', 'gls', 0, 'run_makeglossaries');
add_cus_dep('acn', 'acr', 0, 'run_makeglossaries');
sub run_makeglossaries {
system("makeindex -s '$_[0]'.ist -t '$_[0]'.glg -o '$_[0]'.gls '$_[0]'.glo");
}
push @generated_exts, 'glo', 'gls', 'glg';
push @generated_exts, 'acn', 'acr', 'alg';
$clean_ext .= ' %R.ist %R.xdy';

View file

@ -90,6 +90,7 @@ nmap <leader>ne :NERDTree<CR>
let g:indentLine_fileType = ['html', 'htmldjango']
let g:tex_flavor = 'latex'
let g:vimtex_view_method = 'zathura'
" }}}
" COLORS {{{
colorscheme badwolf