04-28-2010, 07:58 PM | #76 |
creator of calibre
Posts: 43,905
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Neither do divs. In fact nothing in HTML implies a chapter break, since chapters are not a concept the HTML spec addresses. The question you need to be asking is what approach is going to be most compatible with with widely accepted practice as well as being reasonably robust.
EDIT: in the context of ePub widely accepted practice is to put each chapter in a separate HTML file. |
04-28-2010, 08:51 PM | #77 | ||
Connoisseur
Posts: 68
Karma: 56
Join Date: Oct 2009
Device: Sony PRS-650 & PRS-600
|
Quote:
Quote:
The ePubHub import feature currently can import existing Xhtml files, which it stores in a separate "document" object which will get rendered during the ePub export function back into a separate Xhtml file. The existing ePubHub Xhtml import feature will also import several Xhtml files at once, again storing each into a separate "document" object. In order to facilitate importing an entire book stored inside a single Xhtml file while maintaining it's structure, a specification for the use of divs to define chapters/parts/cover-pages was introduced. By following this specification, a book stored as a single file will then be split into multiple "document" objects, which would be rendered as multiple Xhtml files in an ePub. What DaleDe believes is that h tags can be used to define the structure of an entire book. Nothing in Html, Xhtml, ePub, Ncx, Opf, Daisy or any other standard that I have come across supports this belief. The ePub specification itself does not even use h tags for constructing the table of contents. Last edited by awx; 04-28-2010 at 09:11 PM. |
||
Advert | |
|
04-28-2010, 08:54 PM | #78 | |
creator of calibre
Posts: 43,905
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
04-28-2010, 09:08 PM | #79 |
Connoisseur
Posts: 68
Karma: 56
Join Date: Oct 2009
Device: Sony PRS-650 & PRS-600
|
Please see the original post that started this discussion. It is stated that this is a temporary stop-gap until a proper Xhtml Import dialog where this can be configured is finished.
|
04-28-2010, 09:14 PM | #80 |
creator of calibre
Posts: 43,905
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Ah so your motivation for using divs is that it makes it trivial to code for, now I get it.
|
Advert | |
|
04-28-2010, 09:18 PM | #81 |
Connoisseur
Posts: 68
Karma: 56
Join Date: Oct 2009
Device: Sony PRS-650 & PRS-600
|
|
04-28-2010, 09:35 PM | #82 |
creator of calibre
Posts: 43,905
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
04-28-2010, 11:17 PM | #83 |
Connoisseur
Posts: 68
Karma: 56
Join Date: Oct 2009
Device: Sony PRS-650 & PRS-600
|
|
04-29-2010, 11:08 AM | #84 | |
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
|
Quote:
Dale |
|
05-04-2010, 10:52 PM | #85 |
Connoisseur
Posts: 68
Karma: 56
Join Date: Oct 2009
Device: Sony PRS-650 & PRS-600
|
A new version has been released. A list of errors is now shown on most objects, giving a short message about what is wrong. It is no longer permitted to export to ePub if any errors exist.
I've identified but not fixed a longstanding bug where seemingly random "NullReferenceExceptions" were being thrown during scrolling and deleting items. It has to do with the underlying Wpf sorting functionailty and how it interacts with the Navigation treeview. |
05-19-2010, 01:42 AM | #86 |
Connoisseur
Posts: 68
Karma: 56
Join Date: Oct 2009
Device: Sony PRS-650 & PRS-600
|
New version released.
* Small bug fixes and performance improvements. * Work has started on ePubHub's native file format, called .ephx. It's xml inside a zip and is listed in the Formats section of the UI. * The native Wpf error checking is now used in some places in the UI. You will see a red outline around some fields which have missing or invalid data. The metadata section currently uses this. * Additional rendering options for the Quotation <q> tag. It is now possible to specify if the <q> tag, quotation marks or both should be rendered. You can specify the characters used for primary quotes (top level) and secondary quotes (nested), such as curly quotes, double angled brackets, Swedish-style quotes and more. |
06-09-2010, 05:50 PM | #87 |
Connoisseur
Posts: 68
Karma: 56
Join Date: Oct 2009
Device: Sony PRS-650 & PRS-600
|
A new version was released. A family emergency has prevented much work this week.
* New Image Page object added, for future support of comic books or any type of content where a single image is used as a page. It renders almost exactly like the existing Cover Page. * Preliminary support for Ncx fallback chains, but not implemented in Gui yet. Initially this will be restricted to Jpg->Xhtml fallback chains. Fallbacks don't seem to be well supported on ADE/Sony Reader but perhaps if people use it the readers will support it in the future. * New Audio object which currently renders as a link to an Mp3 file. Doesn't work in my Sony reader. Support for Ncx audio will be coming in the future. * Open/Saving of native Ephx documents. This barely works so don't use it. * More and improved icons. * ClickOnce prerequisites set to .Net 4.0 Client. I had already done this but somehow the setting didn't take or was later lost. * Improvements to Last used path/filename to better work with .Net 4.0. Last edited by awx; 06-09-2010 at 06:01 PM. |
07-11-2010, 07:53 PM | #88 |
Connoisseur
Posts: 68
Karma: 56
Join Date: Oct 2009
Device: Sony PRS-650 & PRS-600
|
New version released.
* I believe the long-standing exception that was thrown during scrolling is now fixed. * Sorting has been improved for all items except stylesheets. * Bug where exporting fonts, css, audio had the wrong default file extension is fixed. * Bug fix for exception thrown while attempting to browse unavailable network shares. * Css import will now try to load the Fontface fonts automatically if they are in the same directory as the Css file. Still only supports Otf files. * During Xhtml import, a <div class="scene-split" /> will be changed into a native SceneSplit object. Any contents inside the div will be removed and the normal SceneSplit rendering will take over. Last edited by awx; 07-11-2010 at 08:20 PM. |
08-01-2010, 03:16 PM | #89 |
Connoisseur
Posts: 68
Karma: 56
Join Date: Oct 2009
Device: Sony PRS-650 & PRS-600
|
New version released with two minor features:
* GUI for documents (chapters, generic pages, etc.) has been cleaned up considerably. * A "Show Errors" menu item added to the "Tools" menu. It simply collapses all items in the navigation pane except those with errors. Edit: I wrote too soon about sorting improvements in the previous post. I must now revisit this again. Last edited by awx; 08-02-2010 at 12:04 AM. |
09-14-2010, 04:30 PM | #90 |
Connoisseur
Posts: 68
Karma: 56
Join Date: Oct 2009
Device: Sony PRS-650 & PRS-600
|
New version pushed out:
* Sorting problems should now be taken care of. * Stylesheets are now properly sorted and support drag-and-drop editing. * ePub filename constraints modified to more closely match the standard (upper and lowercase are now allowed but filenames are not case sensitive). Epubhub still restricts you to a-z with no accented characters allowed. Last edited by awx; 09-18-2010 at 02:52 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc | kovidgoyal | Calibre | 68 | 05-30-2011 08:46 PM |
any open source ebook reader apps? | kennyc | Android Developer's Corner | 15 | 12-23-2010 01:38 PM |
EPUB generated by ebook-convert does not open gracefully on windows | Heritage History | Calibre | 4 | 07-08-2010 01:37 PM |
OpenInkpot (open source ebook firmware) | davidw89 | Sony Reader | 9 | 11-15-2008 09:59 AM |
Proposal for an open source multi-format ebook authoring tool | Jon Noring | News | 15 | 09-12-2008 12:17 PM |