I want to try convert chapters (One, Two, Three...etc) from pdf to epub...
I try using heuristic function but it doesn't work
I wonder what code i should input in
detect chapter (xpath) ---this is the default one-----
//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part|prologue|epilogue\s+', 'i')) or @class = 'chapter']
what code i can write so in the future...it will detect chapters that start with One, Two, Three...etc
Thanks