Book Generator helps you to duplicate books and select which topics should also be duplicated.
Normally when you duplicate books:
Book Generator helps you to duplicate books and select which topics should also be duplicated.
Normally when you duplicate books:
Book Generator combines these actions in one step. Book Generator allows you even to duplicate topics in sub books.
How it Works
Book Generator lets you select which topics within a book should be duplicated and which not. You can select this manually. With a variable you can create a default setting for which topics should be duplicated and which not. Only the topics that are selected for duplication are replaced with a duplicate topic in the book structure.
Book Generator does not duplicate objects that are embedded in the topics that are duplicated.
With Book Generator you can:
Example
I want to duplicate employment agreements because I have some specific topics in it, that are different for every employee.
Every time I duplicate the Employment Agreement book with Book Generator, I also want to duplicate the Personal Agreements topic and optionally the Salary topic. Book Generator allows me to set all topics except Salary and Personal Agreements to "Never duplicate". And set Personal Agreements to "Always duplicate" and Salary to optionally duplicate.
Link Management
For every duplicated topic in a book the plug-in examines the relationships of the topic to hypertext link objects. The plugin modifies the Hypertext Link object if:
Book Generator adds the duplicated topic to the list of internal object links.
Example
In an Employment Agreement book the Duties and Position topic has a link to the Personal Agreements topic.
When I want to duplicate the Employment Agreement book, I also want to duplicate the Personal Agreements topic (which covers any personal agreements between the company and the employee).
However in that case the link from Duties and Position to the Personal Agreements topic does not work anymore. Therefore the Book Generator adds the duplicated Personal Agreements topic to the list of Internal object links.
The Book Generator Window
When you select a book object and press the Book Generator button, two windows open:
The Select topics window consists of two areas:
In this area you select which topics must be duplicated when you duplicate the book. Three colors are used:
You can also remove objects from the book structure: from the context menu, select Delete. A red across indicates the objects that are selected to be removed from the book contents.
The context menu has also a function to select all topics or unselect all topics.
If any variables are assigned to the book that you duplicate with Book Generator, they appear in the Variable Assignments area. You can select the variable and assign a new value to the duplicate book.
Mandatory variables
An Author-it administrator can define mandatory variables. In Book Generator, you must define a value for these variables if they are used by the selected book, otherwise you cannot continue.
Mandatory variables start and end with an underscore (_). It is recommended that you leave the default values of the variables empty, so the user duplicating the book is forced to assign a value.
Example
An Author-it administrator defines a new variable _country_. If you assign the variable to a book and start Book Generator, you are required to enter a value for the variable.
Variables to be resolved on duplication
You can define variables to be resolved with their values and styles on duplication. Variables to be resolved start and end with two underscores (__) and are also mandatory. The user duplicating a book that has variables to be resolved is forced to assign a value. The duplicated topic containing the variable no longer contains the variable, but its value instead.
Example
An Author-it administrator defines a new variable __currency__. If you assign the variable to a book and start Book Generator, you are required to enter a value for the variable. The duplicated book no longer contains the variable, but only the value you assigned to the variable in the chosen style.
Authorization
To use Book Generator you need sufficient permissions. The following authorization settings are necessary for the folder that contains the book that you want to duplicate:
If there are any Hypertext Link objects pointing to the topics you want to duplicate, make sure that you have modify permissions for that Hypertext Link object (folder action permissions and release state permissions).