[oXygen-user] Inserting images via keyref - dialog requires Subtopic ID?

Oxygen XML Editor Support (Radu Coravu) support at oxygenxml.com
Wed May 14 05:48:45 CDT 2014


Hi Ed,

One more way to insert the image with keyref would be to drag the image 
topicref from the DITA Maps Manager and drop it in the DITA topic opened 
in the Author visual editing mode. Oxygen will detect you already have a 
key defined for that reference and will automatically insert an image 
with @keyref.

More Oxygen tips and tricks:

http://blog.oxygenxml.com/2014/05/oxygen-authoring-tips-and-tricks.html

Regards,
Radu

Radu Coravu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 5/14/2014 11:50 AM, Oxygen XML Editor Support (Radu Coravu) wrote:
> Hi Ed,
>
> The "Insert a DITA Content Key Reference" action is used to insert a
> content key reference (the @conkeyref attribute).
> What you actually need is to insert a simple <image> with a @keyref
> attribute.
>
> Basically if in the DITA Map you add a reference to an image:
>
>> <topicref href="images/Gerbera.jpg" format="jpg" keys="gerbera"/>
>
> Then in a DITA topic you can use the "Key Reference" action (available
> on the toolbar on a link drop down button) to insert an image with a
> reference to that key and it worked for me.
> I chose the referenced key in the table, I chose the name of the element
> which needs to be inserted (<image> in this case) and then pressed the
> "Insert and close" button.
> Please see the attached screenshot.
>
> Regards,
> Radu
>
> Radu Coravu
> <oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com
>
> On 5/13/2014 11:11 PM, Marsh, Ed wrote:
>> Hi there,
>>
>> I’m fairly new to oXygen, using v15.2.
>>
>> I’m having an issue trying to insert images that are referenced by
>> keyref in a ditamap. If I insert the keyref in code view, the image
>> appears fine, i.e. <image keyref=”image-ref-keyname”>
>>
>> However, if I try to insert using the Insert Content Key Reference
>> dialog, another dialog appears saying “Please select an element ID by
>> pressing the Subtopic button”. When I click the Subtopic button, no IDs
>> appear.
>>
>> Is this expected behavior, or am I missing something?
>>
>> Thanks,
>>
>> Ed.
>>
>>
>>
>> _______________________________________________
>> oXygen-user mailing list
>> oXygen-user at oxygenxml.com
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>


More information about the oXygen-user mailing list