I'm a CS researchers and this is exactly my workflow! Very neat explanations. It's a very good balance between ease of use and expressive power since in the end you can just throw in whatever LaTeX you need to cover the few cases where pandoc markdown won't cut it, e.g., complex tables or custom diagrams.
I'm a CS researchers and this is exactly my workflow! Very neat explanations. It's a very good balance between ease of use and expressive power since in the end you can just throw in whatever LaTeX you need to cover the few cases where pandoc markdown won't cut it, e.g., complex tables or custom diagrams.
One thing I would recommend that is slightly different from your suggestions, when dealing with e.g. anonymized and regular versions of the same paper, just separate the content from metadata, i.e., everything that would goes inside \begin{document} goes into a separate file content.md, and your main.tex has an \input{...} command. You can then have different templates, layouts, etc., just by using different main.tex wrappers on top of the same content. Pandoc has support for this natively via a --template parameter (or a similar name).
Thanks, that sounds like a good solution if you just need to anonymize the author and acknowledgments. Sometimes (at least in philosophy) you also need to change the content, e.g. changing references to one's past work into the "third person" in order not to reveal one's identity.
Yeah in that case you do need different sources altogether. When things get complicated with lots of diagrams, tables, and whatnot, I also split each of those into different files, the idea being isolating as much as possible what can change and reuse what stays the same. But as usual you can go too far overoptimizing your workflow to the point where it stops being helpful. Computer scientists love doing that 🤣
I'm a CS researchers and this is exactly my workflow! Very neat explanations. It's a very good balance between ease of use and expressive power since in the end you can just throw in whatever LaTeX you need to cover the few cases where pandoc markdown won't cut it, e.g., complex tables or custom diagrams.
One thing I would recommend that is slightly different from your suggestions, when dealing with e.g. anonymized and regular versions of the same paper, just separate the content from metadata, i.e., everything that would goes inside \begin{document} goes into a separate file content.md, and your main.tex has an \input{...} command. You can then have different templates, layouts, etc., just by using different main.tex wrappers on top of the same content. Pandoc has support for this natively via a --template parameter (or a similar name).
Again, very neat explanation!
Thanks, that sounds like a good solution if you just need to anonymize the author and acknowledgments. Sometimes (at least in philosophy) you also need to change the content, e.g. changing references to one's past work into the "third person" in order not to reveal one's identity.
Yeah in that case you do need different sources altogether. When things get complicated with lots of diagrams, tables, and whatnot, I also split each of those into different files, the idea being isolating as much as possible what can change and reuse what stays the same. But as usual you can go too far overoptimizing your workflow to the point where it stops being helpful. Computer scientists love doing that 🤣