Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-22-2009, 05:44 PM   #1
WarumIch
Member
WarumIch began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Mar 2009
Location: Cologne, Germany
Device: iPad, iPhone
create chapters at regular intervals?

The only thing which is better in Stanza Desktop in converting files, is that Stanza creates chapters at regular intervals, if it does not find any chapter in the html file (or rtf). Is it possible to let calibre do the same, which means create chapters at regular intervals (every 50 pages or something like that)? Because without chapters it took so long to load an ebook in Stanza for iPhone.

If its not possible, then i would like to request this feature
WarumIch is offline   Reply With Quote
Old 03-22-2009, 05:55 PM   #2
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: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
But the problem with that is that the chapters will be incorrect and you'll have page breaks at places that are incorrect. The solution is to edit the source as needed to fix things so a ToC is generated or have a look to see what regular expression can be used to define ToC elements.
JSWolf is offline   Reply With Quote
Advert
Old 03-22-2009, 06:06 PM   #3
WarumIch
Member
WarumIch began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Mar 2009
Location: Cologne, Germany
Device: iPad, iPhone
Quote:
Originally Posted by JSWolf View Post
But the problem with that is that the chapters will be incorrect and you'll have page breaks at places that are incorrect.
But incorrect chapters is better than no chapters, at least for me.
Quote:
Originally Posted by JSWolf View Post
The solution is to edit the source as needed to fix things so a ToC is generated or have a look to see what regular expression can be used to define ToC elements.
I don't know anything about html commands oder in using html editors. So for people like me it would be good, if calibre would do this job.
WarumIch is offline   Reply With Quote
Old 03-22-2009, 11:01 PM   #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: 43,852
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In the EPUB conversion options change the profile to PRS505
kovidgoyal is offline   Reply With Quote
Old 03-23-2009, 01:56 AM   #5
WarumIch
Member
WarumIch began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Mar 2009
Location: Cologne, Germany
Device: iPad, iPhone
Quote:
Originally Posted by kovidgoyal View Post
In the EPUB conversion options change the profile to PRS505
Thanks, this works fine

But now I habe an other Problem. I converted a html ebook for Stanza for iPhone. But the upper 20% of the display is without any lines and at the lower displaypart there a about 20% of the lines are missing. So everything is moved out of place.

But this is the only ebook with this Problem. If you want, I could send you the html file (but its in german).
WarumIch is offline   Reply With Quote
Advert
Old 03-23-2009, 02:51 AM   #6
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,852
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
this happens if the HTML uses non reflowable markup like tables or <pre> tags

Try the linearize tables option
kovidgoyal is offline   Reply With Quote
Old 03-23-2009, 03:13 PM   #7
WarumIch
Member
WarumIch began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Mar 2009
Location: Cologne, Germany
Device: iPad, iPhone
I've tried the linearize tables option, but it did not work. It's still moved out of place...
WarumIch is offline   Reply With Quote
Old 03-23-2009, 03:30 PM   #8
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,852
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
then its probably using &nbsp; or <pre> no easy way to fix that short of editing the html
kovidgoyal is offline   Reply With Quote
Old 03-23-2009, 04:27 PM   #9
WarumIch
Member
WarumIch began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Mar 2009
Location: Cologne, Germany
Device: iPad, iPhone
Here is a Part of the html Code from a place, where the lines are moved out of place. Maybe it helps you...:

<p class=MsoBodyText><span lang=DE-AT style='color:black'>Licht, Stille und ein
Meer von Farben in hundert Metern Höhe.<o></o></span></p>

<p class=MsoBodyText><span lang=DE-AT style='color:black'>Doch da, wo sich das
undurchdringliche Laub der Bäume den gleißenden Sonnenstrahlen entgegenstellte und
diese mühsam darum kämpften, sich einen Weg bis zum Boden zu bahnen, offenbarte
sich die Kehrseite der Medaille. Mit jedem Meter verlor das Licht an Kraft und
die Farben erstickten in einer trüben, undurchlässigen Dämmerung. Hier unten am
Boden war die vermeintliche Ruhe nur eine trügerische Maskerade, hinter der
sich Tod und Gewalt verbargen.<o></o></span></p>
WarumIch is offline   Reply With Quote
Old 03-23-2009, 04:34 PM   #10
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
o_O Was that created in MS Word?
ilovejedd is offline   Reply With Quote
Old 03-23-2009, 04:48 PM   #11
WarumIch
Member
WarumIch began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Mar 2009
Location: Cologne, Germany
Device: iPad, iPhone
Quote:
Originally Posted by ilovejedd View Post
o_O Was that created in MS Word?
Yes. Word for Mac 2008
WarumIch is offline   Reply With Quote
Old 03-23-2009, 04:52 PM   #12
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,852
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The first thing to do is save it as filtered HTML so it doesn't contain all the word specific tags in it
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Screensaver changing at intervals? - Kindle 3 kidblue Amazon Kindle 4 10-10-2010 12:55 AM
Help with the regular expression Dysonco Calibre 9 03-22-2010 10:45 PM
Help with Regular Expressions ghostyjack Workshop 2 01-08-2010 11:04 AM
ePub Chapters vs. Stanza Chapters kjk Sigil 4 09-14-2009 10:50 AM
Regular error AprilHare Calibre 1 08-09-2008 10:39 PM


All times are GMT -4. The time now is 01:07 AM.


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