Home › Forums › DITA and XMetaL Discussion › TOPLEAF: Changing bookmark levels based on context › Reply To: TOPLEAF: Changing bookmark levels based on context
Reply to: TOPLEAF: Changing bookmark levels based on contextApril 16, 2012 at 11:12 am
Are you putting the stack command inside an if or case? The stack commands (where present) should be the first thing in the custom content, as they set up a condition whereby the variable is temporarily set, but returns to the prior value on completion. So you can't have one branch stacking and another branch not.
If you don't know what value to stack at first you can just say:
up front, and then set the required value in the normal way thereafter.
Hope this helps. If it doesn't send me the custom content of the frontmatter and topicref mappings (which should correspond to the log entries you sent earlier).