When you publish your project you can redefine some or all of the variables in the entire project in two different ways: With "skins" and with the command line compilation feature.
Redefining variables with publishing tasks
The Publishing Task Manager makes it possible to define "tasks" to publish your project to multiple output formats and destinations in a single integrated operation. In addition to this you can also redefine the variables in your project when you publish the task with a list of alternative variable definitions. See Publishing to multiple formats for instructions.
Redefining your variables with skins:
Note that you can also assign skins to publishing tasks.
1.Create a project skin (only possible with Help+Manual Professional) containing the alternative definitions of your variables (and anything else you want to change in your project). If you only want to redefine your variables you can create a skin that only contains your variable definitions. See Transforming Your Output with Skins for more details.
2.When you publish your project to an HTML-based output format select the skin file in the Publish dialog.
Note that skins can't be selected in the Publish dialog in non-HTML formats – you need to use command line publishing (see below) for those formats where skins are not directly available.
Redefining your variables from the command line:
You can also create a simple text file containing a list of definitions of the variables you want to change. You can then specify this file in the command line to redefine all the variables in your project with the values in the file.
In addition to this you can also specify a project skin file in the command line, to apply a completely different appearance to the entire project as well as redefining the variables.
For more details on the procedure for redefining variables see Skins & redefining variables in the Command Line chapter and Transforming Your Output with Skins.
|