Quote:
Originally Posted by ni_c
really does sound like a huge task, and the toc.ncx alone would freak me out, id tackle it if it were my job, but for personal use not my style. Would suggest waiting for Kovid for his opinion.
btw pretty sure id's dont work with blank spaces added, would wanto add an underscore or dash to join them like "id_v..."
good luck
|
*********
Thanks for your answer!! I imagine that it looks like a huge task but if you look from another angle i think you have the solution. You know regular expression formulas but i don't. Could you answer me 3 questions?
1. how can i extract the v3001.html with a regular expresion?
2. how can i extract the 1, 2, 3 or 4 of a paragraph and put it in a 000 format
3. how can i put this two in <p class="calibre2"><sup class="calibre3">1</sup>
I need something like this:
<p id="v3001001" class="calibre1"><sup class="calibre2">1</sup>
<p id="v3001002" class="calibre1"><sup class="calibre2">2</sup>
.......
<p id="v3001024" class="calibre1"><sup class="calibre2">24</sup>
or
<p class="calibre1"><sup class="calibre2" id="v3001001">1</sup>
<p class="calibre1"><sup class="calibre2" id="v3001002">2</sup>
.........
<p class="calibre1"><sup class="calibre2" id="v3001024">24</sup>
Which formulas i have to use?