|
|
#76 | |
|
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,955
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Code:
<a style="page-break-before: always;" name="CHAPTER_I" id="CHAPTER_I"></a> <h2>CHAPTER I</h2> but not: <h2 style="page-break-before: always;"><a name="CHAPTER_I" id="CHAPTER_I"></a>CHAPTER I</h2> and I can't recall if this works as well: <h2 style="page-break-before: always;" name="CHAPTER_I" id="CHAPTER_I">CHAPTER I</h2> The use of the name and id is my attempt to allow for a transition from HTML 3.2 to XMHTL 1.1.
__________________
-Nick ‹The REB1200 Guy› Last edited by nrapallo; 07-22-2009 at 09:39 AM. |
|
|
|
|
|
|
#77 |
|
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,843
Karma: 12759490
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
The same thing happens in BD when using Endnotes. The <a name=""> must be moved outside the <div>.
__________________
Charlie 'Bene legere saecla vincere'. 'To read well is to master the ages' [Prof. Issac Flagg] |
|
|
|
|
Enthusiast
|
|
|
|
#78 |
|
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,026
Karma: 2422819
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
Placing the id attribute inside the h2 tag is similar to how MobiCreator makes its TOC.
__________________
The Digital Reader blog - www.the-digital-reader.com |
|
|
|
|
|
#79 | |
|
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,955
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
I rely solely on the Windows software Reader and can't vouch for it's behaviour on an actual ebook device. Of the three previously listed alternatives, which ones DEFINITELY work when jumping back to the Chapter heading?
__________________
-Nick ‹The REB1200 Guy› Last edited by nrapallo; 07-22-2009 at 11:08 AM. Reason: typo |
|
|
|
|
|
|
#80 | |
|
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,026
Karma: 2422819
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
Quote:
__________________
The Digital Reader blog - www.the-digital-reader.com |
|
|
|
|
|
|
#81 |
|
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 54,658
Karma: 26165759
Join Date: Nov 2006
Location: UK
Device: Kindle Touch, PW, Fire HD, iPad 3, iPhone 4, Samsung Tab 2 7 + More
|
The Mobi-specific "<mbp:pagebreak>" tag definitely works. This is what I use in all my books.
__________________
Harry Currently proofreading The Poison Belt, by Sir Arthur Conan Doyle. |
|
|
|
|
|
#82 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,823
Karma: 2831780
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS 650, Kindle3, iPad2, Sony PRS T1, Sony PRS T2
|
Quote:
Regards, Alex |
|
|
|
|
|
|
#83 | |
|
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,955
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
However, if I was using your .html to create my various ebook formats, then I would need to somehow convert any and all mobi-specific tags into their html equivalent. Which begs the question, why insert them in the first place when html code equivalants exist? I mean, using CSS it is a simple task to add to the <head> section of the .html, the following style declaration: Code:
<style type="text/css">
h2 { page-break-before: always; }
.pb { page-break-before: always; }
</style>
, then just insert the in-line page-break style <div style="page-break-before: always" /> instead.I know the REB1100 uses <hr size=0> or <hr NEW-PAGE> as it's page-break tags and the .imp format uses <pb> as it's shortcut, but would never use them for html code meant to be used for other ebook formats.
__________________
-Nick ‹The REB1200 Guy› |
|
|
|
|
|
|
#84 |
|
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 54,658
Karma: 26165759
Join Date: Nov 2006
Location: UK
Device: Kindle Touch, PW, Fire HD, iPad 3, iPhone 4, Samsung Tab 2 7 + More
|
Hi Nick,
Purely because I don't know a better way, I'm afraid. As you know, I use BD as my book editor, and BD inserts an <HR> to mark a page break. The way that I create my Mobi books is to export the BD book as HTML, and then do a series of global search and replace operations, one of which is to replace "<hr>" by "<mbp:pagebreak>". I then feed the resulting HTML to Mobi Creator. If you can suggest an alternate "replacement" for the <hr> tag that I could do to force page breaks, I'll be happy to change my process.
__________________
Harry Currently proofreading The Poison Belt, by Sir Arthur Conan Doyle. |
|
|
|
|
|
#85 | |
|
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,955
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Code:
<div style="page-break-before: always" /> Now, I can't test which works best on an actual ebook reader (don't own a mobipocket capable one) so experiment which one works (better) for you.
__________________
-Nick ‹The REB1200 Guy› |
|
|
|
|
|
|
#86 |
|
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 54,658
Karma: 26165759
Join Date: Nov 2006
Location: UK
Device: Kindle Touch, PW, Fire HD, iPad 3, iPhone 4, Samsung Tab 2 7 + More
|
Thank you very much for the advice, Nick. I'll try that and let you know the outcome!
__________________
Harry Currently proofreading The Poison Belt, by Sir Arthur Conan Doyle. |
|
|
|
|
|
#87 | |
|
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,955
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
__________________
-Nick ‹The REB1200 Guy› |
|
|
|
|
|
|
#88 | |
|
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,843
Karma: 12759490
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Quote:
__________________
Charlie 'Bene legere saecla vincere'. 'To read well is to master the ages' [Prof. Issac Flagg] |
|
|
|
|
|
|
#89 | |
|
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,955
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
It won't display anything in a web browser, but on an ebook reader, it will force a new page there.
__________________
-Nick ‹The REB1200 Guy› |
|
|
|
|
|
|
#90 | |
|
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,843
Karma: 12759490
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Quote:
Thanks, Nick. I'll let you know what happens. Off the subject. When will IMP be included in Calibre?
__________________
Charlie 'Bene legere saecla vincere'. 'To read well is to master the ages' [Prof. Issac Flagg] |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| <Command Line> Add multiple books in multiple formats | himitsu | Calibre | 8 | 09-25-2010 11:07 PM |
| Bug: entries with multiple formats trigger multiple conversions | flinx1 | Calibre | 12 | 05-21-2010 06:23 AM |
| Error Converting Zip Files w/ Multiple Formats | TheHeartlessHero | Calibre | 2 | 04-10-2010 10:54 AM |
| Process for creating several eBook formats from MS Word doc | jinlo | Workshop | 10 | 06-12-2009 11:05 AM |
| Free eBook in multiple DRM-free formats | cmwilson | Deals, Freebies, and Resources (No Self-Promotion) | 46 | 05-20-2009 10:03 AM |