View Single Post
Old 08-14-2021, 12:32 PM   #34
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,922
Karma: 6240958
Join Date: Nov 2009
Device: many
Okay support has been pushed for the following to master:

- BeckyEbook's fluent and material icons
- Support for a Automate Log
- Fixed Validation Results to properly report when No Problems Found
- Added support for the following C++ MainWindow tools:
  • UpdateManifestProperties
  • Save
  • WellFormedCheckEpub
  • MendPrettifyHTML
  • MendHTML
  • ValidateStylesheetsWithW3C
  • RepoCommit (Checkpoint)
  • GenerateNCXGuideFromNav
  • RemoveNCXGuideFromEpub3
  • DeleteUnusedMedia
  • DeleteUnusedStyles
  • StandardizeEpub (Restructure Epub to Sigil Norm)
  • SplitOnSGFSectionMarkers
  • AddCover


Still no support for any non-modal dialog based tools such as SpellCheck, Saved Searches, Reports, EditTOC, EditMetadata but even without them this proof of concept should hopefully prove useful enough for serious users/devs to make use of.

For example the equivalent of a Publish button for Epub3 should now be possible:

Contents of automate01.txt
Code:
# start with Checkpoint save to prevent any data loss
RepoCommit

# run a basic well-formed test before running any advanced tools
WellFormedCheckEpub

# prettify any code and fix any remaining html errors
MendPrettifyHTML

# clean up
DeleteUnusedMedia
DeleteUnusedStyles

# make sure styles are valid
ValidateStylesheetsWithW3C

# make en epub3 that works with epub2 only readers
GenerateNCXGuideFromNav
#RemoveNCXGuideFromEpub3

UpdateManifestProperties
EpubCheck
Save

Last edited by KevinH; 08-14-2021 at 12:37 PM.
KevinH is offline   Reply With Quote