Creating TOCs for books that support multiple published versions (MVPs)
I'd like to validate the requirements for the <?version 1?>
processing instruction in TOCs. The details we have to date are in #24 (comment 44637), and we confirmed in that issue that this refers to the book component version (in BCMS) which matches the Bookshelf published version.
- For books that don't support MVPs, this tag will always be
<?version 1?>
- For books that do support MVPs, this tag will match the latest version number that is published.
To illustrate point 2:
Step 1. I have a book with 5 chapters, as below. In this case my toc includes all chapters with <?version 1?>
tag.
Step 2. I publish the chapters that are previewing. In this case my toc includes all chapters, but A sample chapter
and D sample chapter
have <?version 2?>
tag.
Step 3. Now imagine the users goes to V1 of A sample chapter
, fixes a typo and publishes again. In this case my toc will not change, it will match the toc sent at Step 2.
Is this correct?