mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-07-20 13:56:28 +00:00
Add "References" header in org-exp-bibtex
* contrib/lisp/org-exp-bibtex.el (org-export-bibtex-preprocess): include hard-coded "<h2>References</h2>" in #+BEGIN_HTML block I might be missing something, but while in LaTeX export org-exp-bibtex produces a References header, in HTML export there's nothing -- which looks a bit odd, particularly in documents with footnotes. Attached is a patch which simply includes an appropriate header. Cheers, Christophe TINYCHANGE
This commit is contained in:
parent
202d8f7bf2
commit
3e4477249c
|
@ -107,7 +107,7 @@
|
|||
(goto-char (point-min))
|
||||
(while (re-search-forward "<hr>" nil t)
|
||||
(replace-match "<hr/>" t t))
|
||||
(concat "\n#+BEGIN_HTML\n<div id=\"bibliography\">\n" (buffer-string) "\n</div>\n#+END_HTML\n"))))
|
||||
(concat "\n#+BEGIN_HTML\n<div id=\"bibliography\">\n<h2>References</h2>\n" (buffer-string) "\n</div>\n#+END_HTML\n"))))
|
||||
((eq org-export-current-backend 'latex) ;; Latex export
|
||||
(concat "\n#+LATEX: \\bibliographystyle{" style "}"
|
||||
"\n#+LATEX: \\bibliography{" file "}\n"))) t t)))
|
||||
|
|
Loading…
Reference in a new issue