Next in thread →
Next in month →
Re: [docbook-apps] Xrefstyle attributes for olinks
Thank you, Bob. I'll check the latest stylesheets. You are right, olinks are used because I have a master document with the contents XIncluded. Xrefs would not work, I guess, so I used olinks to solve cross references. -Zbyszek On 1/30/06, Bob Stayton <> wrote: This was a bug that is fixed in CVS. You could try the latest snapshot version and it should work. Just to clarify, your olink is pointing to a target in the current document, right? Bob Stayton Sagehill Enterprises DocBook Consulting ----- Original Message ----- From: Zbyszek Cybulski To: DocBook Apps Sent: Monday, January 30, 2006 2:29 AM Subject: [docbook-apps] Xrefstyle attributes for olinks Hi all, I have a number of references to various sections in my documents. For most cases, the standard olink processing is OK. However, there are some parts of documentation, where I have to be more specific and refer to the page number (let's call it extended olinks). So, I use the following syntax: <olink targetdoc="InstallGuide" targetptr="section_id" xrefstyle="select: label title page"/> When I transform my documentation to PDF using XEP, the links within PDF looks like the following example: Chapter 3: System requirements (page ?) The link is correct, that is, it leads to the correct place in the PDF file. The only problem is the page number. I have turned on the olink debugging: during transformation there are several following messages: Description: W Olink debug: cases for targetdoc='InstallGuide' and targetptr='section_id' in language 'en'. Description: W Olink debug: CaseA NOT matched and then a bunch like the following: Description: W Olink debug: CaseA matched. Description: W Olink debug: CaseA key is the final selection: InstallGuide/section_id/ Description: W xrefstyle is 'select: label title page'. Description: W Olink debug: xrefstyle template is 'Chapter %n: %t (page %p)'. Description: W Olink debug: root element of target.database is 'targetset'. I guess these are places where the extended olinks are called. In addition, XEP also issues a warning message at the end of transformation: [warning] unresolved page-number-citation: '' What am I doing wrong? My tool chain is DTD 4.4/XSL-FO 1.69.1/XEP 4.4 Thanks, -Zbyszek
Next in thread →
Next in month →