Using a variable as a CHM link in a TOC ...
Posted: Thu Dec 22, 2016 11:21 am
I have a TOC that is used for various CHM outputs. In this TOC there is a link to another external CHM that merges at runtime.
When I generate the target I have to ensure that this CHM link is updated accordingly, because for each generated CHM the link is to a different external CHM.
I thought it would be easiest to simply apply the relevant external CHM name via a target-level variable value.
This would allow me to batch generate all the targets, where each target has its applicable variable value and all use the same TOC (with their relevant conditions).
However, I cannot get the variable value to be correctly iterpreted in the TOC link. It simply takes the variable defintion itself and not the assigned value.
Is there any way I can get this variable to be correctly interpreted?
As an alternative I considered including all the various external CHMs in their own TOC entry and conditioning them out of the generated CHM as necessary.
This is possible, but messy, and the way the conditons are currently applied would mean I would have to create a new conditon set just for that.
Suggestions would be welcome.
Thanks
Robin
When I generate the target I have to ensure that this CHM link is updated accordingly, because for each generated CHM the link is to a different external CHM.
I thought it would be easiest to simply apply the relevant external CHM name via a target-level variable value.
This would allow me to batch generate all the targets, where each target has its applicable variable value and all use the same TOC (with their relevant conditions).
However, I cannot get the variable value to be correctly iterpreted in the TOC link. It simply takes the variable defintion itself and not the assigned value.
Is there any way I can get this variable to be correctly interpreted?
As an alternative I considered including all the various external CHMs in their own TOC entry and conditioning them out of the generated CHM as necessary.
This is possible, but messy, and the way the conditons are currently applied would mean I would have to create a new conditon set just for that.
Suggestions would be welcome.
Thanks
Robin