Re: [O] New exporter and publishing to HTML with styles

2013-04-07 Thread Nicolas Goaziou
Hello,

Bernt Hansen be...@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



Re: [O] New exporter and publishing to HTML with styles

2013-04-07 Thread Bernt Hansen
Nicolas Goaziou n.goaz...@gmail.com writes:

 Hello,

 Bernt Hansen be...@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.

OK :)  I looked at the texinfo documentation that still specifies
:style.

I added these details to the worg 8.0 page.

Thanks!
Bernt