glossentry xrefs in PDF include page number

amyers3
Posts: 7
Joined: Sat Feb 16, 2019 8:43 pm

glossentry xrefs in PDF include page number

Post by amyers3 » Wed May 15, 2019 7:14 pm

Hi,

I want to remove the page number from my glossentry xrefs. I am using the Editor 21 PDF html/css transformation.

The *merged.html file has the following:

<a class="- topic/xref xref" href="#unique_9" type="glossentry">term</a>

The PDF has:

term (page 396)

I want the PDF to show:

term

Is there any easy way to do this with my custom css file?
Adam Myers
Technical Publications Manager
MATRIXX Software

Dan
Posts: 385
Joined: Mon Feb 03, 2003 10:56 am

Re: glossentry xrefs in PDF include page number

Post by Dan » Thu May 16, 2019 9:10 am

Hello Adam,

Please use:

Code: Select all

*[class ~= "topic/xref"][href]:after,
*[class ~= "topic/link"][href]:after {
    content: none !important;
}
The documentation about link styling is here https://www.oxygenxml.com/doc/ug-pdf-cs ... dcpp_links
In the current documentation the !important qualifier is missing.

Many regards,
Dan

Post Reply