06-06-2009, 02:15 AM | #1 |
Member
Posts: 19
Karma: 69
Join Date: Jul 2008
Device: Sony PRS-505
|
Request: LaTeX Input
Calibre does a great job converting most ebook formats into LRF or ePub, but one format that I cannot get to convert is LaTeX documents.
Could conversion from this format be added in a future version of the application? Thanks |
06-06-2009, 02:51 AM | #2 |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I don't knwo of any good way to convert LaTeX to a reflowable format, which is a prerequisite for converting it to ebooks. Indeed LaTeX is not designed to produce reflowable documents, so conversion from it will always be hit and miss at best
|
Advert | |
|
06-06-2009, 03:58 AM | #3 |
Member
Posts: 19
Karma: 69
Join Date: Jul 2008
Device: Sony PRS-505
|
Thanks for the quick reply.
I won't pretend to know alot about the technical aspects of the various markup languages and whatnot, but would such a conversion be able to work if perhaps the LaTeX document were first converted into HTML and from there into the ebook formats? I have seen various Latex-HTML converters that are open-source, so if such a utility were bundled with calibre, and automatically used in the conversion, would Calibre then possibly be capable of making the conversion? |
06-06-2009, 05:19 AM | #4 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I've seen good comments about tex4ht as a LaTeX-HTML converter, but I haven't mastered it myself... maybe because my LaTeX was too customized to start with.
|
06-06-2009, 06:44 AM | #5 |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
I tested latex2html and the result from that could be converted to a Mobi book. It worked OK but I think you need to enhance the handling of the symbol images a bit to fit the small screen on your reader.
|
Advert | |
|
06-06-2009, 11:31 AM | #6 |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I've never liked the output of latex2html much. It only works if you use very simple Latex, anything fancy and it fails. Plus representing symbols as images is ridiculous.
With latex, you're better off using the geometry package to create PDFs sizedto fit the reader screens |
06-06-2009, 12:06 PM | #7 |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
|
06-06-2009, 12:07 PM | #8 |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Why, all that's needed is font support to display symbols. See for example asciiml or mathml
|
06-06-2009, 12:09 PM | #9 |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
|
06-06-2009, 12:37 PM | #10 |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
What I would do for pictures in latex is export them to SVG. Shouldn't be too hard using a pdf2svg tool.
|
07-18-2010, 08:19 PM | #11 | |
Connoisseur
Posts: 58
Karma: 10970
Join Date: Jul 2010
Device: Kindle
|
Quote:
\emph{text} is the same as <EM> \bf{bold} is same as <B> Doesn't seem like it would be impossible to convert... Also, I registered to request a tex output format. Same story. Since LaTeX is so incredibly I would think it's easier than several other of the output formats. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LaTeX eBook Templates | ahi | Workshop | 17 | 02-16-2011 11:42 AM |
LaTeX, a way to PDF | Sweetpea | Workshop | 62 | 05-22-2010 10:00 PM |
Feature Request: Joining 2 or more input files into one otput | Hityr5yr | Calibre | 7 | 05-04-2010 05:52 AM |
I want to be your latex salesman!!!! | latexsalesman | Introduce Yourself | 4 | 01-10-2009 12:20 PM |