Table Widths PDF Output
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 12
- Joined: Fri Nov 01, 2013 8:53 pm
Table Widths PDF Output
I'm running Oxygen 15, and I'm testing CALS table widths. Why does it always print table block to margin tables regardless of proportional or dynamic? If I change pgwide to 1, it print margin to margin. Do you have to do stylesheet work to actually make the tables be dynamic (width relative to string in table?)
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Table Widths PDF Output
Post by sorin_ristache »
Hello,
table/@pgwide = 1 means margin to margin (page width). If you want dynamic width you should use table/@pgwide = 0. For example in the DITA XHTML transformation you just omit the pgwide attribute altogether to get dynamic column width, but it does not work in PDF output, so yes, some XSLT stylesheet work needs to be done. The stylesheets for PDF output are located in:
I think you can start with the template:
from file:
Regards,
Sorin
table/@pgwide = 1 means margin to margin (page width). If you want dynamic width you should use table/@pgwide = 0. For example in the DITA XHTML transformation you just omit the pgwide attribute altogether to get dynamic column width, but it does not work in PDF output, so yes, some XSLT stylesheet work needs to be done. The stylesheets for PDF output are located in:
Code: Select all
[Oxygen-install-dir]\frameworks\dita\DITA-OT\plugins\org.dita.pdf2\xsl
Code: Select all
<xsl:template name="processCharAlignment">
Code: Select all
[Oxygen-install-dir]\frameworks\dita\DITA-OT\plugins\org.dita.pdf2\xsl\fo\tables.xsl
Regards,
Sorin
Return to “DITA (Editing and Publishing DITA Content)”
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