Styling other docbook tags in the editor

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
jojobar
Posts: 13

Styling other docbook tags in the editor

Fri Jun 23, 2017 3:28 pm

I have started using the docbook editor in a project. I was wondering if it is possible to do WYSIWYG styling for other docbook tags for example command, guibutton etc. so that when we edit the document we get feedback on the tags.
Radu
Posts: 5212

Re: Styling other docbook tags in the editor

Fri Jun 23, 2017 3:39 pm

Hi,

The Oxygen Author visual editing mode is CSS based. So for example if you insert a "guibutton" and right click inside it, you can choose Inspect Styles and the CSS Inspector should show you precisely in what CSSs you have CSS styles defined for the element.
If you want to share your changes with others you can have a custom CSS and instruct Oxygen to use it for editing Docbook documents. We have an article for doing this with DITA:

http://blog.oxygenxml.com/2016/10/customizing-dita-visual-editing.html

Also if you have ideas about how we could style by default certain Docbook elements, we could consider changing the CSSs we have for Docbook editing in a future version to incorporate your ideas.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
jojobar
Posts: 13

Re: Styling other docbook tags in the editor

Fri Jun 23, 2017 7:40 pm

This is nice. I do not want to change the css file supplied by the editor because changes might be lost if I upgrade the software. Let me create the stylesheet for my document as a separate file and then I will send it to you for your consideration.

Keep up the good work.
jojobar
Posts: 13

Re: Styling other docbook tags in the editor

Sat Jun 24, 2017 3:29 am



Not sure why but after I applied a new style (only one rule) the initial document loading time has become about 3 times slower.
Radu
Posts: 5212

Re: Styling other docbook tags in the editor

Mon Jun 26, 2017 8:16 am

Hi,

I'm not sure, if you want you can send the custom CSS (maybe also the framework extension you created for it) to support@oxygenxml.com and I could try to take a look at it.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “Common Problems”

Who is online

Users browsing this forum: Google [Bot] and 3 guests