1 ;;; muse-init-simple.el --- Use Emacs Muse to publish ikiwiki documents
3 ;; The code in this file may be used, distributed, and modified
4 ;; without restriction.
8 (add-to-list 'load-path
(expand-file-name "~ikiwiki/elisp/muse/lisp"))
11 (require 'muse
) ; load generic module
12 (require 'muse-html
) ; load (X)HTML publishing style
13 (require 'muse-ikiwiki
) ; load Ikiwiki integration
17 ;; Permitted modes for <src> to colorize
18 (setq muse-html-src-allowed-modes
19 '("ada" "apache" "asm" "awk" "c++" "c" "cc" "change-log" "context"
20 "css" "diary" "diff" "dns" "domtool" "emacs-lisp" "f90" "fortran"
21 "fundamental" "html" "java" "jython" "latex" "lisp" "lua" "m4"
22 "makefile" "markdown" "matlab" "maxima" "message" "modula-2" "muse"
23 "nroff" "octave" "org" "outline" "pascal" "perl" "ps" "python" "rst"
24 "ruby" "scheme" "sgml" "sh" "slang" "sml" "sml-cm" "sml-lex" "sml-yacc"
25 "sql" "tcl" "tex" "texinfo" "xml" "zone"))
26 ;; In case someone does <src lang="muse">
27 (setq muse-colors-evaluate-lisp-tags nil
28 muse-colors-inline-images nil
)
29 ;; In case someone does <src lang="org">
31 (setq org-inhibit-startup t
32 org-table-formula-evaluate-inline nil
)
34 ;; Don't allow dangerous tags to be published
35 (setq muse-publish-enable-dangerous-tags nil
)
40 '(muse-html-charset-default "utf-8")
41 '(muse-html-encoding-default (quote utf-8
))
42 '(muse-html-meta-content-encoding (quote utf-8
))
43 '(muse-publish-comments-p t
)
44 '(muse-publish-date-format "%b. %e, %Y"))
47 ;;; muse-init-simple.el ends here