`org-latex-engraved-theme` does not impact syntax highlighting
Description of issue
Setting org-latex-engraved-theme to t seems to only impact the background colour of exported code blocks in pdf, and the syntax highlighting remains the default colour. However, specifying:
#+attr_latex: :engraved-theme THEME
above a specific code block causes it to be correctly highlighted.
setting #+latex_engraved_theme: THEME in the file does not cause syntax highlighting to occur.
Screenshots
-
Appearance of source code in buffer

-
The way it's rendered normally

-
Appearance of export with specifying the properties

Config
I'm using Doom Emacs, here's my relevant config
-
engrave-faces:
(use-package! engrave-faces-latex
:after ox-latex
:config
(add-to-list 'org-latex-engraved-options '("linenos" "true"))
(setq org-latex-engraved-theme "t")
)
- general
orgconfig
(setq org-latex-src-block-backend 'engraved)
Have you tried setting org-latex-engraved-theme to t not "t" ?
Have you tried setting org-latex-engraved-theme to t not "t" ?
If i do that, then the I get an error in the modeline when compiling to pdf: Wrong type argument: stringp, t
I activated edebug while doing this, here's the output: https://pastebin.com/ErDPELdg
This may be fixed by https://git.tecosaur.net/tec/org-mode/commit/3c18d1dfb3f7914f253e26ee3be7813d46659307
Let me know if this is not fixed.