Image size of callouts and admonitions in docbook
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 2
- Joined: Tue May 22, 2007 8:59 am
Image size of callouts and admonitions in docbook
I want to use images in my docbook document. The images are shown, but too big and blurred.
I am using the images delivered with oxygen xml 8.2. So the original size of the callout is 12x12 px, but in the document its 24x24.
I like to know, which parameters i have to change to resize the pictures, respectively not to resize them.


MfG ThW
I am using the images delivered with oxygen xml 8.2. So the original size of the callout is 12x12 px, but in the document its 24x24.
I like to know, which parameters i have to change to resize the pictures, respectively not to resize them.


MfG ThW
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
You have to create a DocBook customization layer for the template which sets the content width of the image and apply it to your DocBook XML document:
You can change 18px with other number and size unit accepted for graphic sizes in XSL-FO.
Regards,
Sorin
You have to create a DocBook customization layer for the template which sets the content width of the image and apply it to your DocBook XML document:
Code: Select all
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="file:///C:/Program%20Files/Oxygen%20XML%20Editor%208.2/frameworks/docbook/xsl/fo/docbook.xsl"/>
<xsl:template match="*" mode="admon.graphic.width">
<xsl:param name="node" select="."/>
<xsl:text>18px</xsl:text>
</xsl:template>
</xsl:stylesheet>
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