Generate chapter minitoc
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 156
- Joined: Sat Feb 26, 2005 12:09 am
- Location: USA
- Contact:
Generate chapter minitoc
Post by shudson310 »
Does Chemistry support the minitoc like the standard PDF OT transform? If so, how do we enable it?
Scott Hudson
Staff Content Engineer
Site: docs.servicenow.com
Staff Content Engineer
Site: docs.servicenow.com
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Generate chapter minitoc
Hi,
This is not possible in the current implementation of Chemistry.
However, we already have an improvement request logged in our internal improvements tracking system, so our developers will try to implement this functionality in a future release.
We will notify this thread as soon as this will get implemented.
Regards,
Costin
This is not possible in the current implementation of Chemistry.
However, we already have an improvement request logged in our internal improvements tracking system, so our developers will try to implement this functionality in a future release.
We will notify this thread as soon as this will get implemented.
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Generate chapter minitoc
Hello,
I just wanted to update this thread as the minitoc feature was implemented in the latest internal nightly build and will be included in the next official release of the Chemistry engine / next version of oXygen.
Kind Regards,
Costin
I just wanted to update this thread as the minitoc feature was implemented in the latest internal nightly build and will be included in the next official release of the Chemistry engine / next version of oXygen.
Kind Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 156
- Joined: Sat Feb 26, 2005 12:09 am
- Location: USA
- Contact:
Re: Generate chapter minitoc
Post by shudson310 »
Is there a way to generate the page numbers in the minitoc, as is done in xsl:fo? For printed output, it is imperative that we provide the page numbers with the chapter minitoc.
Scott Hudson
Staff Content Engineer
Site: docs.servicenow.com
Staff Content Engineer
Site: docs.servicenow.com
-
- Posts: 667
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Generate chapter minitoc
Post by julien_lacour »
Hello Scott,
You can find all the information inside this topic: Table of Contents for Chapters (Mini TOC).
If content is missing there, you can ask for more details. If necessary we will update the content.
Regards,
Julien
You can find all the information inside this topic: Table of Contents for Chapters (Mini TOC).
If content is missing there, you can ask for more details. If necessary we will update the content.
Regards,
Julien
-
- Posts: 156
- Joined: Sat Feb 26, 2005 12:09 am
- Location: USA
- Contact:
Re: Generate chapter minitoc
Post by shudson310 »
I don't see any information in the documentation for adding page numbers to the minitoc? This would be similar to how the main TOC displays page numbers and leaders.
Scott Hudson
Staff Content Engineer
Site: docs.servicenow.com
Staff Content Engineer
Site: docs.servicenow.com
-
- Posts: 156
- Joined: Sat Feb 26, 2005 12:09 am
- Location: USA
- Contact:
Re: Generate chapter minitoc
Post by shudson310 »
I tried adding a style like:
Doesn't seem to work. Suggestions?
Code: Select all
/* The dotted line between the topic name and the page number. */
*[class~="chapter/minitoc-links"] *[class~="topic/link"]:after {
content: leader('-') target-counter(attr(href), page) !important;
color: navy;
}
Scott Hudson
Staff Content Engineer
Site: docs.servicenow.com
Staff Content Engineer
Site: docs.servicenow.com
-
- Posts: 156
- Joined: Sat Feb 26, 2005 12:09 am
- Location: USA
- Contact:
Re: Generate chapter minitoc
Post by shudson310 »
I figured it out:
Just had to look at that merged-html a little more closely!
Code: Select all
/* The dotted line between the topic name and the page number. */
*[class~="chapter/minitoc-links"] *[class~="topic/link"] a:after {
content: leader('.') target-counter(attr(href), page) !important;
}
Scott Hudson
Staff Content Engineer
Site: docs.servicenow.com
Staff Content Engineer
Site: docs.servicenow.com
-
- Posts: 667
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Generate chapter minitoc
Post by julien_lacour »
Hello,
As you surely noticed, your example did not work because of this selector:
But it works by moving the selector on the <a> element like you did.
Regards,
Julien
As you surely noticed, your example did not work because of this selector:
Code: Select all
*[class~="chapter/minitoc-links"] *[class~="topic/link"]:after {
display:none;
}
Regards,
Julien
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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