Auto numbered paragraphs in snippets are overridden

This forum is for all Flare issues related to styles, stylesheets and XML.

Auto numbered paragraphs in snippets are overridden

Postby ktbCA57 on Tue Sep 11, 2018 8:27 am

So I have several snippets that contain numbered steps as they are required for different areas of our system - so they appear in multiple topics. However, I just realized that once the snippets with these steps are inserted into a topic, the associated topic stylesheet is overriding the numbering formats set in the snippets... I realize this is to be expected.. I just didn't think of it, and have no idea if there's any way around it - other than converting snippets to text... which I hate to do as that would mean updating several topics each time.

As an example, in one case, I have 3 snippets, each with 5 steps - numbered as 1-5 in EACH snippet, but when inserted into the topic, the numbers run continuously from one to the next so I have steps numbered 1-15.

Can any one suggest a possible workaround for this?

Thanks!
ktbCA57
Sr. Propeller Head
 
Posts: 352
Joined: Wed Feb 04, 2009 7:45 am

Re: Auto numbered paragraphs in snippets are overridden

Postby devjoe on Wed Sep 12, 2018 10:00 am

I think what you want to do is edit the autonumbering format for the first paragraph, and specify {n=1}. This resets the numbering to 1.
If your numbering is more involved, whatever you do normally when you want to reset the numbering, do it to the first paragraph in the snippet.
devjoe
Sr. Propeller Head
 
Posts: 254
Joined: Thu Jan 23, 2014 1:43 pm

Re: Auto numbered paragraphs in snippets are overridden

Postby ktbCA57 on Wed Sep 12, 2018 10:02 am

o it to the first paragraph in the snippet


Thanks, but unfortunately, that's exactly how it is in the snippet... i have a style set up for n=1 and another style for n+1. but that is being overridden once i insert the Snippet into a topic... :-(

OK... and to top it off... I've found some places where the snippet number styles are working in a topic.. where as others are not... even within the same snippet! wth? :shock:
ktbCA57
Sr. Propeller Head
 
Posts: 352
Joined: Wed Feb 04, 2009 7:45 am

Re: Auto numbered paragraphs in snippets are overridden

Postby devjoe on Fri Sep 14, 2018 5:43 am

Try to reproduce this in a small project with just one or two topics and snippets. If you can, submit a defect to MadCap and attach the project. If you can't, it may give you more insight as to what is going on.
devjoe
Sr. Propeller Head
 
Posts: 254
Joined: Thu Jan 23, 2014 1:43 pm

Re: Auto numbered paragraphs in snippets are overridden

Postby ktbCA57 on Fri Sep 14, 2018 6:17 am

Great suggestion... I will try that! THANKS!
ktbCA57
Sr. Propeller Head
 
Posts: 352
Joined: Wed Feb 04, 2009 7:45 am


Return to Styles, Stylesheets and XML

Who is online

Users browsing this forum: No registered users and 2 guests