emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: ODT export: Issues with `org-export-footnote-first-reference-p'
Date: Thu, 12 Feb 2015 06:25:19 -1000	[thread overview]
Message-ID: <m2fvab9jww.fsf@tsdye.com> (raw)
In-Reply-To: <54DC5B49.8070905@gmail.com> (Vaidheeswaran C.'s message of "Thu, 12 Feb 2015 13:20:33 +0530")

Aloha Vaidheeswaran,

Thanks very much for the detailed response and the link to the book.

That's an interesting example I won't soon forget.  The forward
reference in the footnote is unusual.  In this case it appears to be
standing in for the lack of an index entry for either "trichiliocosm" or
"chiliocosm."

It's eye opening to see Org mode at work so deep in the humanities.

All the best,
Tom

Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com> writes:

> On Thursday 12 February 2015 12:49 PM, Thomas S. Dye wrote:
>> Aloha Vaidheeswaran,
>>
>> This is an odd example that I don't recall having seen in any
>> publication.  I don't doubt examples might exist, but don't remember
>> having seen one.  Can you point me to a real-world example of a footnote
>> referring to a subsequent footnote that I might reference either on-line
>> or in my local library?
>
> I am OCRing this book:
> http://wenshuchan-online.weebly.com/uploads/9/4/8/2/9482304/chan-and-zen-teachingpdf.pdf.
>   This book is atleast 50 years old.
>
> You can find the converted files here:
> https://archive.org/details/TheDiamondCutterOfDoubts
>
>
> The actual text extract goes something as below.  I am attaching the 
> scanned image of the book in question.
>
>
> ------------------------
>
> # page 159
>
> Now they saw uncountable and limitless numbers of living beings in the
> universe[fn:145-1] and wondered when all these beings could be saved
> and how they could obtain the Buddha fruit since the universe would
> never be emptied of these beings.
>
>
> # page 169
>
> #+BEGIN_QUOTE
>
> 'Subhuti, what do you think? If someone filled the Universe[fn:155-4]
> with the seven treasures[fn:155-5] and gave them all as alms, would
> his merit be great?
>
> Subhuti replied: 'Very great, World Honoured One. Why? Because this
> merit is not the nature of merit, the Tathagata says it is
> great.[fn:155-6]
>
> Subhuti, if on the other hand, someone received and kept even a four
> line stanza of this sutra and expounded it to others, his merit would
> surpass that (of the giver of treasures). Why? (Because), Subhuti, all
> Buddhas and their Supreme-Enlightenment-Dharma originate from this
> sutra. Subhuti, the so-called Buddhas and Dharmas are not real Buddhas
> and Dharmas.'[fn:155-7]
>
> #+END_QUOTE
>
> [fn:145-1] Literally ‘the great trichiliocosm’. See footnote 4, p. 
> 169.[fn:155-4]
>
> [fn:155-4] Tri-sahasra-maha-sahasra-loka-dhatu=a great
> trichiliocosm. Mt. Sumeru and its seven surrounding continents, eight
> seas and ring of iron mountains form one small world; 1,000 of these
> form a small chiliocosm; 1,000 of these small chiliocosms form a
> medium chiliocosm; 1,000 of these form a great chiliocosm, which
> consists of 1,000,000,000 small worlds. The word ‘universe’ is used
> for convenience sake.
>
>
>
>
>
>> All the best,
>> Tom
>>
>> Vaidheeswaran<vaidheeswaran.chinnaraju@gmail.com>  writes:
>>
>>> On Thursday 12 February 2015 02:42 AM, Nicolas Goaziou wrote:
>>>> It does, e.g., when exporting to LaTeX. This is an odt limitation.  So,
>>>> I disagree, `org-export-footnote-first-reference-p' is correct here.
>>>
>>>
>>> Let me put my question this way:
>>>
>>> What changes need to be made in ox.el and/or ox-odt.el so that the
>>> snippet I shared produces the right XML acceptable for LibreOffice.
>>>
>>> text1 [fn:1]
>>>
>>> text2 [fn:2]
>>>
>>> [fn:1] footdef1[fn:2]
>>>
>>> [fn:2] footdef2
>>>
>>> For purposes of ODT backend, we need to find the 'site of first
>>> reference' THAT IS OUTSIDE OF A foonote definition.  Would it be
>>> possible for you to augment the API so that I can request such a
>>> reference.
>>>
>>> NOTE: The XML that is emitted by the ODT exporter, suggests that the
>>> '[fn:2]' occurring in '[fn:1]' is treated as site of first
>>> reference. We would like to make '[fn:2]' occurring next to 'text2' be
>>> treated as the site of first reference.  If we do that, everything
>>> will be just right.
>>>
>>>
>>>
>>>
>>>
>>
>
>

-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com

  reply	other threads:[~2015-02-12 16:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10 11:17 ODT export: Issues with `org-export-footnote-first-reference-p' Vaidheeswaran
2015-02-10 12:56 ` Christian Moe
2015-02-10 14:22   ` Vaidheeswaran C
2015-02-10 21:29     ` Nicolas Goaziou
2015-02-11  4:46       ` Vaidheeswaran C
2015-02-11 21:12         ` Nicolas Goaziou
2015-02-12  4:44           ` Vaidheeswaran
2015-02-12  7:19             ` Thomas S. Dye
2015-02-12  7:50               ` Vaidheeswaran C
2015-02-12 16:25                 ` Thomas S. Dye [this message]
2015-02-13  0:18             ` Nicolas Goaziou
2015-02-13  7:37               ` Vaidheeswaran C
2015-02-13 13:18                 ` Nicolas Goaziou
     [not found]               ` <m2vbj61bdc.fsf@christianmoe.com>
2015-02-13 13:23                 ` Nicolas Goaziou
2015-02-10 21:28   ` Nicolas Goaziou
2015-02-11  6:02     ` Vaidheeswaran
2015-02-11  6:10       ` Vaidheeswaran

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=m2fvab9jww.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=vaidheeswaran.chinnaraju@gmail.com \
    /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).