emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: [ox-ascii, bug?] aligning text withing footnotes
Date: Sat, 07 Mar 2015 12:26:03 +0100	[thread overview]
Message-ID: <87bnk5kq0k.fsf@gmx.us> (raw)
In-Reply-To: <87egp18vbq.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 07 Mar 2015 02:12:09 +0100")

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Rasmus <rasmus@gmx.us> writes:
>
>> When writing plain text I might write something like:
>>
>> See foo[fn:1] 
>>
>> [fn:1] http://orgmode.org/\\
>>        http://www.gnu.org/software/emacs/
>>
>> This is exported as:
>>
>> See foo[1]
>>
>> Footnotes
>> ─────────
>>
>> [1] [http://orgmode.org/]
>>        [http://www.gnu.org/software/emacs/]
>
> This should be fixed. Expected indentation is:
>
>
>   [1] [http://orgmode.org/]
>   [http://www.gnu.org/software/emacs/]

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/


> You mean this this indentation scheme for footnotes
>
>   [1] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
>       eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad
>       minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
>       ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
>       voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur
>       sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt
>       mollit anim id est laborum.
>
> instead of
>
>   [1] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
>   eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad
>   minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
>   ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
>   voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur
>   sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt
>   mollit anim id est laborum.


I would want the first scheme if I typed in my footnote as 

[fn:1] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
       eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad
       minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip

And the second if I typed:

[fn:1] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip

Does it make sense?

—Rasmus 

-- 
The Kids call him Billy the Saint

  reply	other threads:[~2015-03-07 11:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-05 23:31 [ox-ascii, bug?] aligning text withing footnotes Rasmus
2015-03-07  1:12 ` Nicolas Goaziou
2015-03-07 11:26   ` Rasmus [this message]
2015-03-07 20:16     ` Nicolas Goaziou
2015-03-08  2:18       ` Rasmus
2015-03-08 16:21         ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bnk5kq0k.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).