Update ChangeLog.
[muse-el.git] / ChangeLog.4
bloba9aaa0af1fef96f7375099c3a243a59d6215f1a3
1 2007-12-13  Michael Olson  <mwolson@gnu.org>
3         * lisp/muse-wiki.el ("muse-publish"): Interpret <nop> tags when
4         publishing.
6 2007-12-05  Magnus Henoch  <mange@freemail.hu>
8         * lisp/muse.el (muse-escape-specials-in-string): Move
9         save-match-data outside of with-temp-buffer, because apparently
10         some implementations of with-temp-buffer can mangle the match
11         data.
13 2007-11-28  Michael Olson  <mwolson@gnu.org>
15         * lisp/muse-project.el (muse-project-page-file): If page argument
16         is nil, then choose the first directory in the project.
18         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Style fix.
20 2007-11-07  Adrian Aichner  <adrian@xemacs.org>
22         * lisp/muse-publish.el (muse-publish-classify-url): Wrap call of
23         `muse-publish-link-page' in `save-match-data', so that correct
24         match data gets restored for subsequent use by `match-end'.
26 2007-10-29  Michael Olson  <mwolson@gnu.org>
28         * lisp/muse-regexps.el (muse-tag-regexp): Permit tag attributes to
29         span more than one line.  Thanks to Florian Beck for the fix.
31 2007-10-24  Michael Olson  <mwolson@gnu.org>
33         * lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
34         "---" as a valid mdash.  Before, it was doing mdash followed by a
35         single dash.  Thanks to jordanb for the suggestion.
37 2007-10-12  Michael Olson  <mwolson@gnu.org>
39         * lisp/muse-mode.el (muse-insert-url-initial-input): New option
40         that specifies the initial text to use when reading a URL.  Thanks
41         to Seweryn Kokot for the suggestion.
42         (muse-insert-url): Use it.
43         (muse-mode-fill-paragraph): Take into account any indentation that
44         is already in front of the term.
46         * lisp/muse-project.el (muse-project-determine-last-mod): New
47         function split from muse-project-file-alist.
48         (muse-project-file-alist): Improve docstring.
49         (muse-project-add-to-alist): New function that ensures that the
50         current file is added the its project file-alist.
51         (muse-project-after-save-hook): Call muse-project-add-to-alist
52         instead of muse-project-file-alist.  This fixes an issue where if
53         several files were being saved at once, only the first would make
54         it into the project file-alist.
56 2007-10-11  Michael Olson  <mwolson@gnu.org>
58         * lisp/muse-latex.el (muse-latex-markup-specials-literal): Escape
59         backslash as "\textbackslash{}".  Thanks to Joost Kremers for the
60         report.
62 2007-10-08  Michael Olson  <mwolson@gnu.org>
64         * lisp/muse-mode.el (muse-mode): Set fill-paragraph-function.
65         (muse-mode-fill-paragraph): New function that fills the paragraph
66         at point.  If a definition list term is on the same line, then
67         prefix subsequent lines with two spaces when filling.  Otherwise,
68         return nil, so that normal filling can take place.
70 2007-10-03  Michael Olson  <mwolson@gnu.org>
72         * lisp/muse-colors.el (muse-unhighlight-region): Remove
73         muse-no-implicit link property.
74         (muse-colors-implicit-link): Check for muse-no-implicit-link
75         property.
77         * lisp/muse-wiki.el (muse-wiki-colors-nop-tag): Add the
78         muse-no-implicit-link property.  This makes colorization of <nop>
79         work.  Add docstring.
81 2007-09-24  Michael Olson  <mwolson@gnu.org>
83         * lisp/muse-latex2png.el (muse-publish-math-tag): Fix bug
84         introduced by recent change.  Thanks to Darlan Cavalcante Moreira
85         for the report.
87 2007-09-23  Michael Olson  <mwolson@gnu.org>
89         * lisp/muse-context.el (muse-context-pdf-generate): Change
90         default-directory instead of calling "cd" in the command.
92         * lisp/muse-latex.el (muse-latex-pdf-generate): Change
93         default-directory instead of calling "cd" in the command.  This
94         should fix a bug with Windows.  Thanks to Jia Ye for the report.
96 2007-09-22  Michael Olson  <mwolson@gnu.org>
98         * AUTHORS: Bookkeeping.
100         * NEWS: Add entry for the LaTeX image filename escaping changes.
102         * examples/mwolson/templates/header.tex: Update for recent
103         changes.
105         * lisp/muse-latex2png.el (muse-publish-math-tag): Detect whether
106         the tag ends at the end of a line.  If not, do not use "$$" to
107         publish it.  Thanks to Darlan Cavalcante Moreira for the
108         suggestion.
110         * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header)
111         (muse-latex-slides-header, muse-latex-lecture-notes-header):
112         Escape specials in the title.  Define a museincludegraphics
113         command, which is able to handle escaped special characters in
114         image filenames.  Thanks to Karl Berry for providing this.
115         (muse-latex-markup-strings): Use museincludegraphics instead of
116         includegraphics in all image-related markup.  Move the width
117         specification over to the museincludegraphics command, rather than
118         specifying it explicitly.  This allows people to change this
119         information in their headers.
120         (muse-latex-markup-specials-image): Escape backslashes, "#", and
121         pipe characters in image filenames.
123         * lisp/muse-wiki.el (muse-wiki-project-files-with-spaces): Fix
124         byte-compiler warning.
126         * lisp/muse.el (muse-update-values): Fix byte-compiler warning.
127         Also, update the value of muse-current-project for all Muse
128         buffers, even if they are new.  This should be more intuitive.  I
129         don't think there are any cases where developers will want this
130         value to be nil.
131         (muse-replace-regexp-in-string): Fix byte-compiler warning.
133         * texi/muse.texi (LaTeX): Mention grffile.sty.  Thanks to Karl
134         Berry for the tip.
136 2007-09-19  Michael Olson  <mwolson@gnu.org>
138         * lisp/muse.el (muse-replace-regexp-in-string): Remove fallback
139         code, since it is not needed in any version of Emacs we support,
140         and it also has a couple of bugs that I don't want to waste time
141         fixing.
143 2007-09-18  Michael Olson  <mwolson@gnu.org>
145         * lisp/muse-mode.el (muse-mode): Fix bug involving filling and
146         paragraphs next to headings.  Thanks to Gregory Collins for the
147         initial patch, which I modified.
149 2007-09-17  Michael Olson  <mwolson@gnu.org>
151         * lisp/muse-colors.el (muse-colors-toggle-inline-images): Display
152         message about how images are now displayed.
154 2007-09-10  Michael Olson  <mwolson@gnu.org>
156         * Makefile (elpa): Use texi/dir-template rather than echoing lines
157         to the ELPA dir file for Muse.
159         * texi/dir-template: New file containing template to use when
160         making ELPA dir files.  This fixes a corrupt dir file bug for the
161         Muse ELPA package.  Thanks to Tom Tromey for the report.
163 2007-09-06  Michael Olson  <mwolson@gnu.org>
165         * lisp/muse-html.el (muse-html-class-tag): Fix bug where nested
166         class tags were not working.  We move to just after the beginning
167         of the first class tag, so that we can detect any remaining class
168         tags.  Thanks to Florian Beck for the report.  Fix error that
169         occurred when class tag has no name element.  Thanks to Peter
170         Baranyi for the report.  The correct behavior in this case is to
171         not publish the tag at all.
173         * lisp/muse.el (muse-goto-tag-end): Fix bug where nested tags with
174         arguments were not being detected properly.
176 2007-09-05  Michael Olson  <mwolson@gnu.org>
178         * lisp/muse-context.el (muse-context-decide-specials): Add
179         footnote.
181         * lisp/muse-latex.el (muse-latex-decide-specials): Add footnote.
183         * lisp/muse-publish.el (muse-publish-escape-specials): Mention
184         'footnote in docstring.
185         (muse-publish-markup-footnote): Minor docstring fix.  Escape
186         footnote text properly.  Thanks to Jean Magnan de Bornier for
187         noticing.
188         (muse-publish-url): When checking to see if this is just a plain
189         URL without a description, compare the strings as they were before
190         doing escaping.  This fixes a bug where plain URLs could sometimes
191         be published as if they were URLs with descriptions.
193         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Add
194         footnote.
196 2007-08-29  Michael Olson  <mwolson@gnu.org>
198         * lisp/muse.el (muse-update-values): Reset the value of
199         muse-current-project in all Muse buffers.  This updates the rules
200         in case you want to publish a file after changing its associated
201         muse-project-alist entry.
203 2007-08-27  Michael Olson  <mwolson@gnu.org>
205         * lisp/muse.el (muse-update-values): New function that the user
206         can call after changing muse-project-alist, in order to update
207         various autogenerated values.
209         * texi/muse.texi (Keystroke Summary): Document it.
211 2007-08-25  Michael Olson  <mwolson@gnu.org>
213         * examples/QuickStart.muse: Fix typo in first paragraph.  Thanks
214         to Karl Berry for reporting this.
216         * lisp/muse-mode.el (muse-visit-link-default): Fix bug with
217         browsing anchors that come after a link to them.
219         * texi/muse.texi (Poem): Fix typo in spelling of LaTeX.  Thanks to
220         Karl Berry for reporting this.
222 2007-08-24  Michael Olson  <mwolson@gnu.org>
224         * Release Emacs Muse 3.11.
226         * AUTHORS: Add new authors for contrib files.
228         * NEWS: Add entries for Muse 3.11.
230         * README: Mention that contents of contrib/blosxom and
231         contrib/pyblosxom have different licenses than the rest of Muse.
233         * contrib/blosxom/getstamps.pl: New file that implements fetching
234         timestamps from published Muse files and placing them in a single
235         timestamps file.  That file can then be used by blosxom's metadate
236         plugin.  Thanks to Michael Welle for providing this file, as well
237         as instructions on how to use Muse with Blosxom.
239         * contrib/blosxom/metadate_0_0_3: New file implementing the
240         metadate plugin for blosxom.
242         * contrib/pyblosxom/getstamps.py: Add license text.  It seems safe
243         to assume that the original author wanted this to be distributed
244         with Pyblosxom, and hence use the MIT license like the rest of
245         Pyblosxom.
247         * contrib/pyblosxom/hardcodedates.py: Add license text.
249         * contrib/pyblosxom/make-blog: Change license text to be "This
250         file may be used, distributed, and modified without restriction."
252         * contrib/pyblosxom/metadate.py: New file that implements the
253         PyBlosxom metadate plugin.  Since this can no longer be found at
254         the original author's website, I have included it with Muse.
256         * lisp/muse-blosxom.el: Update location of metadate plugin in
257         header.
259         * lisp/muse-wiki.el (muse-wiki-project-file-regexp): Fix typo in
260         docstring.
262         * texi/muse.texi (Blosxom Requirements): Organize information by
263         subheading and subsubheading, and document how to use the metadate
264         plugin.  Briefly document using Blosxom to serve Muse entries.
266 2007-08-23  Michael Olson  <mwolson@gnu.org>
268         * lisp/muse-html.el (muse-html-insert-contents): Escape heading
269         title just before extracting it.
271         * lisp/muse-latex.el (muse-latex-fixup-headings): New function
272         that removes footnotes from headers, since they are invalid in
273         LaTeX.
274         (muse-latex-munge-buffer): Call it.
276         * lisp/muse-publish.el (muse-publish-markup-heading): Don't escape
277         specials here.  This fixes a bug involving links in headings.
279         * lisp/muse.el (muse-update-file-extension): Simplify, and handle
280         some edge cases.
281         (muse-update-file-extension-after-init): Temporarily bind
282         muse-file-extension to "muse", so that muse-update-file-extension
283         knows what the old value was.  This should fix a bug reported by
284         Jean Magnan de Bornier.
286 2007-08-21  Michael Olson  <mwolson@gnu.org>
288         * lisp/muse-texinfo.el (muse-texinfo-markup-strings): Try to make
289         url, link, and link-and-anchor look better in texi2html output.
290         Thanks to thorne for the report.
292 2007-08-20  Michael Olson  <mwolson@gnu.org>
294         * lisp/muse-journal.el (muse-journal-anchorize-title): Revamp to
295         escape characters rather than discard them.  Use muse-regexp-alnum
296         rather than listing out the characters and numbers.  Thanks to
297         Shunsuke OKANO for the report.
298         (muse-journal-rss-munge-buffer): Make sure that <![CDATA[ stuff is
299         used when generating a summary.
301 2007-08-19  Michael Olson  <mwolson@gnu.org>
303         * examples/mwolson: Update my example settings.
305         * lisp/muse-colors.el (muse-colors-region): Bind
306         muse-colors-region-end to the end of the last line.  This avoids a
307         bug where lines that had emphasis would suddenly become
308         unhighlighted when moving around the buffer.
310         * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix bug
311         involving paragraphs after literallayout markup, which is used in
312         <verse> tags.  Thanks to Shunsuke OKANO for the report.
314         * lisp/muse-html.el (muse-html-src-tag): Use
315         muse-delete-and-extract-region.
317         * lisp/muse-import-xml.el: Add require statement.
318         (muse-import-xml-parse-node): Use muse-replace-regexp-in-string.
320         * lisp/muse-protocols.el (muse-browse-url-man): Add require
321         statement.
322         (muse-browse-url-woman): Add require statement.
324         * lisp/muse-publish.el (muse-publish-surround-text): Fix serious
325         bug in definition list publishing.  We were skipping past the
326         initial indented line, and that was causing an erroneous
327         blockquote to be inserted.  This alone merits a new release.
329         * lisp/muse-texinfo.el (muse-texinfo-info-generate): Fix bug with
330         XEmacs' return value for shell-command.
332         * lisp/muse.el (muse-delete-and-extract-region): New compatibility
333         function to deal with XEmacs' lack of the
334         delete-and-extract-region function.
336 2007-08-18  Michael Olson  <mwolson@gnu.org>
338         * AUTHORS: Update.
340         * lisp/muse-publish.el (muse-publish-include-tag): Switch from
341         copy-tree to copy-alist, since Emacs21 does not have the former,
342         and the latter does what we want.
344         * lisp/muse.el: Force-require 'derived, since Emacs21 does not
345         have derived-mode-p in subr.el like Emacs22 does.
347 2007-08-17  Michael Olson  <mwolson@gnu.org>
349         * etc/muse.rnc: Add the <cite> tag.
351         * lisp/muse-context.el (muse-context-slides-header): Clarify what
352         "mystyle" is.
354         * lisp/muse-xml.el (muse-xml-markup-strings): Mark up citations as
355         <cite type="something">.  We'll leave it to the post processing
356         tools to interpret that.
358         * texi/muse.texi (Directives, Blosxom Entries): Use @code{} for
359         directives.
360         (Citations): New section that explains further how to use the
361         <cite> tag.  The text was taken from Marcus Hoenicka's
362         documentation at http://refdb.sourceforge.net/muse.html and
363         modified.
364         (Tag Summary): Link to the Citations section in the entry for
365         <cite>.
366         (ConTeXt): Update the documentation for
367         muse-context-slides-header.
369 2007-08-17  Jean Magnan de Bornier  <jean@bornier.net>
371         * lisp/muse-context.el (muse-context-slides-header): Use #module
372         directive, if it is provided.
373         (muse-context-slides-header): Mention how to use #module.
375 2007-08-16  Michael Olson  <mwolson@gnu.org>
377         * Release Emacs Muse 3.10.
379         * Makefile (dist, debprepare): Pass HEAD argument to git-archive.
380         (upload): Don't depend on release rule.
382         * NEWS: Document remaining changes.
384 2007-08-15  Michael Olson  <mwolson@gnu.org>
386         * NEWS: Document items through 2007-08-12.
388         * lisp/muse-colors.el: Split the muse-directive-or-comment
389         property into two separate properties that are muse-directive and
390         muse-comment.
391         (muse-colors-region-end): Make buffer-local.
392         (muse-colors-delayed-commands): New variable that contains a list
393         of commands to run immediately after highlighting.  This is meant
394         to allow highlighting functions to delay code until later.
395         (muse-colors-region): Apply commands in
396         muse-colors-delayed-commands.
397         (muse-colors-inhibit-tags-in-directives): New variable that
398         determines whether tags are allowed in directives.
399         (muse-colors-custom-tags): Take
400         muse-colors-inhibit-tags-in-directives into account.
401         (muse-unhighlight-region): Remove muse-directive and muse-comment
402         properties.
403         (muse-colors-title): Modify muse-colors-delayed-commands.
404         (muse-colors-title-lisp): New command that gets called after
405         highlighting other things.  This interprets <lisp> tags, and is
406         passed arguments specifying the beginning and end of the region.
407         Thanks to Junichi Uekawa for the report.  The reason we want to do
408         things this way is because this is the behavior we get already
409         when publishing the page.
411         * lisp/muse.el (muse-goto-tag-end): Change to use muse-comment
412         property rather than muse-directive-or-comment.
414 2007-08-14  Michael Olson  <mwolson@gnu.org>
416         * lisp/muse-colors.el: Document all functions and variables.
417         (muse-colors-emphasized, muse-colors-underlined)
418         (muse-colors-verbatim, muse-colors-custom-tags)
419         (muse-colors-explicit-link, muse-colors-implicit-link): Don't trod
420         on comments or the #title directive.
421         (muse-colors-markup): Add comment rule.
422         (muse-colors-implicit-link): Only remove flyspell overlay after we
423         decide whether this is an implicit link, rather than before.
424         (muse-colors-title): Add the muse-directive-or-comment property.
425         (muse-colors-comment): New function that colorizes comments using
426         font-lock-comment-face.
427         (muse-colors-region-end): New variable indicating the end of the
428         region that is currently being font-locked.  This removes the need
429         for an ugly "defvar end" hack.
430         (muse-colors-emphasized, muse-colors-underlined)
431         (muse-colors-verbatim): Use it.
432         (muse-colors-region): Let-bind it.
434         * lisp/muse-mode.el (muse-list-edit-minor-mode): Grammar fix in
435         docstring.
437         * lisp/muse-publish.el (muse-publish-markup-heading): Escape
438         specials in heading now, rather than waiting on the whole-document
439         pass later on.  This lets <contents> generation work without
440         validation errors.  Thanks to Reid van Melle for the report.
442         * texi/muse.texi (Tag Summary): Document <cite> tag.
443         (Miscellaneous): New chapter containing "Muse List Edit Minor
444         Mode" section.
445         (Muse List Edit Minor Mode): New section that documents
446         muse-list-edit-minor-mode.
447         (Development): Mention the MuseDevlopment page on emacswiki.org.
449         * lisp/muse.el (muse-goto-tag-end): Deal with case where we are
450         font-locking and the end or beginning of a tag is in a comment or
451         directive.
453 2007-08-12  Michael Olson  <mwolson@gnu.org>
455         * lisp/muse-html.el (muse-html-strip-links): New function that
456         strips HTML links from a string.
457         (muse-html-insert-contents): Use it, instead of
458         muse-publish-strip-tags.  This fixes a bug reported by Xin Shi
459         involving the use of <sup> in section titles.
461         * lisp/muse-project.el (muse-project-resolve-directory): New
462         function that figures out the directory part of the path that
463         provides a link to a page.
464         (muse-project-resolve-link): Expand docstring.  Use the new
465         function.  Don't call muse-publish-link-file, because that does
466         the wrong thing when we have muse-file-extension set to nil.
467         Thanks to Sebastian Obermanns for the report.
468         (muse-project-publish-this-file): Let-bind muse-current-project.
469         Also, if the file is not associated with a project, fall back to
470         muse-publish-this-file.
471         (muse-project-set-variables): Add this to
472         muse-before-publish-hook, so that it gets called.  This fixes a
473         bug where project-specific variables were being used in Muse mode,
474         but ignored when publishing.
476         * lisp/muse-publish.el (muse-publish-link-name)
477         (muse-publish-link-file, muse-publish-link-page): Add docstrings
478         so that I can remember what each of these things do.
479         (muse-publish-strip-tags): Remove, since it is no longer used.
480         (muse-publish-cite-tag): Don't let-bind
481         muse-publishing-directives, because there is no need to do so.
482         Fix code indentation.
483         (muse-publish-markup-attribute): Avoid multiple evaluation of
484         attrs argument, in case it is list value instead of a symbol.  Use
485         sexp instead of form in the edebug-form-spec.
486         (muse-publish-include-tag): Make a full copy of
487         muse-publishing-directives, since it can be modified with setcdr.
488         This fixes a bug where #title and some other directives were
489         leaking out of an included region.
490         (muse-publish-mark-up-tag): Don't let-bind
491         muse-publishing-directives, because there is no need to do so.
493         * lisp/muse.el (muse-page-name): Improve docstring.
495         * texi/muse.texi (Development): Mention the http method for
496         anonymous git access to the shared repo.
498 2007-08-10  Michael Olson  <mwolson@gnu.org>
500         * Makefile (dist, debprepare): Use git instead of tla.
502         * contrib/httpd.el (httpd-send-file): Use insert-file-contents.
504         * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
505         Use muse-insert-file-contents.
507         * experimental/muse-split.el (muse-publish-file)
508         (muse-publish-presplit-publish, muse-publish-no-split-function)
509         (muse-journal-split-by-entry, muse-journal-split-by-month): Use
510         muse-insert-file-contents.
512         * lisp/muse-book.el (muse-book-publish-chapter)
513         (muse-book-get-directives): Use muse-insert-file-contents.
515         * lisp/muse-http.el (muse-http-render-page): Use
516         muse-insert-file-contents.
518         * lisp/muse-poem.el (muse-poem-markup-tag): Use
519         muse-insert-file-contents.
521         * lisp/muse-publish.el (muse-insert-file-or-string)
522         (muse-publish-file, muse-publish-include-tag)
523         (muse-published-contents): Use muse-insert-file-contents.
525         * lisp/muse.el (muse-insert-file-contents): New function that
526         inserts a file with character code conversion, but none of the
527         other frivolities.  Since insert-file-contents-literally does not
528         do character code conversion, it is not suitable for us.
529         (muse-with-temp-buffer): Mention muse-insert-file-contents rather
530         than insert-file-contents-literally.
532 2007-08-09  Michael Olson  <mwolson@gnu.org>
534         * lisp/muse.el (muse-write-file): Pay attention to
535         coding-system-for-write and save-buffer-coding-system.  This
536         should fix a recently-introduced bug with writing Muse pages in
537         different coding systems.
539 2007-08-08  Michael Olson  <mwolson@gnu.org>
541         * README (Prerequisites): Fix typo.
542         (Compilation, Installation): Update.
543         (Documentation, Further Documentation): Update URLs.
544         (Further Documentation): Add quick blurb on how to participate in
545         Muse development or track changes.
547         * texi/muse.texi (Releases): Use gna.org URL for downloading the
548         latest release, rather than my website.
549         (Development): Change instructions to use git instead of
550         Arch. Mention where to get a Windows binary for git.  Improve the
551         look of the listing.  Add section with instructions for Becoming a
552         Muse developer.
553         (Installation): Update instructions for Makefile.defs.default and
554         XEmacs.  Add index entries.  Add section for ELPA, since Muse
555         ought to be distributed in ELPA after the 3.10 release.  Fix typo
556         and clarify wording.
558 2007-08-06  Michael Olson  <mwolson@gnu.org>
560         * texi/muse.texi: Make sure that attributes are marked up with
561         @option{} rather than @code{} or @samp{} for consistency.
562         (Journal): Add "muse-project-alist-considerations" subheading,
563         along with a mention of :base-url.
565 2007-08-05  Michael Olson  <mwolson@gnu.org>
567         * .gitignore: Add texi/muse.html and the DVC log edit file.
569         * Makefile.defs.default (install_info): Rename from INSTALLINFO.
570         Turn this into something that can be called like a command, due to
571         needing to deal with XEmacs, which has different argument order.
572         Thanks to Terrence Brannon for the report.
574         * lisp/muse-project.el (muse-project-of-file): Simplify by using
575         catch, throw, and dolist.  Look for exact matches before
576         considering any subdirectories.  If no exact matches are found,
577         then pick the longest match.
579         * lisp/muse.el (muse-sort-by-rating): Mention default test in
580         documentation.
582         * scripts/muse-build.el: Avoid interference from VC.el in the
583         build process.
585         * texi/Makefile (install): Call install_info.
587 2007-08-03  Michael Olson  <mwolson@gnu.org>
589         * lisp/muse-project.el (muse-project-applicable-styles): Remove
590         useless argument ignore-regexp.  Use saner logic.  This fixes a
591         bug where a file could potentially not exist but still appear in
592         the used-styles list.  Thanks to John Wiegley for the fix.
593         (muse-project-publish-file): Don't take ignore-reegxp argument.
595 2007-08-02  Michael Olson  <mwolson@gnu.org>
597         * lisp/muse-publish.el (muse-batch-publish-files): Don't activate
598         VC when publishing files in batch.  This avoids some annoying
599         messages when building QuickStart in the examples directory.
601         * lisp/muse-mode.el (muse-mode): Don't try to indent line before
602         inserting a comment.
604 2007-07-31  Michael Olson  <mwolson@gnu.org>
606         * lisp/Makefile: Add dependencies between Emacs Lisp files, so
607         that Muse can be recompiled without running "make clean" after an
608         update.
610         * lisp/muse-publish.el (muse-publish-verse-tag): Unconditionally
611         delete forward one character, since we are guaranteed to be on a
612         blank line.  Don't delete all initial whitespace of the first
613         line.  This fixes an issue where the output from the verse tag did
614         not match the output from Muse's verse syntax.
616 2007-07-29  Michael Olson  <mwolson@gnu.org>
618         * Relicense to GPLv3.
620         * Makefile.defs.default: Rename from Makefile.defs.  This allows
621         people to copy this file to Makefile.defs and make changes,
622         without having the changes be accidentally committed.  If
623         Makefile.defs does not exist, this file is read instead, in order
624         to minimize inconvenience to the casual user.
626         * Makefile, contrib/Makefile, examples/Makefile,
627         experimental/Makefile, lisp/Makefile, texi/Makefile: Use either
628         Makefile.defs.default or Makefile.defs.
630         * lisp/muse-mode.el (muse-list-edit-minor-mode-map): Use new
631         function names.
632         (muse-l-e-m-m-insert-list-item): Add real documentation.
633         (muse-l-e-m-m-increase-list-item-indent)
634         (muse-l-e-m-m-decrease-list-item-indent): Rename for clarity.  Add
635         real documentation.
636         (muse-list-edit-minor-mode): Improve documentation.
638         * texi/doclicense.texi (GNU Free Documentation License): Use
639         pristine copy from Emacs source tree.
641         * texi/muse.texi (Contributors): Move node and appendix indicators
642         here, rather than doclicense.texi.
644 2007-07-29  Jean Magnan de Bornier  <jean@bornier.net>
646         * lisp/muse-latex.el (muse-latex-markup-strings): Change rule
647         command which did not work correctly
649         * lisp/muse-context.el (muse-context-markup-strings): Change rule
650         command which did not work correctly; defined verse commands
651         (muse-context-markup-specials-literal): Eliminate all unuseful entries
653 2007-07-29  Michael Olson  <mwolson@gnu.org>
655         * contrib/httpd.el (httpd-send-file): Use
656         insert-file-contents-literally instead of insert-file-contents.
658         * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
659         Use insert-file-contents-literally instead of
660         insert-file-contents.
662         * experimental/muse-split.el (muse-publish-file)
663         (muse-publish-presplit-publish, muse-publish-no-split-function)
664         (muse-journal-split-by-entry, muse-journal-split-by-month): Use
665         insert-file-contents-literally instead of insert-file-contents.
667         * lisp/muse-book.el (muse-book-publish-chapter)
668         (muse-book-get-directives): Use insert-file-contents-literally
669         instead of insert-file-contents.
671         * lisp/muse-http.el (muse-http-render-page): Use
672         insert-file-contents-literally instead of insert-file-contents.
674         * lisp/muse-import-latex.el (muse-import-latex): Set marker to
675         nowhere when done, since they can slow things down.
677         * lisp/muse-journal.el (muse-journal-html-munge-buffer): Set
678         marker to nowhere when done, since they can slow things down.
680         * lisp/muse-poem.el (muse-poem-markup-tag): Set marker to nowhere
681         when done, since they can slow things down.  Use
682         insert-file-contents-literally instead of insert-file-contents.
684         * lisp/muse-publish.el (muse-publish-markup-tag)
685         (muse-publish-markup-word, muse-publish-markup-footnote)
686         (muse-publish-call-tag-on-buffer): Set markers to nowhere when
687         done, since they can slow things down.
688         (muse-insert-file-or-string, muse-publish-file)
689         (muse-publish-include-tag, muse-published-contents): Use
690         insert-file-contents-literally instead of insert-file-contents.
691         (muse-publish-surround-dl): Remove unused variable.  Track whether
692         a term has been found, and handle that case well.
693         (muse-publish-ensure-blank-line): Use a marker, so that we don't
694         lose our place when adding a newline.  This really fixes the
695         definition list item bug.
696         (muse-publish-markup-list): Since people do seem to want
697         definition lists with no terms, allow this.
698         (muse-batch-publish-files): Set muse-current-output-style.
700         * lisp/muse.el (muse-with-temp-buffer): Mention
701         `insert-file-contents-literally'.
703 2007-07-28  Michael Olson  <mwolson@gnu.org>
705         * lisp/muse-mode.el (muse-browse-result): Set
706         muse-current-output-style.
707         (muse-mode): Don't duplicate the paragraph-start regexp
708         unnecessarily.
709         (muse-list-edit-minor-mode-map): New variable containing the
710         keymap for Muse list edit minor mode.
711         (muse-l-e-m-m-list-item-regexp): New variable that matches list
712         items for Muse list edit minor mode.
713         (muse-l-e-m-m-insert-list-item,
714         muse-l-e-m-m-i-list-item-indentation)
715         (muse-l-e-m-m-d-list-item-indentation): Variants of existing list
716         item functions that change the list item regexp before calling the
717         existing function.
718         (muse-l-e-m-m-data): New variable that keeps track of the fill
719         data that we overwrite when activating Muse list edit minor mode,
720         so that we can restore it if the minor mode is toggled off.
721         (muse-list-edit-minor-mode): New minor mode that is useful for
722         editing lists in other major modes.
723         (turn-on-muse-list-edit-minor-mode)
724         (turn-off-muse-list-edit-minor-mode): New interactive functions
725         that turn Muse list edit minor mode on and off, respectively.
726         (muse-on-blank-line, muse-get-paragraph-start): Simplify some
727         regexps.
729         * lisp/muse-project.el (muse-project-publish-this-file): Set
730         muse-current-output-style.  This fixes a bug when publishing to a
731         style that is not first in the list of styles.  Thanks to Jean
732         Magnan de Bornier for the report.
734         * lisp/muse-publish.el (muse-publish-ensure-blank-line): New
735         function that ensures that a blank line exists in the line before
736         point.
737         (muse-publish-markup-list): Use it, rather than
738         `muse-publish-ensure-block'.  This fixes a bug with definition
739         list publishing.  Thanks to meandtheshell for reporting this.
741         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): If the
742         project argument is nil, default to the current project instead of
743         the first project entry in muse-project-alist.  This seems much
744         more sane to me.
746         * lisp/muse.el (muse-forward-list-item): Only check the 'face
747         property if we are in Muse mode or one of its derivatives.  This
748         allows movement on nested lists to work in other modes, and fixes
749         an issue with altering list indentation in
750         muse-list-edit-minor-mode.
752 2007-07-27  Michael Olson  <mwolson@gnu.org>
754         * AUTHORS: Add new authors.
756         * README: Permit Muse to be called "Emacs-Muse".
758         * etc/IDEAS.muse: Remove now-implemented ideas and duplicate idea.
760         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug
761         involving list items that have an extra blank line in front.
763         * texi/muse.texi (Introduction): Mention that Emacs Muse, Muse,
764         and Emacs-Muse are the same thing.
766 2007-07-27  Jean Magnan de Bornier  <jean@bornier.net>
768         * lisp/muse-context.el (muse-context-header): Put
769         starttext after the modules who must be in preamble.
770         (muse-context-markup-strings): Fixed mistake in begin-example and
771         end-example.
773         * lisp/muse-latex2png.el (muse-publish-math-tag): Replaced the
774         math environment in ConTeXt when centered: "$$ $$" has to be
775         "\startformula \stopformula".
777 2007-07-26  Michael Olson  <mwolson@gnu.org>
779         * lisp/muse-xml-common.el (muse-xml-escape-url): Do not escape
780         parentheses in URLs.
782 2007-07-24  Michael Olson  <mwolson@gnu.org>
784         * examples/QuickStart.muse (Images): Fix typo where some text
785         existed in the output but not in the example region.
786         (Source Code): Fix another typo.  Explain that publishing from
787         console or X can make a difference.
789         * lisp/muse-context.el (muse-context-pdf-program): New option that
790         determines the program to use for generating PDF files for
791         ConTeXt.
792         (muse-context-pdf-cruft): New option that specifies the extensions
793         of files to remove after generating PDF output successfully.
794         (muse-context-slides-header): Docfix.
795         (muse-context-pdf-generate): Use new options.
797         * lisp/muse-publish.el (muse-publish-lisp-tag): Add missing
798         save-restriction call.  This was causing a world of hurt when
799         using <lisp> inside of <include>.
801         * texi/muse.texi (ConTeXt): New section that documents how to use
802         the ConTeXt publishing styles.
804 2007-07-23  Michael Olson  <mwolson@gnu.org>
806         * lisp/muse-context.el: New file that provides support for
807         publishing documents to the ConTeXt format.  Thanks to Jean Magnan
808         de Bornier for his work on this.
810         * lisp/muse-docbook.el (muse-docbook-entities)
811         (muse-docbook-bibliography): Remove unneeded save-restriction use.
813         * lisp/muse-latex2png.el (muse-publish-latex-tag):
814         s/contex/context/.
816         * lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
817         (muse-latex-bibliography): Remove call to `widen', since it is not
818         needed anymore.  Remove unneeded save-restriction use.
819         ("slides", "slides-pdf"): Indent elements uniformly.
821 2007-07-22  Michael Olson  <mwolson@gnu.org>
823         * lisp/muse-blosxom.el (muse-blosxom-new-entry):
824         * lisp/muse-mode.el (muse-insert-tag):
825         * lisp/muse-project.el (muse-read-project)
826         (muse-read-project-file):
827         * lisp/muse-publish.el (muse-publish-get-style): Use
828         muse-completing-read-function.
830         * lisp/muse-latex2png.el (muse-publish-latex-tag)
831         (muse-publish-math-tag): Allow the context style -- which I plan
832         to include soon -- to work with these tags.
834         * lisp/muse.el (muse-completing-read-function): New option that
835         determines which function to call when doing a completing-read.
837 2007-07-15  Michael Olson  <mwolson@gnu.org>
839         * lisp/muse-journal.el (muse-journal-html-entry-template)
840         (muse-journal-rdf-entry-template)
841         (muse-journal-rss-entry-template): Mention that this can be text
842         or a filename.
843         (muse-journal-rdf-entry-template, muse-journal-rss-header)
844         (muse-journal-rss-footer, muse-journal-rss-entry-template): Add
845         newlines to make the output look nicer.
846         (muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
847         Use muse-insert-file-or-string for the entry templates, rather
848         than muse-insert-markup.  This allows <lisp> and <markup> tags to
849         be acted on.  Thanks to Scott Hyde for the report.
850         (muse-journal-html-munge-buffer): Escape quote of the day using
851         entire-document specials before snarfing it.  Mark entire template
852         as read-only -- this fixes an incorrect escaping bug.  Remove
853         read-only properties before replacing template matches so that
854         they can still be escaped with entire-document specials later on.
855         (muse-journal-rss-munge-buffer): Make sure that title is escaped
856         properly.
857         (muse-journal-markup-tags): Rename from
858         muse-journal-latex-markup-tags, because we will use it for
859         journal-rss-entry as well.
860         (muse-journal-qotd-tag): Move higher.  Use begin-quote-item and
861         end-quote-item.
862         (muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
863         html.
864         ("journal-latex", "journal-pdf", "journal-book-latex")
865         ("journal-book-pdf"): Use muse-journal-markup-tags rather than
866         muse-journal-latex-markup-tags.
867         ("journal-rss-entry"): New style that is used by journal-rss and
868         journal-rdf to mark up individual entries.  It is needed so that
869         we can do something meaningful with the qotd tag.
870         (muse-journal-rdf-summarize-entries): Set this to nil by default,
871         because it is annoying.  Update docs to mention this.
872         (muse-journal-rss-summarize-entries): Docfix.
874         * lisp/muse-publish.el (muse-insert-file-or-string): Use
875         muse-publish-markup-header-footer-tags.  I'm not quite sure how
876         this change got reverted.
877         (muse-markup-tag-info): Make into a function.  Move common code
878         here, rather than duplicating it in two places.  Deal with case
879         where muse-publish-use-header-footer-tags is non-nil.
880         (muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
881         (muse-inhibit-style-tags): Move higher to avoid byte-compiler
882         warning.
883         (muse-publish-use-header-footer-tags): New variable that indicates
884         whether we should use just the header and footer tags, rather than
885         the full set.
886         (muse-insert-file-or-string): Bind
887         muse-publish-use-header-footer-tags to t.
888         (muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
889         Simplify call to muse-markup-tag-info.
890         (muse-publish-mark-up-tag): Bind
891         muse-publish-use-header-footer-tags to nil.
893         * texi/muse.texi (Journal): Update for recent changes.
895 2007-07-14  Michael Olson  <mwolson@gnu.org>
897         * lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
898         delete the remainder of the buffer, since this causes the
899         resulting RDF to have invalid syntax.  Thanks to Phillip Lord for
900         the report and the suggested fix.
902         * lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
903         beginning of table-el regexp.  This fixes a bug where Muse stalls
904         when trying to publish a malformed table.  Thanks to Ye Wenbin for
905         the report and the suggested fix.
907 2007-07-12  Michael Olson  <mwolson@gnu.org>
909         * lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
910         default, rather than the empty string.  This really fixes the bug
911         that occurred when using Muse with muse-project-alist set to nil.
912         Thanks to Jonathan Underwood for the report.
913         (muse-wiki-update-interwiki-regexp): Set
914         muse-wiki-interwiki-regexp to nil if muse-project-alist is not
915         defined.
916         (muse-wiki-handle-implicit-interwiki)
917         (muse-wiki-handle-explicit-interwiki): Handle case where
918         muse-wiki-interwiki-regexp is nil.
920 2007-07-10  Michael Olson  <mwolson@gnu.org>
922         * lisp/muse-mode.el (muse-grep): Abort search if the current
923         project contains no directories.
925         * lisp/muse-project.el (muse-project-file-alist): If
926         muse-project-alist is not defined, or project is nil, return nil
927         right away.  This ought to fix a bug that occurred when using Muse
928         with muse-project-alist set to nil.
929         (muse-project-of-file): Make sure muse-project-alist is not nil.
930         (muse-project-save-buffers): Make sure project is not nil.
932         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
933         case where muse-project-alist is nil.
935         * lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
936         for XEmacs, since color-theme.el is poorly behaved, and defines
937         its own replace-in-string.  Bad color-theme.el -- no cookie for
938         you.
940 2007-07-01  Michael Olson  <mwolson@gnu.org>
942         * Makefile (.PHONY): Update for new debian package rules.
944         * lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
946         * lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
947         Use save-restriction properly.
948         (muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
950         * lisp/muse-latex.el (muse-latex-footer): Wrap long line.
951         (muse-latex-fixup-citations): Re-indent.  Use save-restriction
952         properly.
953         (muse-latex-bibliography): Re-indent.
955         * lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
956         higher.  This fixes an error at startup with some versions of
957         Emacs.
958         (muse-publish-cite-tag): Re-indent.
960         * lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
961         to the end of the link part, so as to exclude the description from
962         the match.  This fixes a bug with three-part links that have
963         descriptions.  Thanks to everyone who pointed it out.
965 2007-06-18  Michael Olson  <mwolson@gnu.org>
967         * lisp/muse-html.el (muse-html-markup-strings): Add anchor.
968         (muse-xhtml1.1-markup-strings): New option that specifies XHTML
969         1.1 specific markup strings.
970         (muse-html-insert-anchor): Use 'anchor string, rather than
971         hard-coding it.  Thanks to Chris Corsair for the suggestion.
972         ("xhtml1.0"): New style that is an alias for the xhtml style.
973         ("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
975 2007-06-17  Michael Olson  <mwolson@gnu.org>
977         * examples/QuickStart.muse: Make images local so that the Info
978         version of this document works.  Add <example> for the Literal
979         paragraphs chapter, so that it is clear what is happening.
981         * Makefile: Add elpa target, which is used for building an ELPA
982         package for Muse.
984         * Makefile.defs (ELPADIR, ELPADESC): New variables used for
985         building ELPA packages.
987         * examples/Makefile (%.html, %.pdf, %.info): Add message to
988         indicate what we are publishing.
989         (realclean distclean fullclean): Remove all TeX crud.
991         * examples/emacs-muse.png, examples/muse-made-with.png: Include so
992         that the Info version of QuickStart can publish correctly.
994         * lisp/muse-latex.el (muse-latex-slides-header)
995         (muse-latex-lecture-notes-header): Docfix.
997         * lisp/muse-project.el (muse-project-ignore-regexp): Add .git to
998         the list of things to ignore.
1000         * lisp/muse-publish.el (muse-publish-markup-list): Remove unused
1001         variable.
1003         * lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
1004         default to nil, since texinfmt.el is a serious nuisance.
1005         (muse-texinfo-markup-strings): Add newlines to begin-example and
1006         end-example.
1007         (muse-texinfo-decide-specials): Also escape URL-type specials in a
1008         whole slew of other contexts.
1010         * lisp/muse-xml-common.el (muse-xml-encoding-map): Change group to
1011         muse-xml.
1013         * lisp/muse-xml.el (muse-xml-footer): Docfix.
1015         * lisp/muse.el (muse-version): Release Emacs Muse version 3.03.
1017 2007-06-16  Michael Olson  <mwolson@gnu.org>
1019         * etc/IDEAS.muse: Add some ideas from David D. Smith.
1021         * examples/QuickStart.muse: Overhaul.
1023         * lisp/muse-project.el (muse-project): Call the last part of a
1024         muse-project-alist entry "Output styles" rather than "styles".
1026         * lisp/muse-publish.el (muse-publish-table-fields): Handle case
1027         where we have a pipe character at the beginning of line.
1029         * lisp/muse-xml-common.el (muse-xml-sort-table): Fix typo that was
1030         causing tables to not be sorted at all.
1032         * texi/muse.texi: Overhaul.  It would be too time-consuming to
1033         list all of the changes here.  The "Getting Started" and
1034         "Projects" chapters, in particular, were heavily revised.
1036 2007-06-15  Michael Olson  <mwolson@gnu.org>
1038         * NEWS: Update.
1040         * examples/QuickStart.muse: Mention new features.
1042         * lisp/muse-colors.el (muse-colors-toggle-inline-images): Docfix.
1043         Remove C-c C-i keybinding, since it conflicts with C-c TAB in the
1044         terminal, and C-c TAB is more important.  Most people will not
1045         want to toggle images on and off that often.
1047         * lisp/muse-mode.el (muse-mode-map): Bind muse-insert-thing to C-c
1048         C-i as well, so that it works in the terminal.
1050         * lisp/muse-publish.el (muse-publish-literal-tag): Make the output
1051         look a bit tidier when removing the region.
1053         * lisp/muse-regexps.el (muse-list-item-regexp): Put definition
1054         list regexp part before other parts.
1055         (muse-ol-item-regexp): New regexp that specifies how to match an
1056         ordered list item.
1057         (muse-ul-item-regexp): New regexp that specifies how to match an
1058         unordered list item.
1059         (muse-table-field-regexp): New regexp that specifies how to match
1060         a definition list entry.
1062         * lisp/muse-texinfo.el (muse-texinfo-info-generate): Work around
1063         lack of support for @headitem in texinfmt.el.
1065         * lisp/muse.el: Wrap muse-line-beginning-position and
1066         muse-line-end-position in `eval-and-compile', since they are now
1067         used in muse.el.
1068         (muse-list-item-type): Use a simpler algorithm for detecting which
1069         kind of list item we have.  This fixes a bug where a number in a
1070         definition list term was being detected incorrectly as an ordered
1071         list item.  Fixes bug #6250.
1072         (muse-forward-list-item): Get the entire line with the list item.
1073         For some reason, Emacs 21 was not populating match 2 correctly,
1074         unlike Emacs 22, so this workaround was needed.
1076         * texi/muse.texi: (Keystroke Summary): Remove C-c
1077         C-i (`muse-insert-tag') documentation, and mention C-c C-i as an
1078         alternative keybinding to the C-c TAB stuff.  Mention
1079         muse-colors-toggle-inline-images.
1081 2007-06-14  Michael Olson  <mwolson@gnu.org>
1083         * README: Mention that RelaxNG schema is in etc/ directory.
1085         * etc/emacs-wiki-migration.txt: New document that explains how to
1086         migrate from emacs-wiki to Muse.
1088         * etc/muse.rnc: Increment version number to 1.0.  Fix several
1089         nested emphasis and nested lists edge cases.  Move here from
1090         examples/.
1092         * lisp/muse-mode.el (muse-mode-map): Permit C-c C-M-t to do the
1093         same thing as C-c C-S-t, since the former works better in the
1094         console.  Thanks to Leo for the suggestion.
1096         * lisp/muse-publish.el (muse-publish-markup-table)
1097         (muse-publish-markup-table-el): Include a newline in the return
1098         string, so that paragraph detection does not get confused.
1100         * lisp/muse.el (muse-with-temp-buffer): Docfix.
1102         * texi/muse.texi (Keystroke Summary): Document the C-c C-M-t
1103         keybinding.
1105 2007-06-13  Michael Olson  <mwolson@gnu.org>
1107         * etc/IDEAS.muse: Mark three-part-links item as done.
1109         * experimental/muse-message.el: Remove guard for muse-define-style
1110         calls.
1112         * lisp/muse-colors.el (muse-configure-highlighting): Fix bug where
1113         markup rules were being interpreted in reverse order.  This should
1114         make implicit interwiki links work properly again.
1115         (muse-link-face): Strip anchor from end of a path, so that this
1116         works with anchors in interwiki links.
1117         (muse-colors-insert-image): Catch error that occurs in Emacs 21
1118         when an image does not exist.
1120         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Permit
1121         anchors.
1122         (muse-wiki-handle-implicit-interwiki): Docfix.  Make anchors in
1123         interwiki links work.  Thanks to Jim Ottaway for the initial
1124         implementation.
1125         (muse-wiki-handle-explicit-interwiki): Make anchors in interwiki
1126         links work.
1128         * lisp/muse.el (muse-handle-implicit-link): Docfix: only care
1129         about match 0.
1130         (muse-handle-explicit-link): Docfix: this does not modify the
1131         match data.
1132         (muse-file-remote-p): In Emacs 21, ange-ftp-name-format is a list
1133         that has the regexp in its car.
1135 2007-06-12  Michael Olson  <mwolson@gnu.org>
1137         * README: Document new etc/ directory.
1139         * etc/IDEAS.muse: Install things from new contributors just after
1140         the 3.03 release, since I won't have time to review the code
1141         before the release.  Move to new etc/ directory.  Slides
1142         publishing has been installed.
1144         * lisp/muse-latex.el (muse-latex-slides-header): New option that
1145         determines the header to use for publishing slides.
1146         (muse-latex-lecture-notes-header): New option that determines the
1147         header to use for publishing lecture notes.
1148         (muse-latex-slides-markup-tags): New option containing tags to use
1149         when publishing slides.
1150         (muse-latex-permit-contents-tag): Move higher in file.
1151         (muse-latex-slide-tag): New function to publish the <slide> tag.
1152         ("slides", "slides-pdf"): New publishing styles that create slides
1153         using Beamer.
1154         ("lecture-notes", "lecture-notes-pdf"): New publishing styles that
1155         create lecture notes using Beamer.
1157         * lisp/muse.el: Re-add the auto-mode-alist part to top-level,
1158         since otherwise Planner is not happy when `plan' is called during
1159         init.  Remove stray quote from autoload snippet.
1161 2007-06-11  Michael Olson  <mwolson@gnu.org>
1163         * lisp/muse.el: Make the add-to-list 'auto-mode-alist part an
1164         autoload, rather than having it exist at top-level.  Thanks to Leo
1165         for the suggestion.
1166         (muse-update-file-extension): Docfix.
1168 2007-06-10  Michael Olson  <mwolson@gnu.org>
1170         * lisp/muse-publish.el (muse-publish-strip-URL): Fix bug where
1171         URLs were being removed during publishing.  Thanks to everyone who
1172         reported this.
1174 2007-06-09  Markus Hoenicka  <markus.hoenicka@mhoenicka.de>
1176         * lisp/muse-book.el
1177         * lisp/muse-docbook.el
1178         * lisp/muse-latex.el
1179         * lisp/muse-publish.el: added support for <cite> element which
1180         denotes in-text citations
1182         * lisp/muse-html.el
1183         * lisp/muse-groff.el
1184         * lisp/muse-texinfo.el
1185         * lisp/muse-xml.el: added support for <cite> element (stub)
1187 2007-06-06  Michael Olson  <mwolson@gnu.org>
1189         * lisp/muse-regexps.el (muse-table-line-regexp)
1190         (muse-table-hline-regexp, muse-table-el-border-regexp): Fix
1191         regexps so that they work with XEmacs 21.  Thanks to Adrian
1192         Tritschler for the report.
1194         * texi/muse.texi: Update copyright years.
1195         (HTML): Document muse-xhtml-style-sheet.  Thanks
1196         to thorne for noticing.
1197         (Development): Change archive year to 2006.  Thanks to Adrian
1198         Tritschler for noticing.  So *that's* why some people had the 2005
1199         version ....
1201 2007-06-05  Michael Olson  <mwolson@gnu.org>
1203         * Makefile (install-info): Remove $(MANUAL).info part, since this
1204         is taken care of already by texi/Makefile.  Thanks to Leo for the
1205         report.
1207         * lisp/muse-journal.el (muse-journal-html-munge-buffer): Add
1208         read-only properties to qotd contents, so that they don't get
1209         double-escaped.  Thanks to Leo for the report.
1211 2007-06-04  Michael Olson  <mwolson@gnu.org>
1213         * lisp/muse-colors.el (muse-link-face): If the link is to a remote
1214         -- that is, Tramp or ange-ftp -- file, then do not call
1215         file-exists-p on it.  Thanks to Jim Ottaway for the suggestion.
1216         Fixes bug #5115.
1218         * lisp/muse-html.el (muse-html-insert-contents): Add
1219         documentation.  Handle case where heading is read-only, but has
1220         muse-contents property.  Remove the muse-contents property for any
1221         heading we come across so as to avoid double-including an item in
1222         an outer table of contents.
1223         (muse-html-denote-headings): New function that denotes whether a
1224         heading is not read-only by adding the muse-contents property to
1225         it.
1226         (muse-html-munge-buffer): If we are not to generate contents,
1227         still denote headings, in case some outer layer wants to generate
1228         contents for our headings.  This should fix a bug with table of
1229         contents and the <include> tag.  Thanks to thorne for the report.
1231         * lisp/muse-publish.el (muse-publish-markup-region): Let-bind
1232         muse-publish-generate-contents and set it to nil.  This should
1233         do the right thing when using <include> tags.
1235 2007-06-02  Michael Olson  <mwolson@gnu.org>
1237         * NEWS: Update for non-inlined image change and support for
1238         table.el style tables.
1240         * examples/Makefile (clean): Clean backup files.
1242         * examples/QuickStart.muse (Images): New section that describes
1243         how to inline and not inline images.
1245         * lisp/muse-colors.el (muse-colors-resolve-image-file): Don't
1246         touch images that have "URL:" in front of them.
1248         * lisp/muse-protocols.el (muse-url-protocols): Add handler for
1249         "URL:".  Use the identity function to resolve, since we don't want
1250         to rip "URL:" out while publishing, due to some magic that depends
1251         on that text.
1252         (muse-browse-url-url): New function that browses URLs that have
1253         "URL:" in front of them, by removing the "URL:" part and
1254         reprocessing the remainder.
1256         * lisp/muse-publish.el (muse-publish-classify-url): Docfix.
1257         (muse-publish-url): Recognize images in the description before
1258         images in the link.  Fixes bug #5112.  Thanks to Thomas Kappler
1259         for the suggested workaround.
1260         (muse-publish-desc-transforms): Add `muse-publish-strip-URL' as a
1261         default value.
1262         (muse-publish-classify-url): If target begins with "URL:" return
1263         type url.
1264         (muse-publish-strip-URL): New function that strips "URL:" from the
1265         beginning of a string.  This is used to remove URL: from the link
1266         description.  * texi/muse.texi (Markup Strings): Clarify the
1267         meanings of image-link, link, and link-and-anchor.
1268         (muse-publish-markup-regexps): Move normal table rule to 2350.
1269         Rule 2300 is now a regexp that matches table.el-style tables.
1270         (muse-publish-markup-functions): Add table-el entry.
1271         (muse-publish-table-el-table): New function that given a variant,
1272         publishes a table.el-style table using the table in the matched
1273         region.
1274         (muse-publish-markup-table-el): New function that determines
1275         whether the table.el-style table can be published, and what
1276         variant to use.
1278         * lisp/muse-regexps.el (muse-tag-regexp): New regexp that matches
1279         the borders of table.el-style tables.
1281         * lisp/muse-xml-common.el (muse-xml-markup-table): Make sure that
1282         the table has sufficient whitespace in front of it.
1284         * texi/muse.texi (Images): Update for new non-inlined image
1285         ability and provide example.
1287 2007-05-31  Michael Olson  <mwolson@gnu.org>
1289         * NEWS: Add example for setting `muse-html-table-attributes'.
1291         * lisp/muse-xml-common.el (muse-xml-markup-table): Add docstring.
1292         Publish multiple tbody tags if there is a horizontal separator
1293         after the heading, because that is valid HTML after all.
1295 2007-05-30  Michael Olson  <mwolson@gnu.org>
1297         * NEWS: Update.
1299         * lisp/muse-latex.el (muse-latex-markup-table): Deal with
1300         horizontal separators in tables.
1302         * lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
1303         horizontal separators in tables.
1304         (muse-publish-trim-table): New function to remove initial and
1305         final blank columns from a table.
1306         (muse-publish-table-fields): Call `muse-publish-trim-table'.  Deal
1307         with horizontal separators, aka "hlines".
1309         * lisp/muse-regexps.el (muse-table-hline-regexp): New regexp that
1310         defines the syntax of a horizontal separator in a table.
1312         * lisp/muse-texinfo.el (muse-texinfo-markup-table): Deal with
1313         horizontal separators.  Publish header lines correctly.
1315         * lisp/muse-xml-common.el (muse-xml-sort-table): Deal with case
1316         where we have nonnumbers as a row type.  This ignores sorting for
1317         hlines.
1318         (muse-xml-markup-table): Deal with horizontal separators.  If the
1319         markup supports table groups, make hlines separate table groups.
1320         Otherwise, ignore them, since they cannot be marked up.  Together,
1321         these changes allow us to support orgtbl-mode tables.  Thanks to
1322         Carsten Dominik for the suggestion.
1324 2007-05-26  Michael Olson  <mwolson@gnu.org>
1326         * lisp/muse-project.el (muse-project-alist-styles): Allow for
1327         other things to be added to each generated style as well.  For
1328         example, this permits me to add
1329         :base-url "http://blog.mwolson.org/"
1330         for my blog.
1332 2007-05-25  Michael Olson  <mwolson@gnu.org>
1334         * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
1335         way of building Debian packages that preserves the original
1336         release tarball and is more modular.
1337         (debrevision, debrelease): Remove.
1338         (dist): No need to remove the debian/ directory, since it is now
1339         in its own branch.
1340         (debprepare): Copy over debian/ directory properly.
1342         * NEWS: Update.
1344         * examples/Makefile (clean): Remove QuickStart.texi, in case
1345         something went wrong during the build.
1346         (%.pdf): Publish the example using the normal pdf style, rather
1347         than info-pdf.
1349         * examples/QuickStart.muse: Add myself to the authors list.
1351         * lisp/muse-html.el (muse-html-src-tag): Ensure that we have
1352         sufficient blank lines before the tag.
1354         * lisp/muse-journal.el (muse-journal-latex-qotd-tag): Ensure that
1355         we have sufficient blank lines before the tag.
1357         * lisp/muse-latex.el (muse-latex-pdf-program): New option that
1358         specifies the program to call in order to generate PDF content
1359         from LaTeX content.
1360         (muse-latex-pdf-cruft): New option that specifies the extensions
1361         of files to remove after generating PDF output successfully.
1362         (muse-latex-pdf-generate): Use these new options.  Work around the
1363         annoying edge case where a tilde character exists in the filename
1364         or directory path -- now this can only error out when the relative
1365         path from the output file to the source file contains a tilde,
1366         which is far less likely.
1368         * lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
1369         muse-publish-ensure-block here after all, because <lisp> et al may
1370         occur inline as part of other things.
1372         * lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
1373         occur after full-document escaping, rather than before.  This
1374         prevents automatically-inserted Texinfo code from being escaped.
1375         (muse-texinfo-pdf-generate): Rewrite to call
1376         `muse-latex-pdf-generate' with pdftex as the generating binary,
1377         because texi2pdf suffers irredeemably from the tilde edge case
1378         mentioned above.
1380 2007-05-24  Michael Olson  <mwolson@gnu.org>
1382         * NEWS: Drop vague entries and position interesting entries closer
1383         to the top of each section.  Update for new changes.
1385         * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
1386         and bzr metadata directories to the list of things to ignore.
1388         * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
1389         `muse-publish-ensure-block-tag', since we will use it for more
1390         than just tags.
1391         (muse-publish-markup-list, muse-publish-verse-tag)
1392         (muse-publish-quote-tag, muse-publish-example-tag)
1393         (muse-publish-markup-attribute): Use it.  This fixes a bug that
1394         can occur when these types of markup occur immediately after a
1395         paragraph.  It's good to have defined behavior!
1397         * texi/muse.texi (Markup Strings): Mention new argument for
1398         link-and-anchor.
1400 2007-05-19  Michael Olson  <mwolson@gnu.org>
1402         * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
1403         published footnotes and footnote references.  Thanks to Scott
1404         Jaderholm for the idea.
1406         * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
1407         link-and-anchor, on the recommendation of the original submitter.
1409 2007-05-14  Michael Olson  <mwolson@gnu.org>
1411         * lisp/muse-latex.el (muse-latex-markup-strings): Use better
1412         link-and-anchor markup.  Thanks to Jean Magnan de Bornier for the
1413         suggestion.
1415         * lisp/muse-publish.el (muse-publish-url): Pass the url without a
1416         file extension as the fourth argument.
1418         * README, texi/muse.texi (Getting Help and Reporting Bugs):
1419         Mention the new muse-el-logs mailing list.
1421 2007-05-13  Michael Olson  <mwolson@gnu.org>
1423         * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
1424         "\`" here.  This fixes a problem with publishing custom URLs.
1426 2007-05-12  Michael Olson  <mwolson@gnu.org>
1428         * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
1429         update the list if the current buffer is associated with a file.
1430         This fixes a bug with M-x muse-publish-region in a temporary
1431         buffer.
1433 2007-05-01  Michael Olson  <mwolson@gnu.org>
1435         * lisp/muse-publish.el (muse-publish-region): Remove read-only
1436         properties from the published buffer, so that the results can be
1437         manually tweaked.
1439 2007-04-23  Michael Olson  <mwolson@gnu.org>
1441         * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
1442         find the footnote that goes with a reference, leave the reference
1443         as-is.  This fixes an error where control characters could be
1444         placed in a published document.
1446 2007-04-22  Michael Olson  <mwolson@gnu.org>
1448         * IDEAS.muse: Add muse-slides.el to list of things to include
1449         before release.
1451         * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
1452         character.
1453         (muse-protocol-find): Find protocols correctly.  Rewrite to use
1454         catch/throw.
1455         (muse-browse-url): Don't concatenate "\`" here.  Together, this
1456         fixes a bug with browsing woman:// links.
1458         * lisp/muse-project.el (muse-project-alist-styles): Deal with case
1459         where entry-dir has a trailing backslash.
1460         (muse-project-publish-file): If a style is malformed, skip it and
1461         display a warning message.  This should help people figure out
1462         where the problem is.
1464 2007-04-21  Michael Olson  <mwolson@gnu.org>
1466         * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
1467         yet-to-be-included "contex" publishing style, use "$$" rather
1468         than "\[" and "\]".  Thanks to Jean Magnan de Bornier for pointing
1469         this out.
1471 2007-04-20  Michael Olson  <mwolson@gnu.org>
1473         * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
1474         variable that causes the :before and :before-end hooks to be
1475         ignored when non-nil.
1476         (muse-publish-markup-region): Use it.  Also, guarantee that point
1477         is at end of region after publishing.
1478         (muse-publish-mark-up-tag): Simplify, taking advantage of the new
1479         variable.
1481 2007-04-19  Michael Olson  <mwolson@gnu.org>
1483         * IDEAS.muse: New file containing a list of ideas we have for new
1484         features, or patches that have yet to be applied.
1486         * README: Call it "Emacs Muse", not "the Emacs Muse".  No need to
1487         be so confusing.
1489         * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
1490         docstring.
1492         * lisp/muse-publish.el (muse-publish-markup-tags): Handle
1493         <literal> tags with muse-publish-literal-tag, rather than
1494         muse-publish-mark-read-only.
1495         (muse-publish-literal-tag): New function that publishes the
1496         <literal> tag.  It adds the ability to add the optional "style"
1497         and "exact" elements, which cause text to only be included if the
1498         current publishing style matches some criteria.  The text will be
1499         removed otherwise.  Thanks to Jim Ottaway for the implementation.
1500         (muse-publish-mark-up-tag): Let the <markup> tag take the
1501         additional optional elements "style" and "exact", with much the
1502         same effect as the <literal> improvements, but after calling
1503         "function" or publishing the region first.  Make it possible to
1504         put <content> tags in <markup> regions in HTML publishing.
1506 2007-04-12  Michael Olson  <mwolson@gnu.org>
1508         * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
1509         that a blank line always exists after a heading.  This fixes a bug
1510         in Docbook paragraph detection.  Thanks to Jean Magnan de Bornier
1511         for the report.
1513         * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
1514         detection regexp to that which is used in Docbook and HTML
1515         publishing styles.
1517 2007-04-02  Michael Olson  <mwolson@gnu.org>
1519         * README (muse-el-announce): Make a listing of mailing lists,
1520         rather than pointing to the old EmacsWikiMailingList page.  Thanks
1521         to Andreas Roehler for noticing.
1523 2007-04-01  Michael Olson  <mwolson@gnu.org>
1525         * lisp/muse-publish.el (muse-publish-date-format): Add
1526 `       customization type and group.
1527         (muse-publish-region): New interactive function that publishes a
1528         region to a new buffer.
1530         * texi/muse.texi: Use "document" rather than "manual".
1532 2007-03-31  Michael Olson  <mwolson@gnu.org>
1534         * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
1535         expression (muse-style-derived-p "latex" (muse-style "latex"))
1536         yielded nil.  It now yields t, as expected.  Thanks to Jim Ottaway
1537         for the catch.
1539 2007-02-25  Michael Olson  <mwolson@gnu.org>
1541         * lisp/muse-publish.el (muse-publish-date-format): New option that
1542         specifies how to format the date when publishing Muse pages.
1543         Thanks to Thomas Gehrlein for the suggestion.
1544         (muse-publish-markup-buffer): Use it.
1546 2007-02-23  Michael Olson  <mwolson@gnu.org>
1548         * README: Add Prerequisites section to mention which versions of
1549         Emacs work with Muse.  Thanks to Exal de Jesus Garcia Carrillo for
1550         the suggestion.  Update link destination for Muse's page on
1551         emacswiki.org.
1553 2007-02-15  Michael Olson  <mwolson@gnu.org>
1555         * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
1556         be not just at beginning of line.  This fixes an error with the
1557         <class> tag.  Thanks to Jim Pivarski for the report.
1559 2007-02-14  Michael Olson  <mwolson@gnu.org>
1561         * lisp/muse-publish.el (muse-publish-classify-url): Check to see
1562         whether something is an image before checking to see if it is a
1563         URL.  Thanks to ITSUMI ken-ichi for the report.
1565 2007-02-13  Michael Olson  <mwolson@gnu.org>
1567         * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
1568         comments that have no text better.  Thanks to fang.lungang for the
1569         report.
1570         (muse-publish-markup-comment): Deal with case where no comment
1571         text is provided.
1573 2007-01-23  Michael Olson  <mwolson@gnu.org>
1575         * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
1576         that ensures that at least one blank line exists at the given
1577         position.  This is used to avoid paragraph detection problems when
1578         block-level tags like <example> immediately follow a paragraph.
1579         Thanks to Hans Ekbrand for the report.
1580         (muse-publish-example-tag): Use it.
1582 2007-01-19  Michael Olson  <mwolson@gnu.org>
1584         * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
1585         previous blank line if we are publishing in Latex.  Otherwise,
1586         that wouldn't be the right thing, so leave it be.
1588 2007-01-17  Michael Olson  <mwolson@gnu.org>
1590         * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
1591         multiple centered math lines on the same line; keep them on
1592         different lines.  Use \[ math-text \] instead of $$math-text$$,
1593         since the latter seems to be deprecated.  Thanks to Jody Klymak
1594         for the pointer.
1596 2007-01-15  Michael Olson  <mwolson@gnu.org>
1598         * lisp/muse-latex2png.el (muse-publish-latex-tag)
1599         (muse-publish-math-tag): Publish region read-only when current
1600         style is Latex-derived, so that Muse does not escape it.
1601         (muse-publish-math-tag): If 6 or more spaces come before the tag,
1602         surround the region with "$$" rather than "$".  This is the Muse
1603         syntax for something centered, so it should be a good fit.
1605 2007-01-15  Valery V. Vorotyntsev  <valery.vv@gmail.com>
1607         * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
1608         protocol.
1609         (muse-browse-url-man): Change man page URL format.  The code is
1610         simpler when the section is left inside parentheses.
1611         (muse-browse-url-woman): New function.
1613 2007-01-14  Michael Olson  <mwolson@gnu.org>
1615         * AUTHORS: Bookkeeping.
1617         * lisp/muse-latex2png.el: Associate <math> tag with
1618         muse-publish-math-tag, not muse-publish-latex-tag.  Thanks to Jody
1619         Klymak for the report.
1620         (muse-publish-math-tag): Use muse-insert-markup for the "$"
1621         characters, so they don't get escaped.
1623         * lisp/muse-publish.el (muse-style-derived-p-1): New function to
1624         make muse-style-derived-p easier to implement.
1625         (muse-style-derived-p): If the style is not provided, fetch it and
1626         check to see if the car is a string.  This should fix the other
1627         problem that was reported.
1629         * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
1630         explains a case where setting muse-file-extension to nil can cause
1631         unexpected behavior.
1633 2007-01-09  Michael Olson  <mwolson@gnu.org>
1635         * lisp/muse-publish.el (muse-publish-markup-regexps): Make
1636         comments higher priority than tags.  Thanks to Stefan van der Walt
1637         for the report.
1639 2007-01-08  Michael Olson  <mwolson@gnu.org>
1641         * lisp/muse-publish.el (muse-markup-tag-info): Use the given
1642         argument rather than calling match-string.  Thanks to Stefan van
1643         der Walt for the report.  This should fix a bug with publishing
1644         <include file="..." markup="example">.
1646 2007-01-06  Michael Olson  <mwolson@gnu.org>
1648         * Makefile (debclean): New rule split from debrevision and
1649         debrelease.
1650         (debbuild): Take distributor into account.
1652         * Makefile.defs (DISTRIBUTOR): New field that tracks what
1653         vendor/distributor we are building for.
1655 2007-01-04  Michael Olson  <mwolson@gnu.org>
1657         * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
1658         line.
1660         * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
1661         point to muse-publish-src-tag by default, since <src> and
1662         <example> have different parameters.
1663         (muse-publish-src-tag): New barebones publishing function for
1664         <src>, which is superseded when publishing in an HTML-based style.
1666 2007-01-03  Michael Olson  <mwolson@gnu.org>
1668         * lisp/muse-html.el (muse-html-src-tag): Document.
1670         * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
1671         command that calls a given tag on the current buffer.  Attributes
1672         may be passed.
1673         (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
1674         it.
1675         (muse-publish-srcify-buffer): New function that allows
1676         markup="src" in the <include> tag.
1677         (muse-publish-get-and-delete-attr): New macro that gets an
1678         attribute from a list and removes the first instance of that
1679         attribute from said list.
1680         (muse-publish-markup-attribute): Handle markup="src".
1681         (muse-publish-command-tag, muse-publish-include-tag): Use
1682         muse-publish-get-and-delete-attr.  This allows the remaining
1683         attributes to be passed.
1685         * texi/muse.texi (Tag Summary): Update for new <src> tag as well
1686         as changes to <command> and <include>.
1688 2006-12-30  Michael Olson  <mwolson@gnu.org>
1690         * NEWS: Update.
1692         * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
1693         from muse-publish-math-tag to avoid conflict with
1694         muse-latex2png.el.
1696 2006-12-23  Michael Olson  <mwolson@gnu.org>
1698         * lisp/muse-latex2png.el: Update header, since this has been
1699         rewritten sufficiently to not need an assignment from the original
1700         author.
1701         (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
1702         (muse-latex2png): Use two underscores to separate prefix and hash.
1703         (muse-latex2png-region): New function split from
1704         muse-publish-latex-tag that can be used easily by other code.
1705         Detect whether we are using an HTML-based publishing style, and
1706         insert a simpler markup if we are not.  If we are using a
1707         Latex-based publishing style, do not generate an image, and leave
1708         the region alone.  Return the path of the generated image, in case
1709         other functions want to use this programmatically.
1710         (muse-publish-latex-tag): Set a default prefix based on the name
1711         of the current file.
1712         (muse-publish-math-tag): New tag that surrounds the region with
1713         "$" characters, so that it becomes a Latex math region, and then
1714         publishes it.
1716         * lisp/muse-publish.el (muse-style-derived-p): New function that
1717         returns non-nil if a given style, or the current style if omitted,
1718         is equal to or derived from the given base style.  This is useful
1719         in <lisp> tags, because it allows the user to specify markup that
1720         is only to be inserted for one particular style.
1722 2006-12-22  Michael Olson  <mwolson@gnu.org>
1724         * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
1725         (muse-html-src-tag): New function which publishes the <src> tag.
1726         Thanks to Clinton Ebadi and Charles Wang for the initial
1727         implementations.
1729         * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
1731 2006-12-21  Michael Olson  <mwolson@gnu.org>
1733         * examples/johnw/muse-johnw.el: Update for preferred
1734         muse-derive-style usage.  Rename to muse-init.el.
1736         * examples/mwolson/muse-init.el: Update.
1738         * lisp/muse-book.el (muse-book-publish): New function split from
1739         muse-book-publish-project.  This is used in the definitions for
1740         the book-latex and book-pdf styles.
1741         (muse-book-publish-p): New function split from muse-book-publish.
1742         (muse-book-get-directives): New function that retrieves the
1743         publishing directives from the given file.
1744         (muse-book-publish): Use muse-book-get-directives to set the title
1745         if no title was specified.
1747         * lisp/muse-project.el (muse-project): Add :publish-project entry
1748         to widget.
1749         (muse-read-project, muse-project-find-file): Message fix.
1750         (muse-project-publish-file-default): New function split from
1751         muse-project-publish-file.
1752         (muse-project-publish-file): Allow file-level publishing function
1753         to be specified by the :publish element.  The default is
1754         muse-project-publish-file-default.
1755         (muse-project-publish-default): New function split from
1756         muse-project-publish.
1757         (muse-project-publish): Allow project-level publishing function to
1758         be specified by :publish-project element.  The default is
1759         muse-project-publish-default.
1761         * lisp/muse-publish.el (muse-publish-file): Message fix.
1763         * texi/muse.texi (Book): Mention new way to publish books and
1764         provide an example, since the process may be non-obvious.
1766 2006-12-20  Michael Olson  <mwolson@gnu.org>
1768         * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
1769         content-modifying code from the rest of
1770         muse-docbook-finalize-buffer.
1772         * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
1773         muse-groff-finalize-buffer, since it adds content to the buffer.
1775         * lisp/muse-html.el (muse-html-munge-buffer): Split out
1776         content-modifying code from the rest of muse-html-finalize-buffer.
1777         This fixes a bug when using <include> with <content> tags.
1779         * lisp/muse-journal.el (muse-journal-html-munge-buffer)
1780         (muse-journal-latex-munge-buffer)
1781         (muse-journal-rss-munge-buffer): Rename, since they add content to
1782         the buffer.
1784         * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
1785         muse-latex-finalize-buffer, since it adds content to the buffer.
1787         * lisp/muse-mode.el:
1788         * lisp/muse-project.el:
1789         * lisp/muse-publish.el:
1790         * lisp/muse.el: Fix recursive load error.
1792         * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
1793         muse-texinfo-finalize-buffer, since it adds content to the buffer.
1795         * lisp/muse-wiki.el: Comment cleanup.
1797         * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
1799 2006-12-17  Michael Olson  <mwolson@gnu.org>
1801         * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
1802         Remove the definition of \comment, since Latex already has comment
1803         syntax.
1804         (muse-latex-markup-strings): Use the Latex comment syntax, rather
1805         than our own.  Thanks to Ryan Stutsman for pointing this out.
1807 2006-12-02  Michael Olson  <mwolson@gnu.org>
1809         * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
1810         that this can generate a proper table of contents for Planner HTML
1811         publishing.
1813 2006-12-01  Michael Olson  <mwolson@gnu.org>
1815         * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
1816         using a very old Emacs, avoid an infinite loop that could occur
1817         when the regexp is an empty string.
1819 2006-11-26  Michael Olson  <mwolson@gnu.org>
1821         * NEWS: Bring up to date.
1823         * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
1824         list issues and multiple-stanza verse issues.  This takes care of
1825         all of the markup issues I was worried about.
1827         * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
1828         (muse-project-publish-private-files): New option that indicates
1829         whether files with private filesystem permissions should be
1830         published.  The default is to publish them, since it avoids
1831         confusion in new users.
1832         (muse-project-private-p): Use it.
1834 2006-11-19  Michael Olson  <mwolson@gnu.org>
1836         * lisp/muse-project.el (muse-project-resolve-link): If no remote
1837         style is found, which means that the link is not a Muse page, do
1838         not add a suffix or prefix to it.  This should fix the
1839         "[[thing.owl]]" bug that Phillip Lord reported.
1841         * lisp/muse-publish.el (muse-publish-link-file): Simplify by
1842         removing unused 2nd argument.
1844 2006-11-17  Michael Olson  <mwolson@gnu.org>
1846         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
1847         latex publishing where nested enumerated lists would be squashed
1848         together at the end.
1850 2006-11-16  Michael Olson  <mwolson@gnu.org>
1852         * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
1853         list embedded in a definition list look right.  This also allows
1854         for definitions to be separated from their terms, much like the
1855         way HTML does it by default, if the user puts a blank line or a
1856         line break between the term and the definition.  If the term and
1857         definition are on the same line, they will be that way in the
1858         output as well.
1860 2006-11-11  Michael Olson  <mwolson@gnu.org>
1862         * muse.texi (Markup Strings): Fix typo.  Thanks to Haiyong Zheng
1863         for the report.
1864         (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
1866 2006-11-07  Michael Olson  <mwolson@gnu.org>
1868         * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
1869         release candidate for Muse 3.03, available.
1871         * NEWS: Update.
1873 2006-11-06  Michael Olson  <mwolson@gnu.org>
1875         * lisp/muse-project.el (muse-project-find-file): Fix bug when
1876         following a relative link worked even when the path was incorrect.
1878 2006-11-04  John Sullivan  <john@wjsullivan.net>
1880         * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
1881         muse-follow-name-at-point to reduce collisions with other
1882         modes (Planner).
1884         * muse.texi (Keystroke Summary): Remove C-c C-c binding.
1886 2006-11-04  Michael Olson  <mwolson@gnu.org>
1888         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
1889         optional, and make interwiki delimiter a regular rather than shy
1890         group.
1891         (muse-wiki-handle-implicit-interwiki): Rename from
1892         muse-wiki-handle-interwiki.  Use match group 3 to get the page.
1893         (muse-wiki-handle-explicit-interwiki): New function that is
1894         smarter about where an explicit link ends in a buffer.  This
1895         allows you to refer to page names with invalid Wiki characters,
1896         such as underscores and dashes, merely by enclosing them in double
1897         brackets.  Also, a bug with recognizing project names too loosely
1898         has been fixed.
1900 2006-11-03  Michael Olson  <mwolson@gnu.org>
1902         * lisp/muse-project.el (muse-project-page-file): Make relative
1903         links work as expected, hopefully.
1905         * lisp/muse-publish.el (muse-publish-this-file): Set the current
1906         output style manually, since it will differ from anything in the
1907         publishing style list.
1909 2006-10-30  Michael Olson  <mwolson@gnu.org>
1911         * lisp/muse-colors.el (muse-colors-markup): Remove note about
1912         grouping elements, since that no longer applies.
1913         (muse-colors-custom-tags): Explicitly match against
1914         muse-tag-regexp to get the match-data set the way we want.  This
1915         really fixes the <example> highlighting bug that Stefan reported.
1916         (muse-configure-highlighting): Set the original value to the
1917         symbol, not the modified value.  Re-use modified rules properly.
1919         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
1920         introduced yesterday.
1922 2006-10-29  Michael Olson  <mwolson@gnu.org>
1924         * examples/mwolson: Update my example configuration.
1926         * NEWS: Update.
1928         * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
1929         without a regexp in the first position before iterating through
1930         them to build muse-colors-vector.  This fixes a bug with the
1931         display of <example> tags.  Thanks to Stefan Reichör for the
1932         report.
1934         * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
1935         files in projects to be linked to.
1937         * lisp/muse-publish.el (muse-publish-url): Allow the original link
1938         to serve as a description for a URL, as long as it differs from
1939         the destination URL.  This fixes the description of WikPage links
1940         in PDF output.
1941         (muse-publish-link-file): Check to see whether the given link
1942         points at a valid file.  If so, return it.  Otherwise, apply other
1943         transforms like prefix and link suffix.
1945         * lisp/muse-regexps.el (muse-file-regexp): If something ends in
1946         "/", it is a file or directory, not a Muse page.  Thanks to
1947         Phillip Lord for the suggestion.
1949         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
1950         of the current page as the local path, instead of duplicating the
1951         remote file's path.  This probably fixes at least one reported
1952         bug. since it's quite major.
1953         (muse-wiki-update-project-file-regexp)
1954         (muse-wiki-update-interwiki-regexp): Ensure that nil is never
1955         passed to regexp-opt, since that can cause Emacs 21 to throw an
1956         "maximum binding depth exceeded" error.  Thanks to xs32 AT cornell
1957         DOT edu for the report.
1958         (muse-wiki-handle-wikiword): Avoid a potential stringp error.
1960 2006-10-28  Michael Olson  <mwolson@gnu.org>
1962         * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
1963         (muse-project-resolve-link): If the given style does not have a
1964         link-suffix, default to suffix.  This fixes a bug I was noticing
1965         when linking to a file that was published in both PDF and HTML
1966         form.
1968         * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
1969         function that is used as a callback to determine the initial
1970         amount of indentation that the current dl item has.
1971         (muse-publish-surround-dl): Use it.  Pass the initial indent value
1972         and the post-indent value, instead of trying to determine them
1973         both.
1974         (muse-publish-strip-list-indentation): New function stripped from
1975         `muse-publish-surround-text' for readability.
1976         (muse-publish-surround-text): Instead of taking a determine-indent
1977         value, take a determine-indent-func function, which is called just
1978         after finding the next list item.  If we are asked to determine
1979         the amount of indentation, concatenate indent and post-indent the
1980         first time around.  This effectively fixes all known definition
1981         list issues.
1983 2006-10-16  Michael Olson  <mwolson@gnu.org>
1985         * lisp/muse.el: Provide the 'muse-nested-tags feature so that
1986         other software -- namely, Planner -- can detect whether they are
1987         using a version of Muse that supports nested tags.
1988         (muse-goto-tag-end): Moved from muse-publish.el and renamed from
1989         muse-publish-goto-tag-end.
1991         * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
1992         Adapt for nested tags.
1994         * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
1995         <class> tag is nestable.  Thanks to Phillip Lord for noticing
1996         this.
1998         * lisp/muse-publish.el (muse-publish-markup-tag)
1999         (muse-publish-quote-tag): Use muse-goto-tag-end.
2001         * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
2003 2006-10-15  Michael Olson  <mwolson@gnu.org>
2005         * AUTHORS: Bookkeeping.
2007         * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
2008         tag.
2010         * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
2011         tags.
2013         * lisp/muse-html.el (muse-html-markup-tags): Ditto.
2015         * lisp/muse-import-docbook.el (muse-import-docbook)
2016         (muse-import-docbook-files): Docfix.
2017         (muse-import-docbook-get-title): Remove cl.el-ism.
2019         * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
2021         * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
2023         * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
2025         * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
2026         (muse-next-reference, muse-previous-reference): Minor whitespace
2027         changes.
2028         (muse-mode-choose-mode): Add autoload cookie.  Thanks to Leo for
2029         the suggestion.
2031         * lisp/muse-poem.el (muse-poem-tag): Ditto.
2033         * lisp/muse-publish.el (muse-publish-markup-tags)
2034         (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
2035         element and make 4th element determine whether tags are nestable.
2036         (muse-publish-goto-tag-end): New function that moves to the end of
2037         a tag.  Handle nested tags when NESTED is non-nil.
2038         (muse-publish-markup-tag): Call muse-publish-goto-tag-end.  Use
2039         5th element for function.
2040         (muse-publish-quote-tag): Handle nested quote tags.  I've tested
2041         this on several scenarios, and it seems to work.
2042         (muse-publish-surround-text): Accept new optional argument
2043         LIST-ITEM which determines the regexp to use for list items.  The
2044         default is to use muse-list-item-regexp.
2046         * muse.texi (Markup Tags): Mention nestable tags.
2048         * NEWS: Mention new files.
2050 2006-10-15  Elena Pomohaci  <e.pomohaci@gmail.com>
2052         * lisp/muse-import-docbook.el: New file that converts Docbook XML
2053         into Muse format.
2055         * lisp/muse-import-xml.el: New file that provides helper routines
2056         for converting XML-ish files to Muse format.
2058 2006-10-10  Michael Olson  <mwolson@gnu.org>
2060         * NEWS: Update for 3.02.7 bugfix release.
2062 2006-10-06  Sasha Kovar  <sasha@arcocene.org>
2064         * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
2065         using the value in the muse #date directive.
2066         (muse-blosxom-use-metadate): New option that determines whether or
2067         not to use the #postdate directive.
2068         (muse-blosxom-format-date): Convert a date string to PyBlosxom
2069         metadate plugin format.
2071 2006-09-30  Stefan Schlee  <stefan_schlee@yahoo.com>
2073         * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
2074         recognised URLs.
2076         * muse.texi: Clarify handling of implicit links by mentioning
2077         which characters can prevent Muse from recognizing something as an
2078         implicit link.
2080 2006-09-26  Stefan Schlee  <stefan_schlee@yahoo.com>
2082         * lisp/muse-mode.el (muse-next-reference)
2083         (muse-previous-reference): Fix bug #6367 by moving point to the
2084         beginning of the link.
2086 2006-09-26  Michael Olson  <mwolson@gnu.org>
2088         * lisp/muse-colors.el (muse-use-font-lock): Don't quote
2089         beginning-of-line.  This should fix a bug that was noticed in
2090         recent Emacs 22 builds.
2092         * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
2093         eval-and-compile block to avoid a compiler warning.
2095 2006-09-25  Jim Ottaway  <j.ottaway@lse.ac.uk>
2097         * lisp/muse-backlink.el (muse-backlink-split-string):
2098         Compatibility with Emacs versions < 22
2099         (muse-backlink-pending): New internal variable
2100         (muse-backlink-get-mode-hook): Find the major mode hook to use, so
2101         that backlinks are inserted at the right time.
2102         (muse-backlink-insert-hook-func): Remove unwind-protection; check
2103         for pending backlink, and that this is the targe page.
2104         (muse-backlink-handle-link): Don’t handle the link if we are
2105         already handling one. Return the link as well as the parent links.
2107 2006-09-25  Sasha Kovar  <sasha@arcocene.org>
2109         * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
2110         #6942 - muse-blosxom-new-entry fails when using tags.
2112 2006-09-14  Michael Olson  <mwolson@gnu.org>
2114         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
2115         compiler warning.
2117 2006-09-14  Jim Ottaway  <j.ottaway@lse.ac.uk>
2119         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
2120         function: Protect all wikiwords from START to END from further
2121         processing.
2122         (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
2124 2006-09-13  Michael Olson  <mwolson@gnu.org>
2126         * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
2127         adopted from Jim Ottaway's patch.  It removes links from the
2128         heading, and then marks the region read-only to inhibit WikiWord
2129         detection.
2131 2006-09-13  Jim Ottaway  <j.ottaway@lse.ac.uk>
2133         * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
2134         special handling for headings.
2135         (muse-texinfo-remove-links): New function that removes explicit
2136         links from the given strings, replacing them with a description.
2138 2006-09-11  Michael Olson  <mwolson@gnu.org>
2140         * muse.texi (Getting Help and Reporting Bugs): Mention the
2141         muse-el-internationalization mailing list.
2143         * lisp/muse.el (muse-path-sans-extension): New function that acts
2144         like file-name-sans-extension, but guarantees to never modify the
2145         directory part of the path.  Thanks to Evan Monroig for
2146         investigating this.
2148         * lisp/muse-book.el (muse-book-publish-project): Use
2149         muse-path-sans-extension instead of file-name-sans-extension.
2151         * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
2152         Ditto.
2154 2006-08-30  Michael Olson  <mwolson@gnu.org>
2156         * muse.texi (Blosxom Requirements): Fix typo.
2158         * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
2159         directories for bzr and darcs.
2161         * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
2162         contrib/pyblosxom/getstamps.py: Update version and headers.
2164 2006-08-27  Michael Olson  <mwolson@gnu.org>
2166         * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
2167         nil values before they get to mapconcat.  This fixes a lockup when
2168         muse-wiki-match-all-project-files is nil.
2170         * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
2171         (muse-wiki-ignore-implicit-links-to-current-page)
2172         (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
2173         (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
2174         (muse-wiki-publish-small-title-words)
2175         (muse-wiki-publish-pretty-title): Docfix.
2176         (muse-wiki-update-local-wikiword-regexp): Rename from
2177         muse-wiki-update-local-wikiword-regexp.  Set
2178         muse-wiki-project-file-regexp instead of
2179         muse-wiki-wikiword-regexp, as suggested by Per Sederberg.  Don't
2180         take muse-wiki-use-wikiword into account, since this is a
2181         different concept now.
2182         (muse-wiki-update-wikiword-regexp): Remove.
2183         (muse-wiki-wikiword-regexp): In-line the :set function.
2184         (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
2186 2006-08-26  Michael Olson  <mwolson@gnu.org>
2188         * lisp/muse-publish.el (muse-publish-surround-text): When looking
2189         for indented list items, ignore blank lines.
2191         * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
2192         (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
2193         mapconcat.  This should hopefully fix a problem with large amounts
2194         of files with spaces in their name.  Thanks to Greg Detre for the
2195         report.
2197 2006-08-24  Michael Olson  <mwolson@gnu.org>
2199         * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
2200         numbers from the argument to format-time-string.  This fixes an
2201         XEmacs bug.  Thanks to Michael Welle for the report and analysis.
2203 2006-08-18  Michael Olson  <mwolson@gnu.org>
2205         * lisp/muse-project.el (muse-project-file-entries): Since we are
2206         given a full path, match against the filename as well.  This fixes
2207         an issue where backup files were being added to the file alist.
2209         * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
2210         from muse-html.el.
2212 2006-08-12  Michael Olson  <mwolson@gnu.org>
2214         * Makefile (.PHONY): Don't use line continuations.
2215         (realclean fullclean): Call realclean in subdirs, not distclean.
2216         (distclean): Don't call realclean, since this would wipe out our
2217         autoloads file.
2218         (dist): Use correct path to autoloads file.
2220         * NEWS: Catch up with the latest changes.
2222         * experimental/Makefile (.PHONY): Wrap long line.
2224         * lisp/Makefile (distclean): Do the same thing as "clean", not
2225         "realclean".
2227         * lisp/muse-project.el (muse-project-get-applicable-style):
2228         Indentation tweak.
2229         (muse-project-ignore-regexp, muse-project-recurse-directory):
2230         Docfix.
2231         (muse-project-of-file): Try the ignored files regexp against the
2232         base filename as well as the entire path.
2234         * lisp/muse-publish.el (muse-publish-this-file): Display message
2235         if the buffer is not associated with any file, so that we avoid
2236         errors later on.
2237         (muse-publish-url-desc): New function taken from muse-publish-url
2238         that causes a URL description to be transformed.
2239         (muse-publish-url): Call muse-publish-url-desc on either the
2240         description or the original URL if it will be used as a
2241         description.  Accept the original URL as an argument, in case it
2242         was transformed earlier.
2243         (muse-publish-insert-url): Pass original URL as an argument.
2244         (muse-publish-markup-link): Make this somewhat easier to follow.
2245         Pass original URL as argument.
2246         (muse-publish-get-style): If the same style is used to publish to
2247         two different directories, prompt the user for which directory to
2248         use.
2249         (muse-publish-markup-header-footer-tags): Sync lisp tag with the
2250         latest changes.
2251         (muse-publish-markup-url): Pass original URL as an argument.  This
2252         fixes the "nil" description for bare URLs that was in 3.02.91.
2253         Nothing like finding a bug just after completing the announcement
2254         of a release.
2256         * lisp/muse.el: Use defalias whenever convenient.
2257         (muse-version): Set version to 3.02.92 (3.03 RC2).
2259 2006-08-10  Michael Olson  <mwolson@gnu.org>
2261         * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
2262         style does not derive from any other class, return `t' here.
2263         This, along with the corresponding change to muse-publish.el,
2264         fixes a problem with the table of contents getting inserted
2265         multiple times for custom html-based styles.
2266         (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
2267         smarter method for table centering that works with XHTML.
2269         * lisp/muse-latex2png.el Rename all functions to have a
2270         "muse-latex2png" prefix.  Turn all variables into customizable
2271         options in the muse-latex2png group.
2272         (muse-latex2png-img-dest): New option specifying where to place
2273         the images.
2274         (muse-latex2png-template): New option containing the template to
2275         use for the surrounding LaTeX code.
2276         (muse-latex2png-use-xhtml): New option that toggles strict XHTML
2277         compliance.
2278         (muse-latex2png-move2pubdir): Avoid multiple redundant error
2279         messages when something else goes wrong.  Create the image
2280         subdirectory if it doesn't exist already -- thanks to Christian
2281         Straßer for the report.  Expand the filename properly.
2282         (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
2283         and filename expansion.
2284         (muse-latex2png): Use the "muse-latex2png" prefix by default.  Set
2285         the default directory properly.
2287         * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
2288         do not run the same function twice.
2290 2006-08-08  Michael Olson  <mwolson@gnu.org>
2292         * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
2293         introduced wrong-type-argument error.
2295         * lisp/muse-html.el (muse-html-markup-strings)
2296         (muse-xhtml-markup-string): Cause table definition that contains
2297         image to be center-aligned.  This should fix an issue with images
2298         not being centered when captions are very long.
2300         * lisp/muse-publish.el (muse-publish-table-fields): Trim
2301         whitespace from fields once we have split them up.
2303         * lisp/muse.el (muse-trim-whitespace): New function that strips
2304         leading and trailing whitespace from a string.
2306 2006-08-07  Michael Olson  <mwolson@gnu.org>
2308         * NEWS: Update through patch-95.
2310         * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
2311         to match the tags.
2312         (muse-colors-explicit-link): Show images in link descriptions if
2313         inlined images are enabled.
2315         * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
2316         definitions for 'image-with-desc, 'image, and 'image-link.
2317         (muse-docbook-markup-paragraph): If an inlined image begins a
2318         paragraph, insert <para> before it.
2319         (muse-docbook-fixup-images): New function that upper-cases the
2320         "format" attribute of the <imagedata> tag.
2321         (muse-docbook-finalize-buffer): Call it.
2323         * lisp/muse-html.el (muse-html-markup-strings): Publish images
2324         with descriptions as centered tables, with a centered caption
2325         underneath.  The resulting look is consistent with the way that
2326         they are published in the LaTeX style.  Thanks to Jody Klymak for
2327         the suggestion.
2328         (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
2329         valid way to center a table.
2330         (muse-html-markup-paragraph): Use class="image" instead of
2331         "image-link" for paragraphs that start with an embedded image.
2333         * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
2334         \textbackslash{} for "\".  Thanks to Jim Ottaway for the
2335         suggestion.
2336         (muse-latex-markup-specials-image): New option that enables
2337         escaping of specials in images.  This was split from the URL
2338         specials.
2339         (muse-latex-decide-specials): Handle 'image context.
2340         (muse-latex-fixup-dquotes): Go to beginning of document, instead
2341         of relying on caller to do this for us.
2343         * lisp/muse-publish.el (muse-publish-escape-specials): Document
2344         'image context.
2345         (muse-publish-url): Use 'image context for images.  Use 'image
2346         instead of 'image-link and 'image-link in place of
2347         'url-with-image.  Separate the image file from its extension so
2348         that docbook and texinfo can publish images correctly.
2349         (muse-publish-markup-link): Don't force a description if one is
2350         not given.  This fixes a bug where images without descriptions
2351         were being published as 'image-with-desc instead of 'image.
2353         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
2354         images the same as URLs.
2355         (muse-texinfo-markup-strings): Improve image markup to achieve an
2356         effect similar to that of the LaTeX publishing style.  Simplify
2357         'url string.
2359         * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
2361         * lisp/muse.el (muse-replace-regexp-in-string): Save match data
2362         when we have to use the custom version of this function.
2364         * muse.texi (Images): Explain how to toggle inlining of images and
2365         give better examples.  Mention captions and that captioned images
2366         should not be used inside of text paragraphs.
2367         (Markup Strings): Bring up-to-date with the changes made since
2368         3.02.
2370 2006-08-06  Michael Olson  <mwolson@gnu.org>
2372         * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
2373         in the Emacs source tree.
2375         * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
2376         in the Emacs source tree.
2378         * ChangeLog.3: New file created from the old ChangeLog.
2380         * Makefile.defs (VERSION): Set to 3.02.91.
2382         * NEWS: Update through patch-84.
2384         * lisp/muse.el (muse-version): Set to 3.02.91.
2386         * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
2387         attributes.
2388         (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
2389         delimiter are instead of hard-coding it.
2391         * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
2392         (muse-mode): Make filling definition lists work better.  This
2393         should fix #5359.
2395         * lisp/muse-publish.el (muse-style-run-hooks): Use
2396         `muse-style-element' instead of `muse-get-keyword' here.  This
2397         should fix #6399.
2399         * muse.texi: Set version to 3.02.91 (3.02 RC2).
2402 See ChangeLog.3 for earlier changes.
2404 ;; Local Variables:
2405 ;; coding: utf-8
2406 ;; End: