Author Mode - Numbering of XIncluded documents reset
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 107
- Joined: Mon Jul 30, 2007 11:31 pm
- Location: College Park, MD, United States
Author Mode - Numbering of XIncluded documents reset
The Context
I'm editing a DocBook “Book” element. It contains Parts, lots of Chapters, and lots of Sections. Therefore, I have used plenty of XIncludes to manage all the content better.
The Problem
However, when I go to an included file in Author mode, the numbering for the Chapter/Section/whatever is reset. So I might be editing Chapter 24, but it is labelled as Chapter 1.
The Question
This is actually more than an inconvenience, because I'm referring to a hardcopy of the book and it completely throws off my place when the numbering is reset. I did look around the help files and searched these forums for a solution, but I didn't find much for this specific problem. (A couple of “close-but-no-cigar” results.)
Am I missing something? Is there an oXygen processing instruction to fix this? (Or anything else, for that matter?)
I'm editing a DocBook “Book” element. It contains Parts, lots of Chapters, and lots of Sections. Therefore, I have used plenty of XIncludes to manage all the content better.
The Problem
However, when I go to an included file in Author mode, the numbering for the Chapter/Section/whatever is reset. So I might be editing Chapter 24, but it is labelled as Chapter 1.
The Question
This is actually more than an inconvenience, because I'm referring to a hardcopy of the book and it completely throws off my place when the numbering is reset. I did look around the help files and searched these forums for a solution, but I didn't find much for this specific problem. (A couple of “close-but-no-cigar” results.)
Am I missing something? Is there an oXygen processing instruction to fix this? (Or anything else, for that matter?)
-- Zearin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Author Mode - Numbering of XIncluded documents reset
Post by sorin_ristache »
Hello,
In the current version (11.0) you can avoid re-numbering the included part when it is opened as a separate file by disabling the chapter numbers in the default DocBook CSS stylesheet, that is ${frameworks}/docbook/css/docbook.css. Please remove all occurences of counter(chapter_count) from that CSS stylesheet.
Other option could be editing the XIncluded part in place in the context of the containing document but that is not implemented yet in Author mode.
Regards,
Sorin
In the current version (11.0) you can avoid re-numbering the included part when it is opened as a separate file by disabling the chapter numbers in the default DocBook CSS stylesheet, that is ${frameworks}/docbook/css/docbook.css. Please remove all occurences of counter(chapter_count) from that CSS stylesheet.
Other option could be editing the XIncluded part in place in the context of the containing document but that is not implemented yet in Author mode.
Regards,
Sorin
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