View Single Post
Old 08-23-2016, 04:14 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
No, there is not a regex way. But using a python function, you can.

See the Editor documentation for Function Mode: https://manual.calibre-ebook.com/function_mode.html
Specifically, the "Auto numbering sections" part.

If you need help getting the exact replacement function you need, we will have to see samples of the endnotes HTML. But I'd be happy to help you with it, so feel free to ask.

Last edited by eschwartz; 08-23-2016 at 04:17 PM.
eschwartz is offline   Reply With Quote