6 Comments
May 17, 2023Liked by Richard Y Chappell

Not a big problem but it might help someone: I needed to "upgrade" in the MiKTeX Console to the full version of Tex, or it would throw errors in the LaTeXing. Also, my preview is in Acrobat Reader, and I have to nuke the existing pdf tab before it will display an updated version. Thanks, Richard!

Expand full comment

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!

Expand full comment
author

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.

Expand full comment

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 🤣

Expand full comment

Thanks for this super useful post! I am trying to install pandocT-crossref, but I am not sure what you mean by "Pandoc directory". Is it the pandoc user data directory? Otherwise, I am having a hard time to find a directory where Pandoc is installed... (Mac).

Expand full comment
author

Sorry, I'm not familiar with MacOS. I'd try just installing it with default settings and see if that works!

Expand full comment