Great! Thank you, Sorbin.

Kind regards

Yves

On Wed, 12 Aug 2020 at 10:51, oXygen XML support <[email protected]>
wrote:

> Hello Yves,
>
> This comes from frameworks\dita\css\core\-conrefs.css, where we have the
> following rule:
>
> @media oxygen{
>   *[keyref]:before,
>   *[keyref][href]:before{
>       link: oxy_concat("", attr(keyref, keyref));
>       content: url("../../img/link_keyref.png") *"[" attr(keyref) "]"*;
>       text-decoration: none;
>   }
>   ...
> }
>
> The elegant way of dealing with this would be to create an alternate CSS (
> https://www.oxygenxml.com/doc/versions/22.0/ug-editor/glossary/alternate-css-style.html)
> that contains only this rule, but without the blue text ("[" attr(keyref)
> "]"), and then activate this CSS from the Styles dropdown that is found
> in the toolbar area when opening a file in the Author mode. If you want to
> get that key name back, you need to deactivate this alternate CSS. You
> should find enough information about this in the userguide.
>
> You could, of course, remove the blue text directly from  -conrefs.css, but
> then it would not be that easy to render the key name again. You would have
> to write the blue text again...
>
> All the best wishes,
> Sorin Carbunaru
> Oxygen XML Editor
>
> On 8/11/2020 3:00 PM, Yves Barbion wrote:
>
> Hi group
>
> When I insert a xref to a DITA topic with a key, I see the following in
> Author mode:
>
> <p><xref>[keyref_text]My cross-reference display text</xref></p>
>
> The keyref_text makes it a bit difficult to read my cross-reference
> display text, so I would like to hide it when I'm working in Author mode.
> Is there a way to do this?
>
> Thanks
>
> Yves
>
> _______________________________________________
> oXygen-user mailing 
> [email protected]https://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
>
> _______________________________________________
> oXygen-user mailing list
> [email protected]
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
_______________________________________________
oXygen-user mailing list
[email protected]
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to