Hello,
I am trying to output two .chm files that use many of the same topics, but not all.
The topic of concern is set to be used for build CHM.
In that topic are two lists:
The first list is set to be used for build CHM, User Defined Build 1.
The second list is set to be used for build CHM, User Defined Build 2.
In the Publish Settings, I've selected HTML Help (.chm) and User Defined Build 1. I'm expecting to only see the first list in the output. But both lists appear.
Any idea why I'm not getting what I'm expecting?
Conditional Text not working
Moderators: Alexander Halser, Tim Green
- Tim Green
- Site Admin
- Posts: 23293
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Conditional Text not working
Hi Ingrid,
The conditions use OR logic, so if you have CHM and USERX applied to a topic, then it will always be exported in CHM, because CHM is true and only ONE of the conditions needs to be true for the topic to be included.
With conditional text you can nest conditions to achieve AND logic. For example, if you use:
[IF_CHM>[IF_USERX>Text text text<ENDIF]<ENDIF]
Then the text will only be exported if both conditions are true.
The conditions use OR logic, so if you have CHM and USERX applied to a topic, then it will always be exported in CHM, because CHM is true and only ONE of the conditions needs to be true for the topic to be included.
With conditional text you can nest conditions to achieve AND logic. For example, if you use:
[IF_CHM>[IF_USERX>Text text text<ENDIF]<ENDIF]
Then the text will only be exported if both conditions are true.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.