emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: New exporter and publishing to HTML with styles
Date: Sun, 07 Apr 2013 23:46:40 +0200	[thread overview]
Message-ID: <87ehemvwsf.fsf@gmail.com> (raw)
In-Reply-To: <87zjxanhko.fsf@norang.ca> (Bernt Hansen's message of "Sun, 07 Apr 2013 17:42:31 -0400")

Hello,

Bernt Hansen <bernt@norang.ca> writes:

> I'm playing with the new exporter and publishing.  Everything seems to
> be good

Nice.

> except my style sheet details are missing.

Not nice. ;)

> There are :style entries in my org-publish-project-alist which seem to
> be ignored -- there are no style details in the published HTML file
> (see http://norang.ca/tmp/org-mode.html)
>
> I'm publishing my org-mode.org page to a temporary location to see if it
> is working as expected before updating the main site.
>
> The stylesheet I want is specified with 
> :style "<link rel=\"stylesheet\" href=\"http://doc.norang.ca/org.css\" type=\"text/css\" />"
> but I don't get any style information in the resulting published file.
>
> Is this supposed to work or do I need to add #+HTML_HEAD to each file
> with the stylesheet information?  I'd prefer to set it only once for
> the publishing location if possible (as it worked with the old
> publishing system)

See `org-html-head' docstring. It should be :html-head property,
not :style.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2013-04-07 21:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07 21:42 New exporter and publishing to HTML with styles Bernt Hansen
2013-04-07 21:46 ` Nicolas Goaziou [this message]
2013-04-07 22:32   ` Bernt Hansen

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=87ehemvwsf.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=bernt@norang.ca \
    --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).