OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] problem with xrefs - maybe FOP 0.20.5 issue?


That sounds like a bug in fop-0.20.5.  Have you tried version 0.93?

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Marshall Schor" <msa@schor.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Friday, January 26, 2007 5:51 PM
Subject: Re: [docbook-apps] problem with xrefs - maybe FOP 0.20.5 issue?


> More info: problem seems to happen when the generated page ref, which 
> includes 2 parts
> (the section title, and the page number) falls such that the line is 
> split between these two things.
> If I merely add some text in front of the problem ref to shift it so this 
> split doesn't happen,
> it works (the page number formats with a page number, not a "?").
>
> The problem seems to be also avoided if I use an explicit
> xrefstyle="select: label quotedtitle" attribute on the link that's not 
> formatting correctly.
>
> Is this the best work-around or are there others?-Marshall Schor
>
>
> Marshall Schor wrote:
>> I'm using Docbook 4.5 / 1.71.1 with FOP 0.20.5.
>>
>> I use cross references with olinks.  They work most of the time, but 
>> occasionally it seems that the output for page number references to 
>> cross refs in the same book (I'm using modular files - that's why the 
>> olinks are there even for the same book) show as [?] and are not active.
>> I looked at the XSL:FO input to FOP - it all looks like:
>>
>>  <fo:basic-link color="blue" internal-destination="ugr.tug.application">
>>    Chapter 3, Application Developer's Guide
>>      <fo:basic-link color="blue" 
>> internal-destination="ugr.tug.application">
>>        <fo:inline keep-together.within-line="always">
>>           [<fo:page-number-citation ref-id="ugr.tug.application"/>]
>>        </fo:inline>
>>      </fo:basic-link>
>>  </fo:basic-link>
>>
>>
>> Sometimes this seems to work, other times it seems to fail (showing a 
>> "?" for the page number, and/or not making the link "active" in the 
>> resultant PDF.  (The target id "ugr.tug.application" is present, and is 
>> referred to successfully from the TOC).
>>
>> There are no messages coming from FOP for this (associated with these 
>> pages).  And these same kinds of refs in other places in the source 
>> input seem to work just fine.  I haven't been able to see a pattern to 
>> the failure.
>>
>> I would appreciate any advice on how to work-around this issue.
>>
>> -Marshall Schor
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>>
>>
>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]