Re: equal syntax highlighting for publishing code blocks to html and pdf

2020-02-29 Thread Johannes Brauer
In the meantime I figure out these two options, too. But I decided the effort seems to high for me. Especially as emacs an minted use different syntactic categories. Johannes Am 01.02.2020 um 14:50 schrieb John Kitchin mailto:jkitc...@andrew.cmu.edu>>: My guess is you have two options: 1.

Re: equal syntax highlighting for publishing code blocks to html and pdf

2020-02-01 Thread Norman Tovey-Walsh
Bastien writes: >> Frequently I publish org-mode documents containing source code blocks >> to html (htmlize) and pdf (minted). I would like to see the same >> colors in both export types. But >> I cannot figure out, what’s the best way to achieve this. >> >> Has anyone solved this problem? Are

Re: equal syntax highlighting for publishing code blocks to html and pdf

2020-02-01 Thread John Kitchin
My guess is you have two options: 1. Customize the colors in minted to match what is on your screen. I am pretty sure that code in html looks very much like what is on your screen. This might be an entry point to customizing minted style.

Re: equal syntax highlighting for publishing code blocks to html and pdf

2020-02-01 Thread Bastien
Hi Johannes, Johannes Brauer writes: > Frequently I publish org-mode documents containing source code blocks > to html (htmlize) and pdf (minted). I would like to see the same > colors in both export types. But > I cannot figure out, what’s the best way to achieve this. > > Has anyone solved