[QUOTE=AlexBell;511148]
Quote:
Originally Posted by rogue_ronin
And I applied thinkjuice (caffeine suspensions) to the problem of epigrams (and pullquotes, too) and realized that blockquotes were the answer. They can contain paragraphs, and CSS will let you do anything that you can do to divs.
I think you'll find that there are differences between the Mobipocket version of HTML and real HTML set out according to W3C standards. One of them is that W3C standards require that you put text in <p></p> tags in blockquotes - like
<blockquote>
<p>line of text</p>
</blockquote>
But if you do that then Mobipocket will not indent the text, which is the whole point of using blockquote. Mobipocket requires that you not use a <p></p> tag, which means that the HTML will not validate.
I look forward to the day when ePub becomes the format of choice, and expect that it will use valid HTML. So I am trying to use valid HTML.
Regards, Alex
|
Well, mobipocket is getting up there... but I don't think it's as old as my REB1100.
It shouldn't be an issue here -- even though I don't use mobipocket, I could certainly write a macro that found
ps inside
blockquotes and removed them, replacing with
br or whatever works, as part of the conversion process.
That's actually my goal, to have a good, valid XHTML source, and write whatever macros I need to make whatever target file I need. NoteTab can do some amazing stuff, including run other programs, so...
'course, I think Calibre will be able to do it too, (convert) and I am going to try it out once I'm finished with this. I think it makes an effort to produce good output for its target. I read that Kovid Goyal intends to produce a touch-up editor -- which may put my work here to complete death...
And EPUB will be great when there are easy tools to use. Until then I'll keep editing source...
m a r