Roman numeral in TOC pages
Here should go questions about transforming XML with XSLT and FOP.
Roman numeral in TOC pages
Hi,
Does anyone know how to get the page numbers of a TOC in a PDF file to be Roman style? I am making a PDF using the DITA-OT files in Oxygen 12.
In my bookmap, I have files at the <frontmatter><notices> level and also the <frontmatter><preface> level that have Roman page numbers, so I can't understand how they are Roman but the TOC is not. It does not seem to be a case of simply using the format="i" attribute in the page sequence, so if anyone can tell me what else I need to adjust, I would be very grateful.
Cheers,
John
Does anyone know how to get the page numbers of a TOC in a PDF file to be Roman style? I am making a PDF using the DITA-OT files in Oxygen 12.
In my bookmap, I have files at the <frontmatter><notices> level and also the <frontmatter><preface> level that have Roman page numbers, so I can't understand how they are Roman but the TOC is not. It does not seem to be a case of simply using the format="i" attribute in the page sequence, so if anyone can tell me what else I need to adjust, I would be very grateful.
Cheers,
John
Re: Roman numeral in TOC pages
Hi John,
So if you open the OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/xsl/fo/commons.xsl in Oxygen and look in the:
and
templates in each one you have an fo:page-sequence to which you can add the format="i" attribute.
Regards,
Radu
So if you open the OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/xsl/fo/commons.xsl in Oxygen and look in the:
Code: Select all
<xsl:template name="processTopicChapter">
Code: Select all
<xsl:template name="processTopicAppendix">
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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