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] Images not getting output in all formats using Oxygen 14.0


Hi Paul,

Please see some answers below:

Html and Xhtml do not copy the images folder, so the image link is broken

Basically the standard Docbook HTML and XHTML transformations apply XSLT stylesheets on the Docbook XML files. The XSLT processing does not copy images or any other binary resource to a particular folder so you would have to do this yourself, or run an automated script which does this.

Pdf outputs the image far too large so it cannot fit on the page (the image is 800 pixels wide.

You are probably using Apache FOP, right?
Usually this is related to the DPI used by Apache FOP to render the images.
Actually there have been recent discussions on the DITA Users List about such issues also:

http://tech.dir.groups.yahoo.com/group/dita-users/message/28512

In the "OXYGEN_INSTALL_DIR\lib\fop-config.xml" you should try to increase the values for "source-resolution" and "target-resolution" and see if it helps. If that does not help, here is another suggestion I gave to someone having the same problem and who was using GIMP for editing PNG images:

What I did on my side was to edit with GIMP the image called "test.png"
and in the Image menu I chose "Scale Image", modified the X and Y resolutions to 110 and then chose "Scale" and saved the image.


WebHelp outputs the image just right.

The WebHelp output (either the one which comes with Docbook or the customized Oxygen WebHelp) executes an ANT transformation which besides applying the XSLT stylesheets on the XML files does additional operations like copying image folders to the output folder.

Regards,
Radu

Radu Coravu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 9/26/2012 6:56 PM, Paul Taylor wrote:
Hi, using Oxygen 14.0

I have a docbook file help.xml, and in the same folder a subfolder
called images with some images in it. I apply the Pdf, Html,
Xhtml-Chunks and WebHelp transormations, what Ive found is:

Html and Xhtml do not copy the images folder, so the image link is broken
Pdf outputs the image far too large so it cannot fit on the page (the
image is 800 pixels wide.
WebHelp outputs the image just right.

I then added width="300" to the imagedata element and reran the
transformations, now Pdf looks fine, but WebHelp is far too small.

1> So how do I get image sizes to look sensible in all formats ?
2> How do I get images copied over for html and xhtml formats ?

Paul

---------------------------------------------------------------------
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]