From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: controlling how htmlize fontifies code Date: Mon, 3 Aug 2015 17:08:02 -0400 Message-ID: <20150803210802.GA2327@eyeBook.home> References: <874mkihwl2.fsf@ucl.ac.uk> <20150802131919.GA98482@eyeBook.home> <87a8u8jxb0.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]:51076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMMxu-0001zI-BH for emacs-orgmode@gnu.org; Mon, 03 Aug 2015 17:08:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMMxo-0007ur-Hw for emacs-orgmode@gnu.org; Mon, 03 Aug 2015 17:08:10 -0400 Received: from mail.rickster.com ([204.62.15.78]:44275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMMxo-0007uY-F9 for emacs-orgmode@gnu.org; Mon, 03 Aug 2015 17:08:04 -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 A58CD246F5 for ; Mon, 3 Aug 2015 17:08:04 -0400 (EDT) Content-Disposition: inline In-Reply-To: <87a8u8jxb0.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 Mon, Aug 03, 2015 at 02:50:27PM +0100, Eric S Fraga wrote: > 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-") > > 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. > Both should work. Are you sure you have `org-export-allow-bind-keywords' set? Why wouldn't you expect local variables to work? rick