Fix some pandoc variables for bibliography

This commit is contained in:
Marty Oehme 2019-11-18 17:20:43 +01:00
parent b33a58b593
commit c56e96cc11

View file

@ -169,7 +169,7 @@ endfunction
let g:markdown_fenced_languages = ['html', 'python', 'bash=sh', 'javascipt', 'go']
" call the prose function defined above for any md files
au FileType pandoc call Prose()
au FileType pandoc,markdown call Prose()
" or invoke it manually by writing :Prose
command! -nargs=0 Prose call Prose()
@ -186,7 +186,7 @@ let g:pandoc#command#prefer_pdf=1
" look for bibtex files w/ same name as edited one, then .bib in current dir, yaml frontmatter, and finally the globally set bibs file
let g:pandoc#biblio#sources="bcyg"
" the globally set bibs file
let g:pandoc#biblio#bibs=["~/Nextcloud/Library/academia/academia.bib"]
let g:pandoc#biblio#bibs=[expand("~/Nextcloud/Library/academia/academia.bib")]
let g:pandoc#biblio#use_bibtool=1
let g:pandoc#biblio#use_preview=1
let g:pandoc#completion#bib#mode='citeproc'