07-15-2009, 09:05 AM | #31 | |
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-15-2009, 09:08 AM | #32 |
zeldinha zippy zeldissima
Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
|
Advert | |
|
07-15-2009, 09:09 AM | #33 |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
|
07-15-2009, 10:05 AM | #34 |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
I do not think it does that. Instead it does not add any </p>. So if they are missing in the .mobi file they wil be missing in the exploded html file.
|
07-15-2009, 10:29 AM | #35 | |
frumious Bandersnatch
Posts: 7,516
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Anyway, my point is that, while it's certainly better to have a "master" version using CSS and all, that's not directly used in the mobi. Mobipocket Creator, or Calibre, or whatever will probably make some translation and be reliable most of the time, but if you want to control what really goes into the mobi, you have to edit the pseudo-HTML anyway. |
|
Advert | |
|
07-15-2009, 12:41 PM | #36 | |
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:
Here is the original 'HTML Formatting for RocketEditions' guide (also for the REB1100) in .rb and .html within the below .zip file. It basically supports HTML 3.2 with some limitations and quirks! The current eBook Publisher software or rbmake will create .rb ebooks from the same source that is used to create .imp ebooks. Have fun! |
|
07-16-2009, 12:29 AM | #37 | |
Banned
Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
|
Quote:
It's the tool I use to make RB files. The RB format is basically compressed HTML with a generated index file. There are a bunch of ugly hacks contained in it to generate a pop-up menu. That page I linked has a lot more about it. There are some tricks that I've found for the HTML -- the biggest one is that to have the cover show as the first page, you need to wrap it in <center> tags. Yes, <center>. Another is that the screen size is 2 pixels larger on the REB1100 than on the old Rocket. The hardware can do 4 grays, I think, but the firmware is limited to 1. (You're better off pre-converting any images, too.) Any link that passes from one page turn to another is broken. I'm sure that there are a few more -- feel free to PM me about anything. If you're serious about creating hand-edited files in RB format, you should definitely use the tools from the rbmake project. It's both Windows and Linux, although the very latest version is not compiled for Windows (I use Linux, so I can't help you if you use Windows.) You can use the related project files to explode them, build dictionaries, etc. It's web-aware, and does a LOT of amazing things. Once you get a script well-written, it does just about anything to a source. Like the Rocket/REB1100 it was way ahead of it's time. If you use Linux, and you're looking for an upload/download tool, you need rebcomm, which you can find here.. m a r ps: a little off topic? |
|
07-16-2009, 04:44 AM | #38 | |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
Quote:
|
|
07-16-2009, 08:21 AM | #39 | |
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-16-2009, 09:36 AM | #40 |
Sir Penguin of Edinburgh
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
|
07-16-2009, 09:37 AM | #41 | |
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:
That said, the .rb's support of CSS is more limited than the .imp's acceptance of same, so in this case, no, the CSS property for pagebreaks is NOT respected. Only a '<hr size=0>' in front (or in it's place) will produce the expected pagebreak. I give you an example, Robin Hood (PG Etext No. 28700) converted to Paul Creswick - Robin Hood.rb via my GuteBook program uses the 'page-break-before' CSS property by default and it doesn't work on the REB1100. However, after editing the source files (included in the below .zip) to include <hr size=0> in front of the <h2> and <h3> tags, you can produce another Paul Creswick - Robin Hood-hr-size-0.rb using rbmake to magically "activate" those pagebreaks within the .rb. See rbmake-log.txt for rbmake details. I also tried to place the CSS property 'page-break-before' inline to see if that made a difference, but it didn't with Paul Creswick - Robin Hood-inline-pb-style.rb and neither did the .imp shortcut for page-breaks, <pb>, work for .rb files! And there you have it! |
|
07-16-2009, 09:53 AM | #42 | |
Sir Penguin of Edinburgh
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
Quote:
The Mobipocket file format doesn't support that div tag, _but_ MobiCreator does. It converts that tag to Mobipocket's proprietary tag. I was hoping RBMake would do the same. I now see that it doesn't. I also see that the code is written in C, so I might add support for converting the div tag. I'll give the style tag a shot, too. |
|
07-16-2009, 11:00 AM | #43 | |
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:
The '<hr size=0>' is NOT ignored by calibre when creating .epub, .lrf, etc... so it isn't useful within .html that is used to create multiple ebook formats (it is ignored by eBook Publisher ). Fixing rbmake to support this may work for that software, but it won't be available to eBook Publisher or the old RocketLibrarian that also create .rb from .html. |
|
07-16-2009, 11:45 AM | #44 | ||
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:
Per the Excerpts from A Technical Writer's HTML Template for SoftBook Editions: Quote:
|
||
07-16-2009, 11:09 PM | #45 |
Banned
Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
|
rbmake also supports regex search/replace, built in. Just add a rule to your basic rbmake script (or a separate regex file using the s switch) or OPT file to replace <div style="page-break-after:always"/> with either <hr size=0> or <hr new-page>. Or whatever your preferred output is. (Maybe you want to keep the div, just replace the style?)
You could have quite a list of standard replacements to make your work easier. (You could share too! ) rbmake can be told to recognize <hr size=0> or to ignore it, using the z switch. If you're going to update the program, I think you want the RBhtml libraries. I've emailed with Wayne Davison a few times, he's super-approachable. (I think he might hang out here, too -- don't know why I think that...) m a r |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best example of HTML formatting for Kindle??? | delphidb96 | Amazon Kindle | 13 | 02-15-2011 06:22 AM |
HTML formatting | MarcusStringer | ePub | 17 | 04-06-2010 11:23 AM |
html2mobi - html formatting | brunovg | Kindle Formats | 2 | 12-13-2009 05:56 AM |
HTML formatting | john folkard | Calibre | 1 | 08-18-2009 10:15 AM |
line formatting formatting question | daesdaemar | Workshop | 9 | 02-06-2009 11:47 AM |