Cross reference style

Post here questions and problems related to editing and publishing DITA content.
sure4369
Posts: 6
Joined: Tue Dec 13, 2022 2:25 pm

Cross reference style

Post by sure4369 »

Where to modify this pattern (on page 7) of cross-reference:
Chapter 1 (on page 7)
By default, the target value comes under brackets in italics font.
I just want this text to be in a normal font and without bracket, like this Chapter 1 on page 7. "on page" required in normal font.



Thanks...
chrispitude
Posts: 922
Joined: Thu May 02, 2019 2:32 pm

Re: Cross reference style

Post by chrispitude »

Hi sure4369,

I think you want to set the args.css.param.show-onpage-lbl transformation parameter to no. For more information, see the following page:

DITA-OT CSS Publishing to PDF Plugin > DITA-OT CSS Publishing to PDF Plugin > Overview > Transformation Parameters
julien_lacour
Posts: 666
Joined: Wed Oct 16, 2019 3:47 pm

Re: Cross reference style

Post by julien_lacour »

Hello,

You can take a look to the How to Change Link Styles topic from our user-guide. It should help you customizing the text displayed after cross references.
Also if you're not at ease with CSS, you can debug it in your favorite browser.

Regards,
Julien
Post Reply