1 \input texinfo @c -*-texinfo-*-
9 * Muse: (muse). Authoring and publishing environment for Emacs.
15 This manual is for the Emacs Muse version 3.01.91 (3.02 RC2).
17 Copyright (C) 2004, 2005 Free Software Foundation, Inc.
20 Permission is granted to copy, distribute and/or modify this document
21 under the terms of the GNU General Public License.
27 @subtitle an authoring and publishing environment
28 @subtitle for GNU Emacs and XEmacs
30 @c The following two commands
31 @c start the copyright page.
33 @vskip 0pt plus 1filll
37 @c So the toc is printed at the start
41 @node Top, Preface, (dir), (dir)
42 @comment node-name, next, previous, up
49 * Preface:: About the documentation.
50 * Introduction:: What is Muse?
51 * Obtaining Muse:: How to get Muse releases and development
53 * Installation:: Compiling and installing Muse.
54 * Getting Started:: Settings for Muse.
55 * Projects:: Creating and managing Muse projects.
56 * Keystroke Summary:: Keys used in Muse mode.
57 * Markup Rules:: Rules for using markup.
58 * Publishing Styles:: Publishing various types of documents.
59 * Getting Help and Reporting Bugs::
60 * History:: History of this document.
61 * Contributors:: Contributors to this documentation.
62 * GNU General Public License:: The license for this manual and Muse.
63 * Concept Index:: Search for terms.
66 --- The Detailed Node Listing ---
68 How to Get Muse Releases and Development Changes
70 * Releases:: Released versions of Muse.
71 * Development:: Latest unreleased development changes.
73 Rules for Using Markup
75 * Paragraphs:: Paragraphs: centering and quoting.
76 * Headings:: Levels of headings.
77 * Emphasizing Text:: Bold, italicized, and underlined text.
78 * Footnotes:: Making notes to be shown at the end.
79 * Verse:: Indicating poetic stanzas.
80 * Lists:: Lists of items.
81 * Tables:: Generation of data tables.
82 * Links:: Hyperlinks and email addresses.
83 * Horizontal Rules and Anchors:: Inserting a horizontal line or anchor.
84 * Embedded Lisp:: Evaluating Emacs Lisp code in documents
87 Publishing Various Types of Documents
89 * Blosxom:: Integrating Muse and pyblosxom.cgi.
90 * Book:: Publishing entries into a compilation.
91 * DocBook:: Publishing in DocBook XML form.
92 * HTML:: Publishing in HTML or XHTML form.
93 * Journal:: Keeping a journal or blog.
94 * LaTeX:: Publishing LaTeX documents.
95 * Poem:: Publish a poem to LaTex or PDF.
96 * Texinfo:: Publish entries to Texinfo format or PDF.
97 * Common Elements:: Common functionality shared by styles.
98 * Deriving Styles:: Deriving a new style from an existing
101 Integrating Muse and pyblosxom.cgi
103 * Blosxom Requirements:: Other tools needed to the Blosxom style.
104 * Blosxom Entries:: Format of a Blosxom entry and automation.
105 * Blosxom Options:: Blosxom styles and options provided.
110 @node Preface, Introduction, Top, Top
111 @comment node-name, next, previous, up
112 @chapter About the documentation
114 This document describes Muse, which was written by John Wiegley
115 and is now maintained by Michael Olson. Several versions of it are
119 @item PDF: http://www.mwolson.org/static/doc/muse.pdf
120 @item HTML (single file): http://www.mwolson.org/static/doc/muse.html
121 @item HTML (multiple files): http://www.mwolson.org/static/doc/muse/
124 @node Introduction, Obtaining Muse, Preface, Top
125 @comment node-name, next, previous, up
126 @chapter What is Muse?
128 Emacs Muse is an authoring and publishing environment for Emacs. It
129 simplifies the process of writing documents and publishing them to
130 various output formats.
132 Muse consists of two main parts: an enhanced text-mode for authoring
133 documents and navigating within Muse projects, and a set of publishing
134 styles for generating different kinds of output.
136 This idea is not in any way new. Numerous systems exist -- even one
137 other for Emacs itself (Bhl Mode). What Muse adds to the picture is a
138 more modular environment, with a rather simple core, in which "styles"
139 are derived from to create new styles. Much of Muse's overall
140 functionality is optional. For example, you can use the publisher
141 without the major-mode, or the mode without doing any publishing; or if
142 you don't load the Texinfo or LaTeX modules, those styles won't be
145 The Muse codebase is a departure from emacs-wiki.el version 2.44. The
146 code has been restructured and rewritten, especially its publishing
147 functions. The focus in this revision is on the authoring and publishing
148 aspects, and the "wikiness" has been removed as a default behavior (to
149 be offered again as an optional module). CamelCase words are no longer
152 @node Obtaining Muse, Installation, Introduction, Top
153 @comment node-name, next, previous, up
154 @chapter How to Get Muse Releases and Development Changes
157 * Releases:: Released versions of Muse.
158 * Development:: Latest unreleased development changes.
161 @node Releases, Development, Obtaining Muse, Obtaining Muse
162 @comment node-name, next, previous, up
163 @section Released versions of Muse
165 Choose to install a release if you want to minimize risk.
167 Errors are corrected in development first. User-visible changes will be
168 announced on the @email{emacs-wiki-discuss@@nongnu.org} mailing list.
169 This mailing list also provides support for @command{Planner} and
170 @command{emacs-wiki}, which is the predecessor of Muse.
171 @pxref{Getting Help and Reporting Bugs}.
173 @cindex releases, Debian package
174 @cindex Debian package for Muse
175 Debian users can get Muse via apt-get. The @file{muse} package will be
176 made available at Michael Olson's Debian repository. To make use of it,
177 add the following line to your @file{/etc/apt/sources.list} file and run
178 @code{apt-get install muse}.
181 deb http://www.mwolson.org/debian/ ./
184 @cindex releases, from source
185 Alternatively, you can download the latest release from
186 @uref{http://www.mwolson.org/static/dist/muse/} .
188 @node Development, , Releases, Obtaining Muse
189 @comment node-name, next, previous, up
190 @section Latest unreleased development changes
193 Choose the development version if you want to live on the bleeding edge
194 of Muse development or try out new features before release.
196 @cindex arch revision control system, using
197 The Arch revision control system allows you to retrieve previous
198 versions and select specific features and bug fixes. If you would like
199 to contribute to Muse development, it is highly recommended that you use
200 Arch, but this is not a requirement.
202 If you are new to Arch, you might find this tutorial helpful:
203 @uref{http://www.mwolson.org/projects/ArchTutorial.html}.
205 Downloading the Muse module with Arch and staying up-to-date involves
212 @item Debian: @kbd{apt-get install tla}.
213 @item Other distributions: see @uref{http://regexps.srparish.net/www/}.
216 @item Register the archive.
218 tla register-archive -f http://www.mwolson.org/archives/2005
221 @item Download the Muse package.
223 # Download Muse into the @file{muse} directory.
224 tla get mwolson@@gnu.org--2005/muse--main--1.0 muse
227 @item List upstream changes that are missing from your local copy.
228 Do this whenever you want to see whether new changes have been committed
232 # Change to the source directory you are interested in.
235 # Display the summary of changes
236 tla missing --summary
239 @cindex updating Muse with Arch
240 @item Update to the latest version by replaying missing changes.
248 There are other ways to interact with the Muse archive.
251 @item Browse arch repository: @uref{http://www.mwolson.org/archives/}
252 @item Latest development snapshot: @uref{http://www.mwolson.org/static/dist/muse-latest.tar.gz}
255 The latest development snapshot will be kept up-to-date since it is
256 updated at the same time as the Arch repository.
258 @node Installation, Getting Started, Obtaining Muse, Top
259 @comment node-name, next, previous, up
260 @chapter Compiling and Installing Muse
262 Muse may be compiled and installed on your machine.
266 This is an optional step, since Emacs Lisp source code does not
267 necessarily have to be byte-compiled. It will yield a speed increase,
270 A working copy of Emacs or XEmacs is needed in order to compile the
271 Emacs Muse. By default, the program that is installed with the name
272 @command{emacs} will be used.
274 If you want to use the @command{xemacs} binary to perform the
275 compilation, you would need to edit @file{Makefile.defs} in the
276 top-level directory as follows. You can put either a full path to an
277 Emacs or XEmacs binary or just the command name, as long as it is in the
282 SITEFLAG = -no-site-file
285 Running @code{make} should compile the Muse source files in the
286 @file{lisp} directory.
290 Muse may be installed into your file hierarchy by doing the following.
292 Edit the @file{Makefile.defs} file so that @env{ELISPDIR} points to
293 where you want the source and compiled Muse files to be installed and
294 @env{INFODIR} indicates where to put the Muse manual. Of course, you
295 will want to edit @env{EMACS} and @env{SITEFLAG} as shown in the
296 Compilation section if you are using XEmacs.
298 If you are installing Muse on a Debian system, you might want to change
299 the value of @env{INSTALLINFO} as specified in @file{Makefile.defs}.
301 If you wish to install Muse to different locations than the defaults
302 specify, edit @file{Makefile.defs} accordingly.
304 Run @code{make} as a normal user.
306 Run @code{make install} as the root user if you have chosen installation
307 locations that require this.
310 @node Getting Started, Projects, Installation, Top
311 @comment node-name, next, previous, up
312 @chapter Getting Started
315 To use Muse, add the directory containing its files to your
316 @code{load-path} variable, in your @file{.emacs} file. Then, load in
317 the authoring mode, and the styles you wish to publish to. An example
321 (add-to-list 'load-path "<path to Muse>")
323 (require 'muse-mode) ; load authoring mode
325 (require 'muse-html) ; load publishing styles I use
326 (require 'muse-latex)
327 (require 'muse-texinfo)
328 (require 'muse-docbook)
331 Once loaded, the command @kbd{M-x muse-publish-this-file} will publish
332 an input document to any available style. If you enable
333 @file{muse-mode} within a buffer, by typing @kbd{M-x muse-mode}, this
334 command will be bound to @kbd{C-c C-t}.
336 If the currently opened file is part of a defined project in
337 @code{muse-project-alist}, it may be published using @kbd{C-c C-p}.
339 You should also type @kbd{M-x customize-group}, and give the name
340 @samp{muse}. Change it to suit your preferences. Each of the
341 options has its own documentation.
344 @node Projects, Keystroke Summary, Getting Started, Top
345 @comment node-name, next, previous, up
346 @chapter Creating and Managing Muse Projects
349 Often you will want to publish all the files within a directory to a
350 particular set of output styles automatically. To support, Muse
351 allows for the creations of "projects". Here is a sample project, to
352 be defined in your @file{.emacs} file.
355 (require 'muse-project)
357 (setq muse-project-alist
358 '(("website" ; my various writings
359 ("~/Pages" :default "index")
360 (:base "html" :path "~/public_html")
361 (:base "pdf" :path "~/public_html/pdf"))))
364 The above defines a project named "website", whose files are located
365 in the directory @file{~/Pages}. The default page to visit is
366 @file{index}. When this project is published, each page will be
367 output as HTML to the directory @file{~/public_html}, and as PDF to
368 the directory @file{~/public_html/pdf}. Within any project page, you
369 may create a link to other pages using the syntax @samp{[[pagename]]}.
372 @node Keystroke Summary, Markup Rules, Projects, Top
373 @comment node-name, next, previous, up
374 @chapter Keys Used in Muse Mode
377 This is a summary of keystrokes available in every Muse buffer.
381 @item C-c C-a (`muse-index')
382 Display an index of all known Muse pages.
384 @item C-c C-b (`muse-browse-result')
385 Show the published result of this page.
387 @item C-c C-e (`muse-edit-link-at-point')
390 @item C-c C-f (`muse-project-find-file'), also C-c C-v
391 Open another Muse page. Prompt for the name.
393 @item C-c C-l (`font-lock-mode')
394 Highlight/refresh the current buffer.
396 @item C-c C-p (`muse-project-publish')
397 Publish any Muse pages that have changed.
399 @item C-c C-v (`muse-project-find-file'), also C-c C-f
400 Open another Muse page. Prompt for the name.
402 @item C-c = (`muse-what-changed')
403 Diff this page against the last backup version.
405 @item C-c TAB (`muse-insert-tag')
406 Insert a tag interactively.
409 Move to the next Wiki reference.
412 Move to the previous Wiki reference.
417 @node Markup Rules, Publishing Styles, Keystroke Summary, Top
418 @comment node-name, next, previous, up
419 @chapter Rules for Using Markup
422 A Muse document uses special, contextual markup rules to determine how
423 to format the output result. For example, if a paragraph is indented,
424 Muse assumes it should be quoted.
426 There are not too many markup rules, and all of them strive to be as
427 simple as possible so that you can focus on document creation, rather
431 * Paragraphs:: Paragraphs: centering and quoting.
432 * Headings:: Levels of headings.
433 * Emphasizing Text:: Bold, italicized, and underlined text.
434 * Footnotes:: Making notes to be shown at the end.
435 * Verse:: Indicating poetic stanzas.
436 * Lists:: Lists of items.
437 * Tables:: Generation of data tables.
438 * Links:: Hyperlinks and email addresses.
439 * Horizontal Rules and Anchors:: Inserting a horizontal line or anchor.
440 * Embedded Lisp:: Evaluating Emacs Lisp code in documents
444 @node Paragraphs, Headings, Markup Rules, Markup Rules
445 @comment node-name, next, previous, up
446 @section Paragraphs: centering and quoting
449 Paragraphs in Muse must be separated by a blank line.
451 @cindex paragraphs, centered
452 @strong{Centered paragraphs and quotations}
454 A line that begins with six or more columns of whitespace (either tabs
455 or spaces) indicates a centered paragraph.
457 @cindex paragraphs, quoted
459 But if a line begins with whitespace, though less than six columns, it
460 indicates a quoted paragraph.
463 @cindex monospace, rendering blocks
464 @cindex HTML, rendering blocks in monospace
465 @strong{Literal paragraphs}
467 The @verb{|<example>|} tag is used for examples, where whitespace should
468 be preserved, the text rendered in monospace, and any characters special
469 to the output style escaped.
472 @cindex HTML, inserting a raw block
473 There is also the @verb{|<literal>|} tag, which causes a marked block to
474 be entirely left alone. This can be used for inserting a hand-coded
475 HTML blocks into HTML output, for example.
477 @node Headings, Emphasizing Text, Paragraphs, Markup Rules
478 @comment node-name, next, previous, up
479 @section Levels of headings
482 A heading becomes a chapter or section in printed output -- depending on
483 the style. To indicate a heading, start a new paragraph with one to
484 three asterices, followed by a space and the heading title. Then begin
485 another paragraph to enter the text for that section.
487 Only 3 levels of headings will be published as headings. A fourth level
488 of headings will be marked up, but displayed as plain text.
498 @node Emphasizing Text, Footnotes, Headings, Markup Rules
499 @comment node-name, next, previous, up
500 @section Bold, italicized, and underlined text
501 @cindex emphasizing text
502 @cindex underlining text
503 @cindex italicizing text
504 @cindex verbatim text
505 @cindex monospace, rendering words
507 To emphasize text, surround it with certain specially recognized
513 ***very strong emphasis***
515 =verbatim and monospace=
519 While editing a Muse document in Muse mode, these forms of emphasis will
520 be highlighted in a WYSIWYG manner. Each of these forms may span
521 multiple lines, with the exception of the verbatim and monospace form.
523 @node Footnotes, Verse, Emphasizing Text, Markup Rules
524 @comment node-name, next, previous, up
525 @section Making notes to be shown at the end
528 A footnote reference is simply a number in square brackets. To define
529 the footnote, place this definition at the bottom of your file.
530 @samp{footnote-mode} can be used to greatly facilitate the creation of
531 these kinds of footnotes.
533 Footnotes are defined by the same number in brackets occurring at the
534 beginning of a line. Use footnote-mode's @kbd{C-c ! a} command, to very
535 easily insert footnotes while typing. Use @kbd{C-x C-x} to return to
536 the point of insertion.
538 @node Verse, Lists, Footnotes, Markup Rules
539 @comment node-name, next, previous, up
540 @section Indicating poetic stanzas
544 Poetry requires that whitespace be preserved, but without resorting to
545 monospace. To indicate this, use the following markup, reminiscent of
549 > A line of Emacs verse;
550 > forgive its being so terse.
553 You can also use the @verb{|<verse>|} tag, if you prefer.
557 A line of Emacs verse;
558 forgive its being so terse.
562 Multiple stanzas may be included in one set of @verb{|<verse>|} tags, as
565 @cindex verses, multiple stanzas
568 A line of Emacs verse;
569 forgive its being so terse.
571 This a second stanza:
572 Something longer should go here,
573 But the author is out of ideas.
577 @node Lists, Tables, Verse, Markup Rules
578 @comment node-name, next, previous, up
579 @section Lists of items
582 Lists are given using special characters at the beginning of a line.
583 Whitespace must occur before bullets or numbered items, to distinguish
584 from the possibility of those characters occurring in a real sentence.
586 @cindex lists, bullets
587 These are rendered as a bullet list.
594 @cindex lists, enumerated
595 An enumerated list follows.
602 @cindex lists, definitions
603 Here is a definition list.
607 This is a first definition
608 And it has two lines;
612 This is a second definition
615 @node Tables, Links, Lists, Markup Rules
616 @comment node-name, next, previous, up
617 @section Generation of data tables
620 @cindex tables, simple
621 Only very simple tables are supported. The syntax is as follows.
624 Double bars || Separate header fields
626 Single bars | Separate body fields
627 Here are more | body fields
629 Triple bars ||| Separate footer fields
632 @node Links, Horizontal Rules and Anchors, Tables, Markup Rules
633 @comment node-name, next, previous, up
634 @section Hyperlinks and email addresses
637 @cindex links, explicit
639 A hyperlink can reference a URL, or another page within a Muse
640 project. In addition, descriptive text can be specified, which should
641 be displayed rather than the link text in output styles that supports
642 link descriptions. The syntax is as follows.
645 [[link target][link description]]
646 [[link target without description]]
649 Thus, the current maintainer's homepage for Muse can be found
650 @samp{[[http://www.mwolson.org/projects/MuseMode.html][here]]},
651 or at @samp{[[http://www.mwolson.org/projects/MuseMode.html]]}.
654 @cindex links, with images
657 Links to images may be used in either the target or the description, or
658 both. Thus, the following code will publish as a clickable image that
659 points to @url{http://www.mwolson.org/}.
662 [[http://www.mwolson.org/][http://www.mwolson.org/static/logos/site-logo.png]]
665 @cindex images, local
666 @cindex images, displaying
667 If a link to a locally-available image is encountered in the link
668 description, Muse mode will attempt to display it if your version of
669 Emacs permits this. The following example will display correctly and
670 publish correctly if a @acronym{PNG} file called @file{TestLogo.png}
671 exists in the @file{../pics/} directory.
674 [[TestPage][../pics/TestLogo.png]]
677 @cindex images, without a description
678 An image link is not required to have a description. The link
679 @samp{[[../myimage.png]]} will display and publish as expected.
683 @cindex Email addresses
684 @cindex images, inlined
685 @strong{Bare URLs and Email addresses}
687 A URL or email address encountered in the input text is published as
688 a hyperlink if the output style supports it. If it is an image URL,
689 it will be inlined if possible.
691 @node Horizontal Rules and Anchors, Embedded Lisp, Links, Markup Rules
692 @comment node-name, next, previous, up
693 @section Inserting a horizontal line or anchor
695 @cindex horizontal rules
697 @strong{Horizontal Rules}
699 Four or more dashes indicate a horizontal rule. Be sure to put blank
700 lines around it, or it will be considered part of the proceeding or
704 @cindex links, with target on same page
707 If you begin a line with "#anchor" -- where "anchor" can be any word
708 that doesn't contain whitespace -- it defines an anchor at that point
709 into the document. This point can be referenced using "page#anchor" as
710 the target in a Muse link.
712 @node Embedded Lisp, , Horizontal Rules and Anchors, Markup Rules
713 @comment node-name, next, previous, up
714 @section Evaluating Emacs Lisp code in documents for extensibility
715 @cindex lisp, embedded
717 Arbitrary kinds of markup can be achieved using the @verb{|<lisp>|} tag,
718 which is the only Muse tag supported in a style's header and footer
719 text. With the @verb{|<lisp>|} tag, you may generated whatever output
720 text you wish. The inserted output will get marked up, if the
721 @verb{|<lisp>|} tag appears within the main text of the document.
724 <lisp>(concat "This form gets " "inserted")</lisp>
727 @cindex lisp, and insert command
728 Note that you should not use the @code{insert} command within a set of
729 @verb{|<lisp>|} tags, since the return value from the @verb{|<lisp>|}
730 tags will be automatically inserted into the document.
732 @node Publishing Styles, Getting Help and Reporting Bugs, Markup Rules, Top
733 @comment node-name, next, previous, up
734 @chapter Publishing Various Types of Documents
735 @cindex publishing styles
737 One of the principle features of Muse is the ability to publish a simple
738 input text to a variety of different output styles. Muse also makes it
739 easy to create new styles, or derive from an existing style.
742 * Blosxom:: Integrating Muse and pyblosxom.cgi.
743 * Book:: Publishing entries into a compilation.
744 * DocBook:: Publishing in DocBook XML form.
745 * HTML:: Publishing in HTML or XHTML form.
746 * Journal:: Keeping a journal or blog.
747 * LaTeX:: Publishing LaTeX documents.
748 * Poem:: Publish a poem to LaTex or PDF.
749 * Texinfo:: Publish entries to Texinfo format or PDF.
750 * Common Elements:: Common functionality shared by styles.
751 * Deriving Styles:: Deriving a new style from an existing
755 @node Blosxom, Book, Publishing Styles, Publishing Styles
756 @comment node-name, next, previous, up
757 @section Integrating Muse and pyblosxom.cgi
758 @cindex blog, one-file-per-entry style
760 The Blosxom publishing style publishes a tree of categorised files to a
761 mirrored tree of stories to be served by blosxom.cgi or pyblosxom.cgi.
762 In other words, each blog entry corresponds with one file.
765 * Blosxom Requirements:: Other tools needed to the Blosxom style.
766 * Blosxom Entries:: Format of a Blosxom entry and automation.
767 * Blosxom Options:: Blosxom styles and options provided.
770 @node Blosxom Requirements, Blosxom Entries, Blosxom, Blosxom
771 @comment node-name, next, previous, up
772 @subsection Other tools needed to the Blosxom style
774 You will need to have @command{pyblosxom.cgi} or @command{blosxom.cgi}
775 installed on a machine that you have upload access to.
777 The following additional components are required in order to make the
778 date of blog entries display as something sensible.
782 A script to gather date directives from the entire blog tree into a
783 single file. The file must associate a blog entry with a date.
786 A plugin for (py)blosxom that reads this file.
789 These 2 things are provided for @command{pyblosxom.cgi} in the
790 @file{contrib/pyblosxom} subdirectory. @file{getstamps.py} provides the
791 former service, while @file{hardcodedates.py} provides the latter
792 service. Eventually it is hoped that a @command{blosxom.cgi} plugin and
793 script will be found/written.
795 Here is a sample listing from my @file{timestamps} file, which maps
796 each file to a date. This can really be in any format, as long as your
797 date-gathering script and your plugin can both understand it.
800 2005-04-01-14-16 personal/paper_cranes
801 2005-03-21 personal/spring_break_over
802 2004-10-24 personal/finished_free_culture
805 @node Blosxom Entries, Blosxom Options, Blosxom Requirements, Blosxom
806 @comment node-name, next, previous, up
807 @subsection Format of a Blosxom entry and automation
809 Each Blosxom file must include `#date yyyy-mm-dd', or optionally the
810 longer `#date yyyy-mm-dd-hh-mm', a title (using the #title directive),
811 plus whatever normal content is desired.
813 The date directive is not used directly by @command{pyblosxom.cgi} or
814 this program. You need to have the two additional items from the former
815 section to make use of this feature.
817 There is a function called @code{muse-blosxom-new-entry} that will
818 automate the process of making a new blog entry. To make use of it, do
823 Customize @code{muse-blosxom-base-directory} to the location that your
824 blog entries are stored.
827 Assign the @code{muse-blosxom-new-entry} function to a key sequence. I
828 use the following code to assign this function to @kbd{C-c p l'}.
831 (global-set-key "\C-cpl" 'muse-blosxom-new-entry)
835 You should create your directory structure ahead of time under your base
836 directory. These directories, which correspond with category names, may
840 When you enter this key sequence, you will be prompted for the category
841 of your entry and its title. Upon entering this information, a new file
842 will be created that corresponds with the title, but in lowercase
843 letters and having special characters converted to underscores. The
844 title and date directives will be inserted automatically.
847 @node Blosxom Options, , Blosxom Entries, Blosxom
848 @comment node-name, next, previous, up
849 @subsection Blosxom styles and options provided
851 The following styles and options are available in the Blosxom publishing
854 @emph{Styles provided}
858 @cindex publishing styles, blosxom-html
860 Publish Blosxom entries in HTML form.
862 @cindex publishing styles, blosxom-xhtml
864 Publish Blosxom entries in XHTML form.
868 @emph{Options provided}
872 @item muse-blosxom-extension
873 Default file extension for publishing Blosxom files.
875 @item muse-blosxom-header
876 Header used for publishing Blosxom files.
878 This may be text or a filename.
880 @item muse-blosxom-footer
881 Footer used for publishing Blosxom files.
883 This may be text or a filename.
885 @item muse-blosxom-base-directory
886 Base directory of blog entries, used by @code{muse-blosxom-new-entry}.
888 This is the top-level directory where your blog entries may be found
893 @node Book, DocBook, Blosxom, Publishing Styles
894 @comment node-name, next, previous, up
895 @section Publishing entries into a compilation
897 This publishing style is used to output ``books'' in LaTeX or PDF
900 Each page will become a separate chapter in the book, unless the style
901 keyword @option{:nochapters} is used, in which case they are all run
902 together as if one giant chapter.
904 You will need to call the @code{muse-book-publish-project} function in
905 order to publish this style. An example of this may be found in John
906 Wiegley's configuration file at @file{examples/johnw/muse-johnw.el}.
908 @emph{Styles provided}
912 @cindex publishing styles, book-latex
914 Publish a book in LaTeX form. The header and footer are different than
915 the normal LaTeX publishing mode.
917 @cindex publishing styles, book-pdf
919 Publish a book in PDF form. The header and footer are different than
920 the normal PDF publishing mode.
924 @emph{Options provided}
928 @item muse-book-before-publish-hook
929 A hook run in the book buffer before it is marked up.
931 @item muse-book-after-publish-hook
932 A hook run in the book buffer after it is marked up.
934 @item muse-book-latex-header
935 Header used for publishing books to LaTeX.
937 This may be text or a filename.
939 @item muse-book-latex-footer
940 Footer used for publishing books to LaTeX.
942 This may be text or a filename.
946 @node DocBook, HTML, Book, Publishing Styles
947 @comment node-name, next, previous, up
948 @section Publishing in DocBook XML form
950 This publishing style is used to generate DocBook XML files.
952 @emph{Styles provided}
956 @cindex publishing styles, docbook
961 @emph{Options provided}
965 @item muse-docbook-extension
966 Default file extension for publishing DocBook XML files.
968 @item muse-docbook-header
969 Header used for publishing DocBook XML files.
971 This may be text or a filename.
973 @item muse-docbook-footer
974 Footer used for publishing DocBook XML files.
976 This may be text or a filename.
978 @item muse-docbook-publishing-regexps
979 List of markup rules for publishing a Muse page to DocBook XML.
981 @item muse-docbook-markup-function
982 An alist of style types to custom functions for that kind of text.
984 @item muse-docbook-publishing-strings
985 Strings used for marking up text.
987 These cover the most basic kinds of markup, the handling of which
988 differs little between the various styles.
990 @item muse-docbook-markup-specials
991 A table of characters which must be represented specially.
995 @node HTML, Journal, DocBook, Publishing Styles
996 @comment node-name, next, previous, up
997 @section Publishing in HTML or XHTML form
999 This publishing style is capable of producing HTML or XHTML documents.
1001 @emph{Styles provided}
1005 @cindex publishing styles, html
1007 Supports publishing to HTML 4.0 and HTML 4.01, Strict or Transitional.
1010 Supports publishing to XHTML 1.0 and XHTML 1.1, Strict or Transitional.
1014 @emph{Options provided}
1016 If an HTML option does not have a corresponding XHTML option, it will
1017 be used for both of these publishing styles.
1021 @item muse-html-extension
1022 Default file extension for publishing HTML files.
1024 @item muse-html-style-sheet
1025 Store your stylesheet definitions here.
1027 This is used in @code{muse-html-header}. You can put raw CSS in here or
1028 a @verb{|<link>|} tag to an external stylesheet. This text may contain
1029 @verb{|<lisp>|} markup tags.
1031 If you are using XHTML, make sure to close the @verb{|<link>|} tag
1034 @item muse-html-header
1035 Header used for publishing HTML files.
1037 This may be text or a filename.
1039 @item muse-html-footer
1040 Footer used for publishing HTML files.
1042 This may be text or a filename.
1044 @item muse-xhtml-header
1045 Header used for publishing XHTML files.
1047 This may be text or a filename.
1049 @item muse-xhtml-footer
1050 Footer used for publishing XHTML files.
1052 This may be text or a filename.
1054 @item muse-html-anchor-on-word
1055 When true, anchors surround the closest word.
1057 This allows you to select them in a browser (i.e. for pasting), but has
1058 the side-effect of marking up headers in multiple colors if your header
1059 style is different from your link style.
1061 @item muse-html-table-attributes
1062 The attribute to be used with HTML @verb{|<table>|} tags.
1064 Note that since Muse supports direct insertion of HTML tags, you can
1065 easily create any kind of table you want, as long as each line begins at
1066 column 0 (to prevent it from being blockquoted).
1068 @item muse-html-markup-regexps
1069 List of markup rules for publishing a Muse page to HTML.
1071 @item muse-html-markup-functions
1072 An alist of style types to custom functions for that kind of text.
1074 @item muse-html-markup-strings
1075 Strings used for marking up text as HTML.
1077 These cover the most basic kinds of markup, the handling of which
1078 differs little between the various styles.
1080 @item muse-xhtml-markup-strings
1081 Strings used for marking up text as XHTML.
1083 These cover the most basic kinds of markup, the handling of which
1084 differs little between the various styles.
1086 @item muse-html-markup-tags
1087 A list of tag specifications, for specially marking up HTML.
1088 @xref{muse-publish-markup-tags}, for more information.
1090 @item muse-html-markup-specials
1091 A table of characters which must be represented specially. By default,
1092 this includes @samp{"}, @samp{<}, @samp{>}, and @samp{&}.
1094 @item muse-html-meta-http-equiv
1095 The http-equiv attribute used for the HTML @verb{|<meta>|} tag.
1097 @item muse-html-meta-content-type
1098 The content type used for the HTML @verb{|<meta>|} tag.
1100 If you are striving for XHTML 1.1 compliance, you may want to change
1101 this to ``application/xhtml+xml''.
1103 @item muse-html-meta-content-encoding
1104 The charset to append to the HTML @verb{|<meta>|} tag.
1106 If set to the symbol 'detect, use @code{muse-html-encoding-map} to try
1107 and determine the HTML charset from emacs's coding. If set to a string,
1108 this string will be used to force a particular charset.
1110 @item muse-html-charset-default
1111 The default HTML meta charset to use if no translation is found in
1112 @code{muse-html-encoding-map}.
1114 @item muse-html-encoding-default
1115 The default Emacs buffer encoding to use in published files.
1116 This will be used if no special characters are found.
1118 @item muse-html-encoding-map
1119 An alist mapping emacs coding systems to appropriate HTML charsets.
1120 Use the base name of the coding system (i.e. without the -unix).
1124 @node Journal, LaTeX, HTML, Publishing Styles
1125 @comment node-name, next, previous, up
1126 @section Keeping a journal or blog
1128 @cindex blog, journal style
1130 The module facilitates the keeping and publication of a journal. When
1131 publishing to HTML, it assumes the form of a web log, or blog.
1133 The input format for each entry is as follows.
1136 * 20040317: Title of entry
1141 "You know who you are. It comes down to a simple gut check: You
1142 either love what you do or you don't. Period." -- P. Bronson
1146 The "qotd", or Quote of the Day, is entirely optional. When generated
1147 to HTML, this entry is rendered as the following.
1151 <div class="entry-qotd">
1152 <h3>Quote of the Day:</h3>
1153 <p>"You know who you are. It comes down to a simple gut
1154 check: You either love what you do or you don't. Period."
1157 <div class="entry-body">
1158 <div class="entry-head">
1159 <div class="entry-date">
1160 <span class="date">March 17, 2004</span>
1162 <div class="entry-title">
1163 <h2>Title of entry</h2>
1166 <div class="entry-text">
1167 <p>Text for the entry.</p>
1173 The plurality of "div" tags makes it possible to display the entries in
1174 any form you wish, using a CSS style.
1176 Also, an .RDF file can be generated from your journal by publishing it
1177 with the "rdf" style. It uses the first two sentences of the first
1178 paragraph of each entry as its "description", and auto-generates tags
1179 for linking to the various entries.
1181 @emph{Styles provided}
1185 @cindex publishing styles, journal-html
1187 Publish journal entries as an HTML document.
1189 @cindex publishing styles, journal-xhtml
1191 Publish journal entries as an XHTML document.
1193 @cindex publishing styles, journal-latex
1195 Publish journal entries as a LaTeX document.
1197 @cindex publishing styles, journal-pdf
1199 Publish journal entries as a PDF document.
1201 @cindex publishing styles, journal-book-latex
1202 @item journal-book-latex
1203 Publish journal entries as a LaTeX book.
1205 @cindex publishing styles, journal-book-pdf
1206 @item journal-book-pdf
1207 Publish journal entries as a PDF book.
1209 @cindex publishing styles, journal-rdf
1210 @cindex publishing styles, RSS 1.0
1212 Publish journal entries as an RDF file (RSS 1.0).
1214 @cindex publishing styles, journal-rss
1215 @cindex publishing styles, RSS 2.0
1217 Publish journal entries as an RSS file (RSS 2.0).
1221 @emph{Options provided}
1225 @item muse-journal-heading-regexp
1226 A regexp that matches a journal heading.
1228 Paren group 1 is the ISO date, group 2 is the optional category, and
1229 group 3 is the optional heading for the entry.
1231 @item muse-journal-date-format
1232 Date format to use for journal entries.
1234 @item muse-journal-html-heading-regexp
1235 A regexp that matches a journal heading from an HTML document.
1237 Paren group 1 is the ISO date, group 2 is the optional category, and
1238 group 3 is the optional heading for the entry.
1240 @item muse-journal-html-entry-template
1241 Template used to publish individual journal entries as HTML.
1243 @item muse-journal-latex-section
1244 Template used to publish a LaTeX section.
1246 @item muse-journal-latex-subsection
1247 Template used to publish a LaTeX subsection.
1249 @item muse-journal-latex-markup-tags
1250 A list of tag specifications, for specially marking up LaTeX.
1252 @xref{muse-publish-markup-tags}, for more information.
1254 @item muse-journal-rdf-extension
1255 Default file extension for publishing RDF (RSS 1.0) files.
1257 @item muse-journal-rdf-base-url
1258 The base URL of the website referenced by the RDF file.
1260 @item muse-journal-rdf-header
1261 Header used for publishing RDF (RSS 1.0) files.
1263 This may be text or a filename.
1265 @item muse-journal-rdf-footer
1266 Footer used for publishing RDF (RSS 1.0) files.
1268 This may be text or a filename.
1270 @item muse-journal-rdf-date-format
1271 Date format to use for RDF entries.
1273 @item muse-journal-rdf-entry-template
1274 Template used to publish individual journal entries as RDF.
1276 @item muse-journal-rdf-summarize-entries
1277 If non-nil, include only summaries in the RDF file, not the full data.
1279 @item muse-journal-rss-extension
1280 Default file extension for publishing RSS 2.0 files.
1282 @item muse-journal-rss-base-url
1283 The base URL of the website referenced by the RSS file.
1285 @item muse-journal-rss-header
1286 Header used for publishing RSS 2.0 files.
1288 This may be text or a filename.
1290 @item muse-journal-rss-footer
1291 Footer used for publishing RSS 2.0 files.
1293 This may be text or a filename.
1295 @item muse-journal-rss-date-format
1296 Date format to use for RSS 2.0 entries.
1298 @item muse-journal-rss-entry-template
1299 Template used to publish individual journal entries as RSS 2.0.
1301 @item muse-journal-rss-enclosure-types-alist
1302 File types that are accepted as RSS enclosures.
1304 This is an alist that maps file extension to content type.
1306 Useful for podcasting.
1308 @item muse-journal-rss-summarize-entries
1309 If non-nil, include only summaries in the RSS file, not the full data.
1311 Many RSS subscribers find this annoying.
1313 @item muse-journal-rss-markup-regexps
1314 List of markup rules for publishing a Muse journal page to RSS.
1316 For more information on the structure of this list,
1317 @xref{muse-publish-markup-regexps}.
1319 @item muse-journal-rss-markup-functions
1320 An alist of style types to custom functions for that kind of text.
1322 For more on the structure of this list,
1323 @xref{muse-publish-markup-functions}.
1327 @node LaTeX, Poem, Journal, Publishing Styles
1328 @comment node-name, next, previous, up
1329 @section Publishing LaTeX documents
1331 This publishing style is capable of producing LaTeX or PDF documents.
1333 If you wish to publish PDF documents, you will need to have a good TeX
1334 installation. For Debian, this can be accomplished by installing the
1335 ``tetex-bin'' and ``tetex-extra'' packages. TeX fonts are also a must.
1337 @emph{Styles provided}
1341 @cindex publishing styles, latex
1343 Publish a LaTeX document.
1345 @cindex publishing styles, pdf
1347 Publish a PDF document, using an external LaTeX document conversion
1350 @cindex publishing styles, latexcjk
1352 Publish a LaTeX document with CJK (Chinese) encodings.
1354 @cindex publishing styles, pdfcjk
1356 Publish a PDF document with CJK (Chinese) encodings, using an external
1357 LaTeX document conversion tool.
1361 @emph{Options provided}
1365 @item muse-latex-extension
1366 Default file extension for publishing LaTeX files.
1368 @item muse-latex-pdf-extension
1369 Default file extension for publishing LaTeX files to PDF.
1371 @item muse-latex-header
1372 Header used for publishing LaTeX files.
1374 This may be text or a filename.
1376 @item muse-latex-footer
1377 Footer used for publishing LaTeX files.
1379 This may be text or a filename.
1381 @item muse-latexcjk-header
1382 Header used for publishing LaTeX files (CJK).
1384 This may be text or a filename.
1386 @item muse-latexcjk-footer
1387 Footer used for publishing LaTeX files (CJK).
1389 This may be text or a filename.
1391 @item muse-latex-markup-regexps
1392 List of markup regexps for identifying regions in a Muse page.
1394 For more on the structure of this list,
1395 @xref{muse-publish-markup-regexps}.
1397 @item muse-latex-markup-functions
1398 An alist of style types to custom functions for that kind of text.
1400 For more on the structure of this list,
1401 @xref{muse-publish-markup-functions}.
1403 @item muse-latex-markup-strings
1404 Strings used for marking up text.
1406 These cover the most basic kinds of markup, the handling of which
1407 differs little between the various styles.
1409 @item muse-latexcjk-encoding-map
1410 An alist mapping emacs coding systems to appropriate CJK codings.
1411 Use the base name of the coding system (ie, without the -unix).
1413 @item muse-latexcjk-encoding-default
1414 The default Emacs buffer encoding to use in published files.
1416 This will be used if no special characters are found.
1418 @item muse-latex-markup-specials
1419 A table of characters which must be represented specially.
1423 @node Poem, Texinfo, LaTeX, Publishing Styles
1424 @comment node-name, next, previous, up
1425 @section Publish a poem to LaTex or PDF
1427 The @code{muse-poem} module makes it easy to attractively publish and
1428 reference poems in the following format, using the "memoir" module for
1429 LaTeX publishing. It will also markup poems for every other output
1430 style, though none are nearly as pretty.
1439 Annotations, history, notes, etc.
1442 Once a poem is written in this format, just publish it to PDF using the
1443 @code{poem-pdf} style. To make an inlined reference to a poem that
1444 you've written -- for example, from a blog page -- there is a "poem" tag
1445 defined by this module.
1448 <poem title="name.of.poem.page">
1451 Let's assume the template above was called @file{name.of.poem.page};
1452 then the above tag would result in this inclusion.
1460 John Wiegley uses this module for publishing all of the poems on his
1461 website, which are at
1462 @uref{http://www.newartisans.com/johnw/poems.html}.
1464 @emph{Styles provided}
1468 @cindex publishing styles, poem-latex
1470 Publish a poem in LaTeX form.
1472 @cindex publishing styles, poem-pdf
1474 Publish a poem to a PDF document.
1476 @cindex publishing styles, chapbook-latex
1477 @item chapbook-latex
1478 Publish a book of poems in LaTeX form.
1480 @cindex publishing styles, chapbook-pdf
1482 Publish a book of poems to a PDF document.
1486 @emph{Options provided}
1490 @item muse-poem-latex-header
1491 Header used for publishing LaTeX poems.
1493 This may be text or a filename.
1495 @item muse-poem-latex-footer
1496 Footer used for publishing LaTeX files.
1498 This may be text or a filename.
1500 @item muse-poem-markup-strings
1501 Strings used for marking up poems.
1503 These cover the most basic kinds of markup, the handling of which
1504 differs little between the various styles.
1506 @item muse-chapbook-latex-header
1507 Header used for publishing a book of poems in LaTeX form.
1509 This may be text or a filename.
1511 @item muse-chapbook-latex-footer
1512 Footer used for publishing a book of poems in LaTeX form.
1514 This may be text or a filename.
1516 @item muse-poem-chapbook-strings
1517 Strings used for marking up books of poems.
1519 These cover the most basic kinds of markup, the handling of which
1520 differs little between the various styles.
1524 @node Texinfo, Common Elements, Poem, Publishing Styles
1525 @comment node-name, next, previous, up
1526 @section Publish entries to Texinfo format or PDF
1528 Rules for publishing a Muse file as a Texinfo article.
1530 @emph{Styles provided}
1534 @cindex publishing styles, texi
1536 Publish a file in Texinfo form.
1538 @cindex publishing styles, texi
1540 Generate an Info file from a Muse file.
1542 @cindex publishing styles, info-pdf
1544 Publish a file in PDF form.
1548 @emph{Options provided}
1552 @item muse-texinfo-process-natively
1553 If non-nil, use the Emacs `texinfmt' module to make Info files.
1555 @item muse-texinfo-extension
1556 Default file extension for publishing Texinfo files.
1558 @item muse-texinfo-info-extension
1559 Default file extension for publishing Info files.
1561 @item muse-texinfo-pdf-extension
1562 Default file extension for publishing PDF files.
1564 @item muse-texinfo-header
1565 Text to prepend to a Muse page being published as Texinfo.
1567 This may be text or a filename.
1568 It may contain @verb{|<lisp>|} markup tags.
1570 @item muse-texinfo-footer
1571 Text to append to a Muse page being published as Texinfo.
1573 This may be text or a filename.
1574 It may contain @verb{|<lisp>|} markup tags.
1576 @item muse-texinfo-markup-regexps
1577 List of markup rules for publishing a Muse page to Texinfo.
1579 For more on the structure of this list,
1580 @xref{muse-publish-markup-regexps}.
1582 @item muse-texinfo-markup-functions
1583 An alist of style types to custom functions for that kind of text.
1585 For more on the structure of this list, see
1586 @xref{muse-publish-markup-functions}.
1588 @item muse-texinfo-markup-strings
1589 Strings used for marking up text.
1591 These cover the most basic kinds of markup, the handling of which
1592 differs little between the various styles.
1594 @item muse-texinfo-markup-specials
1595 A table of characters which must be represented specially.
1599 @node Common Elements, Deriving Styles, Texinfo, Publishing Styles
1600 @comment node-name, next, previous, up
1601 @section Common functionality shared by styles
1602 @cindex publishing styles, common
1606 @cindex publishing, markup functions
1607 @anchor{muse-publish-markup-functions}
1608 @item muse-publish-markup-functions
1609 An alist of style types to custom functions for that kind of text.
1611 This is used by publishing styles to attempt to minimize the amount of
1612 custom regexps that each has to define. @file{muse-publish} provides
1613 rules for the most common types of markup.
1615 Each member of the list is of the following form.
1623 Describes the type of text to associate with this rule.
1624 @code{muse-publish-markup-regexps} maps regexps to these symbols.
1627 Function to use to mark up this kind of rule if no suitable function is
1628 found through the @option{:functions} tag of the current style.
1631 @cindex publishing, markup regexps
1632 @anchor{muse-publish-markup-regexps}
1633 @item muse-publish-markup-regexps
1634 List of markup rules for publishing a page with Muse.
1636 The rules given in this variable are invoked first, followed by whatever
1637 rules are specified by the current style.
1639 Each member of the list is either a function, or a list of the following
1643 (REGEXP/SYMBOL TEXT-BEGIN-GROUP REPLACEMENT-TEXT/FUNCTION/SYMBOL)
1648 A regular expression, or symbol whose value is a regular expression,
1649 which is searched for using `re-search-forward'.
1651 @item TEXT-BEGIN-GROUP
1652 The matching group within that regexp which denotes the beginning of the
1653 actual text to be marked up.
1655 @item REPLACEMENT-TEXT
1656 A string that will be passed to `replace-match'.
1658 If it is not a string, but a function, it will be called to determine
1659 what the replacement text should be (it must return a string). If it is
1660 a symbol, the value of that symbol should be a string.
1663 The replacements are done in order, one rule at a time. Writing
1664 the regular expressions can be a tricky business. Note that case
1665 is never ignored. `case-fold-search' is always bound to nil
1666 while processing the markup rules.
1668 @cindex publishing, markup tags
1669 @anchor{muse-publish-markup-tags}
1670 @item muse-publish-markup-tags
1671 A list of tag specifications, for specially marking up text.
1673 XML-style tags are the best way to add custom markup to Muse. This is
1674 easily accomplished by customizing this list of markup tags.
1676 For each entry, the name of the tag is given, whether it expects a
1677 closing tag and/or an optional set of attributes, and a function that
1678 performs whatever action is desired within the delimited region.
1680 The tags themselves are deleted during publishing, before the function
1681 is called. The function is called with three arguments, the beginning
1682 and end of the region surrounded by the tags. If properties are
1683 allowed, they are passed as a third argument in the form of an alist.
1684 The `end' argument to the function is always a marker.
1686 Point is always at the beginning of the region within the tags, when the
1687 function is called. Wherever point is when the function finishes is
1688 where tag markup will resume.
1690 These tag rules are processed once at the beginning of markup, and once
1691 at the end, to catch any tags which may have been inserted in-between.
1695 @node Deriving Styles, , Common Elements, Publishing Styles
1696 @comment node-name, next, previous, up
1697 @section Deriving a new style from an existing one
1698 @cindex publishing styles, deriving
1700 To create a new style from an existing one, use @code{muse-derive-style}
1701 as follows. This is a good way to fix something you don't like about a
1702 particular publishing style, or to personalize it.
1705 (muse-derive-style DERIVED-NAME BASE-NAME STYLE-PARAMETERS)
1708 The derived name is a string defining the new style, such as "my-html".
1709 The base name must identify an existing style, such as "html" -- if you
1710 have loaded @file{muse-html}. The style parameters are the same as
1711 those used to create a style, except that they override whatever
1712 definitions exist in the base style. However, some definitions only
1713 partially override. The following parameters support partial
1719 If a markup function is not found in the derived style's function list,
1720 the base style's function list will be queried.
1723 If a markup string is not found in the derived style's string list, the
1724 base style's string list will be queried.
1727 If this option is specified, it will be consulted rather than the
1728 corresponding value in the derived style. This applies to the following
1738 @node Getting Help and Reporting Bugs, History, Publishing Styles, Top
1739 @comment node-name, next, previous, up
1740 @chapter Getting Help and Reporting Bugs
1741 @cindex help, getting
1742 @cindex bugs, reporting
1744 After you have read this guide, if you still have questions about
1745 Muse, or if you have bugs to report, there are several places you can
1751 @uref{http://www.emacswiki.org/cgi-bin/wiki/MuseMode} is the
1752 emacswiki.org page, and anyone may add tips, hints, or bug descriptions
1756 @uref{http://www.mwolson.org/projects/MuseMode.html} is the web page
1757 that Michael Olson (the current maintainer) made for Muse.
1760 You can join the mailing list at @email{emacs-wiki-discuss@@nongnu.org}
1761 using the subscription form at
1762 @uref{http://mail.nongnu.org/mailman/listinfo/ emacs-wiki-discuss}.
1763 This mailing list provides support for Muse, @command{Planner} and
1764 @command{emacs-wiki}, which is the predecessor of Muse.
1766 There are additional methods for accessing the mailing list, adding
1767 content to it, and searching it. Consult
1768 @uref{http://www.emacswiki.org/cgi-bin/wiki/EmacsWikiMailingList} for
1772 You can visit the IRC Freenode channel @samp{#emacs}. Many of the
1773 contributors are frequently around and willing to answer your
1774 questions. The @samp{#muse} channel is also available for
1775 Muse-specific help, and its current maintainer hangs out there.
1778 The maintainer of MuseMode, Michael Olson, may be contacted at
1779 @email{mwolson@@gnu.org}.
1783 @node History, Contributors, Getting Help and Reporting Bugs, Top
1784 @comment node-name, next, previous, up
1785 @chapter History of This Document
1786 @cindex history, of Muse
1790 John Wiegley started Muse upon realizing that EmacsWiki had some serious
1791 limitations. Around February 2004, he started making "emacs-wiki version
1792 3.00 APLHA", which eventually became known as Muse.
1794 Most of those who frequent the emacs-wiki mailing list continued to use
1795 emacs-wiki, mainly because Planner hasn't been ported over to it.
1797 As of 2004-12-01, Michael Olson became the maintainer of Muse, as per
1798 John Wiegley's request.
1801 Michael Olson overhauled this document and added many new sections in
1802 preparation for the first release of Muse (3.01).
1806 @node Contributors, GNU General Public License, History, Top
1807 @comment node-name, next, previous, up
1808 @chapter Contributors to This Documentation
1809 @cindex contributors
1811 The first draft of this document was taken from the emacs-wiki texinfo
1812 manual. Michael Olson adapted it for Muse and added most of its
1815 John Sullivan did a majority of the work on the emacs-wiki texinfo
1818 While Sacha Chua maintained emacs-wiki, she worked quite a bit on the
1819 emacs-wiki texinfo manual.
1821 @node GNU General Public License, Concept Index, Contributors, Top
1822 @comment node-name, next, previous, up
1823 @appendix GNU GENERAL PUBLIC LICENSE
1824 @center Version 2, June 1991
1826 @cindex GNU General Public License
1828 @c This file is intended to be included in another file.
1831 Copyright @copyright{} 1989, 1991 Free Software Foundation, Inc.
1832 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1834 Everyone is permitted to copy and distribute verbatim copies
1835 of this license document, but changing it is not allowed.
1838 @appendixsec Preamble
1840 The licenses for most software are designed to take away your
1841 freedom to share and change it. By contrast, the GNU General Public
1842 License is intended to guarantee your freedom to share and change free
1843 software---to make sure the software is free for all its users. This
1844 General Public License applies to most of the Free Software
1845 Foundation's software and to any other program whose authors commit to
1846 using it. (Some other Free Software Foundation software is covered by
1847 the GNU Library General Public License instead.) You can apply it to
1850 When we speak of free software, we are referring to freedom, not
1851 price. Our General Public Licenses are designed to make sure that you
1852 have the freedom to distribute copies of free software (and charge for
1853 this service if you wish), that you receive source code or can get it
1854 if you want it, that you can change the software or use pieces of it
1855 in new free programs; and that you know you can do these things.
1857 To protect your rights, we need to make restrictions that forbid
1858 anyone to deny you these rights or to ask you to surrender the rights.
1859 These restrictions translate to certain responsibilities for you if you
1860 distribute copies of the software, or if you modify it.
1862 For example, if you distribute copies of such a program, whether
1863 gratis or for a fee, you must give the recipients all the rights that
1864 you have. You must make sure that they, too, receive or can get the
1865 source code. And you must show them these terms so they know their
1868 We protect your rights with two steps: (1) copyright the software, and
1869 (2) offer you this license which gives you legal permission to copy,
1870 distribute and/or modify the software.
1872 Also, for each author's protection and ours, we want to make certain
1873 that everyone understands that there is no warranty for this free
1874 software. If the software is modified by someone else and passed on, we
1875 want its recipients to know that what they have is not the original, so
1876 that any problems introduced by others will not reflect on the original
1877 authors' reputations.
1879 Finally, any free program is threatened constantly by software
1880 patents. We wish to avoid the danger that redistributors of a free
1881 program will individually obtain patent licenses, in effect making the
1882 program proprietary. To prevent this, we have made it clear that any
1883 patent must be licensed for everyone's free use or not licensed at all.
1885 The precise terms and conditions for copying, distribution and
1886 modification follow.
1889 @appendixsec TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1892 @center TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1897 This License applies to any program or other work which contains
1898 a notice placed by the copyright holder saying it may be distributed
1899 under the terms of this General Public License. The ``Program'', below,
1900 refers to any such program or work, and a ``work based on the Program''
1901 means either the Program or any derivative work under copyright law:
1902 that is to say, a work containing the Program or a portion of it,
1903 either verbatim or with modifications and/or translated into another
1904 language. (Hereinafter, translation is included without limitation in
1905 the term ``modification''.) Each licensee is addressed as ``you''.
1907 Activities other than copying, distribution and modification are not
1908 covered by this License; they are outside its scope. The act of
1909 running the Program is not restricted, and the output from the Program
1910 is covered only if its contents constitute a work based on the
1911 Program (independent of having been made by running the Program).
1912 Whether that is true depends on what the Program does.
1915 You may copy and distribute verbatim copies of the Program's
1916 source code as you receive it, in any medium, provided that you
1917 conspicuously and appropriately publish on each copy an appropriate
1918 copyright notice and disclaimer of warranty; keep intact all the
1919 notices that refer to this License and to the absence of any warranty;
1920 and give any other recipients of the Program a copy of this License
1921 along with the Program.
1923 You may charge a fee for the physical act of transferring a copy, and
1924 you may at your option offer warranty protection in exchange for a fee.
1927 You may modify your copy or copies of the Program or any portion
1928 of it, thus forming a work based on the Program, and copy and
1929 distribute such modifications or work under the terms of Section 1
1930 above, provided that you also meet all of these conditions:
1934 You must cause the modified files to carry prominent notices
1935 stating that you changed the files and the date of any change.
1938 You must cause any work that you distribute or publish, that in
1939 whole or in part contains or is derived from the Program or any
1940 part thereof, to be licensed as a whole at no charge to all third
1941 parties under the terms of this License.
1944 If the modified program normally reads commands interactively
1945 when run, you must cause it, when started running for such
1946 interactive use in the most ordinary way, to print or display an
1947 announcement including an appropriate copyright notice and a
1948 notice that there is no warranty (or else, saying that you provide
1949 a warranty) and that users may redistribute the program under
1950 these conditions, and telling the user how to view a copy of this
1951 License. (Exception: if the Program itself is interactive but
1952 does not normally print such an announcement, your work based on
1953 the Program is not required to print an announcement.)
1956 These requirements apply to the modified work as a whole. If
1957 identifiable sections of that work are not derived from the Program,
1958 and can be reasonably considered independent and separate works in
1959 themselves, then this License, and its terms, do not apply to those
1960 sections when you distribute them as separate works. But when you
1961 distribute the same sections as part of a whole which is a work based
1962 on the Program, the distribution of the whole must be on the terms of
1963 this License, whose permissions for other licensees extend to the
1964 entire whole, and thus to each and every part regardless of who wrote it.
1966 Thus, it is not the intent of this section to claim rights or contest
1967 your rights to work written entirely by you; rather, the intent is to
1968 exercise the right to control the distribution of derivative or
1969 collective works based on the Program.
1971 In addition, mere aggregation of another work not based on the Program
1972 with the Program (or with a work based on the Program) on a volume of
1973 a storage or distribution medium does not bring the other work under
1974 the scope of this License.
1977 You may copy and distribute the Program (or a work based on it,
1978 under Section 2) in object code or executable form under the terms of
1979 Sections 1 and 2 above provided that you also do one of the following:
1983 Accompany it with the complete corresponding machine-readable
1984 source code, which must be distributed under the terms of Sections
1985 1 and 2 above on a medium customarily used for software interchange; or,
1988 Accompany it with a written offer, valid for at least three
1989 years, to give any third party, for a charge no more than your
1990 cost of physically performing source distribution, a complete
1991 machine-readable copy of the corresponding source code, to be
1992 distributed under the terms of Sections 1 and 2 above on a medium
1993 customarily used for software interchange; or,
1996 Accompany it with the information you received as to the offer
1997 to distribute corresponding source code. (This alternative is
1998 allowed only for noncommercial distribution and only if you
1999 received the program in object code or executable form with such
2000 an offer, in accord with Subsection b above.)
2003 The source code for a work means the preferred form of the work for
2004 making modifications to it. For an executable work, complete source
2005 code means all the source code for all modules it contains, plus any
2006 associated interface definition files, plus the scripts used to
2007 control compilation and installation of the executable. However, as a
2008 special exception, the source code distributed need not include
2009 anything that is normally distributed (in either source or binary
2010 form) with the major components (compiler, kernel, and so on) of the
2011 operating system on which the executable runs, unless that component
2012 itself accompanies the executable.
2014 If distribution of executable or object code is made by offering
2015 access to copy from a designated place, then offering equivalent
2016 access to copy the source code from the same place counts as
2017 distribution of the source code, even though third parties are not
2018 compelled to copy the source along with the object code.
2021 You may not copy, modify, sublicense, or distribute the Program
2022 except as expressly provided under this License. Any attempt
2023 otherwise to copy, modify, sublicense or distribute the Program is
2024 void, and will automatically terminate your rights under this License.
2025 However, parties who have received copies, or rights, from you under
2026 this License will not have their licenses terminated so long as such
2027 parties remain in full compliance.
2030 You are not required to accept this License, since you have not
2031 signed it. However, nothing else grants you permission to modify or
2032 distribute the Program or its derivative works. These actions are
2033 prohibited by law if you do not accept this License. Therefore, by
2034 modifying or distributing the Program (or any work based on the
2035 Program), you indicate your acceptance of this License to do so, and
2036 all its terms and conditions for copying, distributing or modifying
2037 the Program or works based on it.
2040 Each time you redistribute the Program (or any work based on the
2041 Program), the recipient automatically receives a license from the
2042 original licensor to copy, distribute or modify the Program subject to
2043 these terms and conditions. You may not impose any further
2044 restrictions on the recipients' exercise of the rights granted herein.
2045 You are not responsible for enforcing compliance by third parties to
2049 If, as a consequence of a court judgment or allegation of patent
2050 infringement or for any other reason (not limited to patent issues),
2051 conditions are imposed on you (whether by court order, agreement or
2052 otherwise) that contradict the conditions of this License, they do not
2053 excuse you from the conditions of this License. If you cannot
2054 distribute so as to satisfy simultaneously your obligations under this
2055 License and any other pertinent obligations, then as a consequence you
2056 may not distribute the Program at all. For example, if a patent
2057 license would not permit royalty-free redistribution of the Program by
2058 all those who receive copies directly or indirectly through you, then
2059 the only way you could satisfy both it and this License would be to
2060 refrain entirely from distribution of the Program.
2062 If any portion of this section is held invalid or unenforceable under
2063 any particular circumstance, the balance of the section is intended to
2064 apply and the section as a whole is intended to apply in other
2067 It is not the purpose of this section to induce you to infringe any
2068 patents or other property right claims or to contest validity of any
2069 such claims; this section has the sole purpose of protecting the
2070 integrity of the free software distribution system, which is
2071 implemented by public license practices. Many people have made
2072 generous contributions to the wide range of software distributed
2073 through that system in reliance on consistent application of that
2074 system; it is up to the author/donor to decide if he or she is willing
2075 to distribute software through any other system and a licensee cannot
2078 This section is intended to make thoroughly clear what is believed to
2079 be a consequence of the rest of this License.
2082 If the distribution and/or use of the Program is restricted in
2083 certain countries either by patents or by copyrighted interfaces, the
2084 original copyright holder who places the Program under this License
2085 may add an explicit geographical distribution limitation excluding
2086 those countries, so that distribution is permitted only in or among
2087 countries not thus excluded. In such case, this License incorporates
2088 the limitation as if written in the body of this License.
2091 The Free Software Foundation may publish revised and/or new versions
2092 of the General Public License from time to time. Such new versions will
2093 be similar in spirit to the present version, but may differ in detail to
2094 address new problems or concerns.
2096 Each version is given a distinguishing version number. If the Program
2097 specifies a version number of this License which applies to it and ``any
2098 later version'', you have the option of following the terms and conditions
2099 either of that version or of any later version published by the Free
2100 Software Foundation. If the Program does not specify a version number of
2101 this License, you may choose any version ever published by the Free Software
2105 If you wish to incorporate parts of the Program into other free
2106 programs whose distribution conditions are different, write to the author
2107 to ask for permission. For software which is copyrighted by the Free
2108 Software Foundation, write to the Free Software Foundation; we sometimes
2109 make exceptions for this. Our decision will be guided by the two goals
2110 of preserving the free status of all derivatives of our free software and
2111 of promoting the sharing and reuse of software generally.
2114 @heading NO WARRANTY
2121 BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
2122 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
2123 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
2124 PROVIDE THE PROGRAM ``AS IS'' WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
2125 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
2126 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
2127 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
2128 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
2129 REPAIR OR CORRECTION.
2132 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
2133 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
2134 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
2135 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
2136 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
2137 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
2138 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
2139 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
2140 POSSIBILITY OF SUCH DAMAGES.
2144 @heading END OF TERMS AND CONDITIONS
2147 @center END OF TERMS AND CONDITIONS
2151 @appendixsec Appendix: How to Apply These Terms to Your New Programs
2153 If you develop a new program, and you want it to be of the greatest
2154 possible use to the public, the best way to achieve this is to make it
2155 free software which everyone can redistribute and change under these terms.
2157 To do so, attach the following notices to the program. It is safest
2158 to attach them to the start of each source file to most effectively
2159 convey the exclusion of warranty; and each file should have at least
2160 the ``copyright'' line and a pointer to where the full notice is found.
2163 @var{one line to give the program's name and a brief idea of what it does.}
2164 Copyright (C) @var{yyyy} @var{name of author}
2166 This program is free software; you can redistribute it and/or modify
2167 it under the terms of the GNU General Public License as published by
2168 the Free Software Foundation; either version 2 of the License, or
2169 (at your option) any later version.
2171 This program is distributed in the hope that it will be useful,
2172 but WITHOUT ANY WARRANTY; without even the implied warranty of
2173 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2174 GNU General Public License for more details.
2176 You should have received a copy of the GNU General Public License along
2177 with this program; if not, write to the Free Software Foundation, Inc.,
2178 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2181 Also add information on how to contact you by electronic and paper mail.
2183 If the program is interactive, make it output a short notice like this
2184 when it starts in an interactive mode:
2187 Gnomovision version 69, Copyright (C) 19@var{yy} @var{name of author}
2188 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
2189 This is free software, and you are welcome to redistribute it
2190 under certain conditions; type `show c' for details.
2193 The hypothetical commands @samp{show w} and @samp{show c} should show
2194 the appropriate parts of the General Public License. Of course, the
2195 commands you use may be called something other than @samp{show w} and
2196 @samp{show c}; they could even be mouse-clicks or menu items---whatever
2199 You should also get your employer (if you work as a programmer) or your
2200 school, if any, to sign a ``copyright disclaimer'' for the program, if
2201 necessary. Here is a sample; alter the names:
2204 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
2205 `Gnomovision' (which makes passes at compilers) written by James Hacker.
2207 @var{signature of Ty Coon}, 1 April 1989
2208 Ty Coon, President of Vice
2211 This General Public License does not permit incorporating your program into
2212 proprietary programs. If your program is a subroutine library, you may
2213 consider it more useful to permit linking proprietary applications with the
2214 library. If this is what you want to do, use the GNU Library General
2215 Public License instead of this License.
2218 @node Concept Index, , GNU General Public License, Top
2219 @comment node-name, next, previous, up
2227 @c ispell-local-pdict: "ispell-dict"