by exergy · 7y ago · 0 comments
Either way, I'll back out a bit and ask a more elementary question. Is a workflow possible wherein one writes in anything-but-latex (Word/Markdown etc) and then uses latex to typeset? Because I (and the author) agree with you that a) standardisation is a good thing and b) latex is excellent at typesetting.
What latex is weak at is me writing my paper in it, and then trying to read back whether what I wrote flows well.
However, this won't always be the easiest method. For example, anything math-heavy will almost certainly be easier to type directly in tex markdown.
Another very neat feature is Org-Babel, which allows you to write code in (almost) any language that is then replaced with its output, which is great for example code. It can even pipe stuff through PlantUML, allowing you to embed your diagrams into the source code rather than having to manage them separately.
As an example of what it looks like at scale(-ish), I used this to write my thesis paper[1], and all the other related documentation[2].
[1]: https://gitlab.com/PicoNodes/PicoNodes/blob/master/docs/Repo...
[2]: https://gitlab.com/PicoNodes/PicoNodes/blob/master/docs/Pico...
That is to say, yes, there is a workflow. It is basically to build the prose out separately from the layout. Latex is used to typeset the document you want to do. Not to author it. By the time you get to it, you probably should be at the point where the markup is what you care about.
That make sense?
Yes, there will be times where you care about how the document looks. That is likely an iterative process and many of us find value in separating the quibbles over the look from the authoring of the content. Both are valuable. Doing them both at the same time is ridiculously hard.
Pandoc is a good tool for automating workflows that start with some other format and end with LaTeX.
Another good option if you like Emacs is org-mode, which has a LaTeX export, among other things.