WebHelp: Issues with Figures
-
- Posts: 32
- Joined: Tue Dec 18, 2012 3:22 am
WebHelp: Issues with Figures
Hi Radu and Sorin,
We're having a number of issues with figures.
1. Lots of spacing above and below the figure.
2. For about 50% of the figures, the bottom border is missing or thinner. In one instance, the right border of the figure is thinner.
Where is figure spacing and framing defined in the XSLT?
Thanks!
We're having a number of issues with figures.
1. Lots of spacing above and below the figure.
2. For about 50% of the figures, the bottom border is missing or thinner. In one instance, the right border of the figure is thinner.
Where is figure spacing and framing defined in the XSLT?
Thanks!
-
- Posts: 32
- Joined: Tue Dec 18, 2012 3:22 am
Re: WebHelp: Issues with Figures
Actually, I realize now I may be using the image attributes incorrectly.
I thought width and depth were required attributes, and then you specified scale to shrink the image to fit.
Seems like the correct attribute combination (at least for our output now) is width, depth, and scalefit.
I thought width and depth were required attributes, and then you specified scale to shrink the image to fit.
Seems like the correct attribute combination (at least for our output now) is width, depth, and scalefit.
-
- Posts: 32
- Joined: Tue Dec 18, 2012 3:22 am
Re: WebHelp: Issues with Figures
The transforms handle the attributes differently.
Specifying width, depth, and scalefit="1" looks good in the WebHelp, but bad in the PDF. The image runs off the right side of the page in the PDF.
Specifying width, depth, scalefit="1" and scale="70" looks good in the PDF, but bad in the WebHelp. In the WebHelp, there's much spacing above and below the figure.
Is there some setting or setting I need to specify in either transform to get this working?
Thanks!
Specifying width, depth, and scalefit="1" looks good in the WebHelp, but bad in the PDF. The image runs off the right side of the page in the PDF.
Specifying width, depth, scalefit="1" and scale="70" looks good in the PDF, but bad in the WebHelp. In the WebHelp, there's much spacing above and below the figure.
Is there some setting or setting I need to specify in either transform to get this working?
Thanks!
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: WebHelp: Issues with Figures
Post by sorin_ristache »
Hi,
It is better to have the width and heigth set in the image file so that you should not need to add the width and height image attributes in the XML file. This will display the images with their correct size in the Webhelp output and also in the PDF output. For PDF the DPI setting of the image is also important and it is better to add the DPI setting in the image file instead of setting a scale attribute in the XML file (scale or scalefit). Please look at this topic in the User Manual.
Regards,
Sorin
It is better to have the width and heigth set in the image file so that you should not need to add the width and height image attributes in the XML file. This will display the images with their correct size in the Webhelp output and also in the PDF output. For PDF the DPI setting of the image is also important and it is better to add the DPI setting in the image file instead of setting a scale attribute in the XML file (scale or scalefit). Please look at this topic in the User Manual.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service