|
|
#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?
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). |
|
|
|
|
|
#2 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 848
Karma: 1200
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 |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,227
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
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.
__________________
|
|
|
|
|
|
#4 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,279
Karma: 2683
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 |
|
|
|
|
|
#5 |
|
hopeless n00b
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,115
Karma: 4988992
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PRS-350, Nexus S, Galaxy S, Nook Color, iPhone4, iPT4, iPad 2012
|
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 03:14 AM. |
|
|
|
|
|
#6 |
|
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 54,667
Karma: 26165759
Join Date: Nov 2006
Location: UK
Device: Kindle Touch, PW, Fire HD, iPad 3, iPhone 4, Samsung Tab 2 7 + More
|
For me it's a folder for each book, containing HTML source and whatever images are used in the book.
__________________
Harry Currently proofreading The Poison Belt, by Sir Arthur Conan Doyle. |
|
|
|
|
|
#7 |
|
book creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,608
Karma: 1324674
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
|
Epub (or zipped xhtml) which is basically the same
|
|
|
|
|
|
#8 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,746
Karma: 21843110
Join Date: Dec 2008
Location: Krewerd
Device: HTC Flyer; BBMini; Sony PRS650
|
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)
__________________
Quote:
|
|
|
|
|
|
|
#9 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 253
Karma: 1292106
Join Date: Sep 2008
Device: PRS-505, PRS-650, iPad, Samsung Galaxy SII (ICS)
|
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. |
|
|
|
|
|
#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:
|
||
|
|
|
|
|
#11 | ||
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,746
Karma: 21843110
Join Date: Dec 2008
Location: Krewerd
Device: HTC Flyer; BBMini; Sony PRS650
|
Quote:
__________________
Quote:
|
||
|
|
|
|
|
#12 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 253
Karma: 1292106
Join Date: Sep 2008
Device: PRS-505, PRS-650, iPad, Samsung Galaxy SII (ICS)
|
|
|
|
|
|
|
#13 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,507
Karma: 2150615
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Nexus 7, Nexus S, iPad 2, Notion Ink Adam Qi, Kindle WiFi
|
Quote:
__________________
DRM is EVIL! /Tommy Persson |
|
|
|
|
|
|
#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. |
|
|
|
|
|
|
#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.? |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 |