[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] New exporter and publishing to HTML with styles
From: |
Nicolas Goaziou |
Subject: |
Re: [O] New exporter and publishing to HTML with styles |
Date: |
Sun, 07 Apr 2013 23:46:40 +0200 |
Hello,
Bernt Hansen <address@hidden> 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