emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] in export to odt -
@ 2015-11-20  8:52 Rainer M Krug
  2015-11-20 10:24 ` Rasmus
  0 siblings, 1 reply; 6+ messages in thread
From: Rainer M Krug @ 2015-11-20  8:52 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 855 bytes --]


The following .org file produces an invalid .odt file upon export to odt
because of the footnote in the footnote:

--8<---------------cut here---------------start------------->8---
#+TITLE: Footnote in footnote produces invalid .odt
#+AUTHOR: Rainer M. Krug

* A Footnote in a Footnote
Some footnote[fn:2]

* Versions
Org-mode version 8.3.2 (release_8.3.2-161-gd2ac25 @ /Users/rainerkrug/.emacs.d/elpa/24.5/org-20151005/)
GNU Emacs 24.5.1 (x86_64-apple-darwin15.0.0, Carbon Version 157 AppKit 1404.13) of 2015-11-03 on Rainers-MacBook-Pro.local
Libre Office: Version: 5.0.3.2
              Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
              Locale: en-US (en.UTF-8)

* FOOTNOTES

[fn:2] Footnote 2[fn:1]

[fn:1] CHECK!
--8<---------------cut here---------------end--------------->8---

The odt is attached for reference.


Cheers,

Rainer


[-- Attachment #1.2: test.odt --]
[-- Type: application/octet-stream, Size: 10807 bytes --]

[-- Attachment #1.3: Type: text/plain, Size: 425 bytes --]





-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug

PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] in export to odt -
  2015-11-20  8:52 [BUG] in export to odt - Rainer M Krug
@ 2015-11-20 10:24 ` Rasmus
  2015-11-20 10:55   ` Rainer M Krug
  0 siblings, 1 reply; 6+ messages in thread
From: Rasmus @ 2015-11-20 10:24 UTC (permalink / raw)
  To: emacs-orgmode

Rainer M Krug <Rainer@krugs.de> writes:

> The odt is attached for reference.

Please also provide an odt document with the expected, working result.
(I could not produce such a document in LO within 20s, but perhaps it’s
possible).

Thanks,
Rasmus

-- 
You people at the NSA are becoming my new best friends!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] in export to odt -
  2015-11-20 10:24 ` Rasmus
@ 2015-11-20 10:55   ` Rainer M Krug
  2015-11-20 11:06     ` Rasmus
  0 siblings, 1 reply; 6+ messages in thread
From: Rainer M Krug @ 2015-11-20 10:55 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1190 bytes --]

Rasmus <rasmus@gmx.us> writes:

> Rainer M Krug <Rainer@krugs.de> writes:
>
>> The odt is attached for reference.
>
> Please also provide an odt document with the expected, working result.
> (I could not produce such a document in LO within 20s, but perhaps it’s
> possible).

I am not a LibreOffice / MS Word person (but my co-authors but my
co-authors unfortunately are...) so I only stumbled upon this when was
asked to give them a docx... file.

I tried in LibreOffice, and indeed it does not seem to be possible. I
don't know what the convention is, but I don't like that an invald .odt
file is produced. Maybe give a warning about "incompatible features" or
just drop the footnote in the footnote?

Thanks,

Rainer

>
> Thanks,
> Rasmus

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug

PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] in export to odt -
  2015-11-20 10:55   ` Rainer M Krug
@ 2015-11-20 11:06     ` Rasmus
  2015-11-20 11:36       ` Rainer M Krug
  0 siblings, 1 reply; 6+ messages in thread
From: Rasmus @ 2015-11-20 11:06 UTC (permalink / raw)
  To: rainer; +Cc: emacs-orgmode

Rainer M Krug <Rainer@krugs.de> writes:

> I tried in LibreOffice, and indeed it does not seem to be possible. I
> don't know what the convention is, but I don't like that an invald .odt
> file is produced. Maybe give a warning about "incompatible features" or
> just drop the footnote in the footnote?

Dropping it is a possibility, though not a very nice one.

You can insert a cross-reference to a footnote within a footnote.  But I
don’t know how to insert a footnote without also adding a reference in the
text.  If the latter is possible, that way should work.

Rasmus

-- 
Not everything that goes around comes back around, you know

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] in export to odt -
  2015-11-20 11:06     ` Rasmus
@ 2015-11-20 11:36       ` Rainer M Krug
  2015-11-20 12:31         ` Rasmus
  0 siblings, 1 reply; 6+ messages in thread
From: Rainer M Krug @ 2015-11-20 11:36 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1462 bytes --]

Rasmus <rasmus@gmx.us> writes:

> Rainer M Krug <Rainer@krugs.de> writes:
>
>> I tried in LibreOffice, and indeed it does not seem to be possible. I
>> don't know what the convention is, but I don't like that an invald .odt
>> file is produced. Maybe give a warning about "incompatible features" or
>> just drop the footnote in the footnote?
>
> Dropping it is a possibility, though not a very nice one.

Agreed - for me it doesn't matter anymore, as the footnote in the
footnote was only a TODO reminder.

>
> You can insert a cross-reference to a footnote within a footnote.  But I
> don’t know how to insert a footnote without also adding a reference in the
> text.  If the latter is possible, that way should work.

This sounds like the way to go, but I would suggest that until there is
a solution (for this apparently not supported feature in LibreOffice?)
to either drop the footnote and give a warning in emacs, or insert the
footnote text in the footnote as verbatim text.

Cheers,

Rainer

>
> Rasmus

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug

PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] in export to odt -
  2015-11-20 11:36       ` Rainer M Krug
@ 2015-11-20 12:31         ` Rasmus
  0 siblings, 0 replies; 6+ messages in thread
From: Rasmus @ 2015-11-20 12:31 UTC (permalink / raw)
  To: rainer; +Cc: emacs-orgmode, alantyree

Hi,

Rainer M Krug <Rainer@krugs.de> writes:

> Rasmus <rasmus@gmx.us> writes:
>
>> Rainer M Krug <Rainer@krugs.de> writes:
>>
>>> I tried in LibreOffice, and indeed it does not seem to be possible. I
>>> don't know what the convention is, but I don't like that an invald .odt
>>> file is produced. Maybe give a warning about "incompatible features" or
>>> just drop the footnote in the footnote?
>>
>> Dropping it is a possibility, though not a very nice one.
>
> Agreed - for me it doesn't matter anymore, as the footnote in the
> footnote was only a TODO reminder.

We support it in html and latex so we should not take this decision
lightly.

>> You can insert a cross-reference to a footnote within a footnote.  But I
>> don’t know how to insert a footnote without also adding a reference in the
>> text.  If the latter is possible, that way should work.
>
> This sounds like the way to go, but I would suggest that until there is
> a solution (for this apparently not supported feature in LibreOffice?)
> to either drop the footnote and give a warning in emacs, or insert the
> footnote text in the footnote as verbatim text.

I would like to see if someone who knows Libreoffice well will chime in.
I’m sure it’s possible somehow.

I have put Alan in the Cc as he has previously uncovered amazing options
in LO.  Alan: we want to be produce an odt document that mimics something
like the following in LO:

    X[fn:1]
    [fn:1] Y[fn:2]
    [fn:2] Z

Worst case we can check the ODF specification which is sort of readable.

Otherwise, we’ll have to throw a warning.  (Error isn’t good here).

Thanks,
Rasmus

-- 
Together we'll stand, divided we'll fall

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-11-20 12:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-20  8:52 [BUG] in export to odt - Rainer M Krug
2015-11-20 10:24 ` Rasmus
2015-11-20 10:55   ` Rainer M Krug
2015-11-20 11:06     ` Rasmus
2015-11-20 11:36       ` Rainer M Krug
2015-11-20 12:31         ` Rasmus

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).