Thom* the function works great it amazing.
Form file v3001 to v3011 goes VERY fine counting from 1 to 24. When it goes to v3012 to v3017 it seems that skips the number 1 and starts from 2 and the space where should be number 1 nothing happens. Why is that?
From v3001 to v3011:
<p class="block_1" id="v3001001><span class="block_2">1</span><span class="text_">
<p class="calibre2" id="v3001002"><sup class="calibre3">2</sup>
....
<p class="calibre2" id="v3001017"><sup class="calibre3">17</sup>
The file v3011:
<p class="block_1" id="v3011001"><span class="block_2">11</span><span class="text_">
<p class="calibre2" id="v3011002"><sup class="calibre3">2</sup>
<p class="calibre2" id="v3011003"><sup class="calibre3">3</sup>
....
<p class="calibre2" id="v3011036"><sup class="calibre3">36</sup>
From v3012 to v3017:
<p class="block_1"><span class="block_2">17</span><span class="text_">
<p id="v3017002" class="calibre1"><sup class="calibre2">2</sup>
<p id="v3017003" class="calibre1"><sup class="calibre2">3</sup>
.....
<p id="v3017016" class="calibre1"><sup class="calibre2">16</sup>
Every file begins with the number of the chapter 1-17 that has different format. The strange thing is that from 1 to 11 your function works great and from chapter 12 skips ONLY the first paragraph and starts counting from paragraph 2.
|