Quote:
Originally Posted by ElMiko
Yeah, I'm thinking about other potential "prettification" operations. If there are several, it seems like tying them all to one of the Automations and assigning a shortcut might be most efficient.
Is that something that would work, or am I misunderstanding the use cases for the "Run Automate List" function?
|
For me, I would collect those search/replace operations into a saved search group and run them by clicking on the group name. I don't think you could add a search to an automation list since the add to automation list only shows Sigil builtin tools and plugins.
For instance, I really dislike items in the ToC such as Chapter Thirty-Three. I also prefer to have the ToC built from a title="" rather than directly from the text in the header. I ended up with a saved search group that first adds the chapter header number to a title="Chapter ..." and then converts title="Chapter text number" to title="Chapter numeric number". I beat my head against the second part for a while and finally just brute-forced it by generating the search list outside Sigil and then importing it.
So <h3>Thirty-Three</h3> ends up as <h3 title="Chapter 33">Thirty-Three</h3> giving me what I want in to ToC.