![]() |
#76 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 774
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#77 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20,734
Karma: 27405072
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#78 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 774
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
Quote:
|
|
![]() |
![]() |
![]() |
#79 |
Member
![]() Posts: 21
Karma: 10
Join Date: Mar 2017
Device: None
|
Kevin,
Ok, what I noticed is a change of behavior in doing a repetitive search and replace on a NAV file (sometimes it's faster for me than using the TOC editor.) Here's my process: 1. Open the NAV in CodeView. 2. Replace all instances of .xhtml with .xhtml#chapterNNN 3. Search for NNN 4. Change the instances of NNN by searching for NNN, typing a number, click find next, and roll through the file: type click type click ... Works great for me in v2.1.0 but in v2.2.1 it seems that focus on CodeView is lost with every click of the mouse and so this scheme won't work any more. |
![]() |
![]() |
![]() |
#80 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 37,270
Karma: 149856306
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Out of curiosity, unless you are planning on having more than the one header at the start of the xhtml file, why would you want to insert an ID?
|
![]() |
![]() |
![]() |
#81 |
Member
![]() Posts: 21
Karma: 10
Join Date: Mar 2017
Device: None
|
I wouldn't, this is just a simplified demonstration of the problem.
-- Mark |
![]() |
![]() |
![]() |
#82 |
Member
![]() Posts: 21
Karma: 10
Join Date: Mar 2017
Device: None
|
A better example might be:
1. Batch rename regex of files to standard form: Chapter01.xhtml and so forth. 2. Edit the NAV to standardize filenames to chapterNNN.xhtml 3. Apply my scheme. |
![]() |
![]() |
![]() |
#83 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 37,270
Karma: 149856306
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
And please note that your renaming will leave a mass of IDs in the .opf document untouched since ePub3 has added multiple locations where those can be used. Again, though my preference to only use IDs where they are needed. I.e. where I use more than one header in a chapter file, perhaps for subchapters. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil-1.3.0 Released | DiapDealer | Sigil | 8 | 09-15-2020 08:03 AM |
Sigil-0.9.10 Released | DiapDealer | Sigil | 149 | 11-19-2018 10:20 PM |
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 | KevinH | Sigil | 106 | 10-04-2015 10:41 AM |
Sigil 0.8.2 Released | user_none | Sigil | 12 | 12-22-2014 06:02 PM |
Sigil 0.7.0 Released | user_none | Sigil | 75 | 03-03-2013 12:41 PM |