note style inside ordered list incrementing numbering

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
3lliot
Sr. Propeller Head
Posts: 105
Joined: Wed Mar 23, 2011 8:45 pm

note style inside ordered list incrementing numbering

Post by 3lliot »

I need a note style with an image prefix (a little i icon in a circle). So I've created a list item using a custom image.

However, I sometimes will want to insert that into numbered lists. How can I prevent the image note style from incrementing the list number?

I've tried stopping the list & starting a new one, but then for some reason I can't control the list start number, it forces me to start the list at 1. Is this a bug? It seems bizarre to provide control over list start numbering, & then restrict when you're allowed to use it.

Anyway - if anyone knows how to prefix paragraph styles with a custom image, or to switch off the list number incrementing for a specific list style (I tried setting the 'increment counter' value to 0 in the CSS but that didn't work) - any tips appreciated...

cheers
-E
Andrew
Propellus Maximus
Posts: 1237
Joined: Fri Feb 10, 2006 5:37 am

Re: note style inside ordered list incrementing numbering

Post by Andrew »

Don't use a list item for the note style. Instead, use a paragraph, and "embed" the image as a background (use the margin-left CSS property to prevent your text from covering the image). Do note that background images in styles do not work in Word output.

Then, when you create your list, insert the note paragraph style into the list (you will have to use "make paragraph item" on the list item before the note, then press Enter to get a new paragraph, which you will convert into your note class).

Hope that helps!
Flare v6.1 | Capture 4.0.0
3lliot
Sr. Propeller Head
Posts: 105
Joined: Wed Mar 23, 2011 8:45 pm

Re: note style inside ordered list incrementing numbering

Post by 3lliot »

That works a treat, thanks very much.
Post Reply