4 ms·
I think going one-step further and making LaTeX the entire backing structure of a document would be a great idea. Kind of like HTML WYSIWYG designer tools. Woul
by cameronbrown 7y ago
I think going one-step further and making LaTeX the entire backing structure of a document would be a great idea. Kind of like HTML WYSIWYG designer tools. Would be a boon for interoperability which is probably why it'll never happen.
- _ZeD_ 7y agosoo.. like lyx? https://www.lyx.org/ https://www.lyx.org/
- CJefferson 7y agoIt would be an awful idea. Latex can't produce HTML, it can't produce EPUBs or any other reflowable document type. It can't produce any document which is accessible to blind people (other than giving them the raw LaTeX file). Note: You will find various libraries that claim to produce HTML output. I can tell you from experience none of them work, given a random LaTeX paper you download from, say, Arxiv.
- dredmorbius 7y agoPandoc does all that, from LaTeX source (among others). https://pandoc.org https://pandoc.org
- corollari 7y agoPandoc's documentation itself says that the conversion is lossy.
- piadodjanho 7y agoPandoc creates PDF using LaTeX. You still constrained to LaTeX features, and therefore the lack of trivial accessibility.
- pseingatl 7y agoPandoc conversion is another trip down the rabbit hole (latex to markdown: Error at "input" (line 265, column 1): unexpected '\n'
- dredmorbius 7y agoThe assertion was that LaTeX cannot generate specific formats. Using Pandoc (NB: Pandoc Is Not Markdown, though it's often used with it), s well as earlier tools, that is in fact quite possible. Using templates, with quite a level of flexibility.