Hide indexterm in author view?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
eskwayrd
Posts: 9
Joined: Thu Jan 31, 2013 1:08 am

Hide indexterm in author view?

Post 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?
alex_jitianu
Posts: 1016
Joined: Wed Nov 16, 2005 11:11 am

Re: Hide indexterm in author view?

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