From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: controlling how htmlize fontifies code Date: Sun, 2 Aug 2015 09:19:19 -0400 Message-ID: <20150802131919.GA98482@eyeBook.home> References: <874mkihwl2.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLtAi-0007iG-9A for emacs-orgmode@gnu.org; Sun, 02 Aug 2015 09:19:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLtAd-0000ZH-6W for emacs-orgmode@gnu.org; Sun, 02 Aug 2015 09:19:24 -0400 Received: from mail.rickster.com ([204.62.15.78]:41631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLtAd-0000Yx-3i for emacs-orgmode@gnu.org; Sun, 02 Aug 2015 09:19:19 -0400 Received: from eyeBook.localdomain (pool-74-101-172-246.nycmny.fios.verizon.net [74.101.172.246]) by mail.rickster.com (Postfix) with ESMTPS id 76951238A5 for ; Sun, 2 Aug 2015 09:19:19 -0400 (EDT) Content-Disposition: inline In-Reply-To: <874mkihwl2.fsf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Sun, Aug 02, 2015 at 10:24:25AM +0100, Eric S Fraga wrote: > 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? > 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... 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. rick