Support for Custom LaTeX Templates and Bibliography Management
I would like to understand how to change the output format using custom LaTeX templates in Manubot. My manuscripts often require the use of specific publisher templates, and I have Pandoc-friendly templates for publishers like the Royal Chemical Society, Wiley, and Elsevier.
Typically, the process involves uploading:
.latexfiles.bibfiles- Style files
- Figures
I have found the common.yaml file, which specifies the CSL citation format. However, I need guidance on the following:
- How can I define and integrate my own LaTeX style into Manubot?
- What is the process for creating and using a
.bibbibliography file within Manubot? I usually rely on a large BibTeX library exported from Zotero.
Any guidance or documentation on these topics would be greatly appreciated. Thank you!
The examples at the end of https://github.com/manubot/rootstock/issues/249 are good general references. The covid19-review manuscript is a particularly complex project because it is a long manuscript that has a custom build.sh script that splits the full manuscript into chapters that can be built individually, one of which is a LaTeX build. It has a yaml file with LaTeX pandoc settings.
That discussion and example may answer most of your first question.
Regarding an existing .bib file to supplement citation-by-identify, see this section of https://github.com/manubot/rootstock/blob/main/USAGE.md#reference-metadata
Manubot offers some support for other bibliographic metadata formats besides CSL JSON, by delegating conversion to the pandoc-citeproc --bib2json utility. Formats are inferred from filename extensions. So, for example, to provide metadata for
@https://github.com/manubot/rootstockin BibTeX format, create the file content/manual-references.bib and create an item whose definition starts with the excerpt:
@misc{https://github.com/manubot/rootstock,
In that example, @https://github.com/manubot/rootstock is the URL reference being cited, not anything related to the Manubot project.