![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 2300
Join Date: Jul 2013
Device: iPad+MacBookPro
|
.tex 2 .mobi
Why does Calibre not convert a group of interconnected .tex and .bib files into one .mobi file?
The LaTeX format is much richer than most other input formats, so it should be much easier to convert into the Amazon format (or any other e-book output formats for that matter). |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
There are very few actual sources in those formats. In addition a .tex is more suited to a PDF with fixed layout than an ePub. Academic files typically don't flow well and tex is not designed for flowable documents. At some point it may be useful for fixed layout ePub files but the people generating those files are likely not using tex as an input.
Dale |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,542
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
It would need a TeX program with who knows how many packages and auxiliary programs (like bibTeX). Then TeX files have usually a complex mixture of semantic and presentation markup, not to mention actual programming and macro code.
Try to find a good TeX to HTML converter, you'll see how difficult it is to extract anything meaningful and reliable out of arbitrary TeX code, by means other than TeX itself. |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,037
Karma: 18765433
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
I've translated fiction from LateX to HTML using latex2html with good results, and then imported the results to Sigil to produce epubs. I suspect that technical documents with tables, equations, source code snippets,... wouldn't work as well. You would probably have to produce images of those elements and embed them in the HTML.
|
![]() |
![]() |
![]() |
#5 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,542
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Even with "just" fiction, as soon as you start doing interesting stuff with LaTeX (use a non-default class like memoir, create your own commands, add poetry fragments, etc.) my experience is that latex2html becomes a nuisance and it's better to resort to manual conversion (if the LaTeX code is well structured, that's often quite easy).
|
![]() |
![]() |
Advert | |
|
![]() |
Tags |
mobi, tex |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePub to PDF, passing through TeX | Trouhel | ePub | 11 | 08-14-2012 05:31 AM |
Western Raine, William MacLeod: Oh, You Tex!. V1. 16 Apr 2010 | crutledge | BBeB/LRF Books | 0 | 04-16-2010 08:42 AM |
ePub to TeX to PDF | NightGeometry | 5 | 02-27-2010 10:44 PM | |
Tex to LRF? | flubu | Sony Reader | 9 | 04-18-2009 06:48 AM |
TeX class | nsg | Sony Reader | 3 | 11-05-2007 07:58 PM |