View Single Post
Old 05-22-2025, 11:03 AM   #1
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,521
Karma: 5703586
Join Date: Nov 2009
Device: many
Volunteer to write new Chapter on Python Function Replace for Sigil User Guide

Hi @Turtle91 and All,

Quote:
I am kind of hoping once this gets into final form, that some kind soul will volunteer to create a new chapter documenting it for our Sigil User's Guide - hint, hint, Turtle91 ... cough cough.

Well that time has come and I am looking for a volunteer or volunteers to create a new "Advanced Search - Python Function Replace" chapter that documents the new Sigil Python Function Replace tool that was available in the Betas (which can be used for screenshots) and will be available in the upcoming Sigil 2.5.0 release (real soon now!).

Please warn users as this is a very advanced techniques that requires knowledge of the Python programming language, regular expressions, etc.

Please include the screen caps to make it clear how to use it, when to use it, etc. And please document the new debug log file environment variable to capture debug output when trying to debug your python function.
And maybe include a simple trivial example.

If this is something you are willing to take a shot at, please let me know. If multiple people are interested we can use this thread to share xhtml source and screencaps.

Please use the styles already defined in the Sigil User Guide.

And when final, please make sure it passes epubcheck.

Thanks!

Kevin
KevinH is offline   Reply With Quote