When it comes to reusing images using keys there are two possible approaches:
1) Create a DITA map named something like "imageKeys.ditamap" with lots of keydefs like:
<keydef keys="image1" href="image1.png" format="png"/>Refer to this "imageKeys.ditamap" in the main product.ditamap.
From each topic use:
<image keyref="imageKey"/>to refer to images.
2) Create an "images.dita" topic which lost of image references, each image reference with an @id.
The content of the "images.dita" would look like:
</body>The "images.dita" would be referenced in the main product.ditamap as a resource only topic so that it does not appear in the output and assigned a key:
<keydef keys="images" href="images.dita"/>and then each topic would use conkeyefs to refer to images like:
Approach (2) does have certain upsides, you can reuse also the
image alternate texts. You can also reuse also entire <fig>
Radu Coravu Oxygen XML Editor
On 5/29/20 11:14 PM, Matt Lorenzi via groups.io wrote: