Page 1 of 1

Hide indexterm in author view?

Posted: Thu Dec 11, 2014 8:02 pm
by eskwayrd
Hi,

While in author view, and editing DocBook documents, setting the tag filtering to "No Tags" does not hide <indexterm> tags. This occurs in 15.1 and 16.1.

Is there a way to hide <indexterm> tags so that they don't interfere with editing the main content?

Re: Hide indexterm in author view?

Posted: Fri Dec 12, 2014 10:51 am
by alex_jitianu
Hello,

I believe you are referring to the static content that is presented before/after an indexterm element. This content is added in the CSS so all you have to do is edit ${oxygenInstallDir}/frameworks/docbook/css/docbook.css and remove the following two rules:

Code: Select all

indexterm:before {
content: "Indexterm{ ";
color: gray;
background-color:inherit;
}

indexterm:after {
content: "} ";
color: gray;
background-color:inherit;
}
Best regards,
Alex