Setting a Condition for a Style

This forum is for all Flare issues not related to any of the other categories.
Post Reply
McCarthy
Propeller Head
Posts: 41
Joined: Fri Jul 11, 2008 3:41 am
Location: Prague, Czech Republic

Setting a Condition for a Style

Post by McCarthy »

Hi,

I think I'm missing something obvious here. Would like to know if there is a better way to handle chapter numbering in our print outputs. We currently use a paragraph style with just a number in it and condition that p to print output only. It's not a big deal, but we have to add this conditioned numbered style to each new chapter, and I can't help but think I'm making this more difficult than it has to be. Is there a way to set a condition on an entire style? or a better way to deal with adding chapter numbers?

Thanks
Flare 4.2
Certified Mad for Flare
Windows XP
jmenning
Propeller Head
Posts: 50
Joined: Thu Jul 20, 2006 2:52 pm

Re: Setting a Condition for a Style

Post by jmenning »

If the <p> style should only show up in Printed output, here's what I'd do:

1. Use the Print medium for your printed output (set the stylesheet medium on the Advanced tab of your target setup).
2. Set the style as "display: none" for all other mediums (non-print, or whatever others you've set up).

Then you don't have to fuss with the conditions.
Sharon_G
Propeller Head
Posts: 59
Joined: Fri Oct 24, 2008 11:59 am
Location: Burlington, MA

Re: Setting a Condition for a Style

Post by Sharon_G »

Hi,
I have a similar situation but it applies to table numbering. I want my tables to have titles (captions) in both print and non-print, but I want them to also have numbers in the print output.
My solution was to format the paragraph Class for the print medium to contain an auto-number and for the same class, for the non-print medium, to simply not set any auto number.
So, when I output to PDF (as the previous poster said, setting the output medium to print on the Advanced tab) I get numbered tables. And when I output to non-print (setting the output medium to non- print on the Advanced tab) I get tables with titles, but no numbers.
HTH.
Sharon
McCarthy
Propeller Head
Posts: 41
Joined: Fri Jul 11, 2008 3:41 am
Location: Prague, Czech Republic

Re: Setting a Condition for a Style

Post by McCarthy »

jmenning wrote:If the <p> style should only show up in Printed output, here's what I'd do:

1. Use the Print medium for your printed output (set the stylesheet medium on the Advanced tab of your target setup).
2. Set the style as "display: none" for all other mediums (non-print, or whatever others you've set up).

Then you don't have to fuss with the conditions.
This works. Thanks!
Flare 4.2
Certified Mad for Flare
Windows XP
Post Reply