Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to add figure caption when DNG artifact has multiple embedded images?

We have DNG requirements containing embedded images (zero or one or more). I want to generate a Word/PDF document with caption for each image. Is there any way? I referred to jazz.net blog https://jazz.net/blog/index.php/2020/04/02/using-captions-for-figures-and-tables-getting-the-most-out-of-ibm-elo-publishing/ which works perfectly if I have only 1 image in an artifact.

Any help is appreciated.

0 votes


Accepted answer

Permanent link
In DOORS Next, you cannot use figure captions. You can use Script Expression in PUB template to add <figcaption> for each image, but PUB doesn't support <figcaption>.
Hence you can use Script Expression (div.replace) in PUB template to add alt text (based on artifact title) for each image. The use a Word macro to dynamically add caption based on the alt text. It will work.
Samarth Bhatia selected this answer as the correct answer

1 vote

Comments

Thank you Subramanya, I will try it out.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,100

Question asked: Feb 19, 8:33 p.m.

Question was seen: 1,253 times

Last updated: Feb 26, 2:38 a.m.

Confirmation Cancel Confirm