Hi Timothy, I really like your approach. And it is org/emacscentric! Minted has never quite convinced me, and gives me some trouble with certain packages in LuaLaTeX that I have not been able to solve. Thank you for this promising alternative.
Best regards, Juan Manuel Timothy <tecos...@gmail.com> writes: > Juan mentioned an Org lexer exists, but another approach that may be of > interest is using Emacs' own font-lock. I wrote a package that's like > HTMLize but works with LaTeX and currently have it sitting in my config. > > I plan on submitting a patch to Org at some point on this, but for now: > - https://github.com/tecosaur/engrave-faces > - https://tecosaur.github.io/emacs-config/config.html#pretty-code-blocks > > Sample output: all the code blocks in > https://tecosaur.github.io/emacs-config/config.pdf > > Since this uses Emacs' font-lock, this means that you can use any > language that you have a syntax-highlighting-mode for :)