Best way to use multiple versions of a style

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
mgdawn672017
Jr. Propeller Head
Posts: 6
Joined: Wed Feb 27, 2019 10:37 am

Best way to use multiple versions of a style

Post by mgdawn672017 »

We have multiple documents in Flare that have varying output, audiences and uses. For example, we have online help in the software. Field definition topics are used in the online help and in training manuals, which are printed.

We would like to have a "p" style tag to use in the Field Definitions that have 10px padding after the paragraph. But, in the training manuals, we want 2 px padding.

I've investigated Mediums, conditions, stylesheets, but am not sure of the best way to handle this. Any suggestions?

Thanks,
MDawn
devjoe
Sr. Propeller Head
Posts: 337
Joined: Thu Jan 23, 2014 1:43 pm

Re: Best way to use multiple versions of a style

Post by devjoe »

Mediums are probably the way to go. In the Advanced tag of the target you can specify the stylesheet medium to use for that target. This works very well for PDF output; not so sure about others.
Then, in the stylesheet, you define your general styles for help in the default medium, and the differences for specific targets in the medium for that target.
Post Reply