03-11-2009, 05:47 PM | #1 |
Groupie
Posts: 170
Karma: 2000
Join Date: Apr 2008
Location: San José, CA
Device: Amazon Kindle 1, Sony PRS-300, Amazon Kindle 3
|
Master Format for multi-format eBook Generation?
Mainly because I realize we are still in the "eBabel" stage of eBook formats, I'm wondering which format, so far, has proven to be most reliable and flexible when being used as a master or archival format for generating or being transformed into the many output formats (PDF, ePub, mobi, lit, lrf, etc., etc., etc.)? (And yes, I understand, your choice of output formats is still determined by what tools are actually available.)
XML Based: ePub seems to be the dominant choice for a output format, but it doesn't feel quite rigorous enough yet for the master format (even in something as simple as confusion over using <q> vs " for quotes (related DTBook solves this the wrong way, by using both) -- but then, this is simply a matter of giving it time to mature). TEI looks interesting and has been around for awhile, has the maturity, and has a couple useful implementations. TEI-Lite being the most well known. At one point, Project Gutenberg was working on PGTEI, but the status of that seems to be unknown at this point although documentation is clear and easy to understand. Then there's the father (DocBook) and the grandfather (SGML) formats ... TeX Based: Mainly the LaTeX macros (and I love Donald Knuth's writing style and rigorous attention to detail). And while TeX can be output to almost anything, the conversion process between TeX and XML seems to still be pretty vague (although its ability to generate table-of-contents from full files would be very useful for the multi-file format of ePub). |
03-11-2009, 07:35 PM | #2 |
Guru
Posts: 860
Karma: 4380
Join Date: Feb 2008
Location: Almada, Portugal
Device: Cybook Gen3, Sony PRS 505, Kindle DXG and Samsung Galaxy Note
|
I would say plain html and associated images if they exist.
[I personally also keep a copy of it in word (1997-2003), txt and pdf, just in case - but that is just me…] Best |
Advert | |
|
03-11-2009, 07:41 PM | #3 |
Resident Curmudgeon
Posts: 76,426
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Given all the eBook formats out there, the best format right now is ePub. You can take this ePub and use it to convert to LIT, Mobipocket, and LRF using Calibre. Plus, you'd have it in ePub already.
|
03-12-2009, 01:19 AM | #4 |
Wizard
Posts: 1,279
Karma: 1002683
Join Date: Nov 2008
Location: New York
Device: PRS-700
|
if you have a perfect copy. Epub is a good storage format.
If you have a non perfect copy, HTML or RTF, are good storage and editable formats |
03-12-2009, 03:32 AM | #5 |
hopeless n00b
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
For fiction, I'm leaning towards something XML-based for a master/source format. The structure lends itself quite well to digital publishing/ebook transformation. epub's a good example of that. Even Microsoft's .LIT is somewhat XML based, albeit, encapsulated in a prioprietary DRM format. I didn't check the numerous implementations but I think for a master file, an XML with a simple layout would be ideal.
Code:
<xml>
<title>some title</title>
<author>some author</author>
<cover>some cover.jpg</cover>
<published>some date</published>
<description>summary</description>
<toc>
<entry>
<title>Chapter 1</title>
<description>short chapter summary?</description>
</entry>
<entry>
<title>Chapter 2</title>
<description>summary/whatever</description>
</entry>
<entry>
<title>Chapter 3</title>
<description>summary/whatever</description>
</entry>
</toc>
<entry>
<title>Chapter 1</title>
<content>Chapter 1 text here (possibly in HTML/XHTML format)</content>
</entry>
<entry>
<title>Chapter 2</title>
<content>Chapter 2 text here</content>
</entry>
<entry>
<title>Chapter 3</title>
<content>Chapter 3 text here</content>
</entry>
</xml>
<content>Chapter 1 text here (possibly in HTML/XML format)</content> can be changed to <link rel="alternate" href="chapter1.html" /> Mind you, I'm not very familiar with XML as evidenced above, but the sample layout should give you a general idea. From the XML, it would be fairly trivial to convert to other formats. I think the least formatting available on the master XML, the better since that gives ebook creation/conversion utilities final say in how to handle style, flow, etc. For reference and technical material, I think TeX is the obvious choice. Edit: Oh, whoops. Misunderstood the question. Just goes to show if you can barely keep your eyes open, you have no business replying on forums. To answer your question, given currently available software and utilities, I'd keep ebooks in both ePub and single HTML format. ePub for the metadata, cover, etc. Single HTML files for ease of editing and reading on the computer. As much as I love Calibre for general ebook management, I don't really like its built-in viewer. Last edited by ilovejedd; 03-12-2009 at 04:14 AM. |
Advert | |
|
03-12-2009, 05:57 AM | #6 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
For me it's a folder for each book, containing HTML source and whatever images are used in the book.
|
03-12-2009, 06:34 AM | #7 |
book creator
Posts: 9,656
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: Kindle Scribe
|
Epub (or zipped xhtml) which is basically the same
|
03-12-2009, 09:46 AM | #8 |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
I am currently in the process of creating all my HTML files into an epub format directory structure. Which will give me a directory per book (which can contain other directories)
|
03-12-2009, 12:50 PM | #9 |
Addict
Posts: 304
Karma: 2454436
Join Date: Sep 2008
Device: PRS-505, PRS-650, iPad, Samsung Galaxy SII (JB), Google Nexus 7 (2013)
|
I currently use html though I also find it's not rigorous enough.
I hate that things like chapter headers are marked up merely by convention instead of properly and would really like to find a good format that does allow proper markup without being excessively complicated or rigid. |
03-12-2009, 05:29 PM | #10 | ||
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-13-2009, 05:29 AM | #11 | |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
Quote:
|
|
03-13-2009, 07:13 AM | #12 |
Addict
Posts: 304
Karma: 2454436
Join Date: Sep 2008
Device: PRS-505, PRS-650, iPad, Samsung Galaxy SII (JB), Google Nexus 7 (2013)
|
|
03-13-2009, 07:53 AM | #13 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
|
|
03-13-2009, 12:13 PM | #14 | |
Groupie
Posts: 170
Karma: 2000
Join Date: Apr 2008
Location: San José, CA
Device: Amazon Kindle 1, Sony PRS-300, Amazon Kindle 3
|
Quote:
Found this comparison yesterday, XML Models for Books (PDF) on O'Reilly. The simplistic view looks like science and technology are sticking with DocBook or LaTeX. Humanities likes TEI. Publishers are starting to lean towards ePub. |
|
03-13-2009, 02:22 PM | #15 | |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Quote:
TeX > PDF conversions are of course standard and easy, and with the right packages, I imagine it's pretty easy to make properly eBook-sized and formatted .PDFs. But what about TeX > other eBook formats, like Mobi, ePub and LRF, etc.? Anyone have any experience with this, or know of any good tools/packages, etc., for it? How well do these support the features a TeX user typically expects, like decent looking mathematical formulae, footnotes, etc.? |
|
|
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 08:02 PM |
I have a Kindle, can I order books other than Multi-format | chilady1 | Amazon Kindle | 3 | 01-19-2010 05:46 PM |
fictionwise multi-format... except .mobi | demoric | Amazon Kindle | 4 | 10-02-2009 01:05 PM |
Multi-format Reader | theplotthickens | Which one should I buy? | 5 | 05-04-2009 04:19 AM |
Proposal for an open source multi-format ebook authoring tool | Jon Noring | News | 15 | 09-12-2008 01:17 PM |