combining conditional tags problem
Posted: Thu Apr 18, 2019 8:04 am
Hi
I encountered the following problem with conditional tags:
Besides the usual conditions ScreenOnly and PrintOnly I have two additional conditions, say ProOnly and StudioOnly which I use to tag texts etc. that should show up only in the regarding Help and Printed manual of two versions of a software documentation, Pro and Studio.
So I have 4 targets, helpStudio, helpPro, PrintStudio and PrintPro. In the target conditions of these I combine the conditions in a way that, for instance Studio Help is set to: include ScreenOnly, include StudioOnly, exclude PrintOnly, exclude ProOnly. So far so good, but there are cases when I tag content with StudioOnly *and* ScreenOnly. For instance: Often there are linked headings below the introductory text of a chapter linking directly to a topic in the chapter. Those headings are tagged with ScreenOnly. And there are features that shouldn't be included in the Studio version so the according headlines are additionally tagged with ProOnly.
Now the problem: when I produce a printed manual version of the Pro version, these linked headlines show up in the print manual! The "exclude ScreenOnly" condition is overridden by the "include ProOnly" condition. I experimented with the advanced tag settings but I couldn't manage a formula that leads to the desired output. The only solution I came up at the moment is to define a special condition (ScreenandProOnly) but every fundamental change in these conditions result in lots of updates in otherwisely unchanged files that show up in the next localization round.
the advanced conditions string for the described case is
Primary.ProOnly or Primary.PrintOnly or not (Primary.ScreenOnly or Primary.StudioOnly )
How should I change this to get the right output without introducing new condition tags? (I suspect the OR conjunctions are the problem here, but I have no clue).
Thanks in advance
I encountered the following problem with conditional tags:
Besides the usual conditions ScreenOnly and PrintOnly I have two additional conditions, say ProOnly and StudioOnly which I use to tag texts etc. that should show up only in the regarding Help and Printed manual of two versions of a software documentation, Pro and Studio.
So I have 4 targets, helpStudio, helpPro, PrintStudio and PrintPro. In the target conditions of these I combine the conditions in a way that, for instance Studio Help is set to: include ScreenOnly, include StudioOnly, exclude PrintOnly, exclude ProOnly. So far so good, but there are cases when I tag content with StudioOnly *and* ScreenOnly. For instance: Often there are linked headings below the introductory text of a chapter linking directly to a topic in the chapter. Those headings are tagged with ScreenOnly. And there are features that shouldn't be included in the Studio version so the according headlines are additionally tagged with ProOnly.
Now the problem: when I produce a printed manual version of the Pro version, these linked headlines show up in the print manual! The "exclude ScreenOnly" condition is overridden by the "include ProOnly" condition. I experimented with the advanced tag settings but I couldn't manage a formula that leads to the desired output. The only solution I came up at the moment is to define a special condition (ScreenandProOnly) but every fundamental change in these conditions result in lots of updates in otherwisely unchanged files that show up in the next localization round.
the advanced conditions string for the described case is
Primary.ProOnly or Primary.PrintOnly or not (Primary.ScreenOnly or Primary.StudioOnly )
How should I change this to get the right output without introducing new condition tags? (I suspect the OR conjunctions are the problem here, but I have no clue).
Thanks in advance