Initial commit of muse.texi, nothing substantial
[muse-el.git] / muse.texi
blob1f771779d38131e60e35fd6776d44ce2d323a873
1 \input texinfo @c -*-texinfo-*-
2 @c %**start of header
3 @setfilename muse.info
4 @settitle Muse
5 @c %**end of header
7 @dircategory Emacs
8 @direntry
9 * Muse: (muse). Authoring and publishing environment for Emacs.
10 @end direntry
12 @syncodeindex fn cp
14 @copying
15 This manual is for Muse version 3.01
17 For a list of the copyright holders, @ref{Contributors}
19 @quotation
20 Permission is granted to copy, distribute and/or modify this document
21 under the terms of the GNU Free Documentation License, Version 1.2
22 or any later version published by the Free Software Foundation;
23 with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
24 Texts.  A copy of the license is included in the section entitled ``GNU
25 Free Documentation License''.
26 @end quotation
27 @end copying
29 @titlepage
30 @title Muse manual
31 @subtitle an authoring and publishing environment
32 @subtitle for GNU Emacs and XEmacs
34 @c The following two commands
35 @c start the copyright page.
36 @page
37 @vskip 0pt plus 1filll
38 @insertcopying
39 @end titlepage
41 @c So the toc is printed at the start
42 @contents
44 @ifnottex
45 @node Top, Preface, (dir), (dir)
46 @comment  node-name,  next,  previous,  up
47 @top Muse
49 @insertcopying
50 @end ifnottex
52 @menu
53 * Preface::                     About the documentation
54 * Introduction::                What is Muse?
55 * Installation::                How to get the stable and development versions
56 * Getting Started::             
57 * Keystroke Summary::           
58 * Convenience Features::        Miscellaneous features
59 * Getting Help and Reporting Bugs::  
60 * History::                     
61 * Contributors::                Contributors to this documentation
62 * GNU General Public License::  
63 * GNU Free Documentation License::  
64 * Concept Index::               
66 @detailmenu
67  --- The Detailed Node Listing ---
69 Installation
71 * Releases::                    Released versions of Muse
72 * Development::                 Latest unreleased changes
74 @end detailmenu
75 @end menu
77 @node Preface, Introduction, Top, Top
78 @comment  node-name,  next,  previous,  up
79 @chapter Preface
81 This document describes Muse, which was written by John Wiegley
82 and is now maintained by Michael Olson.
84 This document is a work in progress, and your contribution will be
85 greatly appreciated. Please email comments and suggestions to the
86 maintainer, Michael Olson @email{mwolson@@gnu.org} .
88 @node Introduction, Installation, Preface, Top
89 @comment  node-name,  next,  previous,  up
90 @chapter Introduction
92 The Emacs Muse is an environment that supports rapid creation of
93 hyper-linked documents in Emacs, which may then be published to multiple
94 output formats in an attractive fashion. For instance, it makes the
95 creation of well-written Info documents trivial.
97 This idea is not in any way new. Numerous systems exist -- even one
98 other for Emacs itself (Bhl Mode). What Muse adds to the picture is a
99 more modular environment, with a rather simple core, in which "styles"
100 are derived from to create new styles. Much of Muse's overall
101 functionality is optional. For example, you can use the publisher
102 without the major-mode, or the mode without doing any publishing; or if
103 you don't load the Texinfo or LaTeX modules, those styles won't be
104 available.
106 The Muse codebase is a departure from emacs-wiki.el version 2.44. The
107 code has been restructured and rewritten, especially its publishing
108 functions. The focus in this revision is on the authoring and publishing
109 aspects, and the "wikiness" has been removed as a default behavior (to
110 be offered again as an optional module). CamelCase words are no longer
111 special by default.
113 @node Installation, Getting Started, Introduction, Top
114 @comment  node-name,  next,  previous,  up
115 @chapter Installation
117 @menu
118 * Releases::                    Released versions of Muse
119 * Development::                 Latest unreleased changes
120 @end menu
122 @node Releases, Development, Installation, Installation
123 @comment  node-name,  next,  previous,  up
124 @section Installing a release
126 Choose to install a release if you want to minimize risk.
128 Errors are corrected in development first.  Once fixes are confirmed, a
129 new release will be made.  User-visible changes will be announced on the
130 @email{emacs-wiki-discuss@@nongnu.org} mailing list.  @pxref{Getting
131 Help and Reporting Bugs}.
133 @cindex Debian package for Muse
135 Debian users can get Muse via apt-get.  @file{Muse} is available only at
136 Michael Olson's Debian repository.
138 @cindex releases, from source
140 You can also install the source distribution.
142 @enumerate
143 @item Download and unpack the latest version from @uref{http://www.mwolson.org/static/dist/muse/} .
144 @item Edit your @file{~/.emacs}.
146 @example
147 ;; Add the directories to your load path
148 (add-to-list 'load-path "/path/to/muse")
149 ;; Load Muse
150 (require 'muse)
151 @end example
153 @end enumerate
155 You can download the archive at the following locations:
157 @itemize
158 @item Current and past releases: @uref{http://www.mwolson.org/static/dist/muse/}
159 @end itemize
161 @node Development,  , Releases, Installation
162 @comment  node-name,  next,  previous,  up
163 @section Installing the development version
164 @cindex development
166 Choose the development version if you want to live on the bleeding
167 edge of Muse development or try out new features before release.
169 @cindex arch revision control system, downloading
170 The Arch revision control system allows you to retrieve previous
171 versions and select specific features and bug fixes.
173 Downloading the modules for the first time:
175 @enumerate
176 @item Install arch. Debian: @kbd{apt-get install tla} .  Other distros: see @uref{http://regexps.srparish.net/www/} .
177 @item Register the archive and download the modules.
179 @example
180 # Register the archive
181 tla register-archive http://www.mwolson.org/archives/2005
183 # Download Muse into the @file{muse/} subdirectory
184 tla get mwolson@@gnu.org--2005/muse--main--1.0 muse
185 @end example
187 @item Open your @file{~/.emacs} and add the @file{Muse/} directory to your load path.
189 @example
190 (add-to-list 'load-path "/path/to/muse")
191 @end example
193 @end enumerate
195 To list upstream changes not in local copy:
197 @example
198 # Change to the source directory you are interested in. Example:
199 cd muse/
201 # Display the summary of changes
202 tla missing --summary
203 @end example
205 @cindex updating Muse with Arch
207 To update to the latest version:
209 @example
210 cd muse
211 tla replay
212 @end example
214 You can also obtain the archive at the following locations on the web:
216 @itemize
217 @item Browse arch repository: @uref{http://www.mwolson.org/archives/}
218 @item Latest development snapshot: @uref{http://www.mwolson.org/static/dist/muse-latest.tar.gz}
219 @end itemize
221 The latest development snapshot will be kept up to date since it is
222 updated at the same time as the Arch repository.
224 @node Getting Started, Keystroke Summary, Installation, Top
225 @comment  node-name,  next,  previous,  up
226 @chapter Getting Started
228 To begin using Muse, put this in your @file{.emacs} file:
230 @lisp
231 (load ``muse'')
232 @end lisp
234 Now you can type @kbd{M-x muse-find-file}, give it a WikiName
235 (or just hit return) and start typing!
237 You should also type @kbd{M-x customize-group}, and give the name
238 @samp{muse}.  Change it to suit your preferences.  Each of the
239 options has its own documentation.
241 @node Keystroke Summary, Convenience Features, Getting Started, Top
242 @chapter Keystroke Summary
244 Here is a summary of keystrokes available in every Muse buffer:
246 @table @kbd
248 @item C-c C-a (`muse-index')
249 Display an index of all known Muse pages.
251 @item C-c C-b (`muse-browse-result')
252 Show the published result of this page.
254 @item C-c C-e (`muse-edit-link-at-point')
255 Edit link at point.
257 @item C-c C-f (`muse-project-find-file'), also C-c C-v
258 Open another Muse page.  Prompt for the name.
260 @item C-c C-l (`font-lock-mode')
261 Highlight/refresh the current buffer.
263 @item C-c C-p (`muse-project-publish')
264 Publish any Muse pages that have changed.
266 @item C-c C-v (`muse-project-find-file'), also C-c C-f
267 Open another Muse page.  Prompt for the name.
269 @item C-c = (`muse-what-changed')
270 Diff this page against the last backup version.
272 @item TAB
273 Move to the next Wiki reference.
275 @item S-TAB
276 Move to the previous Wiki reference.
278 @end table
280 @node Convenience Features, Getting Help and Reporting Bugs, Keystroke Summary, Top
281 @comment  node-name,  next,  previous,  up
282 @chapter Convenience Features
283 @cindex pcomplete
284 @cindex ChangeLog
286 The following are several miscellaneous features that might make your
287 Muse experience more enjoyable.
289 @strong{Using pcomplete}
291 If you have pcomplete loaded, you can type @kbd{M-TAB} to complete
292 Wiki names.  Hitting @kbd{M-TAB} two or more times in succession will
293 cycle through all of the possibilities.  You can find
294 @file{pcomplete.el} in the @file{contrib} directory that comes with
295 the Muse tarball.
297 @node Getting Help and Reporting Bugs, History, Convenience Features, Top
298 @comment  node-name,  next,  previous,  up
299 @chapter Getting Help and Reporting Bugs
300 @cindex help, getting
301 @cindex bugs, reporting
303 After you have read this guide, if you still have questions about
304 EmacsWikiMode, or if you have bugs to report, there are several places
305 you can go.
307 @uref{http://www.mwolson.org/projects/EmacsWiki.html} is the page that
308 Michael Olson made for Muse.  For the duration of his
309 maintainership, it may be considered the official Muse website.
311 You can join the mailing list at
312 @email{Muse-discuss@@nongnu.org} using the subscription form at
313 @uref{http://mail.nongnu.org/mailman/listinfo/
314 Muse-discuss}. This mailing list is also available via Gmane
315 (@uref{http://gmane.org/}). The group is called
316 @samp{gmane.emacs.wiki.general}.
318 @uref{http://www.emacswiki.org/cgi-bin/wiki/EmacsWikiMode} is the
319 emacswiki.org page, and anyone may add tips and hints to it.
321 You can visit the IRC Freenode channel @samp{#emacs}. Many of the
322 contributors are frequently around and willing to answer your
323 questions.
325 You can also contact the maintainer of EmacsWikiMode, Michael Olson,
326 at @email{mwolson@@gnu.org}.
328 @node History, Contributors, Getting Help and Reporting Bugs, Top
329 @comment  node-name,  next,  previous,  up
330 @chapter History
331 @cindex history, of Muse
333 @itemize
334 @item 2004
336 John Wiegley started Muse upon realizing that EmacsWiki had some serious
337 limitations. Around February 2004, he started making "emacs-wiki version
338 3.00 APLHA", which eventually became known as Muse.
340 Most of those who frequent the emacs-wiki mailing list continued to use
341 emacs-wiki, mainly because Planner hasn't been ported over to it.
343 As of 2004-12-01, Michael Olson became the maintainer of Muse, as per
344 John Wiegley's request.
346 @end itemize
348 @node Contributors, GNU General Public License, History, Top
349 @comment  node-name,  next,  previous,  up
350 @chapter Contributors
351 @cindex contributors
353 @example
354 Copyright @copyright{} 2001, 2002, 2003, 2004 Free Software Foundation
355 @end example
357 The first draft of this document was taken from the emacs-wiki texinfo
358 manual.  Michael Olson adapted it for Muse.
360 John Sullivan, did a majority of the work on the emacs-wiki texinfo
361 manual.
363 While Sacha Chua maintained emacs-wiki, she worked quite a bit on this
364 document.
366 @node GNU General Public License, GNU Free Documentation License, Contributors, Top
367 @comment  node-name,  next,  previous,  up
368 @appendix GNU GENERAL PUBLIC LICENSE
369 @center Version 2, June 1991
370 @cindex GPL
371 @cindex GNU General Public License
373 @c This file is intended to be included in another file.
375 @display
376 Copyright @copyright{} 1989, 1991 Free Software Foundation, Inc.
377 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
379 Everyone is permitted to copy and distribute verbatim copies
380 of this license document, but changing it is not allowed.
381 @end display
383 @appendixsec Preamble
385   The licenses for most software are designed to take away your
386 freedom to share and change it.  By contrast, the GNU General Public
387 License is intended to guarantee your freedom to share and change free
388 software---to make sure the software is free for all its users.  This
389 General Public License applies to most of the Free Software
390 Foundation's software and to any other program whose authors commit to
391 using it.  (Some other Free Software Foundation software is covered by
392 the GNU Library General Public License instead.)  You can apply it to
393 your programs, too.
395   When we speak of free software, we are referring to freedom, not
396 price.  Our General Public Licenses are designed to make sure that you
397 have the freedom to distribute copies of free software (and charge for
398 this service if you wish), that you receive source code or can get it
399 if you want it, that you can change the software or use pieces of it
400 in new free programs; and that you know you can do these things.
402   To protect your rights, we need to make restrictions that forbid
403 anyone to deny you these rights or to ask you to surrender the rights.
404 These restrictions translate to certain responsibilities for you if you
405 distribute copies of the software, or if you modify it.
407   For example, if you distribute copies of such a program, whether
408 gratis or for a fee, you must give the recipients all the rights that
409 you have.  You must make sure that they, too, receive or can get the
410 source code.  And you must show them these terms so they know their
411 rights.
413   We protect your rights with two steps: (1) copyright the software, and
414 (2) offer you this license which gives you legal permission to copy,
415 distribute and/or modify the software.
417   Also, for each author's protection and ours, we want to make certain
418 that everyone understands that there is no warranty for this free
419 software.  If the software is modified by someone else and passed on, we
420 want its recipients to know that what they have is not the original, so
421 that any problems introduced by others will not reflect on the original
422 authors' reputations.
424   Finally, any free program is threatened constantly by software
425 patents.  We wish to avoid the danger that redistributors of a free
426 program will individually obtain patent licenses, in effect making the
427 program proprietary.  To prevent this, we have made it clear that any
428 patent must be licensed for everyone's free use or not licensed at all.
430   The precise terms and conditions for copying, distribution and
431 modification follow.
433 @iftex
434 @appendixsec TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
435 @end iftex
436 @ifinfo
437 @center TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
438 @end ifinfo
440 @enumerate 0
441 @item
442 This License applies to any program or other work which contains
443 a notice placed by the copyright holder saying it may be distributed
444 under the terms of this General Public License.  The ``Program'', below,
445 refers to any such program or work, and a ``work based on the Program''
446 means either the Program or any derivative work under copyright law:
447 that is to say, a work containing the Program or a portion of it,
448 either verbatim or with modifications and/or translated into another
449 language.  (Hereinafter, translation is included without limitation in
450 the term ``modification''.)  Each licensee is addressed as ``you''.
452 Activities other than copying, distribution and modification are not
453 covered by this License; they are outside its scope.  The act of
454 running the Program is not restricted, and the output from the Program
455 is covered only if its contents constitute a work based on the
456 Program (independent of having been made by running the Program).
457 Whether that is true depends on what the Program does.
459 @item
460 You may copy and distribute verbatim copies of the Program's
461 source code as you receive it, in any medium, provided that you
462 conspicuously and appropriately publish on each copy an appropriate
463 copyright notice and disclaimer of warranty; keep intact all the
464 notices that refer to this License and to the absence of any warranty;
465 and give any other recipients of the Program a copy of this License
466 along with the Program.
468 You may charge a fee for the physical act of transferring a copy, and
469 you may at your option offer warranty protection in exchange for a fee.
471 @item
472 You may modify your copy or copies of the Program or any portion
473 of it, thus forming a work based on the Program, and copy and
474 distribute such modifications or work under the terms of Section 1
475 above, provided that you also meet all of these conditions:
477 @enumerate a
478 @item
479 You must cause the modified files to carry prominent notices
480 stating that you changed the files and the date of any change.
482 @item
483 You must cause any work that you distribute or publish, that in
484 whole or in part contains or is derived from the Program or any
485 part thereof, to be licensed as a whole at no charge to all third
486 parties under the terms of this License.
488 @item
489 If the modified program normally reads commands interactively
490 when run, you must cause it, when started running for such
491 interactive use in the most ordinary way, to print or display an
492 announcement including an appropriate copyright notice and a
493 notice that there is no warranty (or else, saying that you provide
494 a warranty) and that users may redistribute the program under
495 these conditions, and telling the user how to view a copy of this
496 License.  (Exception: if the Program itself is interactive but
497 does not normally print such an announcement, your work based on
498 the Program is not required to print an announcement.)
499 @end enumerate
501 These requirements apply to the modified work as a whole.  If
502 identifiable sections of that work are not derived from the Program,
503 and can be reasonably considered independent and separate works in
504 themselves, then this License, and its terms, do not apply to those
505 sections when you distribute them as separate works.  But when you
506 distribute the same sections as part of a whole which is a work based
507 on the Program, the distribution of the whole must be on the terms of
508 this License, whose permissions for other licensees extend to the
509 entire whole, and thus to each and every part regardless of who wrote it.
511 Thus, it is not the intent of this section to claim rights or contest
512 your rights to work written entirely by you; rather, the intent is to
513 exercise the right to control the distribution of derivative or
514 collective works based on the Program.
516 In addition, mere aggregation of another work not based on the Program
517 with the Program (or with a work based on the Program) on a volume of
518 a storage or distribution medium does not bring the other work under
519 the scope of this License.
521 @item
522 You may copy and distribute the Program (or a work based on it,
523 under Section 2) in object code or executable form under the terms of
524 Sections 1 and 2 above provided that you also do one of the following:
526 @enumerate a
527 @item
528 Accompany it with the complete corresponding machine-readable
529 source code, which must be distributed under the terms of Sections
530 1 and 2 above on a medium customarily used for software interchange; or,
532 @item
533 Accompany it with a written offer, valid for at least three
534 years, to give any third party, for a charge no more than your
535 cost of physically performing source distribution, a complete
536 machine-readable copy of the corresponding source code, to be
537 distributed under the terms of Sections 1 and 2 above on a medium
538 customarily used for software interchange; or,
540 @item
541 Accompany it with the information you received as to the offer
542 to distribute corresponding source code.  (This alternative is
543 allowed only for noncommercial distribution and only if you
544 received the program in object code or executable form with such
545 an offer, in accord with Subsection b above.)
546 @end enumerate
548 The source code for a work means the preferred form of the work for
549 making modifications to it.  For an executable work, complete source
550 code means all the source code for all modules it contains, plus any
551 associated interface definition files, plus the scripts used to
552 control compilation and installation of the executable.  However, as a
553 special exception, the source code distributed need not include
554 anything that is normally distributed (in either source or binary
555 form) with the major components (compiler, kernel, and so on) of the
556 operating system on which the executable runs, unless that component
557 itself accompanies the executable.
559 If distribution of executable or object code is made by offering
560 access to copy from a designated place, then offering equivalent
561 access to copy the source code from the same place counts as
562 distribution of the source code, even though third parties are not
563 compelled to copy the source along with the object code.
565 @item
566 You may not copy, modify, sublicense, or distribute the Program
567 except as expressly provided under this License.  Any attempt
568 otherwise to copy, modify, sublicense or distribute the Program is
569 void, and will automatically terminate your rights under this License.
570 However, parties who have received copies, or rights, from you under
571 this License will not have their licenses terminated so long as such
572 parties remain in full compliance.
574 @item
575 You are not required to accept this License, since you have not
576 signed it.  However, nothing else grants you permission to modify or
577 distribute the Program or its derivative works.  These actions are
578 prohibited by law if you do not accept this License.  Therefore, by
579 modifying or distributing the Program (or any work based on the
580 Program), you indicate your acceptance of this License to do so, and
581 all its terms and conditions for copying, distributing or modifying
582 the Program or works based on it.
584 @item
585 Each time you redistribute the Program (or any work based on the
586 Program), the recipient automatically receives a license from the
587 original licensor to copy, distribute or modify the Program subject to
588 these terms and conditions.  You may not impose any further
589 restrictions on the recipients' exercise of the rights granted herein.
590 You are not responsible for enforcing compliance by third parties to
591 this License.
593 @item
594 If, as a consequence of a court judgment or allegation of patent
595 infringement or for any other reason (not limited to patent issues),
596 conditions are imposed on you (whether by court order, agreement or
597 otherwise) that contradict the conditions of this License, they do not
598 excuse you from the conditions of this License.  If you cannot
599 distribute so as to satisfy simultaneously your obligations under this
600 License and any other pertinent obligations, then as a consequence you
601 may not distribute the Program at all.  For example, if a patent
602 license would not permit royalty-free redistribution of the Program by
603 all those who receive copies directly or indirectly through you, then
604 the only way you could satisfy both it and this License would be to
605 refrain entirely from distribution of the Program.
607 If any portion of this section is held invalid or unenforceable under
608 any particular circumstance, the balance of the section is intended to
609 apply and the section as a whole is intended to apply in other
610 circumstances.
612 It is not the purpose of this section to induce you to infringe any
613 patents or other property right claims or to contest validity of any
614 such claims; this section has the sole purpose of protecting the
615 integrity of the free software distribution system, which is
616 implemented by public license practices.  Many people have made
617 generous contributions to the wide range of software distributed
618 through that system in reliance on consistent application of that
619 system; it is up to the author/donor to decide if he or she is willing
620 to distribute software through any other system and a licensee cannot
621 impose that choice.
623 This section is intended to make thoroughly clear what is believed to
624 be a consequence of the rest of this License.
626 @item
627 If the distribution and/or use of the Program is restricted in
628 certain countries either by patents or by copyrighted interfaces, the
629 original copyright holder who places the Program under this License
630 may add an explicit geographical distribution limitation excluding
631 those countries, so that distribution is permitted only in or among
632 countries not thus excluded.  In such case, this License incorporates
633 the limitation as if written in the body of this License.
635 @item
636 The Free Software Foundation may publish revised and/or new versions
637 of the General Public License from time to time.  Such new versions will
638 be similar in spirit to the present version, but may differ in detail to
639 address new problems or concerns.
641 Each version is given a distinguishing version number.  If the Program
642 specifies a version number of this License which applies to it and ``any
643 later version'', you have the option of following the terms and conditions
644 either of that version or of any later version published by the Free
645 Software Foundation.  If the Program does not specify a version number of
646 this License, you may choose any version ever published by the Free Software
647 Foundation.
649 @item
650 If you wish to incorporate parts of the Program into other free
651 programs whose distribution conditions are different, write to the author
652 to ask for permission.  For software which is copyrighted by the Free
653 Software Foundation, write to the Free Software Foundation; we sometimes
654 make exceptions for this.  Our decision will be guided by the two goals
655 of preserving the free status of all derivatives of our free software and
656 of promoting the sharing and reuse of software generally.
658 @iftex
659 @heading NO WARRANTY
660 @end iftex
661 @ifinfo
662 @center NO WARRANTY
663 @end ifinfo
665 @item
666 BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
667 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
668 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
669 PROVIDE THE PROGRAM ``AS IS'' WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
670 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
671 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
672 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
673 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
674 REPAIR OR CORRECTION.
676 @item
677 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
678 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
679 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
680 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
681 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
682 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
683 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
684 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
685 POSSIBILITY OF SUCH DAMAGES.
686 @end enumerate
688 @iftex
689 @heading END OF TERMS AND CONDITIONS
690 @end iftex
691 @ifinfo
692 @center END OF TERMS AND CONDITIONS
693 @end ifinfo
695 @page
696 @appendixsec Appendix: How to Apply These Terms to Your New Programs
698   If you develop a new program, and you want it to be of the greatest
699 possible use to the public, the best way to achieve this is to make it
700 free software which everyone can redistribute and change under these terms.
702   To do so, attach the following notices to the program.  It is safest
703 to attach them to the start of each source file to most effectively
704 convey the exclusion of warranty; and each file should have at least
705 the ``copyright'' line and a pointer to where the full notice is found.
707 @smallexample
708 @var{one line to give the program's name and a brief idea of what it does.}
709 Copyright (C) @var{yyyy}  @var{name of author}
711 This program is free software; you can redistribute it and/or modify
712 it under the terms of the GNU General Public License as published by
713 the Free Software Foundation; either version 2 of the License, or
714 (at your option) any later version.
716 This program is distributed in the hope that it will be useful,
717 but WITHOUT ANY WARRANTY; without even the implied warranty of
718 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
719 GNU General Public License for more details.
721 You should have received a copy of the GNU General Public License
722 along with this program; if not, write to the Free Software
723 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
724 @end smallexample
726 Also add information on how to contact you by electronic and paper mail.
728 If the program is interactive, make it output a short notice like this
729 when it starts in an interactive mode:
731 @smallexample
732 Gnomovision version 69, Copyright (C) 19@var{yy} @var{name of author}
733 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
734 This is free software, and you are welcome to redistribute it
735 under certain conditions; type `show c' for details.
736 @end smallexample
738 The hypothetical commands @samp{show w} and @samp{show c} should show
739 the appropriate parts of the General Public License.  Of course, the
740 commands you use may be called something other than @samp{show w} and
741 @samp{show c}; they could even be mouse-clicks or menu items---whatever
742 suits your program.
744 You should also get your employer (if you work as a programmer) or your
745 school, if any, to sign a ``copyright disclaimer'' for the program, if
746 necessary.  Here is a sample; alter the names:
748 @example
749 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
750 `Gnomovision' (which makes passes at compilers) written by James Hacker.
752 @var{signature of Ty Coon}, 1 April 1989
753 Ty Coon, President of Vice
754 @end example
756 This General Public License does not permit incorporating your program into
757 proprietary programs.  If your program is a subroutine library, you may
758 consider it more useful to permit linking proprietary applications with the
759 library.  If this is what you want to do, use the GNU Library General
760 Public License instead of this License.
762 @node GNU Free Documentation License, Concept Index, GNU General Public License, Top
763 @appendix GNU Free Documentation License
764 @cindex FDL
765 @cindex GNU Free Documentation License
766 @center Version 1.2, November 2002
768 @display
769 Copyright @copyright{} 2000,2001,2002 Free Software Foundation, Inc.
770 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA
772 Everyone is permitted to copy and distribute verbatim copies
773 of this license document, but changing it is not allowed.
774 @end display
776 @enumerate 0
777 @item
778 PREAMBLE
780 The purpose of this License is to make a manual, textbook, or other
781 functional and useful document @dfn{free} in the sense of freedom: to
782 assure everyone the effective freedom to copy and redistribute it,
783 with or without modifying it, either commercially or noncommercially.
784 Secondarily, this License preserves for the author and publisher a way
785 to get credit for their work, while not being considered responsible
786 for modifications made by others.
788 This License is a kind of ``copyleft'', which means that derivative
789 works of the document must themselves be free in the same sense.  It
790 complements the GNU General Public License, which is a copyleft
791 license designed for free software.
793 We have designed this License in order to use it for manuals for free
794 software, because free software needs free documentation: a free
795 program should come with manuals providing the same freedoms that the
796 software does.  But this License is not limited to software manuals;
797 it can be used for any textual work, regardless of subject matter or
798 whether it is published as a printed book.  We recommend this License
799 principally for works whose purpose is instruction or reference.
801 @item
802 APPLICABILITY AND DEFINITIONS
804 This License applies to any manual or other work, in any medium, that
805 contains a notice placed by the copyright holder saying it can be
806 distributed under the terms of this License.  Such a notice grants a
807 world-wide, royalty-free license, unlimited in duration, to use that
808 work under the conditions stated herein.  The ``Document'', below,
809 refers to any such manual or work.  Any member of the public is a
810 licensee, and is addressed as ``you''.  You accept the license if you
811 copy, modify or distribute the work in a way requiring permission
812 under copyright law.
814 A ``Modified Version'' of the Document means any work containing the
815 Document or a portion of it, either copied verbatim, or with
816 modifications and/or translated into another language.
818 A ``Secondary Section'' is a named appendix or a front-matter section
819 of the Document that deals exclusively with the relationship of the
820 publishers or authors of the Document to the Document's overall
821 subject (or to related matters) and contains nothing that could fall
822 directly within that overall subject.  (Thus, if the Document is in
823 part a textbook of mathematics, a Secondary Section may not explain
824 any mathematics.)  The relationship could be a matter of historical
825 connection with the subject or with related matters, or of legal,
826 commercial, philosophical, ethical or political position regarding
827 them.
829 The ``Invariant Sections'' are certain Secondary Sections whose titles
830 are designated, as being those of Invariant Sections, in the notice
831 that says that the Document is released under this License.  If a
832 section does not fit the above definition of Secondary then it is not
833 allowed to be designated as Invariant.  The Document may contain zero
834 Invariant Sections.  If the Document does not identify any Invariant
835 Sections then there are none.
837 The ``Cover Texts'' are certain short passages of text that are listed,
838 as Front-Cover Texts or Back-Cover Texts, in the notice that says that
839 the Document is released under this License.  A Front-Cover Text may
840 be at most 5 words, and a Back-Cover Text may be at most 25 words.
842 A ``Transparent'' copy of the Document means a machine-readable copy,
843 represented in a format whose specification is available to the
844 general public, that is suitable for revising the document
845 straightforwardly with generic text editors or (for images composed of
846 pixels) generic paint programs or (for drawings) some widely available
847 drawing editor, and that is suitable for input to text formatters or
848 for automatic translation to a variety of formats suitable for input
849 to text formatters.  A copy made in an otherwise Transparent file
850 format whose markup, or absence of markup, has been arranged to thwart
851 or discourage subsequent modification by readers is not Transparent.
852 An image format is not Transparent if used for any substantial amount
853 of text.  A copy that is not ``Transparent'' is called ``Opaque''.
855 Examples of suitable formats for Transparent copies include plain
856 @sc{ascii} without markup, Texinfo input format, La@TeX{} input
857 format, @acronym{SGML} or @acronym{XML} using a publicly available
858 @acronym{DTD}, and standard-conforming simple @acronym{HTML},
859 PostScript or @acronym{PDF} designed for human modification.  Examples
860 of transparent image formats include @acronym{PNG}, @acronym{XCF} and
861 @acronym{JPG}.  Opaque formats include proprietary formats that can be
862 read and edited only by proprietary word processors, @acronym{SGML} or
863 @acronym{XML} for which the @acronym{DTD} and/or processing tools are
864 not generally available, and the machine-generated @acronym{HTML},
865 PostScript or @acronym{PDF} produced by some word processors for
866 output purposes only.
868 The ``Title Page'' means, for a printed book, the title page itself,
869 plus such following pages as are needed to hold, legibly, the material
870 this License requires to appear in the title page.  For works in
871 formats which do not have any title page as such, ``Title Page'' means
872 the text near the most prominent appearance of the work's title,
873 preceding the beginning of the body of the text.
875 A section ``Entitled XYZ'' means a named subunit of the Document whose
876 title either is precisely XYZ or contains XYZ in parentheses following
877 text that translates XYZ in another language.  (Here XYZ stands for a
878 specific section name mentioned below, such as ``Acknowledgements'',
879 ``Dedications'', ``Endorsements'', or ``History''.)  To ``Preserve the Title''
880 of such a section when you modify the Document means that it remains a
881 section ``Entitled XYZ'' according to this definition.
883 The Document may include Warranty Disclaimers next to the notice which
884 states that this License applies to the Document.  These Warranty
885 Disclaimers are considered to be included by reference in this
886 License, but only as regards disclaiming warranties: any other
887 implication that these Warranty Disclaimers may have is void and has
888 no effect on the meaning of this License.
890 @item
891 VERBATIM COPYING
893 You may copy and distribute the Document in any medium, either
894 commercially or noncommercially, provided that this License, the
895 copyright notices, and the license notice saying this License applies
896 to the Document are reproduced in all copies, and that you add no other
897 conditions whatsoever to those of this License.  You may not use
898 technical measures to obstruct or control the reading or further
899 copying of the copies you make or distribute.  However, you may accept
900 compensation in exchange for copies.  If you distribute a large enough
901 number of copies you must also follow the conditions in section 3.
903 You may also lend copies, under the same conditions stated above, and
904 you may publicly display copies.
906 @item
907 COPYING IN QUANTITY
909 If you publish printed copies (or copies in media that commonly have
910 printed covers) of the Document, numbering more than 100, and the
911 Document's license notice requires Cover Texts, you must enclose the
912 copies in covers that carry, clearly and legibly, all these Cover
913 Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
914 the back cover.  Both covers must also clearly and legibly identify
915 you as the publisher of these copies.  The front cover must present
916 the full title with all words of the title equally prominent and
917 visible.  You may add other material on the covers in addition.
918 Copying with changes limited to the covers, as long as they preserve
919 the title of the Document and satisfy these conditions, can be treated
920 as verbatim copying in other respects.
922 If the required texts for either cover are too voluminous to fit
923 legibly, you should put the first ones listed (as many as fit
924 reasonably) on the actual cover, and continue the rest onto adjacent
925 pages.
927 If you publish or distribute Opaque copies of the Document numbering
928 more than 100, you must either include a machine-readable Transparent
929 copy along with each Opaque copy, or state in or with each Opaque copy
930 a computer-network location from which the general network-using
931 public has access to download using public-standard network protocols
932 a complete Transparent copy of the Document, free of added material.
933 If you use the latter option, you must take reasonably prudent steps,
934 when you begin distribution of Opaque copies in quantity, to ensure
935 that this Transparent copy will remain thus accessible at the stated
936 location until at least one year after the last time you distribute an
937 Opaque copy (directly or through your agents or retailers) of that
938 edition to the public.
940 It is requested, but not required, that you contact the authors of the
941 Document well before redistributing any large number of copies, to give
942 them a chance to provide you with an updated version of the Document.
944 @item
945 MODIFICATIONS
947 You may copy and distribute a Modified Version of the Document under
948 the conditions of sections 2 and 3 above, provided that you release
949 the Modified Version under precisely this License, with the Modified
950 Version filling the role of the Document, thus licensing distribution
951 and modification of the Modified Version to whoever possesses a copy
952 of it.  In addition, you must do these things in the Modified Version:
954 @enumerate A
955 @item
956 Use in the Title Page (and on the covers, if any) a title distinct
957 from that of the Document, and from those of previous versions
958 (which should, if there were any, be listed in the History section
959 of the Document).  You may use the same title as a previous version
960 if the original publisher of that version gives permission.
962 @item
963 List on the Title Page, as authors, one or more persons or entities
964 responsible for authorship of the modifications in the Modified
965 Version, together with at least five of the principal authors of the
966 Document (all of its principal authors, if it has fewer than five),
967 unless they release you from this requirement.
969 @item
970 State on the Title page the name of the publisher of the
971 Modified Version, as the publisher.
973 @item
974 Preserve all the copyright notices of the Document.
976 @item
977 Add an appropriate copyright notice for your modifications
978 adjacent to the other copyright notices.
980 @item
981 Include, immediately after the copyright notices, a license notice
982 giving the public permission to use the Modified Version under the
983 terms of this License, in the form shown in the Addendum below.
985 @item
986 Preserve in that license notice the full lists of Invariant Sections
987 and required Cover Texts given in the Document's license notice.
989 @item
990 Include an unaltered copy of this License.
992 @item
993 Preserve the section Entitled ``History'', Preserve its Title, and add
994 to it an item stating at least the title, year, new authors, and
995 publisher of the Modified Version as given on the Title Page.  If
996 there is no section Entitled ``History'' in the Document, create one
997 stating the title, year, authors, and publisher of the Document as
998 given on its Title Page, then add an item describing the Modified
999 Version as stated in the previous sentence.
1001 @item
1002 Preserve the network location, if any, given in the Document for
1003 public access to a Transparent copy of the Document, and likewise
1004 the network locations given in the Document for previous versions
1005 it was based on.  These may be placed in the ``History'' section.
1006 You may omit a network location for a work that was published at
1007 least four years before the Document itself, or if the original
1008 publisher of the version it refers to gives permission.
1010 @item
1011 For any section Entitled ``Acknowledgements'' or ``Dedications'', Preserve
1012 the Title of the section, and preserve in the section all the
1013 substance and tone of each of the contributor acknowledgements and/or
1014 dedications given therein.
1016 @item
1017 Preserve all the Invariant Sections of the Document,
1018 unaltered in their text and in their titles.  Section numbers
1019 or the equivalent are not considered part of the section titles.
1021 @item
1022 Delete any section Entitled ``Endorsements''.  Such a section
1023 may not be included in the Modified Version.
1025 @item
1026 Do not retitle any existing section to be Entitled ``Endorsements'' or
1027 to conflict in title with any Invariant Section.
1029 @item
1030 Preserve any Warranty Disclaimers.
1031 @end enumerate
1033 If the Modified Version includes new front-matter sections or
1034 appendices that qualify as Secondary Sections and contain no material
1035 copied from the Document, you may at your option designate some or all
1036 of these sections as invariant.  To do this, add their titles to the
1037 list of Invariant Sections in the Modified Version's license notice.
1038 These titles must be distinct from any other section titles.
1040 You may add a section Entitled ``Endorsements'', provided it contains
1041 nothing but endorsements of your Modified Version by various
1042 parties---for example, statements of peer review or that the text has
1043 been approved by an organization as the authoritative definition of a
1044 standard.
1046 You may add a passage of up to five words as a Front-Cover Text, and a
1047 passage of up to 25 words as a Back-Cover Text, to the end of the list
1048 of Cover Texts in the Modified Version.  Only one passage of
1049 Front-Cover Text and one of Back-Cover Text may be added by (or
1050 through arrangements made by) any one entity.  If the Document already
1051 includes a cover text for the same cover, previously added by you or
1052 by arrangement made by the same entity you are acting on behalf of,
1053 you may not add another; but you may replace the old one, on explicit
1054 permission from the previous publisher that added the old one.
1056 The author(s) and publisher(s) of the Document do not by this License
1057 give permission to use their names for publicity for or to assert or
1058 imply endorsement of any Modified Version.
1060 @item
1061 COMBINING DOCUMENTS
1063 You may combine the Document with other documents released under this
1064 License, under the terms defined in section 4 above for modified
1065 versions, provided that you include in the combination all of the
1066 Invariant Sections of all of the original documents, unmodified, and
1067 list them all as Invariant Sections of your combined work in its
1068 license notice, and that you preserve all their Warranty Disclaimers.
1070 The combined work need only contain one copy of this License, and
1071 multiple identical Invariant Sections may be replaced with a single
1072 copy.  If there are multiple Invariant Sections with the same name but
1073 different contents, make the title of each such section unique by
1074 adding at the end of it, in parentheses, the name of the original
1075 author or publisher of that section if known, or else a unique number.
1076 Make the same adjustment to the section titles in the list of
1077 Invariant Sections in the license notice of the combined work.
1079 In the combination, you must combine any sections Entitled ``History''
1080 in the various original documents, forming one section Entitled
1081 ``History''; likewise combine any sections Entitled ``Acknowledgements'',
1082 and any sections Entitled ``Dedications''.  You must delete all
1083 sections Entitled ``Endorsements.''
1085 @item
1086 COLLECTIONS OF DOCUMENTS
1088 You may make a collection consisting of the Document and other documents
1089 released under this License, and replace the individual copies of this
1090 License in the various documents with a single copy that is included in
1091 the collection, provided that you follow the rules of this License for
1092 verbatim copying of each of the documents in all other respects.
1094 You may extract a single document from such a collection, and distribute
1095 it individually under this License, provided you insert a copy of this
1096 License into the extracted document, and follow this License in all
1097 other respects regarding verbatim copying of that document.
1099 @item
1100 AGGREGATION WITH INDEPENDENT WORKS
1102 A compilation of the Document or its derivatives with other separate
1103 and independent documents or works, in or on a volume of a storage or
1104 distribution medium, is called an ``aggregate'' if the copyright
1105 resulting from the compilation is not used to limit the legal rights
1106 of the compilation's users beyond what the individual works permit.
1107 When the Document is included in an aggregate, this License does not
1108 apply to the other works in the aggregate which are not themselves
1109 derivative works of the Document.
1111 If the Cover Text requirement of section 3 is applicable to these
1112 copies of the Document, then if the Document is less than one half of
1113 the entire aggregate, the Document's Cover Texts may be placed on
1114 covers that bracket the Document within the aggregate, or the
1115 electronic equivalent of covers if the Document is in electronic form.
1116 Otherwise they must appear on printed covers that bracket the whole
1117 aggregate.
1119 @item
1120 TRANSLATION
1122 Translation is considered a kind of modification, so you may
1123 distribute translations of the Document under the terms of section 4.
1124 Replacing Invariant Sections with translations requires special
1125 permission from their copyright holders, but you may include
1126 translations of some or all Invariant Sections in addition to the
1127 original versions of these Invariant Sections.  You may include a
1128 translation of this License, and all the license notices in the
1129 Document, and any Warranty Disclaimers, provided that you also include
1130 the original English version of this License and the original versions
1131 of those notices and disclaimers.  In case of a disagreement between
1132 the translation and the original version of this License or a notice
1133 or disclaimer, the original version will prevail.
1135 If a section in the Document is Entitled ``Acknowledgements'',
1136 ``Dedications'', or ``History'', the requirement (section 4) to Preserve
1137 its Title (section 1) will typically require changing the actual
1138 title.
1140 @item
1141 TERMINATION
1143 You may not copy, modify, sublicense, or distribute the Document except
1144 as expressly provided for under this License.  Any other attempt to
1145 copy, modify, sublicense or distribute the Document is void, and will
1146 automatically terminate your rights under this License.  However,
1147 parties who have received copies, or rights, from you under this
1148 License will not have their licenses terminated so long as such
1149 parties remain in full compliance.
1151 @item
1152 FUTURE REVISIONS OF THIS LICENSE
1154 The Free Software Foundation may publish new, revised versions
1155 of the GNU Free Documentation License from time to time.  Such new
1156 versions will be similar in spirit to the present version, but may
1157 differ in detail to address new problems or concerns.  See
1158 @uref{http://www.gnu.org/copyleft/}.
1160 Each version of the License is given a distinguishing version number.
1161 If the Document specifies that a particular numbered version of this
1162 License ``or any later version'' applies to it, you have the option of
1163 following the terms and conditions either of that specified version or
1164 of any later version that has been published (not as a draft) by the
1165 Free Software Foundation.  If the Document does not specify a version
1166 number of this License, you may choose any version ever published (not
1167 as a draft) by the Free Software Foundation.
1168 @end enumerate
1170 @page
1171 @appendix ADDENDUM: How to use this License for your documents
1173 To use this License in a document you have written, include a copy of
1174 the License in the document and put the following copyright and
1175 license notices just after the title page:
1177 @smallexample
1178 @group
1179   Copyright (C)  @var{year}  @var{your name}.
1180   Permission is granted to copy, distribute and/or modify this document
1181   under the terms of the GNU Free Documentation License, Version 1.2
1182   or any later version published by the Free Software Foundation;
1183   with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
1184   Texts.  A copy of the license is included in the section entitled ``GNU
1185   Free Documentation License''.
1186 @end group
1187 @end smallexample
1189 If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
1190 replace the ``with...Texts.'' line with this:
1192 @smallexample
1193 @group
1194     with the Invariant Sections being @var{list their titles}, with
1195     the Front-Cover Texts being @var{list}, and with the Back-Cover Texts
1196     being @var{list}.
1197 @end group
1198 @end smallexample
1200 If you have Invariant Sections without Cover Texts, or some other
1201 combination of the three, merge those two alternatives to suit the
1202 situation.
1204 If your document contains nontrivial examples of program code, we
1205 recommend releasing these examples in parallel under your choice of
1206 free software license, such as the GNU General Public License,
1207 to permit their use in free software.
1209 @node Concept Index,  , GNU Free Documentation License, Top
1210 @comment  node-name,  next,  previous,  up
1211 @unnumbered Index
1213 @printindex cp
1215 @bye
1217 @c Local Variables:
1218 @c ispell-local-pdict: "ispell-dict"
1219 @c End: