Global CSS file for DocBook project without editing the head
-
- Posts: 13
- Joined: Mon Jul 29, 2013 6:14 pm
Global CSS file for DocBook project without editing the head
Hi,
it is possible to apply a CSS for the author mode without editing the header of the XML files?
Snippet from the personal.xml example
I am not allowed to add my custom styles to the XML files.
Thanks!
cube
it is possible to apply a CSS for the author mode without editing the header of the XML files?
Snippet from the personal.xml example
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE personnel PUBLIC "PERSONNEL" "personal.dtd">
<?xml-stylesheet type="text/css" href="personal.css"?>
<personnel/

Thanks!
cube
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Global CSS file for DocBook project without editing the
Hi,
In the Oxygen Preferences->"Document Type Association" page you can edit the Docbook (4 or 5) document type association. In the "Document Type Edit" dialog you go to the Author tab which has a CSS tab. That tab links to the default CSS used for Docbook editing located in:
OXYGEN_INSTALL_DIR/frameworks/docbook/css/docbook.css
You could either edit that CSS and add in it an import to your custom CSS or add in your custom CSS an import to the main "docbook.css" and refer to your custom CSS in the document type CSS list.
Regards,
Radu
In the Oxygen Preferences->"Document Type Association" page you can edit the Docbook (4 or 5) document type association. In the "Document Type Edit" dialog you go to the Author tab which has a CSS tab. That tab links to the default CSS used for Docbook editing located in:
OXYGEN_INSTALL_DIR/frameworks/docbook/css/docbook.css
You could either edit that CSS and add in it an import to your custom CSS or add in your custom CSS an import to the main "docbook.css" and refer to your custom CSS in the document type CSS list.
Regards,
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)
- ↳ 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