Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 10-29-2014, 08:09 PM   #31
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Forgiven.
eschwartz is offline   Reply With Quote
Old 11-11-2014, 04:22 AM   #32
Wendy Wolfe
Member
Wendy Wolfe began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2014
Device: Kindle DX, Kindle Fire HDX 7", iOS (iPhone and iPad)
(follow-up question from a non-pro...)

I'm using the Calibre editor to write a "family recipes" EPUB. Eventually, it will be KindleGen'd to a side-loadable mobi for my Kindle-centric extended family.

Reading this thread made me realize that if I go the pagebreak-after-each-recipe route... I'll have more than 500 files in the final EPUB (last recipe count was approx 500 & one file per means a lot of files). Oh my.

Also, it is going to be a challange to work with in the "Files Browser" because it seems that I can't organize the kazillion text files into subfolders. (More on this at the end of this note.)

Do any of the EPUB editors allow for a directory structure to organize the "text" files?

Or is this just the reality of dealing with this kind of EPUB?

Thanks

Sidenote:
Interestingly, the Calibre editor allows me to place "text" files into subfolders (text/xxx.html, text/sub/yyy.html, text/sub/ggg.html are all valid). I played around a bit & everything seems to work fine. I assume that there's a reason why the UI doesn't detect/surface the organization. It would be a rather nice feature of v.large books.)
Wendy Wolfe is offline   Reply With Quote
Advert
Old 11-11-2014, 04:50 AM   #33
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,001
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
A new file isn't the only way to create a page break in an ePub. Using CSS and pagebreakbefore should work fine.
pdurrant is offline   Reply With Quote
Old 11-11-2014, 12:10 PM   #34
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
Quote:
Originally Posted by Wendy Wolfe View Post
(follow-up question from a non-pro...)

I'm using the Calibre editor to write a "family recipes" EPUB. Eventually, it will be KindleGen'd to a side-loadable mobi for my Kindle-centric extended family.

Reading this thread made me realize that if I go the pagebreak-after-each-recipe route... I'll have more than 500 files in the final EPUB (last recipe count was approx 500 & one file per means a lot of files). Oh my.

Also, it is going to be a challange to work with in the "Files Browser" because it seems that I can't organize the kazillion text files into subfolders. (More on this at the end of this note.)

Do any of the EPUB editors allow for a directory structure to organize the "text" files?

Or is this just the reality of dealing with this kind of EPUB?

Thanks

Sidenote:
Interestingly, the Calibre editor allows me to place "text" files into subfolders (text/xxx.html, text/sub/yyy.html, text/sub/ggg.html are all valid). I played around a bit & everything seems to work fine. I assume that there's a reason why the UI doesn't detect/surface the organization. It would be a rather nice feature of v.large books.)
You can set up any kind of structure you would like for ePub. Some editors are limited in what they support but as you have found out the Calibre editor does not. There is only one hard coded file and it is used to find the starting point for all of the rest.

Every text (xhtml) file does start a new page in your book. There are other ways to have page changes. Most readers load one file at a time into RAM but some load the entire book.

Dale
DaleDe is offline   Reply With Quote
Old 11-11-2014, 02:37 PM   #35
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Wendy Wolfe View Post
Also, it is going to be a challange to work with in the "Files Browser" because it seems that I can't organize the kazillion text files into subfolders. (More on this at the end of this note.)

Do any of the EPUB editors allow for a directory structure to organize the "text" files?

Or is this just the reality of dealing with this kind of EPUB?

Thanks

Sidenote:
Interestingly, the Calibre editor allows me to place "text" files into subfolders (text/xxx.html, text/sub/yyy.html, text/sub/ggg.html are all valid). I played around a bit & everything seems to work fine. I assume that there's a reason why the UI doesn't detect/surface the organization. It would be a rather nice feature of v.large books.)
As you saw, calibre allows you to put files in your own folder layout.

However, the File Browser used in the editor sorts books according to data type, and all Text files will be listed together.

If you built a ToC with proper nesting, you can view it in a separate panel, and use it to navigate around as well.
eschwartz is offline   Reply With Quote
Advert
Old 11-11-2014, 03:18 PM   #36
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 pdurrant View Post
A new file isn't the only way to create a page break in an ePub. Using CSS and pagebreakbefore should work fine.
Paul:

I think that for mobi, we're still using separate pages/files for "breaks." Now, it could be that we're just stuck in a rut, but I think...nope, I'm pretty sure that even now, for mobi, the only way to get headings right, on the "page" (so to speak) is to use new files.

Now, I can see that this might be distressing for someone trying to assemble 500 recipes. Wendy, does the placement of the "top" of the recipe really matter to you? Do you care if it's precisely 3 lines down from the top of the screen, or is that a secondary concern? (This is about the eventual mobi-fication of her book, to be clear).

I would note, from a user-standpoint, that for rendering, the more files the merrier, in terms of snappy loading times. This is true for both ePUB and MOBI, IMHO. I've done ePUB/mobi with over 900 "files," including images; and man, the more XHTML files, the snappier THAT goes.

Hitch
Hitch is offline   Reply With Quote
Old 11-14-2014, 12:03 PM   #37
Wendy Wolfe
Member
Wendy Wolfe began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2014
Device: Kindle DX, Kindle Fire HDX 7", iOS (iPhone and iPad)
Thanks all. Very helpful.

I've gone down the one-recipe-per-file route. The page breaks increase "usability", so they are worth the effort. The render times are a happy bonus.

The suggestion to use the toc.ncx and spine to navigate around is brilliant.

Thankfully, the recipes were in a MySQL database & already written in HTML snippits. Once I designed a template recipe-detail page, it was quick work to extract the data & write a script to create the xhtml files. The project is turning out to be less onerous than I expected.

Again, thanks.
-w
Wendy Wolfe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iPad iBooks: page-break-after/inside/before NOT working? philx Apple Devices 7 01-27-2013 12:42 AM
mobi to epub - sections cause page break sonyreaderfan Conversion 1 12-02-2011 04:17 AM
Mobi to epub page break mr.ninja13 Calibre 23 08-09-2011 02:06 PM
Page-break-inside:avoid and mobi AlexBell Kindle Formats 3 06-01-2011 06:03 AM
azw to mobi: Not detecting chapters/page break at chapters and no TOC RachDvn Calibre 3 01-16-2011 09:53 AM


All times are GMT -4. The time now is 12:54 AM.


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