Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-30-2009, 03:23 PM   #1
flowoeB
E-Reader Sammler
flowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura about
 
flowoeB's Avatar
 
Posts: 143
Karma: 4160
Join Date: Feb 2009
Location: Austria
Device: plenty...
0.6.3 pagebreak before h2 only every second time?

hi,

still trying to convert html to lrf but now i get the following:

i add page breaks before:
//*[name()='h1' or name()='h2']

but it only breaks every even time on h2 tags - every odd time there's no break on my prs-505

chapters are marked like <p><h2><b>1.</b></h2></p> in the html file...

what am i doing wrong this time?
flowoeB is offline   Reply With Quote
Old 07-30-2009, 05:55 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,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
works for me, are you using the chapter detection or the page breaks before option?
kovidgoyal is offline   Reply With Quote
Advert
Old 07-31-2009, 12:08 AM   #3
flowoeB
E-Reader Sammler
flowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura about
 
flowoeB's Avatar
 
Posts: 143
Karma: 4160
Join Date: Feb 2009
Location: Austria
Device: plenty...
I'm useing the page break before option but tried both with same result... same with the preset settings when you add a new document... there are lots of german 'umlaute' in the text but else nothing unusual... it not only happens on the 505 - it happens in the calibre preview too so it's not a 505 problem...
flowoeB is offline   Reply With Quote
Old 07-31-2009, 12:54 AM   #4
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,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Strange opena ticket and attach your file (incidentally what format are you converting to?)
kovidgoyal is offline   Reply With Quote
Old 07-31-2009, 01:47 AM   #5
flowoeB
E-Reader Sammler
flowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura aboutflowoeB has a spectacular aura about
 
flowoeB's Avatar
 
Posts: 143
Karma: 4160
Join Date: Feb 2009
Location: Austria
Device: plenty...
i was able to narrow it down to the header:

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Author" content="name removed">
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="949.46">

</head>

after removing it everything is fine... with it it breaks every second h2 but only if there are not two h2 in a row without a line of code between them...

sorry for not sending the file but in austria i'm only allowed to make private copies of the material i scanned myself...
flowoeB is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
XPath Help and Pagebreak emellaich Calibre 3 07-28-2009 02:17 PM
Detect Mobi pocket pagebreak in calibre 0.4.99 Icarusbop Calibre 5 10-24-2008 03:12 AM
BD: Auto pagebreak preceding chapter? Xsavior Sony Reader 5 07-15-2007 04:21 PM


All times are GMT -4. The time now is 11:25 PM.


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