Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-18-2012, 04:49 AM   #31
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by theducks View Post
I would be more than pleased to just be able to sequence with a prefix to numbers ABCnnn (BTW I don't ever remember touching a book that needed more than 3 (Chapter) digits. If I did, I would just put the MSB in the prefix ch01nnn
Yes, I'd be thrilled to be able to auto-increment and rename a batch of xhtml files inside of Sigil. I have numerous clients that have more than 100 chapters per book, and the ability to get past the frontmatter and name the chapters sequentially so that we can more easily find their (ubiquitous--don't get me started on THIS topic) post-production copyedits would be lovely. I frequently have books in which Section007 = "Chapter 1" of 130 chapters, and it would be nice not to have to mentally increment by, say, 6, to find whatever bloody edit they want in chapter 79, especially since so many of them don't give us enough unique text to search.

IF the code included the ability to have other digits that could be ignored, e.g., Sec001Chap001, Chap002, Chap003, that would be spiffy--but I'd take the simple incremental capability in a heartbeat. ;-)

Hitch
Hitch is offline   Reply With Quote
Old 01-19-2012, 02:44 PM   #32
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
The rename selected function is looking good for the release after .5. It should cover what has been asked for.

Once you've selected your files, you simply type the rename template of the form TEXTnumber, where TEXT is your base name, and number is the starting number in the sequence. If there is no number, it defaults to 1 (and if no text, you just get numbers). If you pad with 0's then 0's will be added to match the number of digits in the number. Only digits at the end are counted as part of the sequence number so numbers in the middle of TEXT are ok. e.g. Part 1 - Section 02 is fine. The files are renamed one by one with the same internal book updates as before. But once its released, someone with more ePub experience will have to verify it isn't missing anything.
meme is offline   Reply With Quote
Advert
Old 01-19-2012, 02:46 PM   #33
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,106
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by meme View Post
The rename selected function is looking good for the release after .5. It should cover what has been asked for.

Once you've selected your files, you simply type the rename template of the form TEXTnumber, where TEXT is your base name, and number is the starting number in the sequence. If there is no number, it defaults to 1 (and if no text, you just get numbers). If you pad with 0's then 0's will be added to match the number of digits in the number. Only digits at the end are counted as part of the sequence number so numbers in the middle of TEXT are ok. e.g. Part 1 - Section 02 is fine. The files are renamed one by one with the same internal book updates as before. But once its released, someone with more ePub experience will have to verify it isn't missing anything.
Bravo!
theducks is offline   Reply With Quote
Old 01-19-2012, 03:26 PM   #34
Jabby
Jr. - Junior Member
Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.Jabby ought to be getting tired of karma fortunes by now.
 
Posts: 586
Karma: 2000358
Join Date: Aug 2010
Location: Alabama
Device: Archos, Asus, HP, Lenovo, Nexus and Samsung tablets in 7,8 and 10"
Quote:
Originally Posted by meme View Post
The rename selected function is looking good for the release after .5. It should cover what has been asked for.
Well done and many thanks. That ought to do it!

Regards - John
Jabby is offline   Reply With Quote
Old 01-20-2012, 04:59 PM   #35
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,882
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by meme View Post
The rename selected function is looking good for the release after .5. It should cover what has been asked for.

Once you've selected your files, you simply type the rename template of the form TEXTnumber, where TEXT is your base name, and number is the starting number in the sequence. If there is no number, it defaults to 1 (and if no text, you just get numbers). If you pad with 0's then 0's will be added to match the number of digits in the number. Only digits at the end are counted as part of the sequence number so numbers in the middle of TEXT are ok. e.g. Part 1 - Section 02 is fine. The files are renamed one by one with the same internal book updates as before. But once its released, someone with more ePub experience will have to verify it isn't missing anything.
Can this please be extended to fix the playorder value in toc.ncx?
JSWolf is offline   Reply With Quote
Advert
Old 01-21-2012, 08:05 AM   #36
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Its certainly something I'm considering.

Looking at the epub spec, it does say the playorder should start at 1. It also says it should increment by one - although only for time data.

From the spec and what I've seen here, there doesn't seem to be any reason to update the playorder, except for cosmetic reasons (which is a still a valid reason).

So basically you want to keep the same playorder as the current file but just change the sequence to start at 1 and increment by 1? (so if its 2 5 6 8 9 it becomes 1(2) 2(5) 3(6) 4(8) 5(9) )

I'm also thinking about the whole TOC editing issue - there are many requests/suggestions for making TOC editing better, and if there were a TOC editor it could handle this reordering easily enough. On the other hand, implementing a more sophisticated TOC editor will take a long time, and not everyone will want to edit the TOC just to cleanup re-numbering.
meme is offline   Reply With Quote
Old 01-21-2012, 05:56 PM   #37
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,882
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by meme View Post
Its certainly something I'm considering.

Looking at the epub spec, it does say the playorder should start at 1. It also says it should increment by one - although only for time data.

From the spec and what I've seen here, there doesn't seem to be any reason to update the playorder, except for cosmetic reasons (which is a still a valid reason).

So basically you want to keep the same playorder as the current file but just change the sequence to start at 1 and increment by 1? (so if its 2 5 6 8 9 it becomes 1(2) 2(5) 3(6) 4(8) 5(9) )

I'm also thinking about the whole TOC editing issue - there are many requests/suggestions for making TOC editing better, and if there were a TOC editor it could handle this reordering easily enough. On the other hand, implementing a more sophisticated TOC editor will take a long time, and not everyone will want to edit the TOC just to cleanup re-numbering.
Yes, that is exactly what I want. Also, if we have say a ToC with say 50 entries that start with 1 and are all sequential by 1 and I want to add one in the middle someplace and they are all in order, I could just stick in the entry I want with any playorder number and it will be properly numbered.
JSWolf is offline   Reply With Quote
Old 01-23-2012, 12:49 PM   #38
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
See your TOC renumbering thread for more comments.
meme is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with adding .mobi files Bowman Kindle Fire 14 12-28-2011 07:31 PM
Touch Problem syncing new Kobo to existing account FJames Kobo Reader 1 12-24-2011 11:11 PM
Adding another version to existing book Agama Upload Help 4 04-11-2011 12:19 PM
Adding existing collection of ebooks to calibre Chris_147 Calibre 2 09-30-2010 08:35 AM
Adding meta data picture to existing lrf with librprs500 Kypt Calibre 4 04-10-2008 07:05 PM


All times are GMT -4. The time now is 10:26 PM.


MobileRead.com is a privately owned, operated and funded community.