manual: Clarify what image-link, link, and link-and-anchor mean
[muse-el.git] / NEWS
blob362d43792b2eaa7cd35a0336ed848feadd0acb10
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 *** New interactive function: muse-publish-region.
355 This command publishes the current region, prompting for the title of
356 the page (if any) and the style to use.
358 This is handy for firing off quick blog entries and pasting the result
359 into a web browser -- for this use case, it is recommended to use the
360 blosxom-html or blosxom-xhtml styles, as they omit the large header
361 and footer.
363 *** Additional arguments for <literal> tag.
364 The optional "style" and "exact" attributes may now be specified,
365 which cause text to only be included if the current publishing style
366 matches some criteria -- the text will be removed otherwise.
368 Omitting these attributes causes <literal> to behave the same as
369 usual.
371 *** Table improvements
373 **** Support orgtbl-mode style tables.
374 Here is a quick example of what they look like.  For additional
375 information, consult the Org Mode manual.
377    | Name | Phone | Age |
378    |------+-------+-----|
379    | Pete |  1234 |  25 |
380    | Sara |  4321 |  22 |
382 If you are used to the way that Org Mode publishes these tables, then
383 customize `muse-html-table-attributes' to:
385   border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"
387 in order to get a similar kind of output.
389 **** Allow empty elements in tables.
391 **** Allow initial and trailing whitespace in tables, but strip it
392 out of the published result.
394 **** If the #disable-tables publishing directive exists on the current
395 Muse page, do not generate a table.
397 *** Require at least once space after "::" in definition lists, so
398 we avoid an ambiguity with interwiki link syntax.
400 *** Handle nested emphasis types better.
401 It should now publish exactly the way it looks in Muse Mode.
403 *** Preserve whitespace around emdash.
404 This allows for more flexibility, since some people seem to prefer to
405 have the emdash directly against the surrounding text, while others
406 like it to be spaced.
408 *** Fix paragraph detection when block-level markup comes immediately
409 after a paragraph.  Examples of block-level markup are: <example>,
410 verses, lists.
412 *** Allow the <lisp> tag to take the "markup" attribute.
413 see the Tag Summary section in the manual for details.
415 *** Publish image links with descriptions as captioned images.
416 This has been implemented for all Muse publishing styles.
418 The major change is that image links with descriptions will be
419 centered and the description will be displayed just below the image as
420 a "caption".  Thus, it is meant to only be used as its own paragraph,
421 not surrounded by other text.  Images without descriptions may still
422 have surrounding text.
424 *** Make comments higher priority than tags when publishing,
425 so that Muse comments within tags get stripped out.
427 *** Handle properly comments that have no text.
429 *** Distinguish links and footnotes better.
431 *** Do the right thing when a footnote reference exists but has no
432 corresponding footnote.
434 *** Simplify markup string for anchors.
436 *** Allow text like "%N%" in markup strings.
437 This makes it much easier to re-use the same text or put strings in
438 a different order.
440 *** Create parent directories when publishing for the first time.
442 *** Handle case where we are trying to publish a file that has not
443 been saved.
445 *** Fix XEmacs issue where text at beginning of buffer is read-only.
447 *** Allow publishing styles to specify a function to use for
448 escaping specials in a particular context.  This is especially handy
449 for HTML URLs, since they have a larger subset of special characters
450 than normal characters.
452 See `muse-xml-decide-specials' in muse-xml-common.el for details.
453 This functionality already exists for escaping specials in strings.
455 *** Don't give an error when trying to define or derive an existing
456 style.  Just replace it.
458 *** Get rid of a warning that occurs when batch publishing.
460 *** Ignore list items that are part of higher-priority constructs
461 like emphasis.
463 *** Don't markup emdash in a link, since otherwise it will be
464 incorrectly escaped.
466 *** Improve the published descriptions for implicit links and explicit
467 links with no provided description.
469 *** For headers and footers, use a better algorithm to detect whether
470 we have been given a filename or the real contents.
472 *** New option: muse-publish-date-format.
473 Format string of the date used when publishing files.
475 *** New option: muse-publish-markup-header-footer-tags.
476 This specifies which tags may be used when publishing headers and
477 footers.
479 *** New option: muse-publish-contents-depth.
480 This specifies the maximum depth of headings to include with
481 <contents> tags.
483 *** Allow `muse-publish-markup-buffer' to work even if the buffer
484 is not associated with a file.
486 *** Fix a compilation bug with XEmacs beta.
488 *** Source-level change: Use 'image instead of 'image-link to indicate
489 images without descriptions.  Use 'image-link instead of
490 'url-with-image to indicate URLs that have an image as their
491 description.
493 *** Self-nested tags are now supported.
494 Tags with the same name can now be nested inside one another.  This
495 only applies to the new <quote> tag and the <class> tag currently, but
496 it may be useful for custom tags as well.
498 To activate this, set the 4th element in a `muse-publish-markup-tag'
499 to non-nil.  Note that this involved a change to the structure of
500 `muse-publish-markup-tag', so be sure to change any custom tags
501 appropriately.
503 *** Fix bug with WikiName link descriptions and PDF output.
505 *** New convenience function: muse-style-derived-p
506 The new muse-style-derived-p function allows you to make custom tags
507 or inline <lisp> code that acts differently depending on whether the
508 current style is derived from (or equal to) another style.
510 For an example of its use, see `muse-publish-latex-tag' in
511 lisp/muse-latex2png.el.
513 *** New tags, see the Tag Summary section in the manual for details
515 **** <comment> -- Designate entire regions as comments.
517 **** <include> -- Insert the given file at publish time.
519 **** <markup> -- Mark up the text between the initial and ending tags.
521 **** <perl> -- Evaluate perl code.
523 **** <python> -- Evaluate python code.
525 **** <quote> -- Publish the region as a blockquote.
527 **** <ruby> -- Evaluate ruby code.
529 ** Texinfo publishing (lisp/muse-texinfo.el)
531 *** Escape commas in URLs.
533 *** Make it so that links to other info or PDF documents use the proper
534 suffix.
536 *** Publish table headings properly.
538 *** Handle case where the path to the Muse source contains a tilde
539 character in one of the parent directories.  It is still possible to
540 run into this problem if you publish outside of a directory that has a
541 tilde, but with a source file that does have one -- this was deemed to
542 be a very unlikely case.
544 ** URL protocols (lisp/muse-protocols.el)
546 *** Add support for DOI's.
547 DOI's (digitial object identifiers) are a standard identifier used in
548 the publishing industry.
550 *** Add support for "dict:" URLs.
551 This is used to look up terms on the Wikipedia website.
553 **** New option: muse-wikipedia-country.
554 This specified the country code to use for Wikipedia.
556 *** Add support for "woman:" URLs.
557 "woman" links are opened with Emacs' internal manpage viewer.
559 ** Wiki (lisp/muse-wiki.el)
561 *** If the document does not have a valid title string, use the
562 empty string.
564 *** Fix some bugs.
566 *** New option: muse-wiki-wikiword-match-project-files.
567 Whether to extend WikiName functionality to also match
568 existing filenames, regardless of whether they are named in
569 WikiWord format.
571 If non-nil, Muse will color and publish implicit links to any
572 file in your project.  The default is nil.
574 *** Match filenames in the project before the general WikiWord
575 regexp.
577 *** Take the value of `muse-wiki-hide-nop-tag' into account.
579 *** New option: muse-wiki-ignore-implicit-links-to-current-page.
580 Whether to ignore implicit links to the current page.
582 If non-nil, Muse will not recognize implicit links to the current
583 page, both when formatting and publishing.
585 *** For interwiki links, prefer files that have the same file extension
586 as the current file.
588 *** Check the entire explicit link for a project name or complete
589 interwiki link, not just part of it.  This allows page names with
590 invalid WikiName characters to be referred to by using an explicit
591 link.
593 ** XML publishing (lisp/muse-xml.el)
595 *** Update examples/muse.rnc to handle nested list items.
597 *** Fix table generation when some attributes are not given.
599 * Changes in Muse 3.02.8
601 ** Building Muse
603 *** Compile the contents of the contrib directory.
605 *** The debian/ directory has been moved into its own branch.
606 It is now available at mwolson@gnu.org--2006/muse--debian--0.
608 *** Further parametrize the build system, so that it can be easily
609 used by other Emacs Lisp projects.
611 *** Include autoloads file (lisp/muse-autoloads.el) with releases.
613 ** CGI library (contrib/cgi.el)
615 *** Make this not depend on cl.el at runtime.
617 *** Re-add the example calendar application.
619 ** HTTP daemon (contrib/httpd.el)
621 *** Update this to work with newer versions of Emacs.
623 * Changes in Muse 3.02.7
625 ** Muse Mode highlighting (lisp/muse-colors.el)
627 *** Fix bug that caused Muse not to work with recent builds of Emacs 22.
629 * Changes in Muse 3.02.6
631 ** Building Muse
633 *** Autoloads for Muse are now generated in the muse-autoloads.el
634 file at build time.
636 ** HTML publishing (lisp/muse-html.el)
638 *** Don't escape "%" and "+" in URLs.
640 ** Muse Mode (lisp/muse-mode.el)
642 *** <lisp> tags are now evaluated at display time.
643 The actual contents of the buffer will not change, just the displayed
644 text.  To toggle this behavior, set `muse-colors-evaluate-lisp-tags'.
646 ** Publishing (lisp/muse-publish.el)
648 *** When errors happen during publishing, a more explanatory message
649 is displayed.
651 *** It is now possible to specify non-breaking-space with "~~"
652 (two tildes).  This helps prevent proper names from being split up in
653 the output.
655 *** Escape specials in all forms of emphasis.
657 *** Escape "[" and "]" in links that are entered using muse-make-link.
659 *** Errors from invalid lisp code in a <lisp> tag will be published
660 as a comment.  If you have `muse-publish-comments-p' set to nil, the
661 effect is to remove the error message.
663 *** Fix several publishing issues involving comments and numbered lists.
665 ** Wiki (lisp/muse-wiki.el)
667 *** Interwiki links in extended links that have special characters are
668 now handled properly.
670 ** XML publishing (lisp/muse-xml.el)
672 *** The XML publishing style is now considered stable.
673 Its schema is available in `examples/muse.rnc'.
675 * Changes in Muse 3.02.5
677 ** LaTeX publishing (lisp/muse-latex.el)
679 *** Use a better algorithm for determining how many times we need to
680 call pdflatex for publishing.  Anything with a Table of Contents needs
681 2 passes.
683 ** Muse Mode (lisp/muse-mode.el)
685 *** The 3 levels of emphasis now have corresponding muse-emphasis-N faces.
686 This permits the user to customize them, which may be useful if a font
687 does not have italic and/or bold versions.
689 *** Visiting pages with anchors works better.
691 *** Fix fill bug with semicolons in the middle of paragraphs.
693 *** Fix a bug with editing the link at point.
695 *** Fix a display bug with text like =<verbatim><example></verbatim>=.
697 ** Project settings (lisp/muse-project.el)
699 *** Fix an edge case that yielded a stringp: nil error.
701 *** Prevent auto-save files from being recognized as Muse files.
703 ** Wiki (lisp/muse-wiki.el)
705 *** By default, WikiWords can have consecutive capital letters.
707 *** Fix an error that occurs when muse-colors is not loaded.
709 *** It is now possible to specify a suffix for WikiWord links.
710 For example: WikiName''''s.  The WikiName part will be displayed and
711 colored as a link, but the "s" will be left alone.
713 * Changes in Muse 3.02.02
715 ** Configuration
717 *** A bug with customizing `muse-project-alist' has been fixed.
719 *** We use a file extension for Muse files by default.
720 To obtain the old behavior, set `muse-file-extension' to nil and
721 `muse-mode-auto-p' to t.
723 To go along with the new behavior, be sure to rename all of your Muse
724 files to have a ".muse" extension.
726 *** New option: `muse-wiki-ignore-bare-project-names'.
727 This causes Muse to ignore bare project names if specified.  The
728 default is to turn bare project names into links.
730 *** New option: `muse-publish-comments-p'.
731 This causes Muse to publish comments as markup.  The default is to
732 remove comments before publishing rather than trying to mark them up.
734 *** New option: `muse-wiki-allow-nonexistent-wikiword'.
735 Enabling this will cause WikiWords with no corresponding file to be
736 colored as bad links.  The default is not to color them and turn them
737 into links.
739 ** Muse Mode (lisp/muse-mode.el)
741 *** An error with intangible links has been fixed.
743 *** Visiting a page with an anchor works better than before.
745 *** Flyspell behaves better with Emacs21 than before.
747 *** Links to nonexistent files will be colored red by default.
748 This happened previously, but the algorithm was buggy and didn't cover
749 implicit links.
751 ** Project handling (lisp/muse-project.el)
753 *** A convenience macro called `with-muse-project' has been added.
754 This allows a code block to be executed after changing the current
755 Muse project.  It is analogous to emacs-wiki's
756 `with-emacs-wiki-project' function.
758 ** Publishing (lisp/muse-publish.el)
760 *** An issue involving anchors at the end of a line has been
761 addressed.
763 *** Non-word characters are now allowed before an anchor.
765 *** Comments may now be published, if desired.
766 This behavior may be controlled with the `muse-publish-comments-p'
767 option.  The default is to remove comments before publishing rather
768 than trying to mark them up.
770 *** Publishing directives may now include a dash character.
772 ** LaTeX publishing (lisp/muse-latex.el)
774 *** A bug with footnotes has been addressed.
775 An attempt has been made to make generated footnote markup look more
776 "natural" to experienced LaTeX users.
778 *** Table headers are underlined and table footers are overlined.
780 *** PDF publishing will cause pdflatex to be called as needed.
781 The previous behavior was to always call pdflatex twice.  Currently,
782 if pdflatex succeeds, it will not be called again.  Otherwise, call it
783 up to three times.
785 *** Escaping of special characters should be drastically improved.
786 An attempt has been made to get escaping done right in most contexts.
787 The only quirk is that you must surround dollar signs with equal signs
788 to ensure escaping.  This makes publishing PDF documents much more
789 useful.
791 ** Texinfo publishing (lisp/muse-texinfo.el.el)
793 *** An attempt was made to hone some of the markup.
795 * Changes in Muse 3.02.01
797 ** Muse Mode (lisp/muse-mode.el)
799 *** Links should no longer prevent moving the point, and help text for
800 links should no longer cause errors to occur.
802 ** Project handling (lisp/muse-project.el)
804 *** `muse-project-alist' -- This variable should now save customizations
805 to the correct form in the .emacs file.  Before, it was saving an
806 intermediate form of the variable.
808 If you have used the customize interface in the previous release of
809 Muse to set `muse-project-alist', please do the following to import
810 your settings.
812  - Open your .emacs file.
813  - Move the point to where `muse-project-alist' is set.
814  - Type `M-: (setq muse-project-alist-using-customize t) RET'.
815  - Type `C-M-x'.
816  - Type `M-x customize-save-variable RET muse-project-alist RET'.
818 *** `muse-project-alist' -- A bug involving the deleting of items
819 using Emacs21 and XEmacs21 has been fixed.
821 ** Publishing (lisp/muse-publish.el)
823 *** If 2 or more blank lines separate list or table items, each item
824 will be published in a separate list or table.
826 *** The #date directive is now populated by default with the last
827 modified time of each file, rather than the current time of day.  To
828 use this value, add '<lisp>(muse-publishing-directive "date")<lisp>'
829 to your header or footer.
831 ** HTML publishing (lisp/muse-html.el)
833 *** `muse-xhtml-style-sheet' -- New option that indicates the style
834 settings to use for XHTML documents.  This may be either a filename or
835 a string of stylesheet settings.
837 * Changes in Muse 3.02
839 ** New modules
841 *** lisp/muse-wiki.el --- Provide automatic linking for WikiWords and
842 InterWiki links.  These words are clickable and publish as links.
843 Project names from `muse-project-alist' are available for InterWiki
844 linking by default.  The list of InterWiki names and handlers may be
845 customized through `muse-wiki-interwiki-alist'.
847 WikiWords that do not correspond with real files will not be displayed
848 as links nor published as links.  It is expected that this behavior
849 will be made optional in future versions of Muse.
851 **** This module includes a few helper functions that may be added to
852 `muse-publish-desc-transforms' in order to modify link descriptions at
853 publish time.
855 **** The concept of "implicit links" and "explicit links" has been
856 introduced.  Explicit links are surrounded by brackets, i.e.
857 [[http://blah.org][this is a explicit link]].  Implicit links are URLs
858 and email addresses that are not surrounded by brackets: they will not
859 be colorized or published if surrounded by double-quotes.
861 ***** `muse-wiki-publish-pretty-title' causes words to be Title-cased,
862 ignoring words like `the' and `at' which should not be changed.
864 ***** `muse-wiki-publish-pretty-interwiki' changes the delimiter of
865 interwiki links according to the text of the
866 `muse-wiki-interwiki-replacement' option.
868 *** lisp/muse-protocols.el --- URL protocols that Muse recognizes.
869 This automatically-included module provides an easily customizable
870 list of URL protocols, how to browse them, and how to resolve them for
871 publishing.  Customize `muse-url-protocols' to add and remove
872 protocols.
874 ** Compatibility fixes
876 *** Muse has been tested with XEmacs 21.4, both Mule and non-Mule versions.
877 There are no known problems remaining.  To make things work by
878 default, the iso-8859-1 charset is used as a default option in some
879 places.
881 ** Configuration
883 *** `muse-file-extension' -- New option that allows the file extension
884 for Muse files to be specified.  For example, setting this to "muse"
885 assumes that you have renamed your Muse files with a ".muse"
886 extension.  Using this (and setting `muse-mode-auto-p' to nil) will
887 prevent miscellaneous non-Muse files from being accidentally opened in
888 Muse Mode.
890 *** `muse-ignored-extensions' -- New option that determines which file
891 extensions to omit from the ending of a Muse page name.
893 *** `muse-ignored-extensions-regexp' -- This is no longer customizable.
894 It will be automatically generated from `muse-file-extension' and
895 `muse-ignored-extensions'.
897 *** `muse-project-alist' -- The customize interface for this option has
898 been greatly improved, and much effort has been spent in order to make
899 this user-friendly.
901 *** The `:force-publish' tag may be specified in `muse-project-alist'.
902 This causes a particular list of files to be re-created every time the
903 publishing process is invoked, even if they haven't been changed
904 according to their timestamps.  One use for this is to keep an index
905 of available pages by adding the following to a file in this list.
907 <lisp>(muse-index-as-string t t t)</lisp>
909 *** `muse-project-ignore-regexp' -- By default, version control directories
910 are now included in this regexp so that they don't appear when you hit
911 C-c C-f to browse files in a project.
913 *** The `muse-project-alist-styles' and `muse-project-alist-dirs' functions
914 may be used in `muse-project-alist' to recursively add styles and
915 directory listings for a given directory.  The following is an
916 example.  We use a backtick instead of a single quote to begin the
917 list.
919 (setq muse-project-alist
920       `(("Blog"
921          (,@(muse-project-alist-dirs "~/proj/wiki/blog")  ;; base dir
922           :default "guestbook")
924          ,@(muse-project-alist-styles "~/proj/wiki/blog"  ;; base dir
925                                       ;; output dir
926                                       "~/personal-site/site/blog"
927                                       ;; style
928                                       "my-blosxom"))))
930 Note that if you use the customize interface for `muse-project-alist',
931 you will still have to manually add information for any new
932 sub-directories.
934 ** Debian packaging
936 *** Debian packages for Muse have entered Debian unstable, thanks
937 to Romain Francoise, my sponsor.
939 It is possible to roll your own Muse packages if you want to do so.
940 Packages may be built by using `make debrelease', once the proper
941 options in Makefile.defs are set.  Revisions may be built using `make
942 debrevision'.
944 The manual and relevant documentation files have been included with
945 the Debian package for Muse.
947 ** Muse Mode (lisp/muse-mode.el)
949 *** Allow use of Muse with outline-minor-mode.
951 *** Filling text does the right thing with list items and footnotes.
952 List items and footnotes will no longer be concatenated when hitting
953 M-q in the midst of consecutive items.
955 *** Links will never be split in the middle when using Fill.
957 *** Some flyspell crash issues were addressed.
958 Using intangible text can cause strange problems with flyspell mode.
959 Hence, by default, the intangible property will be ignored.  A new
960 option called `muse-mode-intangible-links' indicates whether this
961 should be the case.
963 *** Links will no longer be highlighted by flyspell.
964 If you're using XEmacs or Emacs 22, flyspell will ignore links,
965 including link text.  This keeps flyspell from making the links
966 unclickable.  If you're using Emacs 21, flyspell will continue to
967 interfere with links.  If you know how to fix this, please send a
968 patch!
970 *** A few edge cases for emphasis and underlining have been addressed.
972 *** <example>, <verbatim>, and =surrounded text= are now colored using
973 the new face `muse-verbatim-face'.
975 *** All marked up text properties, like emphasis and underlining,
976 will be removed for the text between <example>, <verbatim>, <code>,
977 <literal>, and <lisp> tags.
979 *** Links to temporary files may be visited.
980 A "temporary file" in this case is a buffer that is not associated
981 with any file.  For some dynamic content import scripts with Planner,
982 this is helpful.
984 *** Typing "#title" should never crash Emacs anymore.
986 ** Muse manual (muse.texi)
988 *** Fix problem with producing a PDF version of the manual.
990 *** Document WikiNames.
992 *** Bring up-to-date with latest features.
994 *** Massively update Common Elements section.
996 *** New Directives section.
997 This describes the use of #title and #author, as well as other
998 directives that may be used.
1000 *** New Comments section.
1001 Describes the use of "; comment text".
1003 ** Publishing (lisp/muse-publish.el)
1005 *** The order of rules should be much improved.
1006 This means that emphasis characters like `*' and `_' will never be
1007 interpreted as such if they are within links.
1009 *** The user will be notified when `muse-publish-this-file' fails to
1010 publish the current file.  This happens when the timestamp of the
1011 current file indicates that it is up-to-date.
1013 *** Special characters are escaped in link descriptions and links on a
1014 more consistent basis.  What defines a "special character" varies
1015 according to the publishing style.
1017 *** Errors that occur during publish time will cause a warning to be
1018 displayed prominently, rather than being ignored.  It should no longer
1019 be possible to mess up a Muse source file by tweaking the Muse
1020 publishing process.
1022 *** Errors in <lisp> tags cause a warning to be displayed and
1023 return "<!--INVALID LISP CODE-->".  Muse will try to continue
1024 publishing the page.
1026 *** An emdash ("--") can now be used after a list, as long as there is
1027 a blank line between the end of the list and the emdash.
1029 *** The <code> tag has been introduced.
1030 It does the same thing that =equal signs= do: escape specials and
1031 publish as teletype text.  Use it for short command snippets and the
1032 like.  <example> is a better choice for large blocks of code, since it
1033 preserves whitespace.
1035 *** An edge case involving links at the beginning of a paragraph
1036 has been addressed.
1038 *** An edge case involving consecutive directives of the same size
1039 has been addressed.
1041 *** Every publishing style is now capable of specifying strings to use
1042 for sections beyond the third level.
1044 *** Every publishing style may specify an end-of-section string.
1045 This is used, for example, by the experimental XML style and the
1046 DocBook style.
1048 *** Every publishing style may specify a method of handling "internal
1049 link" markup.  An internal link is a link that refers to an anchor on
1050 the current page.
1052 *** Every publishing style may specify a link suffix to use.
1053 This allows the file extensions in links to other Muse files to be
1054 different from their actual extension.  Blosxom makes use of this
1055 (since its published files are .txt and the dynamically-generated
1056 output is .html), and it could come in handy for PHP stuff.
1058 If a link suffix is not specified via :link-suffix, the value of
1059 :suffix will be used.
1061 ** Blosxom publishing (lisp/muse-blosxom.el)
1063 *** muse-blosxom-new-entry: A #category directive is added by default.
1064 Nothing is done with this yet, but it could be handy for tag-based
1065 (multiple category) blogging, once we figure out a good way to do that
1066 in both Muse and Pyblosxom.  Ideas are welcome, and patches even more
1069 ** DocBook publishing (lisp/muse-docbook.el)
1071 *** The markup has been comprehensively improved.
1072 Published documents will now pass validation tests and look better in
1073 general.
1075 *** It is now possible to specify the encoding of DocBook documents.
1076 The default encoding is utf-8.
1078 *** Footnotes will be embedded into paragraphs, since this is
1079 The DocBook Way.
1081 *** Tables will be sorted by section.
1082 Headers first, then footers, then the rest of the table.
1084 *** Anchors are now handled correctly and publish to the best available
1085 form.  Links to anchors are published with the <link> tag.
1087 ** HTML publishing (lisp/muse-html.el)
1089 *** Fix minor issue with anchors.
1091 *** Paragraph publishing will no longer insert <div> tags before images.
1092 This was causing too much hassle for some programs that were trying to
1093 extend Muse, like the Muse port of Planner.
1095 *** The `&', `<', and '>' characters will be escaped using their specific
1096 HTML escape codes, rather than with "&#NNN;".  This makes the
1097 published output display correctly in more web browsers.
1099 *** Use HTML 4.0 Transitional by default for `muse-html-header'.
1101 *** Include empty alt element in markup string for images that lack a
1102 description.
1104 *** Tables will be sorted by section.
1105 Headers first, then footers, then the rest of the table.
1107 *** `muse-xhtml-extension' -- The default extension for XHTML publishing.
1108 This is a new option.
1110 ** Journal publishing (lisp/muse-journal.el)
1112 *** Use "div class=..." rather than "div id=..." for sections.
1114 ** LaTeX publishing (lisp/muse-latex.el)
1116 *** A newline will be appended to the default footer for the latex and
1117 latexpdf publishing styles.  This keeps the PDF-building process from
1118 failing due to lack of a newline at end of file.
1120 *** Anchors and links to them now work properly.
1122 *** When generating PDF files, call pdflatex twice.
1123 This should ensure that the table of contents gets generated, if one
1124 is due to be published.
1126 *** PDF files with spaces may be published.
1127 A bug preventing this has been fixed.
1129 *** Teletype text is now published using \\texttt{...}.
1131 *** An attempt has been made to escape special characters more
1132 consistently.
1134 ** Texinfo publishing (lisp/muse-texinfo.el)
1136 *** Fix a fatal error that occurs when publishing tables.
1138 *** Generate the contents in the header by default rather than the footer.
1139 This is the way that most Texinfo manuals do it.
1141 *** The info-pdf publishing style currently produces the best PDF output
1142 on the maintainer's machine, so it is now used to publish the PDF
1143 version of the Muse Manual.
1145 *** The characters `{' and `}' will be treated as special characters that
1146 need to be escaped at publish-time.
1148 *** Improve dots and enddots markup strings.
1150 *** Surround underlined text with "_" since Texinfo doesn't seem to have
1151 any better options for producing underlined text.
1153 *** Anchors and links to them now work properly.