emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no syntax highlighting for code blocks with org-publish


From: Ihor Radchenko
Subject: Re: no syntax highlighting for code blocks with org-publish
Date: Thu, 21 Jul 2022 19:38:43 +0800

"M. Pger" <mpger@protonmail.com> writes:

> Actually, using -nw implies that no theme is loaded, so the face colors 
> 'extracted' by htmlize are the flashy default colors of Emacs in terminal.
>
> To have the colors associated with the theme I use, I had to load the theme 
> through build.el and to change my bash script to:
>
> #!/bin/sh
> emacs -q --load=build.el --eval="(eval-buffer)" 
> --eval="(save-buffers-kill-terminal)"
>
> The advantage is of course to have the desired face colors; the minor 
> disadvantage is to see an Emacs frame appearing, loading the theme and then 
> disappearing.

You may also try --daemon. It should not create frame.

Best,
Ihor



reply via email to

[Prev in Thread] Current Thread [Next in Thread]