I'm having problems with conditional build tags that don't
seem to work at content level in some of my help topics. I've got
two tags that each correspond to a specific version of the software
the help is intended for. Let's call the tags
A and
B.
I'm using these tags in the following manner:
- Some parts of some topics are valid for both versions of
the software, and are thus left
untagged.
- Some parts of some topics are valid for only one version,
and is tagged correspondingly with
either A or B.
-
No text is ever tagged with
both A and B.
Now, the following problems arise with some of the topics -
but not all - tagged in this way:
- When generating output (irrespective of what type of
Single Source Layout is used) all the topic's contents are
published, no matter how it is tagged. The conditional build
expression used is either "A AND NOT B" or the other way around: "B
AND NOT A".
- When generating printed documentation (Word), the tagging
comments are brought along with the tagged content into the
generated document, but still, all content, irrespective of
tagging, is published for these topics (but once again, not all
topics).
I have tried to find out if there is any difference at all
between the topics that work as expected and those that don't, but
have found none. I have also tried the "saving-in-txt"-trick
suggested in
another
thread to no avail.
The project was created in ancient times using RoboHelp
Office X4.1, where the problem was first noted as we recently
started employing conditional build tags extensively. I have also
tried using (an evaluation copy of) RoboHelp 6 for Word but the
result remains the same.
Copying the topic content into new topics in a new project
(in RoboHelp 6 for Word) seems to have resolved the problem, but in
a project with literally thousands of topics, this isn't really a
viable option, except as an absolutely last resort. I'm a software
developer, after all, not a full-time technical writer.
Has anyone experienced similar problems and is there a simpler
solution than copying all topics into a new project?
Thanks in advance,
Kristian