From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ox-ascii, bug?] aligning text withing footnotes Date: Sat, 07 Mar 2015 21:16:24 +0100 Message-ID: <87mw3o7ecn.fsf@nicolasgoaziou.fr> References: <878ufbqavl.fsf@gmx.us> <87egp18vbq.fsf@nicolasgoaziou.fr> <87bnk5kq0k.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUL81-00089Q-Cn for emacs-orgmode@gnu.org; Sat, 07 Mar 2015 15:15:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUL7y-0008S8-3N for emacs-orgmode@gnu.org; Sat, 07 Mar 2015 15:15:17 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:48557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUL7x-0008S2-T7 for emacs-orgmode@gnu.org; Sat, 07 Mar 2015 15:15:14 -0500 In-Reply-To: <87bnk5kq0k.fsf@gmx.us> (rasmus@gmx.us's message of "Sat, 07 Mar 2015 12:26:03 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Cc: emacs-orgmode@gnu.org Rasmus writes: > No. In a normal paragraph when I do > > para1\\ > para2 > > The whitespace indentation is respected. All I'm saying that when I do > something equivalent in a footnote the amount of characters removed from > the first list (typically 3: "fn:") should also be removed from subsequent > lines. E.g. > > [fn:1] http://orgmode.org/\\ > http://www.gnu.org/software/emacs/ > > Becomes: > > [1] http://orgmode.org/\\ > http://www.gnu.org/software/emacs/ > > But > > [fn:1] http://orgmode.org/ long text here > http://www.gnu.org/software/emacs/ > > Becomes > > [1] http://orgmode.org/ long text here > http://www.gnu.org/software/emacs/ It is difficult to know the indentation of the first line from the parse tree. Both [fn:1] http://orgmode.org/ and [fn:1] http://orgmode.org will appear as "http://orgmode.org" anyway. We could compute it by subtracting footnote's beginning position from paragraph's. However, we cannot trust such positions as they might be fake, or even not there (elements inserted right into the parse tree). You can use a verse block to align properly links, if you want to. Regards,