AntennaHouse / pdf5-ml

Antenna House PDF5-ML DITA-OT Plug-in
23 stars 9 forks source link

Page number #100

Closed tmaeda3 closed 5 years ago

tmaeda3 commented 5 years ago

I would like to put page numbers as follows. page number "1" : cover page ("1" is not displayed.) page number "2" : table of content page number "3"~ : contents

Could you please teach me the way to customize?

My using plug-in specific parameters are add.numbering.title.prefix=yes output.type=web.

ToshihikoMakita commented 5 years ago

You can control the page number by the following steps:

By doing above, you will get the desired result.

tmaeda3 commented 5 years ago

Page number was changed as I expected, however TOC page is still Roman numeric style. How do I customize?

ToshihikoMakita commented 5 years ago

Override the following style and change "format" attribute value from "i" to "1".

        <!-- page sequence -->
        <attribute-set name="atsPageSeqFrontmatter" use-attribute-sets="atsPageSeqBase">
            <attribute name="master-reference">pmsPageSeqFrontmatter</attribute>
            <attribute name="format">i</attribute>
        </attribute-set>
tmaeda3 commented 5 years ago

Thank you. I close this question.