This website is based on this tutorial.
When following the tutorial We have found some little annoyances, perhaps lisp expert would have solved it quickly, We are writing down how We solved them, for the ones that come behind us.
What We did:
- Read the tutorial.
- Installer's emacs-muse.
- Create your emacs-muse configuration file.
;;yoursite-page-html, derived style based on 'html' ;;yoursite-page-muse, folder name that is the root for the emacs-muse project (muse-derive-style "yoursite-page-html" "html" :header "~/projects/yoursite-page-muse/variant-creative.header" :footer "~/projects/yoursite-page-muse/variant-creative.footer")
;; my-page-project, project name ;; yoursite-page-html, default style when publishing the project ... ("my-page-project" (,@(muse-project-alist-dirs "~/projects/yoursite-page-muse") :default "index") ,@(muse-project-alist-styles "~/projects/yoursite-page-muse" "~/projects/yoursite-page-muse" "yoursite-page-html") ...
- Download the files variant-creative.header and variant-creative.footer1.
- Based on the tutorial create the document with a 'Hello World'. (inside the folder 'es')2.
- Verify there is a file 'index.muse' on the project root folder3.
- Publish the document with the command muse-publish-this-file4. Also We could use the command muse-project-publish5
- Probably You have noticed that there are some styles and images that need to be downloaded. Firebug is going to help You with this task.
- Up to now We have a page with a hello world(included css), It
;; publish the actual file, you need to provide an style as parameter muse-publish-this-file ;; publish the project muse-project-publish ;; inserting muse tags and list muse-insert-thing ;; navigates the files on the project muse-index
2. See item number 3 (project root).
'es' is because of the language.
4. Enter the style defined in step 3 yoursite-page-html.
5. If there is no index.muse at the folder
'es', then create It empty.
Last change: 22.11.2011 20:03