From ba5e1be14864d44b09bafecd1382c4cb797d21d4 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 11 Jan 2016 23:29:03 -0500 Subject: [PATCH] ox-bibtex: Fix bibliography location in HTML * contrib/lisp/ox-bibtex.el (org-bibtex-process-bib-files): Fix insertion location of bibliography in HTML export. Reported-by: gongzhitaao --- contrib/lisp/ox-bibtex.el | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/lisp/ox-bibtex.el b/contrib/lisp/ox-bibtex.el index 071986691..9d548bbe9 100644 --- a/contrib/lisp/ox-bibtex.el +++ b/contrib/lisp/ox-bibtex.el @@ -248,6 +248,7 @@ Return new parse tree." (insert (format "
\n

%s

\n" (org-export-translate "References" :html info))) (insert-file-contents (concat out-file ".html")) + (goto-char (point-max)) (insert "\n
")) ((org-export-derived-backend-p backend 'ascii) ;; convert HTML references to text w/pandoc