[OS X TeX] LaTeX to ePub Format ???

Adam M. Goldstein z_californianus-dated-1270934355.a023bd at shiftingbalance.org
Mon Apr 5 23:19:08 CEST 2010


On Apr 5, 2010, at 4:33 PM, Peter Dyballa wrote:

> 
> Am 05.04.2010 um 03:27 schrieb Sam Bradley:
> 
>> my pdf is over 250Mb in size due to all the embedded historical photographs.
> 
> Which format are these photographs? In case you have them in (E)PS format then using TeX4ht and creating XHTML might be an option – it nevertheless will create PNG versions of them for inclusion in the output file! With HTML Tidy (no MathML support!) the XHTML file can be converted to XML, if needed. Then conversion to ePub could easily happen.
> 

There is going to be a limit to what TeX4ht can do, right? Because it only works for a limited set of macros?

> Otherwise a conversion from the PDF file should work OK since all images and all text can easily be extracted. Not that easy can be re-assembling it to something which resembles the previous.

I tried to convert from PDF to eBook with Calibre with a moderately-but-not-very complex PDF volume. The result wasn't acceptable, though it wasn't a complete loss. For one thing, it seems to have put in a link everywhere there is an index tag in a paragraph, which appears in bold. There were other funny things that happened, a few things that moved around, for instance.

It didn't seem to handle the internal links too well, either.

My thought is that one ought to have something like two setups, one for PDF output destined for hard copy or the screen, the other for the eBook format. The latter might be simpler for easier transition to eBook format.

> 
> Another option is to present a MacBook Air to your wife... (it looked quite nice recently in cinema)
> 

Or, present one to someone among those writing in to the TeX on OSX list...I promise to send you the results of any ebooks I create using it :)

> --
> Greetings
> 
>  Pete
> 
> When you meet a master swordsman,
> show him your sword.
> When you meet a man who is not a poet,
> do not show him your poem.
> 			– Rinzai, ninth century Zen master
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 


------------------
Adam M. Goldstein PhD, MSLIS
--
z_californianus at shiftingbalance.org
http://www.shiftingbalance.org
http://www.twitter.com/shiftingbalance
--
http://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=180621
--
(914) 637-2717 (msg)
--
Dept of Philosophy
Iona College
715 North Avenue
New Rochelle NY 10801

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1799 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20100405/9fc2116f/attachment.bin>


More information about the macostex-archives mailing list