Paul Moloney wrote:
> 1. When I use entity declaration to include other files in a DocBook
> file, the resulting
> text is shown with a grey background. However, does anyone know how I
> can easily see
> the filename/path of the included doc?

2 ways to do that:

* Move you mouse above the "Edit Referenced Document" icon which is
found at the left of the node path bar and wait for the tooltip to appear.

* OR/AND choose CSS style sheet called "Visible Inclusions and
Locations" from the View menu.



> 2. I intend to use profiling (conditional text) a lot in DocBook. This
> usually consists of setting
> an attribute for a particular element (say, <para vendor="customer1">).
> Is it somehow possibly to show
> elements with a particular attribute in a different color? This would
> make it easy for a writer/editor to tell
> conditional text from normal text.

Customize the DocBook CSS style sheet to highlight such elements. See
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/custom_css.html.

Example of custom CSS rule:

---
*[vendor] {
    background-color: rgb(224,192,192);
}
---

Reply via email to