emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG][ODT] Subtree export fails when link references target on h


From: Christian Moe
Subject: Re: [O] [BUG][ODT] Subtree export fails when link references target on higher level
Date: Fri, 22 Nov 2013 09:04:19 +0100
User-agent: mu4e 0.9.9.5-dev6; emacs 24.3.1

Nicolas Goaziou writes:

> Hello,
>
> Christian Moe <address@hidden> writes:
>
>> The two examples below illustrate an odd ODT export failure that occurs in
>> restricted circumstances: only when the target of the link is on a
>> higher level of the tree than the link. 
>>
>> * This fails
>>
>> ** A subheader
>>
>> This paragraph is bookmarked. <<target1>> 
>>
>> When I try to export this subtree to ODT (`C-c C-e C-s o O' at point), I get
>> : user-error: No such file: /Users/CM/org/OpenDocument export failed: FIXME?
>>
>> *** A sub-subheader
>>
>> Here's a ref to the bookmark at [[target1]].
>
> In this case, <<target1>> doesn't belong to any headline. What is the
> expected output for [[target]]?

Oh... right. But in that case, the output should be "No description for
this link", as happens with HTML export. More helpful and informative
than an export failure.

In ODT, the link can be useful anyway, as the ODT output is a reference
field that can be automatically updated to a different format, e.g. to
refer to a page number instead of the (missing) headline text.

Yours,
Christian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]