by andrewnc · 5y ago · 0 comments
I settled with the PDF as a soft copy instead (and I put PDFs on my kindle, even though that's obviously not desirable).
If there is a nice way to get PDFs to read natively on kindle, I would jump on that, but I wasn't able to get it to work.
Book looks interesting, btw!
Yes, in theory.. but in practice it didn't work when I tried that route. Because I use the Tufte-Book template, there is a constant margin to the side of the main content that holds figures, equations, and such.
This margin gets brutalized by every program (even the propriety ones Amazon built).
Lessons learned. I need to be more mindful of the various conversion processes in the future.
This?
https://github.com/Tufte-LaTeX/tufte-latex
I've often been disappointed at the type of html it's possible to force out of (La)TeX. And epubs are pretty much html, css and images.
I generally think that some kind of markdown with the help of pandoc is the happy path for pleasant writing/editing and good output for html/epub and print/pdf.
I did find this, that have some hints on how to get xml, and then xhtml with support for equations - but it looks cumbersome:
https://tex.stackexchange.com/questions/1551/use-latex-to-pr...
See also: https://github.com/duzyn/tufte-markdown And in particular (beautiful!): https://edwardtufte.github.io/tufte-css/
Did you cconsider selling access to the source (eg: private github repo, suitable license)?
The only alternative I can think of is copy the paragraphs to html p tags and then any equations written in latex could be converted to images with LatexIt! (if that’s still a thing)
That all assume it’s enough if a deal for you, understand if it’s not and thanks for the reply