Page 1 of 1

Need trademark to appear only on the first instance in each topic

Posted: Wed Apr 19, 2023 7:40 pm
by Seema
Hello,
We are using the trademarks setting to apply the trademark to our product name. We have a conref for the product name on which we have applied the trademark setting. Is there a setting which will allow us to display the trademark symbol only to the first occurrence of the product name in each topic in the documentation?
Thank you,
Seema

Re: Need trademark to appear only on the first instance in each topic

Posted: Wed Apr 19, 2023 9:16 pm
by Radu
Hi Seema,
To what output format are you publishing? What version of Oxygen are you using? Are you using the publishing engine bundled with Oxygen or an external DITA OT publishing engine?
Can you give me an example of how your DITA XML content looks like when you use the product with the trademark symbol?
Regards,
Radu

Re: Need trademark to appear only on the first instance in each topic

Posted: Fri Apr 21, 2023 12:40 pm
by AnnetteSo
Hi, we are currently publishing to pdf, but in future we'd also like to fix this for html. We're using <oXygen/> XML Author 25.0, build 2023013006. Currently we're using the publishing engine bundled with Oxygen to generate pdfs, but we'll likely switch to external DITA-OT builds in future.
This is how the tm looks in the DITA source:
image.png
Thank you.

Re: Need trademark to appear only on the first instance in each topic

Posted: Sat Apr 22, 2023 1:29 am
by Radu
Hi,

It seems that for the PDF output at least the trademark symbol is always output by default. Possibly a PDF XSLT customization could override a certain xsl:template to avoid outputting the trademark symbol for subsequent occurrences in the same topic but I do not have a clear solution for this:
https://github.com/dita-ot/dita-ot/issu ... 1518390915

Regards,
Radu

Re: Need trademark to appear only on the first instance in each topic

Posted: Mon Apr 24, 2023 11:53 am
by AnnetteSo
Thank you Radu, we will look into customizing our pdf transform further.