ePub from HTML

11 views
Skip to first unread message

BK Marcus

unread,
Feb 9, 2010, 8:24:57 AM2/9/10
to Dox
We have 3 more books by Ludwig von Mises that we'd like to make available in ePub:


As you can see, we have each available already in HTML.

Would anyone be interested in converting these into ePub, including active table of contents and cover image?

(You don't have to take on all 3. We can divvy them up.)

Please let me know. Thanks.

--
B.K. Marcus
Managing Editor, Mises.org
Ludwig von Mises Institute

atgk

unread,
Feb 10, 2010, 4:14:11 PM2/10/10
to Mises Documents
I'll start with Liberalism. Wish to know what is the difference
between your online edition and those provided by FEE <http://fee.org/
doc/liberalism/> and Liberty Fund <http://files.libertyfund.org/files/
1463/0842_LFeBk.pdf>. I can see that the Spadaro foreword is unique to
the 1985 edition, the 1996 FEE edition has an essay by Mr. Ebeling
while the 2005 Liberty Fund edition has neither.

One more thing. The TOC mentions an "Index" on page 202, which isn't
present in your pdf file and online edition. The Liberty Fund edition
has one though. How to go about incorporating the index? Or do I drop
it?

On Feb 9, 6:24 pm, BK Marcus <bkmar...@mises.com> wrote:
> We have 3 more books by Ludwig von Mises that we'd like to make available in
> ePub:
>

> *Theory of Money and Credit, The*http://mises.org/books/Theory_Money_Credit/Contents.aspx<http://mises.org/literature.aspx?action=search&q=Theory%20of%20Money%...>http://picasaweb.google.com/MisesInstitute/BookCovers#540000608359743...
>
> *Nation, State, and Economy*http://mises.org/nsande.asphttp://ecx.images-amazon.com/images/I/51C%2BIvKmBmL.jpg
>
> *Liberalism*http://mises.org/liberal.asphttp://ecx.images-amazon.com/images/I/510GhWP%2BDUL.jpg

Dave Wentzel

unread,
Feb 17, 2010, 5:03:40 PM2/17/10
to mises-d...@googlegroups.com, Dave Wentzel
I'll take a shot at Nation, State, and Economy.

--dave

--
You received this message because you are subscribed to the Google Groups "Mises Documents" group.
To post to this group, send email to mises-d...@googlegroups.com.
To unsubscribe from this group, send email to mises-documen...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mises-documents?hl=en.

BK Marcus

unread,
Feb 17, 2010, 8:45:42 PM2/17/10
to mises-d...@googlegroups.com
Thank you atgk and thank you Dave Wentzel!

Any takers for Theory of Money and Credit?

Dave Wentzel

unread,
Feb 19, 2010, 11:13:03 AM2/19/10
to mises-d...@googlegroups.com, Dave Wentzel
Uploaded to http://groups.google.com/group/mises-documents/web/Mises-NationStateEconomy.zip .  

I included 3 different formats.  My Kindle doesn't read epub files so I can't verify if that format looks correct.  

Let me know what needs to be fixed.  

--dave

Jeffrey Tucker

unread,
Feb 19, 2010, 11:28:46 AM2/19/10
to mises-d...@googlegroups.com
whoa! fantastic!

Dave Wentzel

unread,
Feb 19, 2010, 5:08:07 PM2/19/10
to mises-d...@googlegroups.com
I'll try Money and Credit unless anyone objects.

--dave

On Tue, Feb 9, 2010 at 8:24 AM, BK Marcus <bkma...@mises.com> wrote:

--

BK Marcus

unread,
Feb 19, 2010, 5:16:07 PM2/19/10
to mises-d...@googlegroups.com
That would be really great. Thank you.

atgk

unread,
Mar 5, 2010, 8:11:54 AM3/5/10
to Mises Documents
Finished Liberalism. If you find some problems, tell me.

BK Marcus

unread,
Mar 5, 2010, 10:21:47 AM3/5/10
to mises-d...@googlegroups.com
Excellent. Thank you.

On Fri, Mar 5, 2010 at 8:11 AM, atgk <aristotl...@gmail.com> wrote:
Finished Liberalism. If you find some problems, tell me.
--
You received this message because you are subscribed to the Google Groups "Mises Documents" group.
To post to this group, send email to mises-d...@googlegroups.com.
To unsubscribe from this group, send email to mises-documen...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mises-documents?hl=en.

BK Marcus

unread,
Mar 5, 2010, 3:45:03 PM3/5/10
to mises-d...@googlegroups.com
All the accented characters seem to have turned into question marks, e.g., "Quer?taro," "W?rttemberg," "Georg Ritter von Sch?nerer."

BK Marcus

unread,
Mar 5, 2010, 3:52:43 PM3/5/10
to mises-d...@googlegroups.com
This looks really good. Did you find a programmatic way to go from TEI to EPUB?


On Fri, Mar 5, 2010 at 8:11 AM, atgk <aristotl...@gmail.com> wrote:
Finished Liberalism. If you find some problems, tell me.

BK Marcus

unread,
Mar 5, 2010, 5:33:25 PM3/5/10
to mises-d...@googlegroups.com
Whoops. Sorry, Dave. I see that those strange question marks are actually in our HTML:

atgk

unread,
Mar 6, 2010, 11:09:55 AM3/6/10
to Mises Documents
Only the process I talked about here <http://groups.google.com/group/
mises-documents/browse_thread/thread/d04a5fa7731c825a/
198d684b67cbf0a7#198d684b67cbf0a7>, a bunch of xsl stylesheets and
some open source software. The warning about it being brittle and
therefore needing human intervention from time to time remains.

On Mar 6, 1:52 am, BK Marcus <bkmar...@mises.com> wrote:
> This looks really good. Did you find a programmatic way to go from TEI to
> EPUB?
>

Dave Wentzel

unread,
Mar 8, 2010, 9:21:15 AM3/8/10
to mises-d...@googlegroups.com
I noticed that too and had it on my list to find the original text and update it accordingly, but forgot.  Will work on that today.  

--dave

BK Marcus

unread,
Mar 8, 2010, 10:29:22 AM3/8/10
to mises-d...@googlegroups.com
Dave, I'm sorry to have pointed you to problematic HTML.

Since we need to fix the HTML we have online anyway, please consider turning in HTML instead of ePub.

Thank you.

(Or, if it's just as easy, you could turn in a Word doc; as I indicated in a different thread, that's turning out to be the format I can most easily work with.)

Dave Wentzel

unread,
Mar 8, 2010, 1:52:25 PM3/8/10
to mises-d...@googlegroups.com, Dave Wentzel
Fixed the ?'s using the pdf original as the source.  Version2 has the html, mobi, and epub versions.  

--dave

BK Marcus

unread,
Mar 9, 2010, 7:32:50 AM3/9/10
to mises-d...@googlegroups.com
Thanks Dave. I appreciate all your work on this. We should probably replace the HTML we have online with what you've included here.

What (if any) tool did you use to generate the epub?

Dave Wentzel

unread,
Mar 9, 2010, 8:14:16 AM3/9/10
to mises-d...@googlegroups.com
calibre.

--dave

Dave Wentzel

unread,
Mar 9, 2010, 8:59:28 AM3/9/10
to mises-d...@googlegroups.com, Dave Wentzel
done.  I uploaded multiple versions and source code here.

--dave

BK Marcus

unread,
Mar 9, 2010, 9:42:03 AM3/9/10
to mises-d...@googlegroups.com
Dave, in the last two epubs you've uploaded (NSE, TMC) the TOC doesn't seem to work properly — at least in Adobe Digital Editions.

Are you using calibre's defaults to detect (sub)chapter breaks? I've found that the defaults rarely work for me and I have to adjust calibre and my HTML to work well together.

So far, what I've found simplest is to use this XPath for chapter detection:

//*[name()='h2' or name()='h3' ]

I then make sure to restrict my usage of H2 and H3 for chapters and subchapters in the HTML source. (That way I can put "front matter" in H1 and H4 without confusing the TOC.

Dave Wentzel

unread,
Mar 9, 2010, 12:31:44 PM3/9/10
to mises-d...@googlegroups.com, Dave Wentzel
I think I see the problem...some dead TOC entries.  Funny thing is it shows up OK on my Kindle.  I uploaded new versions here and here.  

If you see any other issues, let me know.  

--dave

BK Marcus

unread,
Mar 10, 2010, 12:12:22 PM3/10/10
to mises-d...@googlegroups.com
These look much better. In fact, they look great. Thank you!

How did you find the dead TOC entries. Are you doing the TOC manually or letting calibre generate it?

(When I unpack the ePub file and look inside, I can't seem to find the TOC file.)

((Yes, these followup questions are for my own remedial education.))

Dave Wentzel

unread,
Mar 10, 2010, 5:12:50 PM3/10/10
to mises-d...@googlegroups.com
Well, I'm probably doing this the wrong way...I'm not an expert.  I was *assuming* the TOC was just a bunch of hyperlinks, they always appear fine on my kindle, until you pointed out the garbage entries.  I tracked them down using the calibre reader.  You were correct, the h2's and h3's were not consistent in the html source, so I fixed those in the source and applied your filter conditions, and things look ok in the calibre reader now.  Again, they always looked correct on my kindle which is why I probably never noticed it.  

If anything else looks incorrect just let me know.  The Kindle doesn't read epub, so I'm relying on the calibre reader (or the mobi format) to tell me everything is ok.  

--dave
Reply all
Reply to author
Forward
0 new messages