AntennaHouse / pdf5-ml

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

Minitoc #239

Open Shailendra1512 opened 1 year ago

Shailendra1512 commented 1 year ago

I want to add minitoc on a new page where chapter start. But i did not see any option.

Shailendra1512 commented 1 year ago

If we want different header for (notices and preface) child of frontmatter, how can we do it.

ToshihikoMakita commented 1 year ago

"minitoc" is the function implemented in PDF2. If you want to implement it, probably you need to port PDF2 code into PDF5-ML. But I'm not sure because there are no requests from user to implement "minitoc" in PDF5-ML. Most user requests are to add chapter level toc pages at the start of chapter.

ToshihikoMakita commented 1 year ago

If you want to have different header for notices and preface, you need to generate fo:page-sequence (Or psmi:page-sequence) . But notices or preface can exist in frontmatter by random sequence. As a result psmi:page-sequence will be prefeered. For the architecture of PSMI, see following link: https://cranesoftwrights.github.io/resources/psmi/index.htm

ToshihikoMakita commented 1 year ago

For your reference, PDF5-ML generates fo:page-sequence for frontmatter and also generates psmi:page-sequence for toc. They are processed in the final XSLT step that use psmi.xsl.

Shailendra1512 commented 1 year ago

Thanks Toshihiko Makita,

Thanks for the quick response, I will try the above points suggested by you.

Thanks & Regards Shailendra Rana

On Thu, Mar 9, 2023 at 2:44 PM Toshihiko Makita @.***> wrote:

For your reference, PDF5-ML generates fo:page-sequence for frontmatter and also generates psmi:page-sequence for toc. They are processed in the final XSLT step that use psmi.xsl.

— Reply to this email directly, view it on GitHub https://github.com/AntennaHouse/pdf5-ml/issues/239#issuecomment-1461625510, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4OF3B32C34GSSKZTG2KZH3W3GNPJANCNFSM6AAAAAAVUX6MBQ . You are receiving this because you authored the thread.Message ID: @.***>

-- Thanks & Regards Shailendra Rana +91-8285786396