Closed dagwieers closed 12 years ago
On 11 October 2011 02:30, Dag Wieërs reply@reply.github.com wrote:
In AsciiDoc one can create references with a custom text, eg <<X43,a2x(1)>>, would create a text "a2x(1)" with a reference to label "X43". Now ODF does not support this, the text used for any reference is the (marked) text that is the reference. So in this case the referenced text would automatically become "5.2. a2x Toolchain Wrapper", breaking the intended text-flow.
Don't mark any text as the reference, ie nothing between text:reference and text:reference-end.
Then lo uses the text contents of the bookmark-ref.
Of course you can't mix this with references that do get the text since there isn't any. Maybe an attribute to choose?
Cheers Lex
I have not found a solution to this problem.
Reply to this email directly or view it on GitHub: https://github.com/dagwieers/asciidoc-odf/issues/14
Solved using
In AsciiDoc one can create references with a custom text, eg <<X43,a2x(1)>>, would create a text "a2x(1)" with a reference to label "X43". Now ODF does not support this, the text used for any reference is the (marked) text that is the reference. So in this case the referenced text would automatically become "5.2. a2x Toolchain Wrapper", breaking the intended text-flow.
I have not found a solution to this problem.