Try to make Muse play nice with outline minor mode.
[muse-el.git] / README
blob55d9ff45dcf45861db3ff7d71794f9f77511789d
2 This is the README file for the Emacs Muse.
4 The terms "the Emacs Muse", "Emacs Muse", and "Muse" will be used
5 interchangeably throughout this document to refer to this software.
7 Synopsis
8 ========
10 Emacs Muse is an authoring and publishing environment for Emacs.  It
11 simplifies the process of writings documents and publishing them to
12 various output formats.
14 Muse consists of two main parts: an enhanced text-mode for authoring
15 documents and navigating within Muse projects, and a set of publishing
16 styles for generating different kinds of output.
18 Directory contents
19 ==================
21 The directory structure is as follows.
23 The manual (muse.texi) is in the top-level directory.
25 contrib :: Files that are not a part of Muse proper, but are useful
26            enough to be bundled with Muse.
28 examples :: Example configuration files for use with Muse, as well as
29             a publishable quickstart guide.
31 experimental :: Source code that is not yet considered stable.
33 lisp :: Muse source code.
35 scripts :: Scripts that are used when publishing the QuickStart
36            document; they might prove useful if you want to automate
37            the building of Muse documents.
39 Getting started
40 ===============
42 Compilation
43 -----------
45 This is an optional step, since Emacs Lisp source code does not
46 necessarily have to be byte-compiled.  It will yield a speed increase,
47 though.
49 A working copy of Emacs or XEmacs is needed in order to compile the
50 Emacs Muse.  By default, the program that is installed with the name
51 `emacs' will be used.
53 If you want to use the `xemacs' binary to perform the compilation, you
54 would need to edit `Makefile.defs' in the top-level directory as
55 follows.  You can put either a full path to an Emacs or XEmacs binary
56 or just the command name, as long as it is in the PATH.
58 EMACS    = xemacs
59 SITEFLAG = -no-site-file
61 Running `make' should compile the Muse source files in the `lisp'
62 directory.
64 Installation
65 ------------
67 Muse may be installed into your file hierarchy by doing the following.
69 Edit the `Makefile.defs' file so that ELISPDIR points to where you
70 want the source and compiled Muse files to be installed and INFODIR
71 indicates where to put the Muse manual.  Of course, you will want to
72 edit EMACS and SITEFLAG as shown in the Compilation section if you are
73 using XEmacs.
75 Run `make' as a normal user.
77 Run `make install' as the root user if you have chosen installation
78 locations that require this.
80 Insinuation
81 -----------
83 Two things need to happen in order for Muse to be usable with your
84 version of Emacs or XEmacs.
86  1. The location of the Muse directory needs to be added to the load
87     path so that your variant of Emacs can find it.
89  2. You need to load whichever Muse files you wish to make use of.
91 A quick example that accomplishes both of these follows.
93 ;; Add this to your .emacs or .xemacs/init.el file.
94 (setq load-path (add-to-list 'load-path "/path/to/muse"))
95 (require 'muse-mode)
97 Documentation
98 -------------
100 The Muse manual may be generated by running `make doc'.
102 It will produce two files: an Info file called `muse.info' and an HTML
103 document called `muse.html'.
105 QuickStart
106 ----------
108 Type "make examples" to generate a quickstart guide for Muse.  An HTML
109 document called QuickStart.html, an Info document called
110 QuickStart.info, and a PDF file called QuickStart.pdf will be created
111 in the `examples' directory.
113 If you do not have a working LaTeX installation with the proper fonts,
114 the PDF file will not be successfully generated.
116 To see the document that is interpreted in order to generate these
117 files, take a look at `examples/QuickStart'.
119 To view the generated Info document from within Emacs, try the
120 following.
122 C-u M-x info RET /path/to/muse/examples/QuickStart.info RET
124 Further Documentation
125 =====================
127 Please consult http://www.emacswiki.org/cgi-bin/wiki/MuseMode to find
128 more information on bugs, unimplemented features, and user-contributed
129 tweaks.
131 A full manual is distributed with Muse in the `muse.texi' file.  If
132 you have installed Muse fully, it should be browsable from Info.
133 Alternatively, type `make muse.html' in the top-level directory in
134 order to make an HTML document.
136 The current maintainer's website is at
137 http://www.mwolson.org/projects/MuseMode.html.
139 A mailing list for Muse and some related software exists; consult
140 http://www.emacswiki.org/cgi-bin/wiki/EmacsWikiMailingList for details
141 on joining it or viewing its contents.