Re: [docbook-apps] [oXygen-user] Pagenumbers in crossref with my own style

2018-09-26 Thread Bernhard Kleine
It does, thank you very much! Greetings from the Black Forest. Bernhard Am 26.09.2018 um 23:12 schrieb Bob Stayton: > > Hi Bernhard, > > Your original XML sample file included this attribute in the > element that was the target of the xref: > > xreflabel="" > > That says any xref text generate

Re: [docbook-apps] [oXygen-user] Pagenumbers in crossref with my own style

2018-09-26 Thread Bob Stayton
Hi Bernhard, Your original XML sample file included this attribute in the element that was the target of the xref: xreflabel="" That says any xref text generated for that sect1 should be blank, and prevents any xref text from being generated.  Remove that, and it should work for you. Bob

Re: [docbook-apps] [oXygen-user] Pagenumbers in crossref with my own style

2018-09-26 Thread Bernhard Kleine
Hi Bob, after unsetting insert.xref.page.number and replacing the customization with your text, there is no number at all. Whatelse could be missing? Bernhard Am 26.09.2018 um 20:05 schrieb Bob Stayton: > > Hi Bernard, > > There are two issues.  One is that the @name attribute in a l:template

Re: [docbook-apps] [oXygen-user] Pagenumbers in crossref with my own style

2018-09-26 Thread Bob Stayton
Hi Bernard, There are two issues.  One is that the @name attribute in a l:template element should be the name of the element you are pointing to, not pointing from.  So that should be name="sect1" instead of "xref". The other is that unless you have section numbering turned on (if set sectio

[docbook-apps] [oXygen-user] Pagenumbers in crossref with my own style

2018-09-26 Thread Bernhard Kleine
I have the following xml example and the corresponding xls stylesheet. The pagenumber, however, is not shown as S. 1, but [1] not respecting the style for the pagenumer. The insert.xref.page.number is set to yes. I am working with Oxygen XML editor 20.1 on win7(64bit). What is missing? Regards