Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 04-26-2014, 08:31 PM   #1
PO40600
Enthusiast
PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.
 
Posts: 43
Karma: 472362
Join Date: Jan 2013
Location: France
Device: Galaxy Note II & Note Pro 12.2, PocketBook Touch Lux, PB Touch,Odysse
Structure of some ePub different in Windows or in Macintosh

Hello,

I recently had a problem with some eBooks that I can't open on my PocketBook Touch Lux using CoolReader.

After long inquiries, with the help of a friend, we noticed that the structure of these eBooks appears to be different in the Calibre Book Editor according to whether we are under Windows or under Mac OS.

With Windows, all the .html files are in the "text files" section



With Mac OS, all the html files are in another section



I would like to know the reason of this different behavior which prevent all Search and replace action to be done when "all text files "option is checked on.


Attachment : the ePub file, whose structure appeared to be different whether we are on Windows or Mac OS. I know that this ePub is badly built. That's why we wished to make strong changes using Regex rules, that can't be applied on Mac OS, due to the different way the structure appeared.

Last edited by DoctorOhh; 04-26-2014 at 10:37 PM.
PO40600 is offline   Reply With Quote
Old 04-26-2014, 10:04 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Umm the epub file you attached has no files inside it whose names start with division? Also the file has iternal filesnames with non-ascii characters in it, which is probably what is causing the issue.
kovidgoyal is offline   Reply With Quote
Advert
Old 04-26-2014, 10:40 PM   #3
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by PO40600 View Post
Attachment : the ePub file, whose structure appeared to be different whether we are on Windows or Mac OS. I know that this ePub is badly built.
Moderator Notice
Attachment removed. Do not attach any copyright books to Mobileread posts (see posting guidelines).
DoctorOhh is offline   Reply With Quote
Old 04-27-2014, 05:55 AM   #4
PO40600
Enthusiast
PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.
 
Posts: 43
Karma: 472362
Join Date: Jan 2013
Location: France
Device: Galaxy Note II & Note Pro 12.2, PocketBook Touch Lux, PB Touch,Odysse
Quote:
Originally Posted by kovidgoyal View Post
Umm the epub file you attached has no files inside it whose names start with division? Also the file has iternal filesnames with non-ascii characters in it, which is probably what is causing the issue.
Thank you Kovid,

The renaming of the html files into division-01, division-02, etc, was part of all the regex, as well as the replacement of the stylesheet.

We know that there was non ASCII characters and we wish to correct them with some regex.

the real problem is :

For this file*, Why in Windows, the html files are in the text files section and why in Mac OS there are elsewhere (I use Calibre 1.34 in french language, and the html files are in "Divers" section, which is the last section from top to bottom of the File Navigator.


* and for 15 other of the same serie, all of them causing same troubles when editing them in Mac OS Calibre ...

Last edited by PO40600; 04-27-2014 at 06:17 AM.
PO40600 is offline   Reply With Quote
Old 04-27-2014, 10:55 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The file you attached had all its files under text in OS X as well as windows.
kovidgoyal is offline   Reply With Quote
Advert
Old 04-27-2014, 11:22 AM   #6
PO40600
Enthusiast
PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.
 
Posts: 43
Karma: 472362
Join Date: Jan 2013
Location: France
Device: Galaxy Note II & Note Pro 12.2, PocketBook Touch Lux, PB Touch,Odysse
Well, so How can we explain what appears on the screen copy in my first message ?
PO40600 is offline   Reply With Quote
Old 04-27-2014, 11:50 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I have no idea, if you attach the actual file from which you took the screenshot, that would help.
kovidgoyal is offline   Reply With Quote
Old 04-27-2014, 04:28 PM   #8
PO40600
Enthusiast
PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.PO40600 ought to be getting tired of karma fortunes by now.
 
Posts: 43
Karma: 472362
Join Date: Jan 2013
Location: France
Device: Galaxy Note II & Note Pro 12.2, PocketBook Touch Lux, PB Touch,Odysse
Is it possible to send you the attachment via MP, because the first one has been removed (because of ©)

I've sent you a PM

Last edited by PO40600; 04-27-2014 at 04:36 PM.
PO40600 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
azw3 to epub - structure detection bug ? cybmole Conversion 6 02-02-2014 07:24 PM
[old thread] filename and library structure /author and titel structure tscamera Library Management 4 05-31-2011 05:44 PM
epub - force a 2nd pass to improve structure detection ? cybmole Calibre 10 10-08-2010 01:00 AM
Audible and Macintosh kepstein Amazon Kindle 8 11-30-2007 04:22 PM
[Macintosh] I'm wireless!!! Zire Lounge 6 01-15-2005 06:01 PM


All times are GMT -4. The time now is 11:22 AM.


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