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-10-2012, 04:21 PM   #16
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
Quote:
Originally Posted by theducks View Post
Yikes!
Alpha-Sorting the Book Browser list would make a hash out of most of my books.
FM comes before CH, EP comes before BM ..., jacket, TP...
Not all sections are 'chapters'

Sort selected (only) would be useful if using Alpha-Numeric sort compatible naming as WS64 showed
Sure, get offered one thing and ask for more

But if you are dealing with 'hundreds' of files, then sorting them all automatically and then having to move the few remaining non chapter files isn't so bad.

Multiple selection in the book browser is something I've seen mentioned before. I'd have to look into that more to see if its possible (or if user_none would be ok if it were added). The issue of sorting alphanumerically was actually straightforward and just has to be tested more and cleaned up.
meme is offline   Reply With Quote
Old 01-11-2012, 07:12 PM   #17
congngo
Member
congngo began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Apr 2011
Device: kindle dx
I don't think sort the book browser is a good idea like Meme said. A lot of books do not follow alphabetical order like below.

main.xhtml
chapter1.xhtml
chapter2.xhtml
index.xhtml
a.xhtml
b.xhtml
and so on...

sorting would cause a huge problem for this order. Maybe allow
the ability to select more than one file (group of files) in book browser for sorting, moving etc... would be good.

Last edited by congngo; 01-12-2012 at 12:52 AM.
congngo is offline   Reply With Quote
Advert
Old 01-12-2012, 08:25 AM   #18
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
Actually, I said that sorting even without multiple selections is good. Admittedly it isn't as useful as sorting by selection, but its a start. Obviously automatic sorting isn't going to solve every case - the thought is that it might help out in some cases, and since its entirely optional to use it doesn't hurt anything.

I've uploaded a patch to allow sorting all html files by right clicking on the html section and selecting sort. Still have to look into supporting multiple selection.

I've also uploaded a patch that inserts the new blank html section to just after the file selected in the book browser, so you don't have to scroll around to find it. Still need to look into doing the same for adding existing files.

I wouldn't expect them to be in 0.5 though.
meme is offline   Reply With Quote
Old 01-13-2012, 03:16 PM   #19
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
The intuitive solution is when you right click on a file to add an additional file then it appears just below the file you right clicked on. I think this is the right answer instead of trying to fix it later.
DaleDe is offline   Reply With Quote
Old 01-15-2012, 01:11 PM   #20
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
Patches updated to include
- Support sorting entries alphabetically
- Allow multiple selection of entries for remove, move, merge, sorting alphabetically
- Add new blank files and Add existing files after the currently selected entry instead of at the end

For a release after .5 when user_none gets time to review and test them.
meme is offline   Reply With Quote
Advert
Old 01-15-2012, 02:21 PM   #21
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
Patches updated to include
- Support sorting entries alphabetically
- Allow multiple selection of entries for remove, move, merge, sorting alphabetically
- Add new blank files and Add existing files after the currently selected entry instead of at the end

For a release after .5 when user_none gets time to review and test them.
If you could select multiple files and rename them with sequential numbers, this feature would be complete.

Regards and thanks - John
Jabby is offline   Reply With Quote
Old 01-15-2012, 02:53 PM   #22
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
Quote:
Originally Posted by Jabby View Post
If you could select multiple files and rename them with sequential numbers, this feature would be complete.
In what situations would this be useful? I left rename out (Add Semantics is in, though not as useful) as I didn't see a push for it, so its interesting that that's the first thing mentioned out of everything

Any examples of how you see this working? Numbers at front, at end, in the middle, what text to use if any, what to do with existing names/numbers?

I suppose you might mean you want to rename each file as say Section0001, Section0002, ... deleting whatever name was there before, and possibly appending a letter or aborting if one of the names already exists. Maybe even prompt for the prefix to add to the numbers (which we probably should keep at the end to avoid anything over-fancy), or take the name part from the first entry (but that gets a bit more tricky).

Last edited by meme; 01-15-2012 at 03:00 PM.
meme is offline   Reply With Quote
Old 01-15-2012, 03:33 PM   #23
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
Quote:
Originally Posted by meme View Post
In what situations would this be useful? I left rename out (Add Semantics is in, though not as useful) as I didn't see a push for it, so its interesting that that's the first thing mentioned out of everything

Any examples of how you see this working? Numbers at front, at end, in the middle, what text to use if any, what to do with existing names/numbers?
I need something like this pretty often.
Usually when you got a file that has the chapters not seperated, so you just have one big file.
I use to give them proper headings and replace all headings with chapterbreaks+headings and split the files by the chapterbreaks.
After that I have nearly everything I want, except that the chapter names do not fit anything.
In this case I usually rename my epub to zip, extract all chapters, use a Windows utility to rename them to something like Chapter01 to Chapter99, remove the former chapters from the ZIP, put the new ones in instead, rename it back to EPUB, then open it with Sigil and have to repair a lot of errors in the opf file.
Would be way easier if I could just do all this within Sigil...
WS64 is offline   Reply With Quote
Old 01-15-2012, 04:39 PM   #24
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,099
Karma: 60358908
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
In what situations would this be useful? I left rename out (Add Semantics is in, though not as useful) as I didn't see a push for it, so its interesting that that's the first thing mentioned out of everything

Any examples of how you see this working? Numbers at front, at end, in the middle, what text to use if any, what to do with existing names/numbers?

I suppose you might mean you want to rename each file as say Section0001, Section0002, ... deleting whatever name was there before, and possibly appending a letter or aborting if one of the names already exists. Maybe even prompt for the prefix to add to the numbers (which we probably should keep at the end to avoid anything over-fancy), or take the name part from the first entry (but that gets a bit more tricky).
I would like this also.
some name are OMG long, I typically use 3 to 4 chars to describe the file:
ded,pro,epi,rave,p01c03 (part 1 chapter 3),copy
The ability to select a range , select a prefix and have it number 1 to n
If supplying a start number (defaults to 1) would not be too difficult (like the Manage series PI in Calibre does)
theducks is offline   Reply With Quote
Old 01-15-2012, 04:42 PM   #25
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,099
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
BTW This needs to do the rename process (all uses, like it does now) after each file is renamed. Just in case there is an overlapping name.
theducks is offline   Reply With Quote
Old 01-15-2012, 07:09 PM   #26
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
In what situations would this be useful? I left rename out (Add Semantics is in, though not as useful) as I didn't see a push for it, so its interesting that that's the first thing mentioned out of everything

Any examples of how you see this working? Numbers at front, at end, in the middle, what text to use if any, what to do with existing names/numbers?

I suppose you might mean you want to rename each file as say Section0001, Section0002, ... deleting whatever name was there before, and possibly appending a letter or aborting if one of the names already exists. Maybe even prompt for the prefix to add to the numbers (which we probably should keep at the end to avoid anything over-fancy), or take the name part from the first entry (but that gets a bit more tricky).
Probably the biggest reason for wanting this feature is to make sense out great long or cryptic file names. It just makes editing a lot easier if you can easily identify a particular file.

I would envision it working something like this:
1-Select a range of files, right click and select rename.
2-Entering "part1_chap\1" would result in:
part1_chap1.XXXX
part1_chap2.XXXX - - etc
The back slash, or whatever character is chosen, indicates the starting number to increment. "part1" is just text and would not be incremented.The file extension would remain unchanged.

Thanks for taking an interest in this.

Regards - John

Last edited by Jabby; 01-16-2012 at 01:07 AM.
Jabby is offline   Reply With Quote
Old 01-15-2012, 11:35 PM   #27
congngo
Member
congngo began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Apr 2011
Device: kindle dx
Maybe applying regex for multiple renamings. although I don't think regex works with autoincrement.
congngo is offline   Reply With Quote
Old 01-16-2012, 01:25 PM   #28
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
Thanks for the comments. Its always nice to know why a feature will be used - to know how Sigil is used since I don't use it as heavily as many of you do, and to help with how to code it.

I guess something a little fancy will be required I'm not too keen on using regex in the renaming - seems like overkill.

Is there any need to have the numbers in the middle of the name - or will they really always be at the end? If at the end as I suspect, then I can just provide a text box for the Starting Name, e.g. (Section0001) and use the number of digits at the end to determine leading 0's.
meme is offline   Reply With Quote
Old 01-16-2012, 01:41 PM   #29
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,099
Karma: 60358908
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
Thanks for the comments. Its always nice to know why a feature will be used - to know how Sigil is used since I don't use it as heavily as many of you do, and to help with how to code it.

I guess something a little fancy will be required I'm not too keen on using regex in the renaming - seems like overkill.

Is there any need to have the numbers in the middle of the name - or will they really always be at the end? If at the end as I suspect, then I can just provide a text box for the Starting Name, e.g. (Section0001) and use the number of digits at the end to determine leading 0's.
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
theducks is offline   Reply With Quote
Old 01-16-2012, 04:57 PM   #30
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
Is there any need to have the numbers in the middle of the name - or will they really always be at the end? If at the end as I suspect, then I can just provide a text box for the Starting Name, e.g. (Section0001) and use the number of digits at the end to determine leading 0's.
You might want to consider accommodating non-incrementing digits in other than the end of the string, e.g. part1_chapter007.

Regards - John
Jabby 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 11:50 PM.


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