Меnu:


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:

  1. Read the tutorial.
  2. Installer's emacs-muse.
  3. 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")
    ...
     
  1. Download the files variant-creative.header and variant-creative.footer1.
  2. Based on the tutorial create the document with a 'Hello World'. (inside the folder 'es')2.
  3. Verify there is a file 'index.muse' on the project root folder3.
  4. Publish the document with the command muse-publish-this-file4. Also We could use the command muse-project-publish5
  5. 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.
  6. Up to now We have a page with a hello world(included css), It

    does not look too amazing. Visit the templates, choose one and customize It. Enjoy your website6.

Frequent Commands.

;; 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

External Links.

  1. alex ott site
  2. emacs-muse quick start
  3. emacs-muse manual

1. Those files have some modifications with the ones from the tutorial.

2. See item number 3 (project root). 'es' is because of the language.

3. When defining the emacs-muse project (project root), by default It must look for the index file. In case there is no that file, create it empty.

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.

6. Publish It on a cpanel hosting like nipon-computer, It is very cheap just 20 dollars a year.

Last change: 22.11.2011 20:03

blog comments powered by Disqus