manual: Fix archive year. Now, back to disaster recovery ...
[muse-el.git] / NEWS
blobec2c1278d7f1c362c30d1100498fc83445712494
1 Emacs Muse NEWS --- History of user-visible changes    -*- outline -*-
3 * Changes in Muse 3.03 (not yet released)
5 ** Core functionality (lisp/muse.el)
7 *** Fix an XEmacs beta byte-compiler issue.
9 *** Fix failure to recognize the .muse file extension.
10 Handle the case where the user customizes the file extension.
12 *** It is now easier to indicate that Muse should not use a file
13 extension.  Just do the following.
15 (setq muse-file-extension nil
16       muse-mode-auto-p t)
18 If you visit a Muse file in your .emacs, however, and do not want a
19 file extension, then you must still do the following beforehand.
21 (add-hook 'find-file-hooks 'muse-mode-maybe)
23 *** Allow tab characters in explicit links.
25 *** Escape brackets in links, and then un-escape them when displaying
26 the link in a buffer of publishing it.  This allows brackets to be
27 safely used in link descriptions and links, as long as you use `C-c
28 TAB l', `C-c TAB u', `C-c C-e', or automatic Planner annotations.
30 *** Ensure that no recursive load situation can take place.
32 ** Blosxom publishing (lisp/muse-blosxom.el)
34 *** New option: muse-blosxom-use-tags.
35 This specifies whether or not we are using tags.  Tags allow a page to
36 belong to multiple categories, but they do not rely on the directory
37 structure for categorization.
39 *** Use `find-file' as the browsing function.
41 *** New example script: contrib/pyblosxom/make-blog.
42 This shows how to invoke contrib/pyblosxom/getstamps.py.
44 ** Book publishing (lisp/muse-book.el)
46 *** It is now possible to publish a book using a muse-project-alist entry.
47 See the "Book" section of the manual for details and an example.
49 ** DocBook publishing (lisp/muse-docbook.el)
51 *** A bug with multiple-stanza verses has been fixed.
53 ** HTML publishing (lisp/muse-html.el)
55 *** Make sure spaces in URLs get escaped properly.
57 *** Make the Table of Contents CSS easier to customize.
58 For an example, see examples/mwolson/stylesheets/screen.css.
60 *** Make Table of Contents publishing work with Planner.
62 *** Fix a paragraph detection bug for paragraphs that occur after
63 verses.
65 *** New tag: <src>
66 This tag is used to colorize (using HTML) source code of any language
67 for which Emacs has a mode available.  The "lang" attribute determines
68 the mode to call on the region.  Muse will look for the LANG-mode
69 function, call it, and then call htmlize.  You will need htmlize 1.34
70 or later for this to work.
72 If a non-HTML publishing style is used, this will be published the
73 same as an <example> region.
75 ** Importing LaTeX documents (lisp/muse-import-latex.el)
77 *** Rename from muse-convert.el, since Muse can now import
78 other formats as well.
80 ** Journal (lisp/muse-journal.el)
82 *** New option: muse-journal-rss-heading-regexp.
83 Determine the regexp to use when searching for an RSS heading.
85 *** Make sure that the date is in a format that RSS readers
86 can handle.
88 ** LaTeX publishing (lisp/muse-latex.el)
90 *** New option: muse-latex-pdf-program.
91 The program to call in order to generate PDF content from LaTeX
92 content.
94 *** New option: muse-latex-pdf-cruft.
95 The extensions of files to remove after generating PDF output
96 successfully.
98 *** Improve escaping of specials.
100 *** Use \label{} and \ref{} for anchors and anchor references.
102 *** Emphasize table elements.
104 *** Improve table generation.
106 *** Use \url{} to publish bare URLs.
108 *** Handle case where a Muse page begins with a quote character.
110 *** Handle case where the path to the Muse source contains a tilde
111 character in one of the parent directories.  It is still possible to
112 run into this problem if you publish outside of a directory that has a
113 tilde, but with a source file that does have one -- this was deemed to
114 be a very unlikely case.
116 *** Display footnotes when we have both a URL and description.
117 This makes the URLs show up on printed documents in a sensible
118 fashion.
120 *** Escape the "@" character in the entire document.
122 *** Make images take up 75% of the width of the page.
124 *** New option: muse-latex-permit-contents-tag.
125 This specifies whether we should take action on the <contents> tag.
127 *** Allow for definitions to be separated from their terms,
128 much like the way HTML does it by default, if the user puts a blank
129 line or a line break between the term and the definition.
131 If the term and definition are on the same line, they will be that way
132 in the output as well.
134 *** Publish comments using the "%" character, rather than a custom
135 Latex command.
137 ** Publish embedded LaTeX content to a PNG file (lisp/muse-latex2png.el)
139 *** The <latex> tag has been modified to work with styles
140 other than just HTML.  It will even leave the region alone if you are
141 publishing a Latex-based publishing style.
143 *** New tag: <math>
144 The <math> tag acts similarly to the <latex> tag, except that it
145 surrounds the region with "$" characters first, and makes the
146 resulting image inline.
148 If the first line of the <math> tag begins with 6 spaces, then
149 surround the region with "$$" (or an equivalent markup) instead.  This
150 has the effect of "centering" the output on its own line.
152 ** Muse Manual (muse.texi)
154 *** Re-license under the GFDL instead of the GPL.
155 The rationale for this is that Muse may one day be included with
156 Emacs, so it should use the same manual license that Emacs itself
157 uses.  At this point, the matter is not open to debate, unless the FSF
158 brings it up.
160 *** Use better style for subsections.
162 *** Make sure the PDF file for the manual is properly generated.
164 *** Implicit Links
166 **** Mention how to customize the WikiName recognition.
168 *** Extending Muse
170 **** Move "Common Elements" and "Deriving Styles" chapters here.
172 *** Tag Summary
174 **** Mention new tags and updated syntax for some tags.
176 ** Muse Mode (lisp/muse-mode.el)
178 *** `C-c TAB' now inserts an object, prompting the user for which type.
179 `C-c TAB l' inserts a relative link.
180 `C-c TAB t' inserts a Muse tag.
181 `C-c TAB u' inserts a URL.
183 These keybindings may be modified by editing `muse-insert-map'.  Note
184 that the prompt you get when you hit `C-c TAB' will not change.
186 *** New list-oriented keybindings:
187 `M-RET' inserts a list item.
188 `C->' increases list item indentation.
189 `C-<' decreases list item indentation.
191 *** Slightly improvement speed of flyspell integration
193 *** Implement searching through Muse files.
195 **** `C-c C-s' performs a search through Muse files.
197 **** New option: muse-grep-command.
198 Customize this to specify the command used for searching.  In
199 particular, "glimpse" is handy.  Check the documentation for this
200 command for details.
202 *** Changed keybindings:
203 `C-c C-b' is now `muse-find-backlinks'
204 `C-c C-v' is now `muse-browse-result'
206 *** Remove the C-c C-c keybinding, since it conflicts with other
207 modes like Planner.
209 *** Don't require muse-publish.el, since publishing and viewing Muse
210 files are supposed to be completely separable.
212 *** Speed up searching for next and previous references.
214 *** Make filling definition lists work better.
216 *** Make editing existing links with `C-c C-e' work better.
218 *** Make browsing the resulting page with `C-c C-v' work better.
220 *** Don't throw an error if doing flyspell or following link at
221 beginning of buffer.
223 *** When publishing a file with `C-c C-t', consult muse-project-alist
224 and use its publishing styles to intelligently prompt the user as to
225 the publishing style and output directory.
227 The old behavior of allowing the file to be published anywhere and
228 with any style has been moved to `C-c C-T'.
230 *** Clicking `mouse-2' now does the right thing when
231 mouse-yank-at-point is non-nil.
233 ** Muse Mode highlighting (lisp/muse-colors.el)
235 *** New option: muse-colors-inline-images.
236 This determines whether or not to inline an image when viewing Muse
237 source.  The default is to enable this behavior.  This feature is
238 currently considered to be in a beta state, because finding the real
239 paths of images consistently has not been worked out.
241 **** `C-c C-i' toggles whether images are inlined.
243 **** New option: muse-colors-inline-image-method.
244 This determines how to find an image that we want to inline.  The
245 default is to look in the current directory.  If set to
246 'muse-colors-use-publishing-directory, it will look in the directory
247 where the current page will be published.
249 *** Make faces conform the namespace better.
250 `muse-link-face' is renamed to `muse-link'.
251 `muse-bad-link-face' is renamed to `muse-bad-link'.
252 `muse-verbatim-face' is renamed to `muse-verbatim'.
254 *** Handle muse-emphasis faces better.
256 *** Make links blue by default, like most other Emacs modes do.
258 *** Source-level change: The regexps in `muse-colors-markup' are now
259 permitted to have non-shy groupings.
261 ** New modules
263 *** lisp/muse-backlink.el -- Provide backlink support for Muse.
265 *** lisp/muse-groff.el --  This introduces the publishing styles
266 "groff" and "groff-pdf".
268 *** lisp/muse-import-docbook.el -- Convert Docbook XML into Muse format.
270 *** lisp/muse-import-xml.el -- Helper file for muse-import-docbook.el.
272 *** lisp/muse-latex2png.el -- Publish embedded LaTeX content to a PNG file.
273 This introduces the <latex> tag.
275 *** lisp/muse-xml-common.el -- Common functionality used by XML-based
276 publishing styles, such as HTML, XML, and DocBook.
278 *** experimental/muse-mathml.el -- This introduces the "mathml"
279 publishing style and the <mathml> tag.
281 *** experimental/muse-protocol-iw.el: Implements a simpler URL-like
282 interwiki protocol that handles subdirectories.
284 *** experimental/muse-split.el -- Splits published Muse files into several
285 smaller files.
287 ** Project settings (lisp/muse-project.el)
289 *** Introduce the `with-muse-project' macro, which makes it easier
290 to switch to a given Muse project and execute some code.
292 *** Fix an error with `custom-quote'.
294 *** Ignore buffers that have no associated filename.
295 This fixes an annoyance where Muse prompts to save BBDB and ERC
296 buffers before publishing.
298 *** If we cannot find a project to publish, indicate this in an
299 error message.  This fixes an infinite loop.
301 *** Update the file-alist whenever a Muse file is saved.
303 *** Prevent infinite recursion when updating the file alist.
305 *** In addition to Arch and CVS metadata directories, also ignore
306 these for Darcs, SVN, Mercurial, and Bazaar.  Also, don't erroneously
307 ignore files with "#" in them.
309 *** Make links to subdirectories work.
310 The idea is to include as much of the path that is needed in order to
311 disambiguate the link.  For example: "web/TestPage".
313 *** New variable: muse-current-output-style.
314 This holds the output style that is currently being used to publish a
315 file.
317 *** Permit non-Muse files in projects to be linked to.
319 *** Handle relative links to other Muse pages.
320 Relative links are prefixed with "./" or "../".
322 *** New option: muse-project-publish-private-files
323 If this is non-nil (the default), files will be published even if they
324 have "o-r" permissions set (that is, if no one except the owner and
325 possibly group are allowed to read them).  To get back the old
326 behavior, set this to nil.
328 *** Publishing functions can now be customized on per-project basis
329 You can now use :publish-project and :publish to specify what function
330 to call for publishing entire projects or just a single file.
331 :publish-project is meant to be specified in the first part of a
332 project entry, along with the directories.  :publish is meant to be
333 used in a (optionally derived) publishing style: after specifying such
334 a style, use its name in the latter part of a project entry.
336 ** Publishing (lisp/muse-publish.el)
338 *** Implement escaping of specials throughout the entire document.
339 This makes it much easier to publish documents to multiple kinds of
340 formats, since you no longer have to worry about putting <verbatim>
341 around specials.
343 *** Make escaping of specials context-sensitive.
344 Muse now realizes that URLs, normal document text, <example> regions,
345 and the like have different special characters to escape.
347 *** Support nested lists.
348 Muse now determines the nested level of a list by its initial
349 whitespace.  Ordered lists, unordered lists, and definition lists can
350 all be nested.  It is even possible to force a line break in a list
351 item by inserting a blank line on the same level between the lines.
352 Blockquotes may also be nested inside of a list.
354 *** It is now possible to force images to not be inlined.
355 To accomplish this, place the text "URL:" immediately in front of the
356 link text.
358 Example: [[URL:http://example.org/image.png]]
360 *** New interactive function: muse-publish-region.
361 This command publishes the current region, prompting for the title of
362 the page (if any) and the style to use.
364 This is handy for firing off quick blog entries and pasting the result
365 into a web browser -- for this use case, it is recommended to use the
366 blosxom-html or blosxom-xhtml styles, as they omit the large header
367 and footer.
369 *** Additional arguments for <literal> tag.
370 The optional "style" and "exact" attributes may now be specified,
371 which cause text to only be included if the current publishing style
372 matches some criteria -- the text will be removed otherwise.
374 Omitting these attributes causes <literal> to behave the same as
375 usual.
377 *** Table improvements
379 **** Support orgtbl-mode style tables.
380 Here is a quick example of what they look like.  For additional
381 information, consult the Org Mode manual.
383    | Name | Phone | Age |
384    |------+-------+-----|
385    | Pete |  1234 |  25 |
386    | Sara |  4321 |  22 |
388 If you are used to the way that Org Mode publishes these tables, then
389 customize `muse-html-table-attributes' to:
391   border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"
393 in order to get a similar kind of output.
395 **** Support table.el-style tables.
396 If you have table.el somewhere in your load-path, Muse will publish
397 tables that are in the format used by table.el.
399 Currently, table.el tables can only be published for publishing styles
400 based on HTML, LaTeX, or DocBook.
402 **** Allow empty elements in tables.
404 **** Allow initial and trailing whitespace in tables, but strip it
405 out of the published result.
407 **** If the #disable-tables publishing directive exists on the current
408 Muse page, do not generate a table.
410 *** Require at least once space after "::" in definition lists, so
411 we avoid an ambiguity with interwiki link syntax.
413 *** Handle nested emphasis types better.
414 It should now publish exactly the way it looks in Muse Mode.
416 *** Preserve whitespace around emdash.
417 This allows for more flexibility, since some people seem to prefer to
418 have the emdash directly against the surrounding text, while others
419 like it to be spaced.
421 *** Fix paragraph detection when block-level markup comes immediately
422 after a paragraph.  Examples of block-level markup are: <example>,
423 verses, lists.
425 *** Allow the <lisp> tag to take the "markup" attribute.
426 see the Tag Summary section in the manual for details.
428 *** Publish image links with descriptions as captioned images.
429 This has been implemented for all Muse publishing styles.
431 The major change is that image links with descriptions will be
432 centered and the description will be displayed just below the image as
433 a "caption".  Thus, it is meant to only be used as its own paragraph,
434 not surrounded by other text.  Images without descriptions may still
435 have surrounding text.
437 *** Make comments higher priority than tags when publishing,
438 so that Muse comments within tags get stripped out.
440 *** Handle properly comments that have no text.
442 *** Distinguish links and footnotes better.
444 *** Do the right thing when a footnote reference exists but has no
445 corresponding footnote.
447 *** Simplify markup string for anchors.
449 *** Allow text like "%N%" in markup strings.
450 This makes it much easier to re-use the same text or put strings in
451 a different order.
453 *** Create parent directories when publishing for the first time.
455 *** Handle case where we are trying to publish a file that has not
456 been saved.
458 *** Fix XEmacs issue where text at beginning of buffer is read-only.
460 *** Allow publishing styles to specify a function to use for
461 escaping specials in a particular context.  This is especially handy
462 for HTML URLs, since they have a larger subset of special characters
463 than normal characters.
465 See `muse-xml-decide-specials' in muse-xml-common.el for details.
466 This functionality already exists for escaping specials in strings.
468 *** Don't give an error when trying to define or derive an existing
469 style.  Just replace it.
471 *** Get rid of a warning that occurs when batch publishing.
473 *** Ignore list items that are part of higher-priority constructs
474 like emphasis.
476 *** Don't markup emdash in a link, since otherwise it will be
477 incorrectly escaped.
479 *** Improve the published descriptions for implicit links and explicit
480 links with no provided description.
482 *** For headers and footers, use a better algorithm to detect whether
483 we have been given a filename or the real contents.
485 *** New option: muse-publish-date-format.
486 Format string of the date used when publishing files.
488 *** New option: muse-publish-markup-header-footer-tags.
489 This specifies which tags may be used when publishing headers and
490 footers.
492 *** New option: muse-publish-contents-depth.
493 This specifies the maximum depth of headings to include with
494 <contents> tags.
496 *** Allow `muse-publish-markup-buffer' to work even if the buffer
497 is not associated with a file.
499 *** Fix a compilation bug with XEmacs beta.
501 *** Source-level change: Use 'image instead of 'image-link to indicate
502 images without descriptions.  Use 'image-link instead of
503 'url-with-image to indicate URLs that have an image as their
504 description.
506 *** Self-nested tags are now supported.
507 Tags with the same name can now be nested inside one another.  This
508 only applies to the new <quote> tag and the <class> tag currently, but
509 it may be useful for custom tags as well.
511 To activate this, set the 4th element in a `muse-publish-markup-tag'
512 to non-nil.  Note that this involved a change to the structure of
513 `muse-publish-markup-tag', so be sure to change any custom tags
514 appropriately.
516 *** Fix bug with WikiName link descriptions and PDF output.
518 *** New convenience function: muse-style-derived-p
519 The new muse-style-derived-p function allows you to make custom tags
520 or inline <lisp> code that acts differently depending on whether the
521 current style is derived from (or equal to) another style.
523 For an example of its use, see `muse-publish-latex-tag' in
524 lisp/muse-latex2png.el.
526 *** New tags, see the Tag Summary section in the manual for details
528 **** <comment> -- Designate entire regions as comments.
530 **** <include> -- Insert the given file at publish time.
532 **** <markup> -- Mark up the text between the initial and ending tags.
534 **** <perl> -- Evaluate perl code.
536 **** <python> -- Evaluate python code.
538 **** <quote> -- Publish the region as a blockquote.
540 **** <ruby> -- Evaluate ruby code.
542 ** Texinfo publishing (lisp/muse-texinfo.el)
544 *** Escape commas in URLs.
546 *** Make it so that links to other info or PDF documents use the proper
547 suffix.
549 *** Publish table headings properly.
551 *** Handle case where the path to the Muse source contains a tilde
552 character in one of the parent directories.  It is still possible to
553 run into this problem if you publish outside of a directory that has a
554 tilde, but with a source file that does have one -- this was deemed to
555 be a very unlikely case.
557 ** URL protocols (lisp/muse-protocols.el)
559 *** Add support for DOI's.
560 DOI's (digitial object identifiers) are a standard identifier used in
561 the publishing industry.
563 *** Add support for "dict:" URLs.
564 This is used to look up terms on the Wikipedia website.
566 **** New option: muse-wikipedia-country.
567 This specified the country code to use for Wikipedia.
569 *** Add support for "woman:" URLs.
570 "woman" links are opened with Emacs' internal manpage viewer.
572 ** Wiki (lisp/muse-wiki.el)
574 *** If the document does not have a valid title string, use the
575 empty string.
577 *** Fix some bugs.
579 *** New option: muse-wiki-wikiword-match-project-files.
580 Whether to extend WikiName functionality to also match
581 existing filenames, regardless of whether they are named in
582 WikiWord format.
584 If non-nil, Muse will color and publish implicit links to any
585 file in your project.  The default is nil.
587 *** Match filenames in the project before the general WikiWord
588 regexp.
590 *** Take the value of `muse-wiki-hide-nop-tag' into account.
592 *** New option: muse-wiki-ignore-implicit-links-to-current-page.
593 Whether to ignore implicit links to the current page.
595 If non-nil, Muse will not recognize implicit links to the current
596 page, both when formatting and publishing.
598 *** For interwiki links, prefer files that have the same file extension
599 as the current file.
601 *** Check the entire explicit link for a project name or complete
602 interwiki link, not just part of it.  This allows page names with
603 invalid WikiName characters to be referred to by using an explicit
604 link.
606 ** XML publishing (lisp/muse-xml.el)
608 *** Update examples/muse.rnc to handle nested list items.
610 *** Fix table generation when some attributes are not given.
612 * Changes in Muse 3.02.8
614 ** Building Muse
616 *** Compile the contents of the contrib directory.
618 *** The debian/ directory has been moved into its own branch.
619 It is now available at mwolson@gnu.org--2006/muse--debian--0.
621 *** Further parametrize the build system, so that it can be easily
622 used by other Emacs Lisp projects.
624 *** Include autoloads file (lisp/muse-autoloads.el) with releases.
626 ** CGI library (contrib/cgi.el)
628 *** Make this not depend on cl.el at runtime.
630 *** Re-add the example calendar application.
632 ** HTTP daemon (contrib/httpd.el)
634 *** Update this to work with newer versions of Emacs.
636 * Changes in Muse 3.02.7
638 ** Muse Mode highlighting (lisp/muse-colors.el)
640 *** Fix bug that caused Muse not to work with recent builds of Emacs 22.
642 * Changes in Muse 3.02.6
644 ** Building Muse
646 *** Autoloads for Muse are now generated in the muse-autoloads.el
647 file at build time.
649 ** HTML publishing (lisp/muse-html.el)
651 *** Don't escape "%" and "+" in URLs.
653 ** Muse Mode (lisp/muse-mode.el)
655 *** <lisp> tags are now evaluated at display time.
656 The actual contents of the buffer will not change, just the displayed
657 text.  To toggle this behavior, set `muse-colors-evaluate-lisp-tags'.
659 ** Publishing (lisp/muse-publish.el)
661 *** When errors happen during publishing, a more explanatory message
662 is displayed.
664 *** It is now possible to specify non-breaking-space with "~~"
665 (two tildes).  This helps prevent proper names from being split up in
666 the output.
668 *** Escape specials in all forms of emphasis.
670 *** Escape "[" and "]" in links that are entered using muse-make-link.
672 *** Errors from invalid lisp code in a <lisp> tag will be published
673 as a comment.  If you have `muse-publish-comments-p' set to nil, the
674 effect is to remove the error message.
676 *** Fix several publishing issues involving comments and numbered lists.
678 ** Wiki (lisp/muse-wiki.el)
680 *** Interwiki links in extended links that have special characters are
681 now handled properly.
683 ** XML publishing (lisp/muse-xml.el)
685 *** The XML publishing style is now considered stable.
686 Its schema is available in `examples/muse.rnc'.
688 * Changes in Muse 3.02.5
690 ** LaTeX publishing (lisp/muse-latex.el)
692 *** Use a better algorithm for determining how many times we need to
693 call pdflatex for publishing.  Anything with a Table of Contents needs
694 2 passes.
696 ** Muse Mode (lisp/muse-mode.el)
698 *** The 3 levels of emphasis now have corresponding muse-emphasis-N faces.
699 This permits the user to customize them, which may be useful if a font
700 does not have italic and/or bold versions.
702 *** Visiting pages with anchors works better.
704 *** Fix fill bug with semicolons in the middle of paragraphs.
706 *** Fix a bug with editing the link at point.
708 *** Fix a display bug with text like =<verbatim><example></verbatim>=.
710 ** Project settings (lisp/muse-project.el)
712 *** Fix an edge case that yielded a stringp: nil error.
714 *** Prevent auto-save files from being recognized as Muse files.
716 ** Wiki (lisp/muse-wiki.el)
718 *** By default, WikiWords can have consecutive capital letters.
720 *** Fix an error that occurs when muse-colors is not loaded.
722 *** It is now possible to specify a suffix for WikiWord links.
723 For example: WikiName''''s.  The WikiName part will be displayed and
724 colored as a link, but the "s" will be left alone.
726 * Changes in Muse 3.02.02
728 ** Configuration
730 *** A bug with customizing `muse-project-alist' has been fixed.
732 *** We use a file extension for Muse files by default.
733 To obtain the old behavior, set `muse-file-extension' to nil and
734 `muse-mode-auto-p' to t.
736 To go along with the new behavior, be sure to rename all of your Muse
737 files to have a ".muse" extension.
739 *** New option: `muse-wiki-ignore-bare-project-names'.
740 This causes Muse to ignore bare project names if specified.  The
741 default is to turn bare project names into links.
743 *** New option: `muse-publish-comments-p'.
744 This causes Muse to publish comments as markup.  The default is to
745 remove comments before publishing rather than trying to mark them up.
747 *** New option: `muse-wiki-allow-nonexistent-wikiword'.
748 Enabling this will cause WikiWords with no corresponding file to be
749 colored as bad links.  The default is not to color them and turn them
750 into links.
752 ** Muse Mode (lisp/muse-mode.el)
754 *** An error with intangible links has been fixed.
756 *** Visiting a page with an anchor works better than before.
758 *** Flyspell behaves better with Emacs21 than before.
760 *** Links to nonexistent files will be colored red by default.
761 This happened previously, but the algorithm was buggy and didn't cover
762 implicit links.
764 ** Project handling (lisp/muse-project.el)
766 *** A convenience macro called `with-muse-project' has been added.
767 This allows a code block to be executed after changing the current
768 Muse project.  It is analogous to emacs-wiki's
769 `with-emacs-wiki-project' function.
771 ** Publishing (lisp/muse-publish.el)
773 *** An issue involving anchors at the end of a line has been
774 addressed.
776 *** Non-word characters are now allowed before an anchor.
778 *** Comments may now be published, if desired.
779 This behavior may be controlled with the `muse-publish-comments-p'
780 option.  The default is to remove comments before publishing rather
781 than trying to mark them up.
783 *** Publishing directives may now include a dash character.
785 ** LaTeX publishing (lisp/muse-latex.el)
787 *** A bug with footnotes has been addressed.
788 An attempt has been made to make generated footnote markup look more
789 "natural" to experienced LaTeX users.
791 *** Table headers are underlined and table footers are overlined.
793 *** PDF publishing will cause pdflatex to be called as needed.
794 The previous behavior was to always call pdflatex twice.  Currently,
795 if pdflatex succeeds, it will not be called again.  Otherwise, call it
796 up to three times.
798 *** Escaping of special characters should be drastically improved.
799 An attempt has been made to get escaping done right in most contexts.
800 The only quirk is that you must surround dollar signs with equal signs
801 to ensure escaping.  This makes publishing PDF documents much more
802 useful.
804 ** Texinfo publishing (lisp/muse-texinfo.el.el)
806 *** An attempt was made to hone some of the markup.
808 * Changes in Muse 3.02.01
810 ** Muse Mode (lisp/muse-mode.el)
812 *** Links should no longer prevent moving the point, and help text for
813 links should no longer cause errors to occur.
815 ** Project handling (lisp/muse-project.el)
817 *** `muse-project-alist' -- This variable should now save customizations
818 to the correct form in the .emacs file.  Before, it was saving an
819 intermediate form of the variable.
821 If you have used the customize interface in the previous release of
822 Muse to set `muse-project-alist', please do the following to import
823 your settings.
825  - Open your .emacs file.
826  - Move the point to where `muse-project-alist' is set.
827  - Type `M-: (setq muse-project-alist-using-customize t) RET'.
828  - Type `C-M-x'.
829  - Type `M-x customize-save-variable RET muse-project-alist RET'.
831 *** `muse-project-alist' -- A bug involving the deleting of items
832 using Emacs21 and XEmacs21 has been fixed.
834 ** Publishing (lisp/muse-publish.el)
836 *** If 2 or more blank lines separate list or table items, each item
837 will be published in a separate list or table.
839 *** The #date directive is now populated by default with the last
840 modified time of each file, rather than the current time of day.  To
841 use this value, add '<lisp>(muse-publishing-directive "date")<lisp>'
842 to your header or footer.
844 ** HTML publishing (lisp/muse-html.el)
846 *** `muse-xhtml-style-sheet' -- New option that indicates the style
847 settings to use for XHTML documents.  This may be either a filename or
848 a string of stylesheet settings.
850 * Changes in Muse 3.02
852 ** New modules
854 *** lisp/muse-wiki.el --- Provide automatic linking for WikiWords and
855 InterWiki links.  These words are clickable and publish as links.
856 Project names from `muse-project-alist' are available for InterWiki
857 linking by default.  The list of InterWiki names and handlers may be
858 customized through `muse-wiki-interwiki-alist'.
860 WikiWords that do not correspond with real files will not be displayed
861 as links nor published as links.  It is expected that this behavior
862 will be made optional in future versions of Muse.
864 **** This module includes a few helper functions that may be added to
865 `muse-publish-desc-transforms' in order to modify link descriptions at
866 publish time.
868 **** The concept of "implicit links" and "explicit links" has been
869 introduced.  Explicit links are surrounded by brackets, i.e.
870 [[http://blah.org][this is a explicit link]].  Implicit links are URLs
871 and email addresses that are not surrounded by brackets: they will not
872 be colorized or published if surrounded by double-quotes.
874 ***** `muse-wiki-publish-pretty-title' causes words to be Title-cased,
875 ignoring words like `the' and `at' which should not be changed.
877 ***** `muse-wiki-publish-pretty-interwiki' changes the delimiter of
878 interwiki links according to the text of the
879 `muse-wiki-interwiki-replacement' option.
881 *** lisp/muse-protocols.el --- URL protocols that Muse recognizes.
882 This automatically-included module provides an easily customizable
883 list of URL protocols, how to browse them, and how to resolve them for
884 publishing.  Customize `muse-url-protocols' to add and remove
885 protocols.
887 ** Compatibility fixes
889 *** Muse has been tested with XEmacs 21.4, both Mule and non-Mule versions.
890 There are no known problems remaining.  To make things work by
891 default, the iso-8859-1 charset is used as a default option in some
892 places.
894 ** Configuration
896 *** `muse-file-extension' -- New option that allows the file extension
897 for Muse files to be specified.  For example, setting this to "muse"
898 assumes that you have renamed your Muse files with a ".muse"
899 extension.  Using this (and setting `muse-mode-auto-p' to nil) will
900 prevent miscellaneous non-Muse files from being accidentally opened in
901 Muse Mode.
903 *** `muse-ignored-extensions' -- New option that determines which file
904 extensions to omit from the ending of a Muse page name.
906 *** `muse-ignored-extensions-regexp' -- This is no longer customizable.
907 It will be automatically generated from `muse-file-extension' and
908 `muse-ignored-extensions'.
910 *** `muse-project-alist' -- The customize interface for this option has
911 been greatly improved, and much effort has been spent in order to make
912 this user-friendly.
914 *** The `:force-publish' tag may be specified in `muse-project-alist'.
915 This causes a particular list of files to be re-created every time the
916 publishing process is invoked, even if they haven't been changed
917 according to their timestamps.  One use for this is to keep an index
918 of available pages by adding the following to a file in this list.
920 <lisp>(muse-index-as-string t t t)</lisp>
922 *** `muse-project-ignore-regexp' -- By default, version control directories
923 are now included in this regexp so that they don't appear when you hit
924 C-c C-f to browse files in a project.
926 *** The `muse-project-alist-styles' and `muse-project-alist-dirs' functions
927 may be used in `muse-project-alist' to recursively add styles and
928 directory listings for a given directory.  The following is an
929 example.  We use a backtick instead of a single quote to begin the
930 list.
932 (setq muse-project-alist
933       `(("Blog"
934          (,@(muse-project-alist-dirs "~/proj/wiki/blog")  ;; base dir
935           :default "guestbook")
937          ,@(muse-project-alist-styles "~/proj/wiki/blog"  ;; base dir
938                                       ;; output dir
939                                       "~/personal-site/site/blog"
940                                       ;; style
941                                       "my-blosxom"))))
943 Note that if you use the customize interface for `muse-project-alist',
944 you will still have to manually add information for any new
945 sub-directories.
947 ** Debian packaging
949 *** Debian packages for Muse have entered Debian unstable, thanks
950 to Romain Francoise, my sponsor.
952 It is possible to roll your own Muse packages if you want to do so.
953 Packages may be built by using `make debrelease', once the proper
954 options in Makefile.defs are set.  Revisions may be built using `make
955 debrevision'.
957 The manual and relevant documentation files have been included with
958 the Debian package for Muse.
960 ** Muse Mode (lisp/muse-mode.el)
962 *** Allow use of Muse with outline-minor-mode.
964 *** Filling text does the right thing with list items and footnotes.
965 List items and footnotes will no longer be concatenated when hitting
966 M-q in the midst of consecutive items.
968 *** Links will never be split in the middle when using Fill.
970 *** Some flyspell crash issues were addressed.
971 Using intangible text can cause strange problems with flyspell mode.
972 Hence, by default, the intangible property will be ignored.  A new
973 option called `muse-mode-intangible-links' indicates whether this
974 should be the case.
976 *** Links will no longer be highlighted by flyspell.
977 If you're using XEmacs or Emacs 22, flyspell will ignore links,
978 including link text.  This keeps flyspell from making the links
979 unclickable.  If you're using Emacs 21, flyspell will continue to
980 interfere with links.  If you know how to fix this, please send a
981 patch!
983 *** A few edge cases for emphasis and underlining have been addressed.
985 *** <example>, <verbatim>, and =surrounded text= are now colored using
986 the new face `muse-verbatim-face'.
988 *** All marked up text properties, like emphasis and underlining,
989 will be removed for the text between <example>, <verbatim>, <code>,
990 <literal>, and <lisp> tags.
992 *** Links to temporary files may be visited.
993 A "temporary file" in this case is a buffer that is not associated
994 with any file.  For some dynamic content import scripts with Planner,
995 this is helpful.
997 *** Typing "#title" should never crash Emacs anymore.
999 ** Muse manual (muse.texi)
1001 *** Fix problem with producing a PDF version of the manual.
1003 *** Document WikiNames.
1005 *** Bring up-to-date with latest features.
1007 *** Massively update Common Elements section.
1009 *** New Directives section.
1010 This describes the use of #title and #author, as well as other
1011 directives that may be used.
1013 *** New Comments section.
1014 Describes the use of "; comment text".
1016 ** Publishing (lisp/muse-publish.el)
1018 *** The order of rules should be much improved.
1019 This means that emphasis characters like `*' and `_' will never be
1020 interpreted as such if they are within links.
1022 *** The user will be notified when `muse-publish-this-file' fails to
1023 publish the current file.  This happens when the timestamp of the
1024 current file indicates that it is up-to-date.
1026 *** Special characters are escaped in link descriptions and links on a
1027 more consistent basis.  What defines a "special character" varies
1028 according to the publishing style.
1030 *** Errors that occur during publish time will cause a warning to be
1031 displayed prominently, rather than being ignored.  It should no longer
1032 be possible to mess up a Muse source file by tweaking the Muse
1033 publishing process.
1035 *** Errors in <lisp> tags cause a warning to be displayed and
1036 return "<!--INVALID LISP CODE-->".  Muse will try to continue
1037 publishing the page.
1039 *** An emdash ("--") can now be used after a list, as long as there is
1040 a blank line between the end of the list and the emdash.
1042 *** The <code> tag has been introduced.
1043 It does the same thing that =equal signs= do: escape specials and
1044 publish as teletype text.  Use it for short command snippets and the
1045 like.  <example> is a better choice for large blocks of code, since it
1046 preserves whitespace.
1048 *** An edge case involving links at the beginning of a paragraph
1049 has been addressed.
1051 *** An edge case involving consecutive directives of the same size
1052 has been addressed.
1054 *** Every publishing style is now capable of specifying strings to use
1055 for sections beyond the third level.
1057 *** Every publishing style may specify an end-of-section string.
1058 This is used, for example, by the experimental XML style and the
1059 DocBook style.
1061 *** Every publishing style may specify a method of handling "internal
1062 link" markup.  An internal link is a link that refers to an anchor on
1063 the current page.
1065 *** Every publishing style may specify a link suffix to use.
1066 This allows the file extensions in links to other Muse files to be
1067 different from their actual extension.  Blosxom makes use of this
1068 (since its published files are .txt and the dynamically-generated
1069 output is .html), and it could come in handy for PHP stuff.
1071 If a link suffix is not specified via :link-suffix, the value of
1072 :suffix will be used.
1074 ** Blosxom publishing (lisp/muse-blosxom.el)
1076 *** muse-blosxom-new-entry: A #category directive is added by default.
1077 Nothing is done with this yet, but it could be handy for tag-based
1078 (multiple category) blogging, once we figure out a good way to do that
1079 in both Muse and Pyblosxom.  Ideas are welcome, and patches even more
1082 ** DocBook publishing (lisp/muse-docbook.el)
1084 *** The markup has been comprehensively improved.
1085 Published documents will now pass validation tests and look better in
1086 general.
1088 *** It is now possible to specify the encoding of DocBook documents.
1089 The default encoding is utf-8.
1091 *** Footnotes will be embedded into paragraphs, since this is
1092 The DocBook Way.
1094 *** Tables will be sorted by section.
1095 Headers first, then footers, then the rest of the table.
1097 *** Anchors are now handled correctly and publish to the best available
1098 form.  Links to anchors are published with the <link> tag.
1100 ** HTML publishing (lisp/muse-html.el)
1102 *** Fix minor issue with anchors.
1104 *** Paragraph publishing will no longer insert <div> tags before images.
1105 This was causing too much hassle for some programs that were trying to
1106 extend Muse, like the Muse port of Planner.
1108 *** The `&', `<', and '>' characters will be escaped using their specific
1109 HTML escape codes, rather than with "&#NNN;".  This makes the
1110 published output display correctly in more web browsers.
1112 *** Use HTML 4.0 Transitional by default for `muse-html-header'.
1114 *** Include empty alt element in markup string for images that lack a
1115 description.
1117 *** Tables will be sorted by section.
1118 Headers first, then footers, then the rest of the table.
1120 *** `muse-xhtml-extension' -- The default extension for XHTML publishing.
1121 This is a new option.
1123 ** Journal publishing (lisp/muse-journal.el)
1125 *** Use "div class=..." rather than "div id=..." for sections.
1127 ** LaTeX publishing (lisp/muse-latex.el)
1129 *** A newline will be appended to the default footer for the latex and
1130 latexpdf publishing styles.  This keeps the PDF-building process from
1131 failing due to lack of a newline at end of file.
1133 *** Anchors and links to them now work properly.
1135 *** When generating PDF files, call pdflatex twice.
1136 This should ensure that the table of contents gets generated, if one
1137 is due to be published.
1139 *** PDF files with spaces may be published.
1140 A bug preventing this has been fixed.
1142 *** Teletype text is now published using \\texttt{...}.
1144 *** An attempt has been made to escape special characters more
1145 consistently.
1147 ** Texinfo publishing (lisp/muse-texinfo.el)
1149 *** Fix a fatal error that occurs when publishing tables.
1151 *** Generate the contents in the header by default rather than the footer.
1152 This is the way that most Texinfo manuals do it.
1154 *** The info-pdf publishing style currently produces the best PDF output
1155 on the maintainer's machine, so it is now used to publish the PDF
1156 version of the Muse Manual.
1158 *** The characters `{' and `}' will be treated as special characters that
1159 need to be escaped at publish-time.
1161 *** Improve dots and enddots markup strings.
1163 *** Surround underlined text with "_" since Texinfo doesn't seem to have
1164 any better options for producing underlined text.
1166 *** Anchors and links to them now work properly.