Styling other docbook tags in the editor

Having trouble installing Oxygen? Got a bug to report? Post it all here.
jojobar
Posts: 27
Joined: Wed Nov 02, 2016 9:01 pm

Styling other docbook tags in the editor

Post by jojobar »

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: 9470
Joined: Fri Jul 09, 2004 5:18 pm

Re: Styling other docbook tags in the editor

Post by Radu »

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/custo ... iting.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: 27
Joined: Wed Nov 02, 2016 9:01 pm

Re: Styling other docbook tags in the editor

Post by jojobar »

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: 27
Joined: Wed Nov 02, 2016 9:01 pm

Re: Styling other docbook tags in the editor

Post by jojobar »

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: 9470
Joined: Fri Jul 09, 2004 5:18 pm

Re: Styling other docbook tags in the editor

Post by Radu »

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
Post Reply