03-21-2009, 05:41 PM | #31 | ||
Groupie
Posts: 170
Karma: 2000
Join Date: Apr 2008
Location: San José, CA
Device: Amazon Kindle 1, Sony PRS-300, Amazon Kindle 3
|
See Kirtai's response above ...
Quote:
Quote:
Most of these formats also have the advantage of freely available tools (including a massive toolset on O'Reilly for DocBook) for conversion to several outputs, and if the tool doesn't exist, some work with XSLT can handle those conversions. TLDR: HTML is fine for an end format, but it is nowhere near clean enough for the beginning format. |
||
03-23-2009, 12:20 PM | #32 |
Addict
Posts: 304
Karma: 2454436
Join Date: Sep 2008
Device: PRS-505, PRS-650, iPad, Samsung Galaxy SII (JB), Google Nexus 7 (2013)
|
Now that I think about it, ePub containing DTBook might be the best interim standard format for sequential texts like novels and such until a better format becomes available.
Especially if Calibre and other tools start supporting it. Which they should |
Advert | |
|
03-24-2009, 07:22 AM | #33 | |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
Quote:
From what I saw (took a quick look) from that DTBook, but that too is just an XML with a DTD (which XHTML is too). I still prefer XHTML for two reasons. One, I can edit it with notepad if needs be and I can "preview" it in a browser. As long as you don't use a WYSIWYG editor HTML is perfect for the job. ------ Actually, I'd advice against using a WYSIWYG or MSWord (or any other wordprocessor) for creating HTML files at all... |
|
03-27-2009, 08:20 PM | #34 |
Addict
Posts: 304
Karma: 2454436
Join Date: Sep 2008
Device: PRS-505, PRS-650, iPad, Samsung Galaxy SII (JB), Google Nexus 7 (2013)
|
As another option, has anyone looked at Fictionbook2 as a master format?
|
03-28-2009, 03:23 PM | #35 |
Addict
Posts: 304
Karma: 2454436
Join Date: Sep 2008
Device: PRS-505, PRS-650, iPad, Samsung Galaxy SII (JB), Google Nexus 7 (2013)
|
I've been giving this some more thought and it occurs to me that maybe the best approach would be to build better tools and use the best format for each type of book.
e.g. For linear books like fiction, use DTBook or Fictionbook2 For technical books, use DocBook For topic/map books like encyclopedias and recipe books, use DITA For complex office documents, use OpenDoc. For complex books that don't fit into any other category, use TEI A single toolchain could convert all of these into any output format, or readers could even handle them directly. Though this might be a bit pie in the sky I've heard that the Rosetta tools go even further by storing the document in a database format from which it can be exported in any format, but I've been unable to find any further information on that. |
Advert | |
|
03-28-2009, 05:41 PM | #36 | |
Groupie
Posts: 170
Karma: 2000
Join Date: Apr 2008
Location: San José, CA
Device: Amazon Kindle 1, Sony PRS-300, Amazon Kindle 3
|
Quote:
|
|
03-28-2009, 06:11 PM | #37 |
Feedbooks.com Co-Founder
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
|
If you're capable of writing your own XSLT, it doesn't really matter which DTD you're using, you can even create your own.
There's no perfect fit, each DTD will only solve a limited sub-set of problems. The easiest one to work with is probably DTBook since it's basically XHTML with just a few semantic elements. TEI is incredibly powerful but might be overkill for what most people need. |
03-29-2009, 01:21 PM | #38 | |
Addict
Posts: 304
Karma: 2454436
Join Date: Sep 2008
Device: PRS-505, PRS-650, iPad, Samsung Galaxy SII (JB), Google Nexus 7 (2013)
|
Quote:
OTOH, it will require a lot of work for those of us who want to do it now, before the tools mature. I don't know if I'm happy or sad about that |
|
03-29-2009, 03:26 PM | #39 | ||
Groupie
Posts: 170
Karma: 2000
Join Date: Apr 2008
Location: San José, CA
Device: Amazon Kindle 1, Sony PRS-300, Amazon Kindle 3
|
Quote:
Quote:
|
||
03-29-2009, 03:49 PM | #40 |
Feedbooks.com Co-Founder
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
|
The closest one would be DTBook as we're essentially adding some semantics to XHTML (parts/chapters/sections, notes etc.). The semantic elements though are not exactly expressed in the markup, as the system is more designed around the idea of using multiple chunks rather than a single source file.
|
03-29-2009, 04:46 PM | #41 |
Groupie
Posts: 170
Karma: 2000
Join Date: Apr 2008
Location: San José, CA
Device: Amazon Kindle 1, Sony PRS-300, Amazon Kindle 3
|
Heh, that's been my side challenge the last couple of weeks. I have had no problem finding chunked XHTML ePub samples, but so far I'm having no luck finding a chunked DTBook ePub sample. Even the ePub tutorials all seem to focus on XHTML with nothing more than a side note "oh, you could also use DTBook if you wanted" ...
|
03-29-2009, 05:54 PM | #42 | |
Feedbooks.com Co-Founder
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
|
Quote:
|
|
03-29-2009, 09:47 PM | #43 | |
Groupie
Posts: 170
Karma: 2000
Join Date: Apr 2008
Location: San José, CA
Device: Amazon Kindle 1, Sony PRS-300, Amazon Kindle 3
|
Quote:
Ex. Code:
<dtbook> <head> </head> <book> <bodymatter> <level1 class="chapter"> <h1>Chapter 1</h2> <p>(paragraph tags or any block level element)</p> </level1> </bodymatter> </book> </dtbook> Code:
<dtbook> <head> </head> <book> <bodymatter> <level1 class="chapter"> <h1>Chapter 2</h2> <p>(paragraph tags or any block level element)</p> </level1> </bodymatter> </book> </dtbook> |
|
04-01-2009, 12:00 PM | #44 |
Addict
Posts: 304
Karma: 2454436
Join Date: Sep 2008
Device: PRS-505, PRS-650, iPad, Samsung Galaxy SII (JB), Google Nexus 7 (2013)
|
From the sounds of things, it seems that the best approach for now might be to simply pick a suitable format (e.g. DTBook for linear text, DITA for topic oriented, or DITA/TEI-lite for all) and learn enough XSLT to be able to convert them into whatever godformat that's eventually settled on.
Does that about cover it? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ebook in PRC format will not convert to any other format | Katelyn | Calibre | 0 | 10-01-2010 07:02 PM |
I have a Kindle, can I order books other than Multi-format | chilady1 | Amazon Kindle | 3 | 01-19-2010 04:46 PM |
fictionwise multi-format... except .mobi | demoric | Amazon Kindle | 4 | 10-02-2009 12:05 PM |
Multi-format Reader | theplotthickens | Which one should I buy? | 5 | 05-04-2009 03:19 AM |
Proposal for an open source multi-format ebook authoring tool | Jon Noring | News | 15 | 09-12-2008 12:17 PM |