<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        font-size:10.0pt;
        font-family:"Courier New";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:"Consolas",serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi Sorin,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">cool trick. Would it be possible to hide the keyref label AND display it when you hover over the PNG?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Greetings,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Franz-Josef<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>

<P style="FONT-SIZE: 10pt; FONT-FAMILY: ARIAL"><BR></P>
<DIV style="FONT-SIZE: 1px; BACKGROUND: #d9d9d9; LINE-HEIGHT: 1px"> </DIV>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: ARIAL"><B><FONT color=#006600 size=3 
face=Arial>AKG Software</FONT> <FONT color=#727272><SPAN 
style="FONT-SIZE: 12pt">Consulting GmbH</SPAN></FONT><BR><FONT color=#000000 
size=3 face=Arial> Franz-Josef Knelangen</FONT></B><BR><B><FONT color=#7f7f7f 
size=2 face=Arial></FONT></B><BR><BR><FONT color=#7f7f7f size=2 
face=Arial>Uhlandstra&#xDF;e 12<BR>79423 Heitersheim<BR>Germany</FONT><BR><BR><FONT 
color=#7f7f7f size=2 face=Arial>Tel.: +49 (0)7634 5612-611<BR>Fax: +49 (0)7634 5612-300<BR>E-Mail: 
<U>fjk@akgsoftware.de</U> <BR>Internet: <A 
href="http://www.akgsoftware.de">www.akgsoftware.de</A></FONT><BR><BR><FONT 
color=#7f7f7f size=2 face=Arial>Gesch&#xE4;ftsf&#xFC;hrer: Dipl.-Ing. Artur K. G&#xFC;nther, 
Dipl.-Ing. Arno Br&#xFC;ggemann, Dipl.-Ing. (FH) Bernhard Feser, Dipl.-Ing. Jens 
G&#xFC;nther <BR>Sitz der Gesellschaft: Heitersheim, HRB 310383 (Amtsgericht 
Freiburg)</FONT><BR><BR></P><div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> oXygen-user <oxygen-user-bounces@oxygenxml.com> <b>
Im Auftrag von </b>oXygen XML support<br>
<b>Gesendet:</b> Mittwoch, 12. August 2020 10:44<br>
<b>An:</b> oxygen-user@oxygenxml.com<br>
<b>Betreff:</b> Re: [oXygen-user] Hiding keyref text in xrefs (in Author mode)<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="mso-line-height-alt:.75pt;background:#D9D9D9"><span style="font-size:1.0pt;color:black"> </span><span style="font-size:1.0pt"><o:p></o:p></span></p>
</div>
<p><span style="color:red">Externe E-Mail: Vorsicht beim Öffnen von Anhängen und Klicken auf Links!</span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-line-height-alt:.75pt;background:#D9D9D9"><span style="font-size:1.0pt;color:black"> </span><span style="font-size:1.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello Yves,<br>
<br>
This comes from <tt><span style="font-size:10.0pt">frameworks\dita\css\core\-conrefs.css</span></tt><span style="font-size:13.5pt">,
</span>where we have the following rule:<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><tt><span style="font-size:10.0pt">@media oxygen{</span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
<tt>  *[keyref]:before,</tt></span><span style="font-size:13.5pt"><br>
</span><tt><span style="font-size:10.0pt">  *[keyref][href]:before{</span></tt><span style="font-size:13.5pt"><br>
</span><tt><span style="font-size:10.0pt">      link: oxy_concat("", attr(keyref, keyref));</span></tt><span style="font-size:13.5pt"><br>
</span><tt><span style="font-size:10.0pt">      content: url("../../img/link_keyref.png")
<b><span style="color:blue">"[" attr(keyref) "]"</span></b>;</span></tt><span style="font-size:13.5pt"><br>
</span><tt><span style="font-size:10.0pt">      text-decoration: none;</span></tt><span style="font-size:13.5pt"><br>
</span><tt><span style="font-size:10.0pt">  }</span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
<tt>  ...</tt><br>
<tt>}</tt></span><o:p></o:p></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt">The elegant way of dealing with this would be to create an alternate CSS (<a href="https://www.oxygenxml.com/doc/versions/22.0/ug-editor/glossary/alternate-css-style.html">https://www.oxygenxml.com/doc/versions/22.0/ug-editor/glossary/alternate-css-style.html</a>)
 that contains only this rule, but without the blue text (<tt><span style="font-size:13.5pt">"[" attr(keyref) "]"</span></tt>), 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.<br>
<br>
You could, of course, remove the blue text directly from  <tt><span style="font-size:10.0pt">-conrefs.css</span></tt><span style="font-size:13.5pt">,
</span>but then it would not be that easy to render the key name again. You would have to write the blue text again...<br>
<br>
All the best wishes,<br>
Sorin Carbunaru<br>
Oxygen XML Editor<o:p></o:p></p>
<div>
<p class="MsoNormal">On 8/11/2020 3:00 PM, Yves Barbion wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif">Hi group<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif">When I insert a xref to a DITA topic with a key, I see the following in Author mode:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif"><p><xref>[keyref_text]My cross-reference display text</xref></p><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif">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?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif">Thanks<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif">Yves<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>oXygen-user mailing list<o:p></o:p></pre>
<pre><a href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a><o:p></o:p></pre>
<pre><a href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>