inserting variables based on TOC names
inserting variables based on TOC names
I am single-sourcing and delineating by version at the TOC level. I need to insert the name of the TOC as it appears in the Project Organizer as a variable within the document to display the version version number dynamically. Is this possible?
Re: inserting variables based on TOC names
You can create a variable in the project's variable set and give that variable a value, which is the variable's default value. You can then insert that variable into the footer of the page layout. You then change the value of that variable before you build the output. If you have multiple outputs at different versions, then you use the same variable, but you override its default value by modifying its value in the target. So say you have two targets, TargetA and TargetB and a variable in the project's variable set called "prodVersion" with a value of "1.0". In TargetA, you don't modify the variable. In TargetB, you modify the variable's value to "1.1". When you generate TargetA, the footer will say "1.0". When you generate TargetB, the footer will say "1.1".
Is that what you were looking for?
Is that what you were looking for?
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Re: inserting variables based on TOC names
Lisa, thank you. This worked perfectly, well done again.