List of Keys in @keyref attribute in Attributes panel: nice

Just noticed that if you click in the @keyref attribute in the Attributes panel it gives you a list of available keys. Very nice. It's exactly what it should do but I had never tried it and wouldn't have been surprised if it hadn't been there (at least in some other editor). I did it because there's no direct way that I found to create a key reference to a graphic from the tool bar (that is, there's no insert graphic key reference analogous to create content key reference or just create key reference). I now use keys for all graphic references so I can easily use conditional processing to choose between vector for PDF and raster for HTML. Cheers, E. -- Eliot Kimber Senior Solutions Architect, RSI Content Solutions "Bringing Strategy, Content, and Technology Together" Main: 512.554.9368 www.rsicms.com www.rsuitecms.com Book: DITA For Practitioners, from XML Press, http://xmlpress.net/publications/dita/practitioners-1/

Hi Eliot, Yes, also for DITA profiling attributes the Attributes view should propose values either from the referenced Subject Scheme map or defined in the Oxygen Preferences->"Editor / Edit modes / Author / Profiling/Conditional Text" page. This feature is also available in the Attributes view from the Text page. But it is possible to insert an image keyref directly from the toolbar. Just use the "Key Reference" action from the "Link" drop-down toolbar button. The dialog can state the element name which should be inserted, please see the attached screenshot. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 5/2/2012 4:47 PM, Eliot Kimber wrote:
Just noticed that if you click in the @keyref attribute in the Attributes panel it gives you a list of available keys. Very nice. It's exactly what it should do but I had never tried it and wouldn't have been surprised if it hadn't been there (at least in some other editor).
I did it because there's no direct way that I found to create a key reference to a graphic from the tool bar (that is, there's no insert graphic key reference analogous to create content key reference or just create key reference).
I now use keys for all graphic references so I can easily use conditional processing to choose between vector for PDF and raster for HTML.
Cheers,
E.
participants (2)
-
Eliot Kimber
-
Radu Coravu