Page 1 of 1

Styling other docbook tags in the editor

Posted: Fri Jun 23, 2017 3:28 pm
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.

Re: Styling other docbook tags in the editor

Posted: Fri Jun 23, 2017 3:39 pm
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

Re: Styling other docbook tags in the editor

Posted: Fri Jun 23, 2017 7:40 pm
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.

Re: Styling other docbook tags in the editor

Posted: Sat Jun 24, 2017 3:29 am
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.

Re: Styling other docbook tags in the editor

Posted: Mon Jun 26, 2017 8:16 am
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