I just tested this and I can confirm that the 1.78.1 stylesheet works
outside of Oxygen, using Saxon and FOP 1.1. I also tested the same
stylesheet customization inside Oxygen 15.0, and that PDF did not work. So
I tried changing the Oxygen Transformation to save the .fo file instead of
generating the .pdf. When I ran that .fo file through fop 1.1 outside of
Oxygen, then it worked. That suggests Oxygen is running the transformation
correctly, but something is going wrong in the application of fop 1.1
within Oxygen.
Regarding the attribute-set confusion, I cannot duplicate that. I get
olink.properties to work, and the .fo file shows the show-destination="new"
in the .fo file using Oxygen's transformation.
The transformation I used calls my customization layer, which imports a copy
of DocBook XSL 1.78.1 from outside the Oxygen distribution. Are you just
modifying the Oxygen DocBook transformation, or do you have your own
customization layer?
Bob
--------------------------------------------------
From: "Peter Desjardins" <[email protected]>
Sent: Friday, July 26, 2013 10:03 AM
To: "Bergfrid Skaara" <[email protected]>
Cc: "DocBook Apps" <[email protected]>
Subject: Re: [docbook-apps] olinking between PDFs - open target in new
window
What viewer are you using to view the PDFs and follow the link?
I'm using docbook-xsl-ns-1.78.0. If I add the olink.properties
customization (shown on the page you mention) to my customization
layer, following a link from one PDF to another will open a new Adobe
Reader window.
Possible regression from 1.78.0 to 1.78.1? Or something to do with the
viewing software? I'm using Adobe Reader 11.0.3.
Also, I'm using FOP 1.0
Peter
On Fri, Jul 26, 2013 at 5:16 AM, Bergfrid Skaara
<[email protected]> wrote:
Hi, I am trying to set up olinks between PDFs using stylesheet version
1.78.1 with our company customization layer, working with tool bundle of
oXygen 15.0 (Saxon, FOP, etc).
The olink points to the xml:id of a chapter. Clicking the link correctly
opens the target PDF and scrolls to the correct chapter. However, it does
not open the target in a new window despite adding show-destination="new"
to
olink.properties as described in
http://sagehill.net/docbookxsl/OlinkPrintOutput.html#OlinkNewWindow.
It looks like attribute set xref.properties is used in this case rather
than
olink.properties, changes to olink.properties has no effect on the output
link. I tested it by changing the color attribute in the sets, and the
links in the generated PDF are the color specified within the xref set
and
not the olink set.
Any idea why olink.properties is ignored, or even better, what I have to
do
/ look for in order to implement "open target in new window"?
Best regards
Bergfrid Skaara
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]