Insert cross-reference without punctuation

I am creating a template for use in writing academic papers. The template makes use of numbered paragraphs for examples, like:

(34) This is an example.


If I insert a cross-reference to (34) it will include the parentheses just as this sentence demonstrates, no matter what option I choose in the cross-reference window. The problem is sometimes I need to refer to sub-examples like (34a), but LO insists on displaying them as (34)a, which is dumb. I figure if I could just insert a reference to the number, without the parentheses, then I could manually add the letter 'a' (or maybe insert that as a xref too?) And then manually add the parentheses as well.

edit retag close merge delete

Attach a sample file to your question. This will be easier than recreating an example.

( 2019-03-09 09:33:28 +0200 )edit

Sort by » oldest newest most voted

You can't, cross-references drag all the separators configured in the list (or outline numbering) with them. See for example this bug report:

Bug 121465 - Impossible to insert a cross reference to paragraph without the content of fields Before and After of the Customize tab of the list style, if field Before is used

more