Modify pandoc compilation of eisvogel adding TOC

This commit is contained in:
coolneng 2019-06-07 21:03:24 +02:00
parent 9b502767de
commit cef4a656f2
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ au FileType markdown Goyo
let g:markdown_fenced_languages = ['cpp', 'python', 'java'] let g:markdown_fenced_languages = ['cpp', 'python', 'java']
let g:vim_markdown_math=1 let g:vim_markdown_math=1
"" Pandoc "" Pandoc
autocmd FileType markdown nnoremap <silent> <F3> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template eisvogel --listings &<cr> autocmd FileType markdown nnoremap <silent> <F3> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template eisvogel --listings --toc &<cr>
autocmd FileType markdown nnoremap <silent> <F4> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template handout &<cr> autocmd FileType markdown nnoremap <silent> <F4> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template handout &<cr>
autocmd FileType markdown nnoremap <silent> <F5> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template assignment &<cr> autocmd FileType markdown nnoremap <silent> <F5> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template assignment &<cr>
autocmd FileType markdown nnoremap <silent> <F6> :<c-u>!zathura %:p:r:S.pdf &<cr> autocmd FileType markdown nnoremap <silent> <F6> :<c-u>!zathura %:p:r:S.pdf &<cr>