emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* controlling how htmlize fontifies code
@ 2015-08-02  9:24 Eric S Fraga
  2015-08-02 12:17 ` Rasmus
  2015-08-02 13:19 ` Rick Frankel
  0 siblings, 2 replies; 16+ messages in thread
From: Eric S Fraga @ 2015-08-02  9:24 UTC (permalink / raw)
  To: emacs-orgmode

Hello all,

I have to prepare a whole new set of lectures for a new course and I
thought I would play around with =ox-reveal= as an HTML export target
may actually be more appropriate for this course than my usual PDF
target.  And one of the best features of org is that most of the effort
is the same regardless of target so I won't be wasting much time
playing! :-)

In playing around with reveal, I realised that exporting code uses the
=ox-html= exporter (obvious, in hindsight).  This exporter uses emacs's
own fontifying engine to colour code for export.  My problem is that I
use a dark background theme for emacs but want presentations to be based
on a light background.  The code colouring, as a result, is completely
wrong.

Now, I can simply start up emacs with a light background, export my
slides and everything is fine.  However, it would be nice to not have to
start up a new emacs just for this.  Is there an easy way to pretend,
for export to HTML, that emacs is using a light background?  Maybe a way
to advise the exporter?  

Thanks,
eric

PS - ideally, code export to HTML would make use of CSS instead of
     hard-coding in the colours but that's a discussion for another
     day...
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3beta-1303-g3f0398

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2015-08-04 18:43 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-02  9:24 controlling how htmlize fontifies code Eric S Fraga
2015-08-02 12:17 ` Rasmus
2015-08-03 13:51   ` Eric S Fraga
2015-08-02 13:19 ` Rick Frankel
2015-08-02 13:41   ` Kaushal
2015-08-03 13:50   ` Eric S Fraga
2015-08-03 21:08     ` Rick Frankel
2015-08-04 12:41       ` Eric S Fraga
2015-08-04 13:24       ` Eric S Fraga
2015-08-04 14:00         ` Rasmus
2015-08-04 15:09           ` Nicolas Goaziou
2015-08-04 15:21             ` Rasmus
2015-08-04 18:27               ` Nicolas Goaziou
2015-08-04 18:38                 ` Rasmus
2015-08-04 18:44                   ` Nicolas Goaziou
2015-08-04 16:03             ` Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).