Named pages for Appendix and Glossary
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 23
- Joined: Thu Feb 28, 2019 2:19 pm
Named pages for Appendix and Glossary
Hi!
Please let me know, is it possible to use named pages for Appendix and Glossary?
I’ve made the following sequence in my ditamap:
<appendices>
<appendix>
<topicref href="concept/c_nn_system_messages.dita"/>
</appendix>
</appendices>
<backmatter>
<booklists>
<glossarylist href="concept/g_nn_glossgroup.dita"/>
<indexlist/>
</booklists>
and I want all of them to start with odd page, have the blank page before (if previous has ended on odd), and have the empty header on first page.
I tried to use @page matter-page, but it affects Appendix only.
Index has its own named page, so I am able to clean header and start with odd page, but previous page (the last from Glossary) is odd now.
Thanks,
Dmitry
Please let me know, is it possible to use named pages for Appendix and Glossary?
I’ve made the following sequence in my ditamap:
<appendices>
<appendix>
<topicref href="concept/c_nn_system_messages.dita"/>
</appendix>
</appendices>
<backmatter>
<booklists>
<glossarylist href="concept/g_nn_glossgroup.dita"/>
<indexlist/>
</booklists>
and I want all of them to start with odd page, have the blank page before (if previous has ended on odd), and have the empty header on first page.
I tried to use @page matter-page, but it affects Appendix only.
Index has its own named page, so I am able to clean header and start with odd page, but previous page (the last from Glossary) is odd now.
Thanks,
Dmitry
-
- Posts: 23
- Joined: Thu Feb 28, 2019 2:19 pm
Re: Named pages for Appendix and Glossary
I use oXygen PDF Chemistry CSS processor.
But situation has changed.
I removed <appendices></appendices> around <appendix href="concept/c_nn_system_messages.dita"/> and Glossary behaves good now. But Appendix looks like just one more chapter - it got the number next to the previous one. For both title and TOC.
<chapter href="concept/c_nn_emergency.dita"/> (Chapter No.5)
<chapter href="concept/c_nn_learning_advice.dita"/> (Chapter No.6)
<appendix href="concept/c_nn_system_messages.dita"/> ( No.7)
Is it correct?
Sincerely,
Dmitry
But situation has changed.
I removed <appendices></appendices> around <appendix href="concept/c_nn_system_messages.dita"/> and Glossary behaves good now. But Appendix looks like just one more chapter - it got the number next to the previous one. For both title and TOC.
<chapter href="concept/c_nn_emergency.dita"/> (Chapter No.5)
<chapter href="concept/c_nn_learning_advice.dita"/> (Chapter No.6)
<appendix href="concept/c_nn_system_messages.dita"/> ( No.7)
Is it correct?
Sincerely,
Dmitry
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
Re: Named pages for Appendix and Glossary
Make sure you set a navtitle on your appendix in the DITA map:
Many regards,
Dan
Code: Select all
<appendix navtitle="The appendix title that shows in the TOC and content.">
<topicref href="first.dita"/>
<topicref href="second.dita"/>
<topicref href="third.dita"/>
</appendix>
Dan
-
- Posts: 23
- Joined: Thu Feb 28, 2019 2:19 pm
Re: Named pages for Appendix and Glossary
Done. This navtitle has a prefix, like a chapter (number 7).
I tried to use code from ..\dita\css\print\p-numbering-shallow.css:
Doesn't help.
Regards,
Dmitry
Code: Select all
<chapter href="concept/c_nn_emergency.dita"/>
<chapter href="concept/c_nn_learning_advice.dita"/>
<appendix navtitle="Appendix">
<topicref outputclass="no_page_break_before" href="concept/c_nn_system_messages.dita"/>
</appendix>
Code: Select all
*[class ~= "map/topicref"][is-part] ~ *[class ~= "map/topicref"]:not([is-part]) > *[class ~= "map/topicmeta"] > *[class ~= "topic/navtitle"]:before{
content: none !important;
counter-increment:none;
}
Regards,
Dmitry
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