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

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/]


> I would like to have the links aligned after the ascii export.  That is,
> if line 1 of a footnote is "shifted" n characters to the left, I would
> like all subsequent lines of that element to be shirted n characters to
> the left.

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.

> But maybe this would have other bad effects?

It looks like plain lists. Anyway I don't have strong opinion about it.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2015-03-07  1:11 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 [this message]
2015-03-07 11:26   ` Rasmus
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=87egp18vbq.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /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).