[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] footnotes export verbatim
From: |
Nicolas Goaziou |
Subject: |
Re: [O] footnotes export verbatim |
Date: |
Wed, 27 Feb 2013 00:28:38 +0100 |
Correcting myself:
> Try the following:
>
> #+begin_src emacs-lisp
> (defun my-par-in-inline-fn (backend)
> (unless (org-export-derived-backend-p backend 'latex)
> (let ((org-footnote-section "My section"))
> (org-footnote-normalize)
> (while (re-search-forward "\\par\\s-*" nil t)
> (replace-match "\n\n")))))
>
> (add-hook 'org-export-before-parsing-hook 'my-par-in-inline-fn)
> #+end_src
This should be:
#+begin_src emacs-lisp
(defun my-par-in-inline-fn (backend)
(unless (org-export-derived-backend-p backend 'latex)
(org-footnote-normalize)
(while (re-search-forward "\\par\\s-*" nil t)
(replace-match "\n\n"))))
(add-hook 'org-export-before-parsing-hook 'my-par-in-inline-fn)
#+end_src
--
Nicolas Goaziou
- Re: [O] footnotes export verbatim, (continued)
- Re: [O] footnotes export verbatim, Samuel Wales, 2013/02/20
- Re: [O] footnotes export verbatim, Nicolas Goaziou, 2013/02/20
- Re: [O] footnotes export verbatim, Samuel Wales, 2013/02/20
- Re: [O] footnotes export verbatim, Eric S Fraga, 2013/02/21
- Re: [O] footnotes export verbatim, Samuel Wales, 2013/02/22
- Re: [O] footnotes export verbatim, Nicolas Goaziou, 2013/02/24
- Re: [O] footnotes export verbatim, Samuel Wales, 2013/02/24
- Re: [O] footnotes export verbatim, Nicolas Goaziou, 2013/02/25
- Re: [O] footnotes export verbatim, Samuel Wales, 2013/02/26
- Re: [O] footnotes export verbatim, Nicolas Goaziou, 2013/02/26
- Re: [O] footnotes export verbatim,
Nicolas Goaziou <=
- Re: [O] footnotes export verbatim, Samuel Wales, 2013/02/26