From a8d0e76b7d331ad90aba413bc73f736b37b3d1da Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 12 May 2013 14:38:10 +0200 Subject: [PATCH] ox-html: Remove code relative to bibliography * lisp/ox-html.el (org-html-inner-template): Remove code relative to bibliography. (org-html-bibliography): Remove function. Bibliography is handled by the contrib/ package "ox-bibtex.el". --- lisp/ox-html.el | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index ef7d15a10..6fdf795da 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -1290,26 +1290,6 @@ ELEMENT is either a src block or an example block." (or (plist-get attr :height) (org-count-lines code)) code))) -;;;; Bibliography - -(defun org-html-bibliography () - "Find bibliography, cut it out and return it." - (catch 'exit - (let (beg end (cnt 1) bib) - (save-excursion - (goto-char (point-min)) - (when (re-search-forward - "^[ \t]*
" nil t) - (setq cnt (+ cnt (if (string= (match-string 0) "") (forward-char 1)) - (setq bib (buffer-substring beg (point))) - (delete-region beg (point)) - (throw 'exit bib)))) - nil)))) - ;;;; Table (defun org-html-htmlize-region-for-paste (beg end) @@ -1603,9 +1583,7 @@ holding export options." ;; Document contents. contents ;; Footnotes section. - (org-html-footnote-section info) - ;; Bibliography. - (org-html-bibliography))) + (org-html-footnote-section info))) (defun org-html-template (contents info) "Return complete document string after HTML conversion. -- 2.11.4.GIT