View Single Post
Old 10-06-2015, 08:00 PM   #10
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by WolfBack View Post
I don't know what wrong is happened... Something with the underscores or the long section names?
Underscores shouldn't cause any problem, any book that as been converted with Calibre will usually have underscores in the filenames, and lots of books from the big publishers have them too.

Filename length shouldn't normally be a problem either, there is probably some limit on length, but it must be a very high limit because some of the books that come from Smashwords have crazy long filenames, and they work okay (well, they usually have a lot of problems that need fixing, but the ePub reader doesn't completely refuse to display them.) Here is a typical example:
Code:
tmp_ca8960047058be7ad0839209d3b86dd7_zbbG9l.ch.fixed.fc.tidied.stylehacked.xfixed_split_003.html
Edit: But I thought of one possible problem with the filename length: in some places the firmware might reference the internal files in the epub by their full pathname, i.e. <name of epub>/<name of internal file> so there might be a limit on the total length of that pathname, in which case if the epub filename is very long then a long internal filename could be enough to make the total too long.

How long is the full pathname of the epub once calibre has transferred it to the device? With the default template, Calibre can generate some very long pathnames if the book has multiple authors. (I have changed my template to produce short pathnames that only use the surname of the first author.)

Last edited by GeoffR; 10-06-2015 at 08:26 PM. Reason: Full epub pathname might be too long ...
GeoffR is offline   Reply With Quote