>>>>> "JMdB" == Jean Magnan de Bornier <[EMAIL PROTECTED]> writes:

  JMdB> Hi all, New to this list

  JMdB> Emacs-cvs, Linux-gentoo

  JMdB> I installed muse about one week ago on my emacs and I am
  JMdB> absolutely enthusiastic about it; so thanks to all who have
  JMdB> some responsibility in this project.

  JMdB> I have tried to define header, footer, extension on a per
  JMdB> project basis, but have not succeeded until now; here is what
  JMdB> I wrote in .emacs (last 3 lines):


I just define a new style for each project, like so...


(muse-derive-style "bioont-06-xhtml" "html"
                   :header "~/src/ht/bioontologies/header.html"
                   :footer "~/src/ht/bioontologies/footer.html")
     

I also posted recently, the muse-settings package which allows me to
do this using a file in the same directory as the .muse files (my
project alist form was getting silly). 

Then you just do this...


(muse-settings-add-project 
 `("CSC8306-2006" 
   (,(muse-settings-local-path) :default "index.html")
   (:base "csc8306-html" :path ,(muse-settings-local-path))))


(muse-settings-derive-style
 "csc8306-html" "html"
 :header (muse-settings-local-header)
 :footer (muse-settings-local-footer))


This saves the nastiness of having to set full paths all the time. In
this case, I assume a standard name for the header and footers. 

Normally, I use "header.xml" and "footer.xml". I've found this works
better than the more obvious "header.html", as it makes a clean build
of the website much easier -- you just delete *.html. 

Cheers

Phil

_______________________________________________
Muse-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/muse-el-discuss

Reply via email to