Avoid \printbibliography being swallowed by Org-mode headings

前端 未结 5 654
梦谈多话
梦谈多话 2021-02-06 03:43

When using Org-mode and its LaTeX export BibTeX or Biblatex is often used to handle references. In that case the LaTeX command \\printbibliography is often included

5条回答
  •  萌比男神i
    2021-02-06 04:22

    A workaround for this problem is to make \printbibliography not return a LaTeX heading so that it can appropriately be placed under an Org-mode heading.

    With biblatex this can be done by supplying \printbibliography with the option heading=none and placing it under an appropriate heading. Here is an example:

    * Heading
    
    * References
    
      \printbibliography[heading=none]
    

    This way references can be kept in a heading of its own and \printbibliography being swallowed by a heading is not a problem because it is being swallowed by its own heading.

提交回复
热议问题