Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-23-2008, 02:06 PM   #1
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Calibe E-Book Conversion problem

Hi All,
I'm struggling with Calibe's HTML2LRF tool is not working for me.

In the "Conversions" dialog box (gotten by depressing the "Convert E-books")
Under the "Chapter Detection" Category

I'm trying to cause a page break before/after this line in HTML

<P STYLE="page-break-before: always">

The syntax I'm using is
P,STYLE,page*

I've also tried many variations of the last param "page" but I've yet to get it to work. Does anybody know how to get the page break to work in calibe.


Thank you
=X=
=X= is offline   Reply With Quote
Old 05-23-2008, 02:24 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: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
page breaks should be inserted automatically before that <p> element. If not attach the html file here because its most likely a bug.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-24-2008, 09:50 AM   #3
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
I see that is exactly the problem I am having. Using that tag causes a page break after every paragraph. The behavior I am trying to get is that it page breaks only on a special paragraph tag. Where if the <P> has the attribute
<P STYLE="page-break-before: always"> then it should create a page break.



I'm using open office to create this HTML file. The attached file is not the original file, (much smaller) but behaves just like the original file. I've also attached the generated LRF. The expected behavior is that there is a page break before each H1 tag. In the original file, <img> are used as new chapters and not the typical <H1>. So I cannot key off of H1.

__
Thank you
=X=
Attached Files
File Type: lrf test-page-break problem - Unknown_772.lrf (15.8 KB, 483 views)
File Type: zip test-page-break problem.zip (6.7 KB, 627 views)

Last edited by =X=; 05-24-2008 at 09:52 AM. Reason: 2nd attachment never got uploaded
=X= is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibe, Dropbox & Two Computers? modkindle Related Tools 2 10-10-2010 01:52 AM
conversion problem? mountainman80 ePub 8 01-29-2010 11:54 PM
Calibe und speichern auf BeBook ralphffm44 Software 11 12-09-2009 09:03 AM
HOWTO: Improve performance on calibe generated ePUBs =X= Sony Reader 16 06-17-2009 12:15 AM
Conversion Problem tonyt Calibre 5 06-13-2009 05:04 PM


All times are GMT -4. The time now is 04:43 PM.


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