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

RPE table caption numbering

 Looking for a way to get the auto numbering set in my table captions. 

I have the text coming in from my Doors module (object text) for the caption just fine. 
However, I am getting an auto number labeling it seems. 1, 2, 3 at the front of my captions. 
That seems to be what the index is for the table as well. 

Any ideas on how to remove that? Or use my chapter/section numbering as that index?

Thank you for any help you can provide. I have been looking for an answer for a week at this point.

0 votes



One answer

Permanent link

 Still struggling for a solution if anyone has any ideas. Thank you very much

0 votes

Comments

Are you using Table Caption element in the template? Can you attach a screenshot of the template?

 Yes. I have tried a few different script and field code options. Nothing has worked out. 

This is where I am now.

https://imgur.com/3sbDe1V

You can see the field code/label, and the script used on the right. 
The script is to be able to caption the section number I am printing for that caption. 

No matter what I put here, the entry in the document always comes out as "1 Table x.x alsdhfasfd". So it is lead with 1, which is the table of captions entry presumably, but I have no idea how to get that "1" to be my section number in stead. Or perhaps what scripting code it would take to label my x.x as the table caption index mark. 

Hopefully that makes some sense

Patrick,

I had exactly the same issue and I think I solved it.

You can use regexp to put Table before the number. It took me some time as well to figure that 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,020

Question asked: Sep 04 '20, 4:37 p.m.

Question was seen: 1,946 times

Last updated: Nov 27 '20, 5:32 p.m.

Confirmation Cancel Confirm