diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-01-11 23:29:03 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-01-11 23:32:29 -0500 |
commit | ba5e1be14864d44b09bafecd1382c4cb797d21d4 (patch) | |
tree | 350760e4d5a39f2107af560862c378f973889481 | |
parent | 6bc48c5f4124a56b84e87b04020d255d126d2aa8 (diff) | |
download | org-mode-ba5e1be14864d44b09bafecd1382c4cb797d21d4.tar.gz |
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 <zhitaao.gong@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104117>
-rw-r--r-- | contrib/lisp/ox-bibtex.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/lisp/ox-bibtex.el b/contrib/lisp/ox-bibtex.el index 0719866..9d548bb 100644 --- a/contrib/lisp/ox-bibtex.el +++ b/contrib/lisp/ox-bibtex.el @@ -248,6 +248,7 @@ Return new parse tree." (insert (format "<div id=\"bibliography\">\n<h2>%s</h2>\n" (org-export-translate "References" :html info))) (insert-file-contents (concat out-file ".html")) + (goto-char (point-max)) (insert "\n</div>")) ((org-export-derived-backend-p backend 'ascii) ;; convert HTML references to text w/pandoc |