From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Default html export css styles? Date: Tue, 1 Sep 2015 18:09:27 +0100 Message-ID: <87vbbujcc8.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWp40-0001xv-6A for emacs-orgmode@gnu.org; Tue, 01 Sep 2015 13:09:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWp3w-0005iA-VW for emacs-orgmode@gnu.org; Tue, 01 Sep 2015 13:09:40 -0400 Received: from mail-db3on0130.outbound.protection.outlook.com ([157.55.234.130]:50720 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWp3w-0005fH-Nx for emacs-orgmode@gnu.org; Tue, 01 Sep 2015 13:09:36 -0400 In-Reply-To: (Lawrence Bottorff's message of "Tue, 1 Sep 2015 15:52:42 +0000") 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: Lawrence Bottorff Cc: emacs-orgmode@gnu.org On Tuesday, 1 Sep 2015 at 15:52, Lawrence Bottorff wrote: > When I do an HTML export of my org buffer, it produces a default css > section in the head: [...] > What is producing this default css styling and how can I change it direct= ly? It's a constant, ~org-html-style-default~, defined in ox-html.el. Assuming you are using a recent enough org, you can override whether this is included: ,----[ C-h v org-html-head-include-default-style RET ] | org-html-head-include-default-style is a variable defined in =E2=80=98ox-= html.el=E2=80=99. | Its value is t |=20 | This variable is safe as a file local variable if its value | satisfies the predicate =E2=80=98booleanp=E2=80=99. |=20 | Documentation: | Non-nil means include the default style in exported HTML files. | The actual style is defined in =E2=80=98org-html-style-default=E2=80=99 a= nd | should not be modified. Use =E2=80=98org-html-head=E2=80=99 to use your = own | style information. |=20 | You can customize this variable. |=20 | This variable was introduced, or its default value was changed, in | version 24.4 of Emacs. `---- --=20 : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-176-g45abec