Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-17-2009, 06:25 PM   #16
Croker
Connoisseur
Croker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enough
 
Posts: 73
Karma: 630
Join Date: Sep 2008
Location: Liverpool, UK
Device: Kindle Paperwhite, obv.
Quote:
Originally Posted by wallcraft View Post
Calibre apparently isn't detecting the page breaks or the Chapters, otherwise it would be able to split up the file (or perhaps there is one really big chapter at some point).

Note that by TOC, I mean a formal ePub TOC (that ADE will display in a side panel) not an internal set of HTML links acting as a TOC. The latter is ok, but it may not necessarily help Calibre detect chapters.
Yes, but strangely enough, ADE is showing all the chapter titles in the side panel, too, in the same way as a formal ePub TOC. There's only one thing for it, I'll have to just connect up my Reader and give it a bash. Keep your fingers crossed for me!

EDIT: Ah, no, it doesn't work, as Kovid said earlier. You can copy the file across, but when you try to open it, it just says "Page Error!" and won't do anything else.

This is excruciating, to be honest - I'm on the verge of creating files in the format and style that I really want, and can't get them over to my Reader! Gnnnnngh!

Last edited by Croker; 03-17-2009 at 06:41 PM.
Croker is offline   Reply With Quote
Old 03-17-2009, 07:08 PM   #17
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: 26,126
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
open up the html file and post an extract from it, say the title and first few paragraphs of chapter 1
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 03-17-2009, 07:36 PM   #18
Croker
Connoisseur
Croker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enough
 
Posts: 73
Karma: 630
Join Date: Sep 2008
Location: Liverpool, UK
Device: Kindle Paperwhite, obv.
Quote:
Originally Posted by kovidgoyal View Post
open up the html file and post an extract from it, say the title and first few paragraphs of chapter 1
I'm assuming you mean the actual html source, so here it is:

Code:
<SPAN id=title><DIV align=center><FONT color=#001950><B><A name=uBmk_816121><DIV align=center><FONT color=#001950><B>BANGKOK</B></FONT></DIV>
</A></B></FONT>
</SPAN>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;</DIV>
</DIV>
<DIV align=center><I>Bitch</I></DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;The first I heard of the beach was in Bangkok, on the Khao San Road. Khao San Road was backpacker land. Almost all the buildings had been converted into guest-houses, there were long-distance-telephone booths with air-con, the cafés showed brand-new Hollywood films on video, and you couldn't walk ten feet without passing a bootleg-tape stall. The main function of the street was as a decompression chamber for those about to leave or enter Thailand, a halfway house between East and West.</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;I'd landed at Bangkok in the late afternoon, and by the time I got to Khao San it was dark. My taxi driver winked and told me that at one end of the street was a police station, so I asked him to drop me off at the other end. I wasn't planning on crime but I wanted to oblige his conspiratorial charm. Not that it made much difference which end one stayed because the police obviously weren't active. I caught the smell of grass as soon as I got out of the cab, and half the travellers weaving past me were stoned.</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;He left me outside a guest-house with an eating area open to the street. As I studied it, checking the clientele to gauge what kind of place it was, a thin man at the table nearest me leant over and touched my arm. I glanced down. He was, I guessed, one of the heroin hippies that float around India and Thailand. He'd probably come to Asia ten years ago and turned an occasional dabble into an addiction. His skin was old, though I'd have believed he was in his thirties. The way he was looking at me, I had the feeling I was being sized up as someone to rip off.</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;"What?" I said warily.</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;He pulled an expression of surprise and held up the palms of his hands. Then he curled his finger and thumb into the O-shaped perfection sign, and pointed into the guest-house.</DIV>

<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;"It's a good place?"</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;He nodded.</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;I looked again at the people around the tables. They were mostly young and friendly looking, some watching the TV, and some chattering over their dinner.</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;"OK." I smiled at him in case he wasn't a heroin addict, just a friendly mute. "I'm sold."</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;He returned the smile and turned back to the video screen.</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;Quarter of an hour later I was settling into a room that was a little larger than a double bed. I can be accurate about it because there was a double bed in the room, and on each of its four sides was a foot of space. My backpack could just slide in the gap.</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;One wall was concrete - the side of the building. The others were Formica and bare. They moved when I touched them. I had the feeling that if I leant against one it would fall over and maybe hit another, and all the walls of the neighbouring rooms would collapse like dominoes. Just short of the ceiling, the walls stopped, and covering the space was a strip of metal mosquito netting. The netting almost upheld the illusion of a confined, personal area - until I lay down on the bed. As soon as I relaxed, stopped moving, I began to hear cockroaches scuttling around in the other rooms.</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;At my head end I had a French couple in their late teens - a beautiful, slim girl with a suitably handsome boy attached. They'd been leaving their room as I got to mine and we exchanged nods as we passed in the corridor. The other end was empty. Through the netting I could see the light was off, and anyway, if it had been occupied I would have heard the person breathing. It was the last room on the corridor, so I presumed it faced the street and had a window.</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;On my ceiling was a fan, strong enough to stir the air on full setting. For a while I did nothing but lie on the bed and look up at it. It was calming, following the revolutions, and with the mixture of heat and soft breeze I felt I could drift asleep. That suited me. West to East is the worst for jet lag, and it would be good to fall into the right sleeping pattern on the first night.</DIV>

<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;I switched off the light. There was a glow from the corridor, and I could still see the fan. Soon I was asleep.</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;Once or twice I was aware of people in the corridor, and I thought I heard the French couple coming back, then leaving again. But the noises never woke me fully and I was always able to slip back into the dream I'd been having before. Until I heard the man's footsteps. They were different, too creepy to doze through. They had no rhythm or weight and dragged on the floor.</DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;A muttered stream of British swear-words floated into my room as he jiggled the padlock on his door. Then there was a loud sigh, the lock opened with a click, and his light came on. The mosquito netting cast a patterned shadow on my ceiling.</DIV>
Hope this helps!

EDIT: I'm guessing that my problems may be connected to something HarryT flagged up on the first page of this thread - namely, that when exporting from BD, it adds <DIV align=justify> to each paragraph. Am I close?

Last edited by Croker; 03-17-2009 at 07:41 PM.
Croker is offline   Reply With Quote
Old 03-17-2009, 07:55 PM   #19
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: 26,126
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
hmm open a ticket and attach the html file
kovidgoyal is offline   Reply With Quote
Old 03-18-2009, 12:54 PM   #20
Croker
Connoisseur
Croker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enough
 
Posts: 73
Karma: 630
Join Date: Sep 2008
Location: Liverpool, UK
Device: Kindle Paperwhite, obv.
Quote:
Originally Posted by kovidgoyal View Post
hmm open a ticket and attach the html file
Done. Thanks for all your help. I look forward to hearing what you make of all this! It's ticket #2098, by the way.
Croker is offline   Reply With Quote
Old 03-18-2009, 04:21 PM   #21
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,701
Karma: 18475502
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
It would be rather nice to be able to make ePub from Book Designer output.
JSWolf is offline   Reply With Quote
Old 03-18-2009, 04:29 PM   #22
Croker
Connoisseur
Croker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enough
 
Posts: 73
Karma: 630
Join Date: Sep 2008
Location: Liverpool, UK
Device: Kindle Paperwhite, obv.
Quote:
Originally Posted by JSWolf View Post
It would be rather nice to be able to make ePub from Book Designer output.
Well, that's what the script in this thread claims to do, but as I don't understand how to run it properly, I can't test it out!

Any suggestions on that front, whilst Kovid looks into the issues with Calibre, would be greatly appreciated!
Croker is offline   Reply With Quote
Old 03-18-2009, 04:44 PM   #23
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: 26,126
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
creating epub from BD output using calibre works fine, apart from the splitting issue, which will be fixed in the next calibre release.
kovidgoyal is offline   Reply With Quote
Old 03-18-2009, 05:00 PM   #24
Croker
Connoisseur
Croker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enough
 
Posts: 73
Karma: 630
Join Date: Sep 2008
Location: Liverpool, UK
Device: Kindle Paperwhite, obv.
Quote:
Originally Posted by kovidgoyal View Post
creating epub from BD output using calibre works fine, apart from the splitting issue, which will be fixed in the next calibre release.
When you say "the splitting issue", is this the first problem I had? The one I posted the long error message for, I mean?

Whatever it is, it's great that the fix will be in the next release, anyway, so I'm chuffed with that. Thanks for your swift response!

Last edited by Croker; 03-18-2009 at 05:08 PM.
Croker is offline   Reply With Quote
Old 03-20-2009, 06:17 PM   #25
Croker
Connoisseur
Croker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enoughCroker will become famous soon enough
 
Posts: 73
Karma: 630
Join Date: Sep 2008
Location: Liverpool, UK
Device: Kindle Paperwhite, obv.
The latest edition of Calibre (0.5.2, I think) cures the problem I had.

I can now convert to ePub using the PRS-505 profile option without it crashing. It seems to work fine, which is nice!

Thanks, Kovid!
Croker is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
converting to ePub bookwurm70 Calibre 3 05-25-2010 08:20 AM
Converting to Epub verybadcat General Discussions 3 04-08-2010 05:26 PM
Converting to ePub for new Opus scgf Calibre 3 07-30-2009 08:34 AM
Bookdesigner: Which fontsizes, margins,settings when converting to LRF? ProDigit LRF 2 11-25-2008 06:42 PM


All times are GMT -4. The time now is 03:50 AM.


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