emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] controlling how htmlize fontifies code


From: Eric S Fraga
Subject: Re: [O] controlling how htmlize fontifies code
Date: Mon, 3 Aug 2015 14:50:27 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

On Sunday,  2 Aug 2015 at 09:19, Rick Frankel wrote:
> Check the documentation for the variable `org-html-htmlize-output-type'. Since
> ox-reveal is derived from ox-html, it should work as specified. I personally
> use ox-deck (also derived from html), so YMMV.

On Sunday,  2 Aug 2015 at 09:41, Kaushal wrote:
> I export with my custom Leuven theme (a light theme) css and it works fine.
> I also have my emacs theme as a dark theme by default.
>
> ;; (setq org-html-htmlize-output-type 'inline-css) ; default
> (setq org-html-htmlize-output-type 'css)
> ;; (setq org-html-htmlize-font-prefix "") ; default
> (setq org-html-htmlize-font-prefix "org-")

Thank you Rick and Kaushal.

=org-html-htmlize-output-type= does what I want.  However, I don't want
to set this globally as I use htmlize every now and again to send HTML
emacs (yes, I know, bad idea but some colleagues require me to email
information in tables and the like every now and again and it's better
than using Word... ;-).

I have tried both setting a local variable and also using #+bind: but
neither approach works for some reason.  I did not expect the local
variable setting to work, of course.

Any suggestions on taking this forward?

For now, setting this variable globally to nil is a stop-gap measure.

Thanks,
eric
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3beta-1303-g3f0398



reply via email to

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