Suggestion: export to LaTeX
I was trying to find a way to convert (X)HTML+CSS to LaTeX, and couldn't find anything... so I wonder if it could be possible to add LaTeX export functionality to calibre, since it can already read, manage, flatten, etc. (X)HTML+CSS.
The idea is to make it easier to generate good-looking PDFs from other ebook formats, using LaTeX's typographic strengths. Using other features of LaTeX, like cross-referencing, sectioning commands, etc. would be secondary, the primary goal I have in mind is replicating (more or less) the look of the page. This means I would rather translate <h1>Title</h1> as {\Huge\textbf{Title}}, and not as \chapter{Title}.
|