reitzig / ltx2any

Yet another LaTeX build wrapper, with one or two nifty features
GNU General Public License v3.0
59 stars 4 forks source link

Implement proper LaTeX log generation #77

Closed akerbos closed 8 years ago

akerbos commented 8 years ago

The process currently is:

  1. Generate the Markdown log
  2. Replace certain parts by suitable LaTeX.
  3. Let Pandoc convert the rest to LaTeX.

This is a bad idea overall; not only does it introduce an otherwise useless, heavy dependency for the sake of laziness, but it also seems that -- for some reason -- Markdown logs are not always correctly processed in step 2 (cf issue #64).

Solution:

  1. Create all the LaTeX ourselves (should not be any harder than creating the Markdown code). Translate it with a standard LaTeX engine. (Consider using TeX for speed purposes!)
  2. Add a log mode latex so that it is easier to get the LaTeX version of the log for debugging purposes.