You can clone with
HTTPS or Subversion.
I have a document which should compile with pandoc 184.108.40.206 to html5 and latex.
For html5 I have the following options for citations:
For Latex I want to have natlib so I use this options:
First why I have to use bibliography for html and biblio-files for latex? I think this is a bug and the latex template should use bibliography variable if natbib or biblatex is enabled.
And why does --bibliography imply --filter pandoc-citeproc but bibliography in metadata not? This is confusing to me.
I see the point: If latex with natbib uses bibliography as well and --bibliography imply --filter pandoc-citeproc it makes no sense. Because when using --filter pandoc-citeproc it does nothing except: changing the header from References to Bibliography.
I'm not sure if pandoc-templates is the right repo for this issue but I think the main issue is bibliography vs biblio-files so I opened it here.
Ok, I see, thats not that easy. Allow bibliography and biblio-files is a good idea. But then using bibliography in metadata or biblio-files in metadata/cli everything works fine. But using bibliography in cli it changes the headline (because --filter pandoc-citeproc is used). This is a really strange behavior also. What do you think about the idea to not imply --filter pandoc-citeproc when --natbib or --biblatex is used?
Wouldn't that also necessitate a --bibtex option, so that --filter pandoc-citeproc could be de-implied while still using plain BibTeX (rather than Natbib or BibLaTeX)? Or was BibTeX ever used before pandoc 1.12?
Don't add pandoc-citeproc filter if natbib or biblatex is used
Closed by 5f8d796
Revert "LaTeX template: Allow bibliography to be used in place of bib…
This reverts commit 5f8d796.
I'll use a different approach, setting the biblio-files variable
in the LaTeX writer. This will also work for beamer.