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

2013-11-25 Thread Jambunathan K
Christian Moe m...@christianmoe.com writes: 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. When using page numbers, one may have to

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

2013-11-22 Thread Christian Moe
Nicolas Goaziou writes: Hello, Christian Moe m...@christianmoe.com 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

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

2013-11-22 Thread Nicolas Goaziou
Hello, Christian Moe m...@christianmoe.com writes: 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. I don't know ODT syntax, but if you

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

2013-11-22 Thread Christian Moe
Hi, What I described already works out of the box, as long as a bookmark and cross-reference are generated. In LibreOffice, you can then right-click on the field of the cross-reference to display e.g. the target's chapter heading number or page number instead of a textual description. But on

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

2013-11-22 Thread Nicolas Goaziou
Hello, Christian Moe m...@christianmoe.com writes: But on reflection, I think there's a strong case to change the default ODT output of links with dedicated targets to page number references. Under the new exporter, such targets are hidden in output, i.e. they no longer contain text that

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

2013-11-22 Thread Dan Griswold
On Fri, Nov 22, 2013 at 4:08 AM, Christian Moe m...@christianmoe.comwrote: Hi, But on reflection, I think there's a strong case to change the default ODT output of links with dedicated targets to page number references. Under the new exporter, such targets are hidden in output, i.e. they no

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

2013-11-21 Thread Nicolas Goaziou
Hello, Christian Moe m...@christianmoe.com 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

[O] [BUG][ODT] Subtree export fails when link references target on higher level

2013-11-21 Thread Christian Moe
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