Re: [Orgmode] RE: Using simple css in HTML export ‏

2009-07-06 Thread Sebastian Rose
Charles Howard terminalbeach...@googlemail.com writes:
 Line 46 was already in the table of contents.

 I'm using org-mode 6.06, emacs 22.1.1, Ubuntu 8.04.


That must be it. ^^--- that's quite an old version.

The #+STYLE: feature was first documented in revision
3c916eeb385a688d6d99819aad217a49ed82de58 and added in
rev. c4375970d7050497290bc070361f09235cff5e47

... two revisions after the 6.06 release

(not a 100% sure, but looks like...)



So, to add the style, you need to either set it in your
`org-publish-project-alist' (see
http://orgmode.org/manual/Simple-example.html#Simple-example) or use a
special  comment section for a per file setup (see
http://orgmode.org/worg/code/org-info-js/#sec-4.2.1)


HTH

Sebastian






___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Using simple css in HTML export

2009-07-03 Thread Matthew Lundin
Charles Howard incuba...@hotmail.co.uk writes:

 Hi. I thought it would be a simple matter to make use of a css file in html 
 export. 

 At the top of my file I put

 #+LATEX_CLASS: myarticle
 #+TITLE: Directory skeleton 
 #+AUTHOR: Study
 #+STYLE: 

 but no result. I did Cc-Cc, closed down and reopened. 

You'll have to fill in instructions in the #+STYLE line (i.e., a path to
the css file) for this to work.

E.g. 

--8---cut here---start-8---
#+STYLE: link rel=stylesheet type=text/css href=stylesheet.css /
--8---cut here---end---8---

Please see the manual for more details:

http://orgmode.org/manual/CSS-support.html

Best,
Matt



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] RE: Using simple css in HTML export

2009-07-03 Thread Charles Howard

The hotmail account I am using seems to have stripped out the html code. 

I did have such a line following STYLE, as in the link you quoted. 

I had the css file in the same dir as the org file. I used basic.css and 
./basic.css
with no success either way. 

Thanks Matt. I still don't know why this didn't work. 

Chas


 From: m...@imapmail.org
 To: incuba...@hotmail.co.uk
 CC: emacs-orgmode@gnu.org
 Subject: Re: Using simple css in HTML export
 Date: Fri, 3 Jul 2009 14:20:36 -0500

 Charles Howard  writes:

 Hi. I thought it would be a simple matter to make use of a css file in html 
 export.

 At the top of my file I put

 #+LATEX_CLASS: myarticle
 #+TITLE: Directory skeleton
 #+AUTHOR: Study
 #+STYLE:

 but no result. I did Cc-Cc, closed down and reopened.

 You'll have to fill in instructions in the #+STYLE line (i.e., a path to
 the css file) for this to work.

 E.g.

 --8---cut here---start-8---
 #+STYLE: 
 --8---cut here---end---8---

 Please see the manual for more details:

 http://orgmode.org/manual/CSS-support.html

 Best,
 Matt


_
Get the best of MSN on your mobile
http://clk.atdmt.com/UKM/go/147991039/direct/01/

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] RE: Using simple css in HTML export

2009-07-03 Thread Sebastian Rose
Charles Howard incuba...@hotmail.co.uk writes:
 The hotmail account I am using seems to have stripped out the html code. 


What did Org-mode's XHTML export head section look like then?


 I did have such a line following STYLE, as in the link you quoted. 

 I had the css file in the same dir as the org file. I used basic.css and 
 ./basic.css
 with no success either way. 


OK. Just to be sure...

1.) Your *.org file should have this in the header:

#+style: link rel=stylesheet type=text/css href=basic.css /




2.) After export, line ~47 (or 46 or 48...) should look like this:

  link rel=stylesheet type=text/css href=basic.css /

  If not, make sure step 1.) is done.



Now, if the exported *.html file and basic.css live in the same
directory, it should work.


Sorry, you're not allowed to simply give up :)



Sebastian




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode