overlapping conditions

This forum is for all Flare issues not related to any of the other categories.
Post Reply
mitches
Propeller Head
Posts: 50
Joined: Wed Feb 13, 2008 9:47 am

overlapping conditions

Post by mitches »

I have been using PrintOnly and ScreenOnly conditions for a long time. No problem. Recently, another factor has been added -- Other Languages. We are not writing the entire manual in another language. For the systems that provide a foreign language, there are a couple of features added. We do not want the users with the regular installation (no foreign language) to see any of the features described in the documentation.
We have an introductory section with full page screenshots. These new screenshots have been created and added as MultiLanguage and the regular images from before are conditioned with non-MultiLanguage. This works great.
There are a couple of sections that need to be added to the document for the new features. I marked them as MultiLanguage and PrintOnly expecting the sections to show up in the new document but not in the regular document. The sections are showing both places. My assumption was that conditions combined. That doesn't seem to be happening.
In the regular document, I have set the target Conditional Text to: MultiLanguage - Exclude; non-MultiLanguage - Include; PrintOnly -Include; ScreenOnly to Exclude.
In the MultiLanguage document, I have set the target Conditional Text to: MultiLanguage - Include; non-MultiLanguage - Exclude; PrintOnly -Include; ScreenOnly to Exclude.
In the regular document, I get all of the new MultiLanguage sections that are marked MultiLanguage & PrintOnly.
In the MultiLanguage document, I get all of the new MultiLanguage sections that are marked MultiLanguage & PrintOnly as well as the ones marked MultiLanguage & ScreenOnly.

Do I need to add a couple more conditions?
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: overlapping conditions

Post by RamonS »

An include overrides and exclude, so yes, you would need more conditions. Before you go and apply new conditions all over the place you should find out if there are any other plans in the future that would require more conditions. I think using about half a dozen conditions is manageable, after that it becomes rather confusing and you may be better off with separate projects.
Psider
Propellus Maximus
Posts: 902
Joined: Wed Jul 06, 2011 1:32 am

Re: overlapping conditions

Post by Psider »

I've always found it too confusing using the Include checkbox and only ever use Exclude. Include means "include me even if some other tag would normally cause me to be excluded"

So for the regular document try: MultiLanguage - Exclude; non-MultiLanguage - nothing ticked; PrintOnly -nothing ticked; ScreenOnly to Exclude.

In the MultiLanguage document, I have set the target Conditional Text to: MultiLanguage - nothing ticked; non-MultiLanguage - Exclude; PrintOnly -nothing ticked; ScreenOnly to Exclude.

This should result in regular document getting only content with no tags, non-MultiLanguage and PrintOnly tags. If an image for example has MultiLanguage and PrintOnly applied to it, this will not be included in the output as the MultiLanguage tag is excluded.

The MultiLanguage document would be similar - untagged content and content tagged with MultiLanguage and PrintOnly tags. If an image has non-MultiLanguage and PrintOnly tags applied, it will not be included because the 'non-MultiLanguage' tag is excluded.

HTH,
Amber
Post Reply