emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] how to convert/normalize plain footnotes into [fn:] ones


From: Nicolas Goaziou
Subject: Re: [O] how to convert/normalize plain footnotes into [fn:] ones
Date: Wed, 21 Dec 2016 16:47:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hello,

Gerald Wildgruber <address@hidden> writes:

> I'm trying to convert older orgmode documents which have plain,
> "[1]"-like footnotes into the newer "[fn:]" format.
>
> Can this be done automatically?

You could use `query-replace-regexp' a.k.a. C-M-%.

> Nicolas mentions "org-footnote-normalize" which would turn old footnotes
> in new ones, but it does nothing in my case except adding a "*
> Footnotes" entry.

You misunderstood. `org-footnote-normalize' used to turn every footnote
into [1], [2], ... whereas it now turns them into [fn:1], [fn:2],... IOW
it cannot be used to convert from old syntax to new one.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]