Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 03-11-2009, 04:47 PM   #1
cerement
Groupie
cerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it is
 
cerement's Avatar
 
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).
cerement is offline   Reply With Quote
Old 03-11-2009, 06:35 PM   #2
DDHarriman
Guru
DDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura about
 
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
DDHarriman is offline   Reply With Quote
Advert
Old 03-11-2009, 06:41 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,510
Karma: 126422064
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.
JSWolf is offline   Reply With Quote
Old 03-12-2009, 12:19 AM   #4
Andybaby
Wizard
Andybaby ought to be getting tired of karma fortunes by now.Andybaby ought to be getting tired of karma fortunes by now.Andybaby ought to be getting tired of karma fortunes by now.Andybaby ought to be getting tired of karma fortunes by now.Andybaby ought to be getting tired of karma fortunes by now.Andybaby ought to be getting tired of karma fortunes by now.Andybaby ought to be getting tired of karma fortunes by now.Andybaby ought to be getting tired of karma fortunes by now.Andybaby ought to be getting tired of karma fortunes by now.Andybaby ought to be getting tired of karma fortunes by now.Andybaby ought to be getting tired of karma fortunes by now.
 
Andybaby's Avatar
 
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
Andybaby is offline   Reply With Quote
Old 03-12-2009, 02:32 AM   #5
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,111
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>
Another option, instead of embedding chapter content into the file (might make for gigantic XML files for long books)

<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.
ilovejedd is offline   Reply With Quote
Advert
Old 03-12-2009, 04:57 AM   #6
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
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.
HarryT is offline   Reply With Quote
Old 03-12-2009, 05:34 AM   #7
mtravellerh
book creator
mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.
 
mtravellerh's Avatar
 
Posts: 9,635
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
Epub (or zipped xhtml) which is basically the same
mtravellerh is offline   Reply With Quote
Old 03-12-2009, 08:46 AM   #8
Sweetpea
Grand Sorcerer
Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.
 
Sweetpea's Avatar
 
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)
Sweetpea is offline   Reply With Quote
Old 03-12-2009, 11:50 AM   #9
Kirtai
Addict
Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.
 
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.
Kirtai is offline   Reply With Quote
Old 03-12-2009, 04:29 PM   #10
cerement
Groupie
cerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it is
 
cerement's Avatar
 
Posts: 170
Karma: 2000
Join Date: Apr 2008
Location: San José, CA
Device: Amazon Kindle 1, Sony PRS-300, Amazon Kindle 3
Quote:
Originally Posted by Kirtai View Post
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.
So far, for accuracy, TEI-Lite (a subset of TEI) seems to be the best bet. Stable, been around for awhile, regularly used in humanities. Does suffer from being a little complicated. TEI does have the advantage of allowing snippets of TeX for formulas. ePUB Books started using a "Super-Lite TEI" for his master format and then (learned and) used XSLT to handle the transform to ePub. Project Gutenberg was playing around with it for a little while, but the last revision to PGTEI was back in 2005 and otherwise there's no new news. On the main Project Gutenberg website, the File Formats FAQ has the following note under XML:
Quote:
Originally Posted by Project Gutenberg
Some PG volunteers have looked at, and are looking at, ways to convert the entire archive using a satisfactory DTD; however, meantime we aren't actually producing much XML, since most volunteers aren't working with it, and nobody wants to start producing many XML texts until we have agreed standards.
Only real major difference (aside from terms and keywords) is TEI prefers ODD (one-document-does-it-all) approach whereas ePub has more similarities to DITA in generally preferring to break books into chapters to make things easier to handle and manage.
cerement is offline   Reply With Quote
Old 03-13-2009, 04:29 AM   #11
Sweetpea
Grand Sorcerer
Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.
 
Sweetpea's Avatar
 
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
Quote:
Originally Posted by Kirtai View Post
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.
I wouldn't call stylesheets rigid... I make up my headers as I want them to and usually completely overrule the default mark-up.
Sweetpea is offline   Reply With Quote
Old 03-13-2009, 06:13 AM   #12
Kirtai
Addict
Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.
 
Posts: 304
Karma: 2454436
Join Date: Sep 2008
Device: PRS-505, PRS-650, iPad, Samsung Galaxy SII (JB), Google Nexus 7 (2013)
Quote:
Originally Posted by Sweetpea View Post
I wouldn't call stylesheets rigid... I make up my headers as I want them to and usually completely overrule the default mark-up.
By rigid I was more referring to something like DocBook which has its own ideas about exactly how a document is constructed.
Kirtai is offline   Reply With Quote
Old 03-13-2009, 06:53 AM   #13
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by cerement View Post
Only real major difference (aside from terms and keywords) is TEI prefers ODD (one-document-does-it-all) approach whereas ePub has more similarities to DITA in generally preferring to break books into chapters to make things easier to handle and manage.
If I remember correctly TEI uses SGML so you can just define external entities for each chapter if you want.
tompe is offline   Reply With Quote
Old 03-13-2009, 11:13 AM   #14
cerement
Groupie
cerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it iscerement knows what time it is
 
cerement's Avatar
 
Posts: 170
Karma: 2000
Join Date: Apr 2008
Location: San José, CA
Device: Amazon Kindle 1, Sony PRS-300, Amazon Kindle 3
Quote:
Originally Posted by tompe View Post
If I remember correctly TEI uses SGML so you can just define external entities for each chapter if you want.
TEI, like DITA, DocBook, and ePub uses XML (which is technically SGML) ...

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.
cerement is offline   Reply With Quote
Old 03-13-2009, 01:22 PM   #15
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
Quote:
Originally Posted by cerement View Post

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).
No one has recommended this, and that's understandable. I don't disagree. However, since I use LaTeX all the time for my own projects unrelated to portable eBook reading (though I'm not an expert user by any means), I would be curious if anyone has much experience with working with TeX > eBook conversions.

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.?
frabjous is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 10:37 PM.


MobileRead.com is a privately owned, operated and funded community.