The following automation changes have been made:
- Epub3 only C++ tools will now succeed but with a log message that they were skipped when run on epub2. Hopefully this will make just 3 automation lists more feasible.
- I have extended the list of known C++ MainWindow Command Line tools with "GenerateTOC", and "CreateHTMLTOC" and have made the "GenerateTOC" automate routine skip the Heading Selector dialog.
The full list of C++ MainWindow Tools supported in master is now:
- UpdateManifestProperties
- Save
- WellFormedCheckEpub
- MendPrettifyHTML
- MendHTML
- ValidateStylesheetsWithW3C
- RepoCommit (Checkpoint)
- GenerateNCXGuideFromNav
- RemoveNCXGuideFromEpub3
- DeleteUnusedMedia
- DeleteUnusedStyles
- StandardizeEpub (Restructure Epub to Sigil Norm)
- SplitOnSGFSectionMarkers
- AddCover
- GenerateTOC (will create from existing headers without the Heading Editor functionality)
- CreateHTMLTOC
I have also modified the PluginRunner but this impacts macOS users of input plugins only.
On macOS input plugins always opened a new Window which would break automation.
Now macOS will replace the current book with the one from the input plugin in the same window just as Linux and Windows has always done. This is now similar to how we have implemented Restore from Checkpoint on macOS.
All of this was just pushed to master.