Hello,
I've extended XXE's docbook sylesheet
.../addon/config/docbook/css/inline.imp to allow for <emphasis
role='red'>...</emphasis> in the editor view:
emphasis[role=red] {
color: red;
font-family: monospace;
font-style: normal;
}
This works as expected with respect to displaying text in red. However
XXE still uses a proportional rather than a fixed font ignoring
»font-family: monospace«. The latter is required for using <emphasis
...> elements inside <programlisting> and not cluttering the editor's
view. Adding »!important« does not help either.
I also tried adding »font-family: monospace !important« to all other
existing css emphasis definitions in inline.imp to no avail.
Martin
--
Martin Goik Tel. +49-711-8923-2164 http://www.HdM-Stuttgart.de/~goik
GnuPG public key: https://www.hdm-stuttgart.de/~goik/goik.asc
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support