02-02-2011, 10:37 AM | #46 | |
Groupie
Posts: 185
Karma: 363616
Join Date: Dec 2010
Location: Montreal, Canada
Device: Kobo Original, Kobo Touch
|
Quote:
Just widen the column and you will see it all, I do not not why it gets cut off at the hyphen (logically you should be able to see up to the end of the column, but this is not part of my code, it is part of the tree control i am using) |
|
02-02-2011, 11:15 AM | #47 | ||
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Oh, and by the way, I'm fine with the performance hit, as you note this baby has a lot of hyperlinks and html files! It's a gargantuan epub like my Wikipedia 2006 which is a 40MB .epub. Quote:
On an unreleated note: One more thing to think about, how about a companion PdfFixer so that it's TOC can be manipulated after the .pdf ebook has been created? There sure are a lot of .pdf ebooks out there with chapter headings just begging to be accessed... |
||
Advert | |
|
02-04-2011, 03:03 PM | #48 |
Member
Posts: 18
Karma: 12
Join Date: Jul 2009
Device: PRS-505
|
Thanks for such a usefull tool, have corrected quite a few toc's but have today discovered a problem. Not sure if there is any standards for the actual name of the .ncx file but i have discovered that epubfixer only looks for toc.ncx. I have a couple of books that are named differently and epubfixer shows an empty toc.
|
02-04-2011, 03:43 PM | #49 | |
Groupie
Posts: 185
Karma: 363616
Join Date: Dec 2010
Location: Montreal, Canada
Device: Kobo Original, Kobo Touch
|
Quote:
I could do the following change either just look at the extension ncx. Or a more proper way would be to check for the mimetype application/x-dtbncx+xml in the opf file. I will change it in the next version if there are some problem with some files. But I would like to see your opf & ncx file, just to be sure. Another reason why the screen would be blank is because the ncx can't be parsed. |
|
02-04-2011, 04:16 PM | #50 | |
Member
Posts: 18
Karma: 12
Join Date: Jul 2009
Device: PRS-505
|
Quote:
Here are both files from both books that alerted me to the problem. Hope they are of some use. book1.zip book2.zip Last edited by dapjukebox; 02-04-2011 at 04:17 PM. Reason: typo |
|
Advert | |
|
02-04-2011, 04:25 PM | #51 |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
ePubFixer quirk...
Nigol, can you look at possibly fixing the behaviour of the "TOC Editor" screen's "Apply" or "Save" button when the "Add" screen is open.
I was in the middle of editing one of my huge .epubs, at the Add screen, and wanted to save my work-in-progress thus far. I clicked the Save button and the Add screen was closed. After opening the Add screen again (it took a loooong time on that .epub ), I tried to click just the Apply button and the same thing happened. Instant closure of the Add screen. Can you just leave that Add screen "as is" and wait for the user to Close that screen and then click Close to exit the TOC Editor screen to finish. This will allow multiple saves while the editing task is still in progress! Last edited by nrapallo; 02-04-2011 at 09:28 PM. Reason: typos |
02-05-2011, 05:39 AM | #52 | |
frumious Bandersnatch
Posts: 7,540
Karma: 19001081
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
- For the OPF file, look into META-INF/container.xml (this filename does not change), and you'll find something like: Code:
<rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml" /> - For the NCX file, look into the OPF file, and search the spine: Code:
<spine toc="ncx"> Code:
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml" /> |
|
02-05-2011, 01:56 PM | #53 |
Grand Sorcerer
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
|
What formats, other than ncx, can the file be in? According to the spec as I recall that is the only supported format.
|
02-05-2011, 02:12 PM | #54 |
Groupie
Posts: 185
Karma: 363616
Join Date: Dec 2010
Location: Montreal, Canada
Device: Kobo Original, Kobo Touch
|
Yeah the opf file inside container.xml was on my todo list. But from the specs says there should only be 1 opf file inside the ePub. But regardless I think it is better to go the more proper way.
even if there should not be more than 1 opf file (I did not see the same for the ncx). So I have changed the code to reflect the changes has it was proposed by Jelby. Last edited by Nigol; 02-05-2011 at 03:56 PM. |
02-09-2011, 09:55 AM | #55 |
Groupie
Posts: 185
Karma: 363616
Join Date: Dec 2010
Location: Montreal, Canada
Device: Kobo Original, Kobo Touch
|
Update
Here are the changes in the new update. It should fix most of the problems that were reported.
v1.3.3 - The Show All checkbox will not be remembered anymore. - The List of Anchors for each file will now be cached for each different Book. - The Detected Text will now be cached for each different Book, along with the Anchors text. - Removed the Apply button, it was replaced by a Add button. - Using the Add command from the context menu will Add all the items under the selected node (instead of at the end of the document). - The Save button will no longer close the window (and each related windows, exception is split chapters). You will now need to Save and Close. - The file column width from the Add screen, will no longer have a maximum width. - Also resizing the form will no longer adjust the columns width. - The program will now correctly get the filenames for the NCX & OPF files - For the OPF file it will get the path from the container.xml file (it used to check only for opf extension) - For the NCX it will get the id from the spine and lookup the file associated with it in the manifest (it used to check for toc.ncx) - In the Add window all files or anchors present in the TOC will be shown in Green. - In the Add window with Show All deselected, Anchors present in the TOC will no longer appear. - The Forms can now get on top of each other when opened and all will close when the main window closes (TOC or Reading Order editor). - When opening the Add window, there will no longer be any validating to see if the files shown really exists in the ePub. It will instead check if the file is present in the TOC when saving the ePub. - When dragging and dropping Nodes they are no longer removed (with Show All off). - The Add window will now remember if the nodes are Expanded when clicking Show All or Show Anchors. - Fixed a problem with Reading order editor showing anchors. - Shifting Chapters will now get the full source (with anchor) if the next/previous entry is the same file with a different anchor (before it just returned the top of the file). - Fixed a problem when the source in the TOC was encoded with special characters (ex: %20 instead of a space). |
02-09-2011, 11:50 AM | #56 | |
Groupie
Posts: 185
Karma: 363616
Join Date: Dec 2010
Location: Montreal, Canada
Device: Kobo Original, Kobo Touch
|
Quote:
I will do a quick update to force the program to look deeper if this situation arise. Update : v1.3.4 Fixes this. - Found a situation where the Spine did not have a reference to the TOC (on retail books), So the App will look deeper if this situation arise. - If the above situation arises opening the Reading Order Editor and Saving will force the reference into the spine. (a message box will open warning you about it) Last edited by Nigol; 02-09-2011 at 01:42 PM. |
|
02-09-2011, 01:06 PM | #57 |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
|
02-09-2011, 01:15 PM | #58 |
eBook Enthusiast
Posts: 120
Karma: 726
Join Date: Dec 2007
Location: US
Device: Sony PRS-350, Astak PocketPro, iPhone, Asus eee Pad Transformer
|
Great! Thanks for the update.
|
02-09-2011, 11:16 PM | #59 |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
v1.3.4 quirks
Found some issues with v1.3.4, namely:
- Adding an anchor to the TOC Editor properly retains the link and makes it green, but dragging the same link using (ctrl)-click deletes the link from the Add screen, as before. - In the Add screen, I can resize the "File" (filename) column, but I can't the "Detected Text" (anchor) column. What about allowing the columns to be sorted & reverse sorted? - When saving a large epub (during a long edit session), there's no indication that the save is progressing while it's doing so. It just seems to freeze without any feedback. If I hit the Save button again it will crash saying the file is in use. Duh? But, overall I very pleased with your efforts to date!!! p.s. Nigol, did you know that Kindle ebooks also use a toc.ncx for their navigational d-pad and it is recommended to have one within .mobi ebooks by Kindle publishing standards? |
02-10-2011, 12:20 AM | #60 | |||
Groupie
Posts: 185
Karma: 363616
Join Date: Dec 2010
Location: Montreal, Canada
Device: Kobo Original, Kobo Touch
|
Quote:
Quote:
Quote:
But I will put something to catch the error and prevent it from screwing your file when it arises. What kind of format is the mobi files? It is not just a Zip file? Update : Checking this has actually lead me to a big bug that will screw your file when saving more than once. SO please don't use it like that for now, I will post an update in a couple of minutes. Last edited by Nigol; 02-10-2011 at 10:40 AM. |
|||
Tags |
epub, epubfixer, toc.ncx editor, tool |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Option not to edit TOC | Jonimeesermann | Sigil | 5 | 10-06-2010 03:18 PM |
Few epubs have toc | James_Wilde | Writers' Corner | 1 | 09-29-2010 08:20 PM |
Creator How to edit ToC | JaneFancher | Kindle Formats | 8 | 03-27-2010 09:40 PM |
whishlist: button/command edit in Sigil | booksonthemove | Calibre | 3 | 03-03-2010 07:30 AM |
sigil and toc | bobcdy | Sigil | 5 | 10-17-2009 05:29 PM |