Live data from Hacker News

Show HN: LaTeX Boilerplates – Plain-Text Document Production System

mrzool.cc

1–10 of 44 posts

Re: Show HN: LaTeX Boilerplates – Plain-Text Document Production System

#4
post #3

ShareLaTeX also maintain a pretty handy database of LaTeX Templates/Boilerplates: https://www.sharelatex.com/templates

Yes but the difference here is that you write in markdown, and it does the TeX-ing for you.

Oh! I had entirely missed that.

Re: Show HN: LaTeX Boilerplates – Plain-Text Document Production System

#7
Using templates with low-level formatting commands defeats the point in LaTeX being about high-level semantic macros. Why not define an \author macro? The YAML input and the input using a well-crafted set of macros would be very similar, to the point where I feel like the OP is really misunderstanding what LaTeX is about.

Re: Show HN: LaTeX Boilerplates – Plain-Text Document Production System

#8
I just use a Makefile[1] for this, I just type 'make', and it builds it and uses xdg-open to open it in my PDF viewer. Much faster than waiting for ShareLaTeX or similar web apps to re-render.

Gummi[2] is also nice for instant feedback, and you don't need to get the whole toolchain working by hand.

1: https://gist.github.com/rhinoceraptor/8b7e9bf650db6396e27e

2: https://github.com/alexandervdm/gummi

Re: Show HN: LaTeX Boilerplates – Plain-Text Document Production System

#9

I just use a Makefile[1] for this, I just type 'make', and it builds it and uses xdg-open to open it in my PDF viewer. Much faster than waiting for ShareLaTeX or similar web apps to re-render. Gummi[2] is also nice for instant feedback, and you don't need to get the whole toolchain working by hand. 1: https://gist.github.com/rhinoceraptor/8b7e9bf650db6396e27e 2: https://github.com/alexandervdm/gummi

You can try latexmk, it does almost all of the work when building LaTeX (including getting cross-references right) and can even watch for changes and rebuild the document when necessary, updating your PDF reader too. Just calling _latexmk -pdf -silent -xelatex -pvc mydoc.tex_ should suffice (the -pvc option is for the continuous build and preview mode).

Re: Show HN: LaTeX Boilerplates – Plain-Text Document Production System

#10

I just use a Makefile[1] for this, I just type 'make', and it builds it and uses xdg-open to open it in my PDF viewer. Much faster than waiting for ShareLaTeX or similar web apps to re-render. Gummi[2] is also nice for instant feedback, and you don't need to get the whole toolchain working by hand. 1: https://gist.github.com/rhinoceraptor/8b7e9bf650db6396e27e 2: https://github.com/alexandervdm/gummi

evince reload the pdf when I recompile it. So you might be able to get rid of the xdg-open call.
Post reply on HN