Hiding section numbers in Author view for DocBook files
Oxygen general issues.
-
- Posts: 1
- Joined: Wed Sep 03, 2014 5:19 pm
Hiding section numbers in Author view for DocBook files
I'm looking into using oXygen to edit DocBook source files, and am experimenting with the trial version of XML Editor. I'm also learning DocBook, so am not an expert.
One thing that is very frustrating is that I cannot seem to hide the section numbers (Section 1.1, Section 1.1.1, etc.) in front of the section titles.
I know that in the XSL you can turn off the numbering for purposes of generating output, but is there a way to get rid of the numbers when editing?
They are pretty much useless and get in the way of seeing the actual heading text.
One thing that is very frustrating is that I cannot seem to hide the section numbers (Section 1.1, Section 1.1.1, etc.) in front of the section titles.
I know that in the XSL you can turn off the numbering for purposes of generating output, but is there a way to get rid of the numbers when editing?
They are pretty much useless and get in the way of seeing the actual heading text.
-
- Posts: 9498
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Hiding section numbers in Author view for DocBook files
Hi,
Oxygen uses CSS to render XML in the Author visual editing mode.
The main CSS used for Docbook rendering is this one:
OXYGEN_INSTALL_DIR\frameworks\docbook\css\docbook.css
In it you can search for all occurrences of content: "Section " and you'll see it uses counters like:
which you can replace for example with:
Regards,
Radu
Oxygen uses CSS to render XML in the Author visual editing mode.
The main CSS used for Docbook rendering is this one:
OXYGEN_INSTALL_DIR\frameworks\docbook\css\docbook.css
In it you can search for all occurrences of content: "Section " and you'll see it uses counters like:
Code: Select all
content: "Section " counter(sect1_count, decimal) "." counter(sect2_count, decimal) "." counter(sect3_count, decimal) ": ";
Code: Select all
content: "Section : ";
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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