wdbibtex.WdBibTeX.build#
- WdBibTeX.build(bib=None, bst=None)[source]#
Build word file with latex citations.
Build word file with latex citation key of \cite{} and \thebibliography. This is realized by the following five steps:
Find latex citations and thebibliography key.
Generate dummy LaTeX file.
Build LaTeX project.
Parse LaTeX artifacts of aux and bbl.
Replace LaTeX keys in word file.
- Parameters:
- bibstr or None, default None
Bibliography file to be used. If None, all .bib files placed in the same directory of target .docx file will be used.
- bststr or None, default None
Bibliography style. If None, .bst file placed in the same directory of target .docx file is used.