Do the right thing with consecutive list items, hopefully.
[muse-el.git] / README
blob123493a78ea99d08f84615b73c4296ed452baf59
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 compiling Muse and publishing
36            the QuickStart document; they might prove useful if you
37            want to automate 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 If you are installing Muse on a Debian system, you might want to
76 change the value of INSTALLINFO as specified in `Makefile.defs'.
78 If you wish to install Muse to different locations than the defaults
79 specify, edit `Makefile.defs' accordingly.
81 Run `make' as a normal user.
83 Run `make install' as the root user if you have chosen installation
84 locations that require this.
86 Insinuation
87 -----------
89 Two things need to happen in order for Muse to be usable with your
90 version of Emacs or XEmacs.
92  1. The location of the Muse directory needs to be added to the load
93     path so that your variant of Emacs can find it.
95  2. You need to load whichever Muse files you wish to make use of.
97 A quick example that accomplishes both of these follows.
99 ;; Add this to your .emacs or .xemacs/init.el file.
100 (setq load-path (add-to-list 'load-path "/path/to/muse"))
101 (require 'muse-mode)
103 Documentation
104 -------------
106 The Muse manual may be generated by running `make doc'.
108 It will produce two files: an Info file called `muse.info' and an HTML
109 document called `muse.html'.
111 This manual is also available online in several forms.
113  - PDF: http://www.mwolson.org/static/doc/muse.pdf
114  - HTML (single file): http://www.mwolson.org/static/doc/muse.html
115  - HTML (multiple files): http://www.mwolson.org/static/doc/muse/
117 QuickStart
118 ----------
120 Type "make examples" to generate a quickstart guide for Muse.  An HTML
121 document called QuickStart.html, an Info document called
122 QuickStart.info, and a PDF file called QuickStart.pdf will be created
123 in the `examples' directory.
125 If you do not have a working LaTeX installation with the proper fonts,
126 the PDF file will not be successfully generated.
128 To see the document that is interpreted in order to generate these
129 files, take a look at `examples/QuickStart'.
131 To view the generated Info document from within Emacs, try the
132 following.
134 C-u M-x info RET /path/to/muse/examples/QuickStart.info RET
136 Further Documentation
137 =====================
139 Please consult http://www.emacswiki.org/cgi-bin/wiki/MuseMode to find
140 more information on bugs, unimplemented features, and user-contributed
141 tweaks.
143 The current maintainer's website is at
144 http://www.mwolson.org/projects/MuseMode.html.
146 A mailing list for Muse and some related software exists; consult
147 http://www.emacswiki.org/cgi-bin/wiki/EmacsWikiMailingList for details
148 on joining it or viewing its contents.