|  07-22-2009, 09:36 AM | #76 | |
| GuteBook/Mobi2IMP Creator            Posts: 2,958 Karma: 2530691 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. Last edited by nrapallo; 07-22-2009 at 09:39 AM. | |
|   |   | 
|  07-22-2009, 09:56 AM | #77 | 
| eBook FANatic            Posts: 18,301 Karma: 16078357 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>.
		 | 
|   |   | 
|  07-22-2009, 09:59 AM | #78 | 
| Sir Penguin of Edinburgh            Posts: 12,375 Karma: 23555235 Join Date: Apr 2007 Location: DC Metro area Device: Shake a stick plus 1 | |
|   |   | 
|  07-22-2009, 10:54 AM | #79 | |
| GuteBook/Mobi2IMP Creator            Posts: 2,958 Karma: 2530691 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? Last edited by nrapallo; 07-22-2009 at 11:08 AM. Reason: typo | |
|   |   | 
|  07-22-2009, 11:22 AM | #80 | |
| Sir Penguin of Edinburgh            Posts: 12,375 Karma: 23555235 Join Date: Apr 2007 Location: DC Metro area Device: Shake a stick plus 1 | Quote: 
 | |
|   |   | 
|  07-23-2009, 02:18 AM | #81 | 
| eBook Enthusiast            Posts: 85,560 Karma: 93980341 Join Date: Nov 2006 Location: UK Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6 | |
|   |   | 
|  07-23-2009, 03:02 AM | #82 | |
| Wizard            Posts: 3,413 Karma: 13369310 Join Date: May 2008 Location: Launceston, Tasmania Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet | Quote: 
 Regards, Alex | |
|   |   | 
|  07-23-2009, 08:09 AM | #83 | |
| GuteBook/Mobi2IMP Creator            Posts: 2,958 Karma: 2530691 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. | |
|   |   | 
|  07-23-2009, 08:41 AM | #84 | 
| eBook Enthusiast            Posts: 85,560 Karma: 93980341 Join Date: Nov 2006 Location: UK Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6 | 
			
			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. | 
|   |   | 
|  07-23-2009, 09:02 AM | #85 | |
| GuteBook/Mobi2IMP Creator            Posts: 2,958 Karma: 2530691 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. | |
|   |   | 
|  07-23-2009, 09:04 AM | #86 | 
| eBook Enthusiast            Posts: 85,560 Karma: 93980341 Join Date: Nov 2006 Location: UK Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6 | 
			
			Thank you very much for the advice, Nick. I'll try that and let you know the outcome!
		 | 
|   |   | 
|  07-23-2009, 09:26 AM | #87 | 
| GuteBook/Mobi2IMP Creator            Posts: 2,958 Karma: 2530691 Join Date: Dec 2007 Location: Toronto, Canada Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN | |
|   |   | 
|  07-24-2009, 07:44 PM | #88 | |
| eBook FANatic            Posts: 18,301 Karma: 16078357 Join Date: Apr 2008 Location: Alabama, USA Device: HP ipac RX5915 Wife's Kindle | Quote: 
 | |
|   |   | 
|  07-24-2009, 08:03 PM | #89 | |
| GuteBook/Mobi2IMP Creator            Posts: 2,958 Karma: 2530691 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. | |
|   |   | 
|  07-25-2009, 07:41 AM | #90 | |
| eBook FANatic            Posts: 18,301 Karma: 16078357 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? | |
|   |   | 
|  | 
| 
 | 
|  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 and Resources (No Self-Promotion or Affiliate Links) | 46 | 05-20-2009 10:03 AM |