Fix some pandoc variables for bibliography
This commit is contained in:
parent
b33a58b593
commit
c56e96cc11
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ endfunction
|
||||||
let g:markdown_fenced_languages = ['html', 'python', 'bash=sh', 'javascipt', 'go']
|
let g:markdown_fenced_languages = ['html', 'python', 'bash=sh', 'javascipt', 'go']
|
||||||
|
|
||||||
" call the prose function defined above for any md files
|
" 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
|
" or invoke it manually by writing :Prose
|
||||||
command! -nargs=0 Prose call 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
|
" 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"
|
let g:pandoc#biblio#sources="bcyg"
|
||||||
" the globally set bibs file
|
" 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_bibtool=1
|
||||||
let g:pandoc#biblio#use_preview=1
|
let g:pandoc#biblio#use_preview=1
|
||||||
let g:pandoc#completion#bib#mode='citeproc'
|
let g:pandoc#completion#bib#mode='citeproc'
|
||||||
|
|
Loading…
Reference in a new issue