~ubuntu-branches/ubuntu/vivid/muse-el/vivid

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
                                                          -*- Text -*-
This is the README file for Emacs Muse.

The terms "Emacs Muse", and "Muse" are used interchangeably throughout
this document to refer to this software.

Synopsis
========

Emacs Muse is an authoring and publishing environment for Emacs.  It
simplifies the process of writings documents and publishing them to
various output formats.

Emacs Muse consists of two main parts: an enhanced text-mode for
authoring documents and navigating within Muse projects, and a set of
publishing styles for generating different kinds of output.

Directory contents
==================

The directory structure is as follows.

etc :: Miscellaneous files like the emacs-wiki migration guide, the
  list of ideas for the future, and a RelaxNG schema for Muse XML.

contrib :: Files that are not a part of Muse proper, but are useful
  enough to be bundled with Muse.

examples :: Example configuration files for use with Muse, a
  publishable quickstart guide, and miscellaneous helper stuff.

experimental :: Source code that is not yet considered stable.

lisp :: Muse source code.

scripts :: Scripts that are used when compiling Muse and publishing
  the QuickStart document; they might prove useful if you want to
  automate the building of Muse documents.

texi :: The manual (muse.texi) and any supplemental sections.

Getting started
===============

Prerequisites
-------------

You need either Emacs (21.1 or greater), XEmacs (21.4 or greater), or
SXEmacs (warning: Muse has not been tested with SXEmacs).  The current
maintainer recommend using Emacs.

Compilation
-----------

This is an optional step, since Emacs Lisp source code does not
necessarily have to be byte-compiled.  It will yield a speed increase,
though.

A working copy of Emacs or XEmacs is needed in order to compile the
Emacs Muse.  By default, the program that is installed with the name
`emacs' will be used.

If you want to use the `xemacs' binary to perform the compilation, you
would need to edit `Makefile.defs' in the top-level directory as
follows.  You can put either a full path to an Emacs or XEmacs binary
or just the command name, as long as it is in the PATH.

EMACS    = xemacs
SITEFLAG = -no-site-file

Running `make' should compile the Muse source files in the `lisp'
directory.

Installation
------------

Muse may be installed into your file hierarchy by doing the following.

Edit the `Makefile.defs' file so that ELISPDIR points to where you
want the source and compiled Muse files to be installed and INFODIR
indicates where to put the Muse manual.  Of course, you will want to
edit EMACS and SITEFLAG as shown in the Compilation section if you are
using XEmacs.

If you are installing Muse on a Debian or Ubuntu system, you might
want to change the value of INSTALLINFO as specified in
`Makefile.defs'.

If you wish to install Muse to different locations than the defaults
specify, edit `Makefile.defs' accordingly.

Run `make' as a normal user.

Run `make install' as the root user if you have chosen installation
locations that require this.

Insinuation
-----------

Two things need to happen in order for Muse to be usable with your
version of Emacs or XEmacs.

 1. The location of the Muse directory needs to be added to the load
    path so that your variant of Emacs can find it.

 2. You need to load whichever Muse files you wish to make use of.

A quick example that accomplishes both of these follows.

;; Add this to your .emacs or .xemacs/init.el file.
(setq load-path (add-to-list 'load-path "/path/to/muse"))
(require 'muse-mode)
(require 'muse-publish)
(require 'muse-html)  ;; and so on

Documentation
-------------

The Muse manual may be generated by running `make doc'.

It will produce two files: an Info file called `muse.info' and an HTML
document called `muse.html'.  Both of these will be created in the
`texi' directory.

This manual is also available online in several forms.

 - PDF: http://www.mwolson.org/static/doc/muse.pdf
 - HTML (single file): http://www.mwolson.org/static/doc/muse.html
 - HTML (multiple files): http://www.mwolson.org/static/doc/muse/

QuickStart
----------

Type "make examples" to generate a quickstart guide for Muse.  An HTML
document called QuickStart.html, an Info document called
QuickStart.info, and a PDF file called QuickStart.pdf will be created
in the `examples' directory.

If you do not have a working LaTeX installation with the proper fonts,
the PDF file will not be successfully generated.

To see the document that is interpreted in order to generate these
files, take a look at `examples/QuickStart.muse'.

To view the generated Info document from within Emacs, try the
following.

C-u M-x info RET /path/to/muse/examples/QuickStart.info RET

Further Documentation
=====================

Please consult http://www.emacswiki.org/cgi-bin/wiki/EmacsMuse to find
more information on bugs, unimplemented features, and user-contributed
tweaks.

The current maintainer's webpage for Muse is at
http://www.mwolson.org/projects/EmacsMuse.html.

Mailing Lists
=============

Mailing lists for Muse exist.

muse-el-announce ::
  Low-traffic list for Muse-related announcements.

  You can join this mailing list (muse-el-announce@gna.org)
  using the subscription form at
  http://mail.gna.org/listinfo/muse-el-announce/.

  This mailing list is also available via Gmane (http://gmane.org/).
  The group is called
  gmane.emacs.muse.announce.

muse-el-discuss ::
  Discussion, bugfixes, suggestions, tips, and the like for Muse.
  This mailing list also includes the content of muse-el-announce.

  You can join this mailing list (muse-el-discuss@gna.org)
  using the subscription form at
  http://mail.gna.org/listinfo/muse-el-discuss/.

  This mailing list is also available via Gmane with the identifier
  gmane.emacs.muse.general.

muse-el-logs ::
  Log messages for commits made to Muse.

  You can join this mailing list (muse-el-logs@gna.org) using
  the subscription form at
  http://mail.gna.org/listinfo/muse-el-logs/.

  This mailing list is also available via Gmane with the identifier
  gmane.emacs.muse.scm.

muse-el-commits ::
  Generated bug reports for Emacs Muse.  If you use our bug-tracker at
  https://gna.org/bugs/?group=muse-el, the bug reports will be sent to
  this list automatically.

  You can join this mailing list (muse-el-commits@gna.org) using
  the subscription form at
  http://mail.gna.org/listinfo/muse-el-commits/.

  This mailing list is also available via Gmane with the identifier
  gmane.emacs.muse.cvs.

License
=======

Emacs Muse is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.

Emacs Muse is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with Emacs Muse; see the file COPYING.  If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.

The Muse manual is available under the terms of the GNU Free
Documentation License, Version 1.2 or any later version published by
the Free Software Foundation; with no Invariant Sections, and with the
Front-Cover texts and Back-Cover Texts as specified in the manual.  A
copy of the license is included in the section entitled "GNU Free
Documentation License" in the Muse manual.  All Emacs Lisp code
contained in the manual may be used, distributed, and modified without
restriction.

The PNG images included in the examples/ directory may be used,
distributed, and modified without restriction.