News for hackers. Stuff that matters.
Re:Reach for Markdown, not LaTeX by URSpider94 on Saturday February 17, 2018 @10:23PM (#16404269)
If you haven’t tried it yet, I encourage you to give Markdown + Pandoc a try for printed docs. Pandoc can take a LaTeX template and flow Markdown into it. I find Markdown formatting simpler to remember and execute than LaTeX, and there are a huge number of editors and live-preview apps that will let you validate your Markdown as you write. A few keystrokes, and you get a beautiful PDF document, flawlessly typeset in Computer Modern - and with a few more keystrokes, you can have an HTML page with exactly the same content.

There is even a company, LeanPub, that is based on generating paper and e-books direct from Markdown.

Re:Reach for Markdown, not LaTeX by dredmorbius on Sunday February 18, 2018 @01:10AM (#16404729)
Makefiles address that.

     make html pdf
This one has many OSXisms & wants some homebrew bits, but may give you a starting point:

https://pastebin.com/raw/H43MKTCq

Referenced utility script:

https://pastebin.com/raw/J6quT7Mj

Re:Reach for Markdown, not LaTeX by URSpider94 on Sunday February 18, 2018 @02:57AM (#16404975)
Yup, having a default Markdown doc project that you clone is a big help. That way, you can include a Makefile, as well as embed LaTeX header info.

For cases where you really need to share your doc with coworkers in an editable form, you can even define an MS Word target...

Re:Reach for Markdown, not LaTeX by dredmorbius on Sunday February 18, 2018 @08:59PM (#16410217)
That's among the targets here.