emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suhail Shergill <suhailshergill@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-html: subtree specific footnote references
Date: Tue, 10 Jul 2012 04:18:25 +0000	[thread overview]
Message-ID: <871ukk9rla.fsf@chaos.shergill.su> (raw)
In-Reply-To: <818vess2cb.fsf@gmail.com> (Jambunathan K.'s message of "Tue, 10 Jul 2012 09:18:52 +0530")

Jambunathan K <kjambunathan@gmail.com> writes:

>>> running org-export-as-html on a subtree is currently problematic if
>>> the result is to be merged into a document which contains html-ized
>>> versions of other subtrees: the footnote references and definitions
>>> get clobbered.
>
> Do the subtrees come from the same org file?

that is the use case, yes.

> Won't it look odd and confusing to a reader, when there are two
> different footnote definitions with the same number. 

yes i agree that would be very confusing. but why, pray tell, would there be two
different definitions with the same number?

> Confusion is like to be pronounced, if the reader chooses to also print out
> the document as a pdf or into paper.

again, i'm not sure what scenario you're describing.

i was only describing a scenario where the patch is useful. allow me to try
again.

with the current patch, if the user selects the entire org file and exports it,
there will only be *one* footnotes section, albeit the footnote references and
definitions (which aren't visible unless someone inspects the source) will be
annotated with the CUSTOM_ID property value should it be defined.

the *only* behavioural change that this effects is that the links (and backlinks
from the definitions to references) will continue to work properly even in the
event the user decides to merge the result of multiple subtree exports into one
single document. now whether or not someone wants to do that, is up to them, but
this (the patch in question) at least makes the links more robust.

-- 
Suhail

  reply	other threads:[~2012-07-10  4:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-07 20:00 org-html: subtree specific footnote references Suhail Shergill
2012-07-07 20:16 ` Suhail Shergill
2012-07-10  3:48   ` Jambunathan K
2012-07-10  4:18     ` Suhail Shergill [this message]
2012-07-10  4:38       ` Jambunathan K
2012-07-10  5:03         ` Suhail Shergill
2012-07-10  5:20           ` Jambunathan K
2012-07-10  5:54           ` Jambunathan K
2012-07-16 17:31             ` Suhail Shergill
2012-08-02 16:26               ` Bastien
2012-08-04  0:17                 ` Suhail Shergill

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=871ukk9rla.fsf@chaos.shergill.su \
    --to=suhailshergill@gmail.com \
    --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).