emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Lawrence Bottorff <borgauf@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Default html export css styles?
Date: Tue, 1 Sep 2015 18:09:27 +0100	[thread overview]
Message-ID: <87vbbujcc8.fsf@ucl.ac.uk> (raw)
In-Reply-To: <CAFAhFSWxyBzCra4+UE3WpZMY-Lo34_r_po-XPZDWm4B3__W_7g@mail.gmail.com> (Lawrence Bottorff's message of "Tue, 1 Sep 2015 15:52:42 +0000")

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 directly?

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 ‘ox-html.el’.
| Its value is t
| 
|   This variable is safe as a file local variable if its value
|   satisfies the predicate ‘booleanp’.
| 
| Documentation:
| Non-nil means include the default style in exported HTML files.
| The actual style is defined in ‘org-html-style-default’ and
| should not be modified.  Use ‘org-html-head’ to use your own
| style information.
| 
| You can customize this variable.
| 
| This variable was introduced, or its default value was changed, in
| version 24.4 of Emacs.
`----

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-176-g45abec

  reply	other threads:[~2015-09-01 17:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-01 15:52 Default html export css styles? Lawrence Bottorff
2015-09-01 17:09 ` Eric S Fraga [this message]
2015-09-01 17:15 ` Scott Randby
2015-09-01 19:03   ` Lawrence Bottorff
2015-09-01 19:57     ` Thomas S. Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vbbujcc8.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=borgauf@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).