Make writing output files go faster, and do not trigger any other modes
[muse-el.git] / ChangeLog
blob32852f2669a1c3089e0c29f98801a6dfa2f177b8
1 2007-07-29  Michael Olson  <mwolson@gnu.org>
3         * Relicense to GPLv3.
5         * Makefile.defs.default: Rename from Makefile.defs.  This allows
6         people to copy this file to Makefile.defs and make changes,
7         without having the changes be accidentally committed.  If
8         Makefile.defs does not exist, this file is read instead, in order
9         to minimize inconvenience to the casual user.
11         * Makefile, contrib/Makefile, examples/Makefile,
12         experimental/Makefile, lisp/Makefile, texi/Makefile: Use either
13         Makefile.defs.default or Makefile.defs.
15         * texi/doclicense.texi (GNU Free Documentation License): Use
16         pristine copy from Emacs source tree.
18         * texi/muse.texi (Contributors): Move node and appendix indicators
19         here, rather than doclicense.texi.
21 2007-07-29  Jean Magnan de Bornier  <jean@bornier.net>
23         * lisp/muse-latex.el (muse-latex-markup-strings): Change rule
24         command which did not work correctly
26         * lisp/muse-context.el (muse-context-markup-strings): Change rule
27         command which did not work correctly; defined verse commands
28         (muse-context-markup-specials-literal): Eliminate all unuseful entries
30 2007-07-29  Michael Olson  <mwolson@gnu.org>
32         * contrib/httpd.el (httpd-send-file): Use
33         insert-file-contents-literally instead of insert-file-contents.
35         * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
36         Use insert-file-contents-literally instead of
37         insert-file-contents.
39         * experimental/muse-split.el (muse-publish-file)
40         (muse-publish-presplit-publish, muse-publish-no-split-function)
41         (muse-journal-split-by-entry, muse-journal-split-by-month): Use
42         insert-file-contents-literally instead of insert-file-contents.
44         * lisp/muse-book.el (muse-book-publish-chapter)
45         (muse-book-get-directives): Use insert-file-contents-literally
46         instead of insert-file-contents.
48         * lisp/muse-http.el (muse-http-render-page): Use
49         insert-file-contents-literally instead of insert-file-contents.
51         * lisp/muse-import-latex.el (muse-import-latex): Set marker to
52         nowhere when done, since they can slow things down.
54         * lisp/muse-journal.el (muse-journal-html-munge-buffer): Set
55         marker to nowhere when done, since they can slow things down.
57         * lisp/muse-poem.el (muse-poem-markup-tag): Set marker to nowhere
58         when done, since they can slow things down.  Use
59         insert-file-contents-literally instead of insert-file-contents.
61         * lisp/muse-publish.el (muse-publish-markup-tag)
62         (muse-publish-markup-word, muse-publish-markup-footnote)
63         (muse-publish-call-tag-on-buffer): Set markers to nowhere when
64         done, since they can slow things down.
65         (muse-insert-file-or-string, muse-publish-file)
66         (muse-publish-include-tag, muse-published-contents): Use
67         insert-file-contents-literally instead of insert-file-contents.
68         (muse-publish-surround-dl): Remove unused variable.  Track whether
69         a term has been found, and handle that case well.
70         (muse-publish-ensure-blank-line): Use a marker, so that we don't
71         lose our place when adding a newline.  This really fixes the
72         definition list item bug.
73         (muse-publish-markup-list): Since people do seem to want
74         definition lists with no terms, allow this.
75         (muse-batch-publish-files): Set muse-current-output-style.
77         * lisp/muse.el (muse-with-temp-buffer): Mention
78         `insert-file-contents-literally'.
80 2007-07-28  Michael Olson  <mwolson@gnu.org>
82         * lisp/muse-mode.el (muse-browse-result): Set
83         muse-current-output-style.
84         (muse-mode): Don't duplicate the paragraph-start regexp
85         unnecessarily.
86         (muse-list-edit-minor-mode-map): New variable containing the
87         keymap for Muse list edit minor mode.
88         (muse-l-e-m-m-list-item-regexp): New variable that matches list
89         items for Muse list edit minor mode.
90         (muse-l-e-m-m-insert-list-item,
91         muse-l-e-m-m-i-list-item-indentation)
92         (muse-l-e-m-m-d-list-item-indentation): Variants of existing list
93         item functions that change the list item regexp before calling the
94         existing function.
95         (muse-l-e-m-m-data): New variable that keeps track of the fill
96         data that we overwrite when activating Muse list edit minor mode,
97         so that we can restore it if the minor mode is toggled off.
98         (muse-list-edit-minor-mode): New minor mode that is useful for
99         editing lists in other major modes.
100         (turn-on-muse-list-edit-minor-mode)
101         (turn-off-muse-list-edit-minor-mode): New interactive functions
102         that turn Muse list edit minor mode on and off, respectively.
103         (muse-on-blank-line, muse-get-paragraph-start): Simplify some
104         regexps.
106         * lisp/muse-project.el (muse-project-publish-this-file): Set
107         muse-current-output-style.  This fixes a bug when publishing to a
108         style that is not first in the list of styles.  Thanks to Jean
109         Magnan de Bornier for the report.
111         * lisp/muse-publish.el (muse-publish-ensure-blank-line): New
112         function that ensures that a blank line exists in the line before
113         point.
114         (muse-publish-markup-list): Use it, rather than
115         `muse-publish-ensure-block'.  This fixes a bug with definition
116         list publishing.  Thanks to meandtheshell for reporting this.
118         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): If the
119         project argument is nil, default to the current project instead of
120         the first project entry in muse-project-alist.  This seems much
121         more sane to me.
123         * lisp/muse.el (muse-forward-list-item): Only check the 'face
124         property if we are in Muse mode or one of its derivatives.  This
125         allows movement on nested lists to work in other modes, and fixes
126         an issue with altering list indentation in
127         muse-list-edit-minor-mode.
129 2007-07-27  Michael Olson  <mwolson@gnu.org>
131         * AUTHORS: Add new authors.
133         * README: Permit Muse to be called "Emacs-Muse".
135         * etc/IDEAS.muse: Remove now-implemented ideas and duplicate idea.
137         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug
138         involving list items that have an extra blank line in front.
140         * texi/muse.texi (Introduction): Mention that Emacs Muse, Muse,
141         and Emacs-Muse are the same thing.
143 2007-07-27  Jean Magnan de Bornier  <jean@bornier.net>
145         * lisp/muse-context.el (muse-context-header): Put
146         starttext after the modules who must be in preamble.
147         (muse-context-markup-strings): Fixed mistake in begin-example and
148         end-example.
150         * lisp/muse-latex2png.el (muse-publish-math-tag): Replaced the
151         math environment in ConTeXt when centered: "$$ $$" has to be
152         "\startformula \stopformula".
154 2007-07-26  Michael Olson  <mwolson@gnu.org>
156         * lisp/muse-xml-common.el (muse-xml-escape-url): Do not escape
157         parentheses in URLs.
159 2007-07-24  Michael Olson  <mwolson@gnu.org>
161         * examples/QuickStart.muse (Images): Fix typo where some text
162         existed in the output but not in the example region.
163         (Source Code): Fix another typo.  Explain that publishing from
164         console or X can make a difference.
166         * lisp/muse-context.el (muse-context-pdf-program): New option that
167         determines the program to use for generating PDF files for
168         ConTeXt.
169         (muse-context-pdf-cruft): New option that specifies the extensions
170         of files to remove after generating PDF output successfully.
171         (muse-context-slides-header): Docfix.
172         (muse-context-pdf-generate): Use new options.
174         * lisp/muse-publish.el (muse-publish-lisp-tag): Add missing
175         save-restriction call.  This was causing a world of hurt when
176         using <lisp> inside of <include>.
178         * texi/muse.texi (ConTeXt): New section that documents how to use
179         the ConTeXt publishing styles.
181 2007-07-23  Michael Olson  <mwolson@gnu.org>
183         * lisp/muse-context.el: New file that provides support for
184         publishing documents to the ConTeXt format.  Thanks to Jean Magnan
185         de Bornier for his work on this.
187         * lisp/muse-docbook.el (muse-docbook-entities)
188         (muse-docbook-bibliography): Remove unneeded save-restriction use.
190         * lisp/muse-latex2png.el (muse-publish-latex-tag):
191         s/contex/context/.
193         * lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
194         (muse-latex-bibliography): Remove call to `widen', since it is not
195         needed anymore.  Remove unneeded save-restriction use.
196         ("slides", "slides-pdf"): Indent elements uniformly.
198 2007-07-22  Michael Olson  <mwolson@gnu.org>
200         * lisp/muse-blosxom.el (muse-blosxom-new-entry):
201         * lisp/muse-mode.el (muse-insert-tag):
202         * lisp/muse-project.el (muse-read-project)
203         (muse-read-project-file):
204         * lisp/muse-publish.el (muse-publish-get-style): Use
205         muse-completing-read-function.
207         * lisp/muse-latex2png.el (muse-publish-latex-tag)
208         (muse-publish-math-tag): Allow the contex style -- which I plan to
209         include soon -- to work with these tags.
211         * lisp/muse.el (muse-completing-read-function): New option that
212         determines which function to call when doing a completing-read.
214 2007-07-15  Michael Olson  <mwolson@gnu.org>
216         * lisp/muse-journal.el (muse-journal-html-entry-template)
217         (muse-journal-rdf-entry-template)
218         (muse-journal-rss-entry-template): Mention that this can be text
219         or a filename.
220         (muse-journal-rdf-entry-template, muse-journal-rss-header)
221         (muse-journal-rss-footer, muse-journal-rss-entry-template): Add
222         newlines to make the output look nicer.
223         (muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
224         Use muse-insert-file-or-string for the entry templates, rather
225         than muse-insert-markup.  This allows <lisp> and <markup> tags to
226         be acted on.  Thanks to Scott Hyde for the report.
227         (muse-journal-html-munge-buffer): Escape quote of the day using
228         entire-document specials before snarfing it.  Mark entire template
229         as read-only -- this fixes an incorrect escaping bug.  Remove
230         read-only properties before replacing template matches so that
231         they can still be escaped with entire-document specials later on.
232         (muse-journal-rss-munge-buffer): Make sure that title is escaped
233         properly.
234         (muse-journal-markup-tags): Rename from
235         muse-journal-latex-markup-tags, because we will use it for
236         journal-rss-entry as well.
237         (muse-journal-qotd-tag): Move higher.  Use begin-quote-item and
238         end-quote-item.
239         (muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
240         html.
241         ("journal-latex", "journal-pdf", "journal-book-latex")
242         ("journal-book-pdf"): Use muse-journal-markup-tags rather than
243         muse-journal-latex-markup-tags.
244         ("journal-rss-entry"): New style that is used by journal-rss and
245         journal-rdf to mark up individual entries.  It is needed so that
246         we can do something meaningful with the qotd tag.
247         (muse-journal-rdf-summarize-entries): Set this to nil by default,
248         because it is annoying.  Update docs to mention this.
249         (muse-journal-rss-summarize-entries): Docfix.
251         * lisp/muse-publish.el (muse-insert-file-or-string): Use
252         muse-publish-markup-header-footer-tags.  I'm not quite sure how
253         this change got reverted.
254         (muse-markup-tag-info): Make into a function.  Move common code
255         here, rather than duplicating it in two places.  Deal with case
256         where muse-publish-use-header-footer-tags is non-nil.
257         (muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
258         (muse-inhibit-style-tags): Move higher to avoid byte-compiler
259         warning.
260         (muse-publish-use-header-footer-tags): New variable that indicates
261         whether we should use just the header and footer tags, rather than
262         the full set.
263         (muse-insert-file-or-string): Bind
264         muse-publish-use-header-footer-tags to t.
265         (muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
266         Simplify call to muse-markup-tag-info.
267         (muse-publish-mark-up-tag): Bind
268         muse-publish-use-header-footer-tags to nil.
270         * texi/muse.texi (Journal): Update for recent changes.
272 2007-07-14  Michael Olson  <mwolson@gnu.org>
274         * lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
275         delete the remainder of the buffer, since this causes the
276         resulting RDF to have invalid syntax.  Thanks to Phillip Lord for
277         the report and the suggested fix.
279         * lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
280         beginning of table-el regexp.  This fixes a bug where Muse stalls
281         when trying to publish a malformed table.  Thanks to Ye Wenbin for
282         the report and the suggested fix.
284 2007-07-12  Michael Olson  <mwolson@gnu.org>
286         * lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
287         default, rather than the empty string.  This really fixes the bug
288         that occurred when using Muse with muse-project-alist set to nil.
289         Thanks to Jonathan Underwood for the report.
290         (muse-wiki-update-interwiki-regexp): Set
291         muse-wiki-interwiki-regexp to nil if muse-project-alist is not
292         defined.
293         (muse-wiki-handle-implicit-interwiki)
294         (muse-wiki-handle-explicit-interwiki): Handle case where
295         muse-wiki-interwiki-regexp is nil.
297 2007-07-10  Michael Olson  <mwolson@gnu.org>
299         * lisp/muse-mode.el (muse-grep): Abort search if the current
300         project contains no directories.
302         * lisp/muse-project.el (muse-project-file-alist): If
303         muse-project-alist is not defined, or project is nil, return nil
304         right away.  This ought to fix a bug that occurred when using Muse
305         with muse-project-alist set to nil.
306         (muse-project-of-file): Make sure muse-project-alist is not nil.
307         (muse-project-save-buffers): Make sure project is not nil.
309         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
310         case where muse-project-alist is nil.
312         * lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
313         for XEmacs, since color-theme.el is poorly behaved, and defines
314         its own replace-in-string.  Bad color-theme.el -- no cookie for
315         you.
317 2007-07-01  Michael Olson  <mwolson@gnu.org>
319         * Makefile (.PHONY): Update for new debian package rules.
321         * lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
323         * lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
324         Use save-restriction properly.
325         (muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
327         * lisp/muse-latex.el (muse-latex-footer): Wrap long line.
328         (muse-latex-fixup-citations): Re-indent.  Use save-restriction
329         properly.
330         (muse-latex-bibliography): Re-indent.
332         * lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
333         higher.  This fixes an error at startup with some versions of
334         Emacs.
335         (muse-publish-cite-tag): Re-indent.
337         * lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
338         to the end of the link part, so as to exclude the description from
339         the match.  This fixes a bug with three-part links that have
340         descriptions.  Thanks to everyone who pointed it out.
342 2007-06-18  Michael Olson  <mwolson@gnu.org>
344         * lisp/muse-html.el (muse-html-markup-strings): Add anchor.
345         (muse-xhtml1.1-markup-strings): New option that specifies XHTML
346         1.1 specific markup strings.
347         (muse-html-insert-anchor): Use 'anchor string, rather than
348         hard-coding it.  Thanks to Chris Corsair for the suggestion.
349         ("xhtml1.0"): New style that is an alias for the xhtml style.
350         ("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
352 2007-06-17  Michael Olson  <mwolson@gnu.org>
354         * examples/QuickStart.muse: Make images local so that the Info
355         version of this document works.  Add <example> for the Literal
356         paragraphs chapter, so that it is clear what is happening.
358         * Makefile: Add elpa target, which is used for building an ELPA
359         package for Muse.
361         * Makefile.defs (ELPADIR, ELPADESC): New variables used for
362         building ELPA packages.
364         * examples/Makefile (%.html, %.pdf, %.info): Add message to
365         indicate what we are publishing.
366         (realclean distclean fullclean): Remove all TeX crud.
368         * examples/emacs-muse.png, examples/muse-made-with.png: Include so
369         that the Info version of QuickStart can publish correctly.
371         * lisp/muse-latex.el (muse-latex-slides-header)
372         (muse-latex-lecture-notes-header): Docfix.
374         * lisp/muse-project.el (muse-project-ignore-regexp): Add .git to
375         the list of things to ignore.
377         * lisp/muse-publish.el (muse-publish-markup-list): Remove unused
378         variable.
380         * lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
381         default to nil, since texinfmt.el is a serious nuisance.
382         (muse-texinfo-markup-strings): Add newlines to begin-example and
383         end-example.
384         (muse-texinfo-decide-specials): Also escape URL-type specials in a
385         whole slew of other contexts.
387         * lisp/muse-xml-common.el (muse-xml-encoding-map): Change group to
388         muse-xml.
390         * lisp/muse-xml.el (muse-xml-footer): Docfix.
392         * lisp/muse.el (muse-version): Release Emacs Muse version 3.03.
394 2007-06-16  Michael Olson  <mwolson@gnu.org>
396         * etc/IDEAS.muse: Add some ideas from David D. Smith.
398         * examples/QuickStart.muse: Overhaul.
400         * lisp/muse-project.el (muse-project): Call the last part of a
401         muse-project-alist entry "Output styles" rather than "styles".
403         * lisp/muse-publish.el (muse-publish-table-fields): Handle case
404         where we have a pipe character at the beginning of line.
406         * lisp/muse-xml-common.el (muse-xml-sort-table): Fix typo that was
407         causing tables to not be sorted at all.
409         * texi/muse.texi: Overhaul.  It would be too time-consuming to
410         list all of the changes here.  The "Getting Started" and
411         "Projects" chapters, in particular, were heavily revised.
413 2007-06-15  Michael Olson  <mwolson@gnu.org>
415         * NEWS: Update.
417         * examples/QuickStart.muse: Mention new features.
419         * lisp/muse-colors.el (muse-colors-toggle-inline-images): Docfix.
420         Remove C-c C-i keybinding, since it conflicts with C-c TAB in the
421         terminal, and C-c TAB is more important.  Most people will not
422         want to toggle images on and off that often.
424         * lisp/muse-mode.el (muse-mode-map): Bind muse-insert-thing to C-c
425         C-i as well, so that it works in the terminal.
427         * lisp/muse-publish.el (muse-publish-literal-tag): Make the output
428         look a bit tidier when removing the region.
430         * lisp/muse-regexps.el (muse-list-item-regexp): Put definition
431         list regexp part before other parts.
432         (muse-ol-item-regexp): New regexp that specifies how to match an
433         ordered list item.
434         (muse-ul-item-regexp): New regexp that specifies how to match an
435         unordered list item.
436         (muse-table-field-regexp): New regexp that specifies how to match
437         a definition list entry.
439         * lisp/muse-texinfo.el (muse-texinfo-info-generate): Work around
440         lack of support for @headitem in texinfmt.el.
442         * lisp/muse.el: Wrap muse-line-beginning-position and
443         muse-line-end-position in `eval-and-compile', since they are now
444         used in muse.el.
445         (muse-list-item-type): Use a simpler algorithm for detecting which
446         kind of list item we have.  This fixes a bug where a number in a
447         definition list term was being detected incorrectly as an ordered
448         list item.  Fixes bug #6250.
449         (muse-forward-list-item): Get the entire line with the list item.
450         For some reason, Emacs 21 was not populating match 2 correctly,
451         unlike Emacs 22, so this workaround was needed.
453         * texi/muse.texi: (Keystroke Summary): Remove C-c
454         C-i (`muse-insert-tag') documentation, and mention C-c C-i as an
455         alternative keybinding to the C-c TAB stuff.  Mention
456         muse-colors-toggle-inline-images.
458 2007-06-14  Michael Olson  <mwolson@gnu.org>
460         * README: Mention that RelaxNG schema is in etc/ directory.
462         * etc/emacs-wiki-migration.txt: New document that explains how to
463         migrate from emacs-wiki to Muse.
465         * etc/muse.rnc: Increment version number to 1.0.  Fix several
466         nested emphasis and nested lists edge cases.  Move here from
467         examples/.
469         * lisp/muse-mode.el (muse-mode-map): Permit C-c C-M-t to do the
470         same thing as C-c C-S-t, since the former works better in the
471         console.  Thanks to Leo for the suggestion.
473         * lisp/muse-publish.el (muse-publish-markup-table)
474         (muse-publish-markup-table-el): Include a newline in the return
475         string, so that paragraph detection does not get confused.
477         * lisp/muse.el (muse-with-temp-buffer): Docfix.
479         * texi/muse.texi (Keystroke Summary): Document the C-c C-M-t
480         keybinding.
482 2007-06-13  Michael Olson  <mwolson@gnu.org>
484         * etc/IDEAS.muse: Mark three-part-links item as done.
486         * experimental/muse-message.el: Remove guard for muse-define-style
487         calls.
489         * lisp/muse-colors.el (muse-configure-highlighting): Fix bug where
490         markup rules were being interpreted in reverse order.  This should
491         make implicit interwiki links work properly again.
492         (muse-link-face): Strip anchor from end of a path, so that this
493         works with anchors in interwiki links.
494         (muse-colors-insert-image): Catch error that occurs in Emacs 21
495         when an image does not exist.
497         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Permit
498         anchors.
499         (muse-wiki-handle-implicit-interwiki): Docfix.  Make anchors in
500         interwiki links work.  Thanks to Jim Ottaway for the initial
501         implementation.
502         (muse-wiki-handle-explicit-interwiki): Make anchors in interwiki
503         links work.
505         * lisp/muse.el (muse-handle-implicit-link): Docfix: only care
506         about match 0.
507         (muse-handle-explicit-link): Docfix: this does not modify the
508         match data.
509         (muse-file-remote-p): In Emacs 21, ange-ftp-name-format is a list
510         that has the regexp in its car.
512 2007-06-12  Michael Olson  <mwolson@gnu.org>
514         * README: Document new etc/ directory.
516         * etc/IDEAS.muse: Install things from new contributors just after
517         the 3.03 release, since I won't have time to review the code
518         before the release.  Move to new etc/ directory.  Slides
519         publishing has been installed.
521         * lisp/muse-latex.el (muse-latex-slides-header): New option that
522         determines the header to use for publishing slides.
523         (muse-latex-lecture-notes-header): New option that determines the
524         header to use for publishing lecture notes.
525         (muse-latex-slides-markup-tags): New option containing tags to use
526         when publishing slides.
527         (muse-latex-permit-contents-tag): Move higher in file.
528         (muse-latex-slide-tag): New function to publish the <slide> tag.
529         ("slides", "slides-pdf"): New publishing styles that create slides
530         using Beamer.
531         ("lecture-notes", "lecture-notes-pdf"): New publishing styles that
532         create lecture notes using Beamer.
534         * lisp/muse.el: Re-add the auto-mode-alist part to top-level,
535         since otherwise Planner is not happy when `plan' is called during
536         init.  Remove stray quote from autoload snippet.
538 2007-06-11  Michael Olson  <mwolson@gnu.org>
540         * lisp/muse.el: Make the add-to-list 'auto-mode-alist part an
541         autoload, rather than having it exist at top-level.  Thanks to Leo
542         for the suggestion.
543         (muse-update-file-extension): Docfix.
545 2007-06-10  Michael Olson  <mwolson@gnu.org>
547         * lisp/muse-publish.el (muse-publish-strip-URL): Fix bug where
548         URLs were being removed during publishing.  Thanks to everyone who
549         reported this.
551 2007-06-09  Markus Hoenicka <markus.hoenicka@mhoenicka.de>
553         * lisp/muse-book.el
554         * lisp/muse-docbook.el
555         * lisp/muse-latex.el
556         * lisp/muse-publish.el: added support for <cite> element which
557         denotes in-text citations
559         * lisp/muse-html.el
560         * lisp/muse-groff.el
561         * lisp/muse-texinfo.el
562         * lisp/muse-xml.el: added support for <cite> element (stub)
564 2007-06-06  Michael Olson  <mwolson@gnu.org>
566         * lisp/muse-regexps.el (muse-table-line-regexp)
567         (muse-table-hline-regexp, muse-table-el-border-regexp): Fix
568         regexps so that they work with XEmacs 21.  Thanks to Adrian
569         Tritschler for the report.
571         * texi/muse.texi: Update copyright years.
572         (HTML): Document muse-xhtml-style-sheet.  Thanks
573         to thorne for noticing.
574         (Development): Change archive year to 2006.  Thanks to Adrian
575         Tritschler for noticing.  So *that's* why some people had the 2005
576         version ....
578 2007-06-05  Michael Olson  <mwolson@gnu.org>
580         * Makefile (install-info): Remove $(MANUAL).info part, since this
581         is taken care of already by texi/Makefile.  Thanks to Leo for the
582         report.
584         * lisp/muse-journal.el (muse-journal-html-munge-buffer): Add
585         read-only properties to qotd contents, so that they don't get
586         double-escaped.  Thanks to Leo for the report.
588 2007-06-04  Michael Olson  <mwolson@gnu.org>
590         * lisp/muse-colors.el (muse-link-face): If the link is to a remote
591         -- that is, Tramp or ange-ftp -- file, then do not call
592         file-exists-p on it.  Thanks to Jim Ottaway for the suggestion.
593         Fixes bug #5115.
595         * lisp/muse-html.el (muse-html-insert-contents): Add
596         documentation.  Handle case where heading is read-only, but has
597         muse-contents property.  Remove the muse-contents property for any
598         heading we come across so as to avoid double-including an item in
599         an outer table of contents.
600         (muse-html-denote-headings): New function that denotes whether a
601         heading is not read-only by adding the muse-contents property to
602         it.
603         (muse-html-munge-buffer): If we are not to generate contents,
604         still denote headings, in case some outer layer wants to generate
605         contents for our headings.  This should fix a bug with table of
606         contents and the <include> tag.  Thanks to thorne for the report.
608         * lisp/muse-publish.el (muse-publish-markup-region): Let-bind
609         muse-publish-generate-contents and set it to nil.  This should
610         do the right thing when using <include> tags.
612 2007-06-02  Michael Olson  <mwolson@gnu.org>
614         * NEWS: Update for non-inlined image change and support for
615         table.el style tables.
617         * examples/Makefile (clean): Clean backup files.
619         * examples/QuickStart.muse (Images): New section that describes
620         how to inline and not inline images.
622         * lisp/muse-colors.el (muse-colors-resolve-image-file): Don't
623         touch images that have "URL:" in front of them.
625         * lisp/muse-protocols.el (muse-url-protocols): Add handler for
626         "URL:".  Use the identity function to resolve, since we don't want
627         to rip "URL:" out while publishing, due to some magic that depends
628         on that text.
629         (muse-browse-url-url): New function that browses URLs that have
630         "URL:" in front of them, by removing the "URL:" part and
631         reprocessing the remainder.
633         * lisp/muse-publish.el (muse-publish-classify-url): Docfix.
634         (muse-publish-url): Recognize images in the description before
635         images in the link.  Fixes bug #5112.  Thanks to Thomas Kappler
636         for the suggested workaround.
637         (muse-publish-desc-transforms): Add `muse-publish-strip-URL' as a
638         default value.
639         (muse-publish-classify-url): If target begins with "URL:" return
640         type url.
641         (muse-publish-strip-URL): New function that strips "URL:" from the
642         beginning of a string.  This is used to remove URL: from the link
643         description.  * texi/muse.texi (Markup Strings): Clarify the
644         meanings of image-link, link, and link-and-anchor.
645         (muse-publish-markup-regexps): Move normal table rule to 2350.
646         Rule 2300 is now a regexp that matches table.el-style tables.
647         (muse-publish-markup-functions): Add table-el entry.
648         (muse-publish-table-el-table): New function that given a variant,
649         publishes a table.el-style table using the table in the matched
650         region.
651         (muse-publish-markup-table-el): New function that determines
652         whether the table.el-style table can be published, and what
653         variant to use.
655         * lisp/muse-regexps.el (muse-tag-regexp): New regexp that matches
656         the borders of table.el-style tables.
658         * lisp/muse-xml-common.el (muse-xml-markup-table): Make sure that
659         the table has sufficient whitespace in front of it.
661         * texi/muse.texi (Images): Update for new non-inlined image
662         ability and provide example.
664 2007-05-31  Michael Olson  <mwolson@gnu.org>
666         * NEWS: Add example for setting `muse-html-table-attributes'.
668         * lisp/muse-xml-common.el (muse-xml-markup-table): Add docstring.
669         Publish multiple tbody tags if there is a horizontal separator
670         after the heading, because that is valid HTML after all.
672 2007-05-30  Michael Olson  <mwolson@gnu.org>
674         * NEWS: Update.
676         * lisp/muse-latex.el (muse-latex-markup-table): Deal with
677         horizontal separators in tables.
679         * lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
680         horizontal separators in tables.
681         (muse-publish-trim-table): New function to remove initial and
682         final blank columns from a table.
683         (muse-publish-table-fields): Call `muse-publish-trim-table'.  Deal
684         with horizontal separators, aka "hlines".
686         * lisp/muse-regexps.el (muse-table-hline-regexp): New regexp that
687         defines the syntax of a horizontal separator in a table.
689         * lisp/muse-texinfo.el (muse-texinfo-markup-table): Deal with
690         horizontal separators.  Publish header lines correctly.
692         * lisp/muse-xml-common.el (muse-xml-sort-table): Deal with case
693         where we have nonnumbers as a row type.  This ignores sorting for
694         hlines.
695         (muse-xml-markup-table): Deal with horizontal separators.  If the
696         markup supports table groups, make hlines separate table groups.
697         Otherwise, ignore them, since they cannot be marked up.  Together,
698         these changes allow us to support orgtbl-mode tables.  Thanks to
699         Carsten Dominik for the suggestion.
701 2007-05-26  Michael Olson  <mwolson@gnu.org>
703         * lisp/muse-project.el (muse-project-alist-styles): Allow for
704         other things to be added to each generated style as well.  For
705         example, this permits me to add
706         :base-url "http://blog.mwolson.org/"
707         for my blog.
709 2007-05-25  Michael Olson  <mwolson@gnu.org>
711         * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
712         way of building Debian packages that preserves the original
713         release tarball and is more modular.
714         (debrevision, debrelease): Remove.
715         (dist): No need to remove the debian/ directory, since it is now
716         in its own branch.
717         (debprepare): Copy over debian/ directory properly.
719         * NEWS: Update.
721         * examples/Makefile (clean): Remove QuickStart.texi, in case
722         something went wrong during the build.
723         (%.pdf): Publish the example using the normal pdf style, rather
724         than info-pdf.
726         * examples/QuickStart.muse: Add myself to the authors list.
728         * lisp/muse-html.el (muse-html-src-tag): Ensure that we have
729         sufficient blank lines before the tag.
731         * lisp/muse-journal.el (muse-journal-latex-qotd-tag): Ensure that
732         we have sufficient blank lines before the tag.
734         * lisp/muse-latex.el (muse-latex-pdf-program): New option that
735         specifies the program to call in order to generate PDF content
736         from LaTeX content.
737         (muse-latex-pdf-cruft): New option that specifies the extensions
738         of files to remove after generating PDF output successfully.
739         (muse-latex-pdf-generate): Use these new options.  Work around the
740         annoying edge case where a tilde character exists in the filename
741         or directory path -- now this can only error out when the relative
742         path from the output file to the source file contains a tilde,
743         which is far less likely.
745         * lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
746         muse-publish-ensure-block here after all, because <lisp> et al may
747         occur inline as part of other things.
749         * lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
750         occur after full-document escaping, rather than before.  This
751         prevents automatically-inserted Texinfo code from being escaped.
752         (muse-texinfo-pdf-generate): Rewrite to call
753         `muse-latex-pdf-generate' with pdftex as the generating binary,
754         because texi2pdf suffers irredeemably from the tilde edge case
755         mentioned above.
757 2007-05-24  Michael Olson  <mwolson@gnu.org>
759         * NEWS: Drop vague entries and position interesting entries closer
760         to the top of each section.  Update for new changes.
762         * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
763         and bzr metadata directories to the list of things to ignore.
765         * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
766         `muse-publish-ensure-block-tag', since we will use it for more
767         than just tags.
768         (muse-publish-markup-list, muse-publish-verse-tag)
769         (muse-publish-quote-tag, muse-publish-example-tag)
770         (muse-publish-markup-attribute): Use it.  This fixes a bug that
771         can occur when these types of markup occur immediately after a
772         paragraph.  It's good to have defined behavior!
774         * texi/muse.texi (Markup Strings): Mention new argument for
775         link-and-anchor.
777 2007-05-19  Michael Olson  <mwolson@gnu.org>
779         * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
780         published footnotes and footnote references.  Thanks to Scott
781         Jaderholm for the idea.
783         * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
784         link-and-anchor, on the recommendation of the original submitter.
786 2007-05-14  Michael Olson  <mwolson@gnu.org>
788         * lisp/muse-latex.el (muse-latex-markup-strings): Use better
789         link-and-anchor markup.  Thanks to Jean Magnan de Bornier for the
790         suggestion.
792         * lisp/muse-publish.el (muse-publish-url): Pass the url without a
793         file extension as the fourth argument.
795         * README, texi/muse.texi (Getting Help and Reporting Bugs):
796         Mention the new muse-el-logs mailing list.
798 2007-05-13  Michael Olson  <mwolson@gnu.org>
800         * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
801         "\`" here.  This fixes a problem with publishing custom URLs.
803 2007-05-12  Michael Olson  <mwolson@gnu.org>
805         * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
806         update the list if the current buffer is associated with a file.
807         This fixes a bug with M-x muse-publish-region in a temporary
808         buffer.
810 2007-05-01  Michael Olson  <mwolson@gnu.org>
812         * lisp/muse-publish.el (muse-publish-region): Remove read-only
813         properties from the published buffer, so that the results can be
814         manually tweaked.
816 2007-04-23  Michael Olson  <mwolson@gnu.org>
818         * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
819         find the footnote that goes with a reference, leave the reference
820         as-is.  This fixes an error where control characters could be
821         placed in a published document.
823 2007-04-22  Michael Olson  <mwolson@gnu.org>
825         * IDEAS.muse: Add muse-slides.el to list of things to include
826         before release.
828         * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
829         character.
830         (muse-protocol-find): Find protocols correctly.  Rewrite to use
831         catch/throw.
832         (muse-browse-url): Don't concatenate "\`" here.  Together, this
833         fixes a bug with browsing woman:// links.
835         * lisp/muse-project.el (muse-project-alist-styles): Deal with case
836         where entry-dir has a trailing backslash.
837         (muse-project-publish-file): If a style is malformed, skip it and
838         display a warning message.  This should help people figure out
839         where the problem is.
841 2007-04-21  Michael Olson  <mwolson@gnu.org>
843         * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
844         yet-to-be-included "contex" publishing style, use "$$" rather
845         than "\[" and "\]".  Thanks to Jean Magnan de Bornier for pointing
846         this out.
848 2007-04-20  Michael Olson  <mwolson@gnu.org>
850         * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
851         variable that causes the :before and :before-end hooks to be
852         ignored when non-nil.
853         (muse-publish-markup-region): Use it.  Also, guarantee that point
854         is at end of region after publishing.
855         (muse-publish-mark-up-tag): Simplify, taking advantage of the new
856         variable.
858 2007-04-19  Michael Olson  <mwolson@gnu.org>
860         * IDEAS.muse: New file containing a list of ideas we have for new
861         features, or patches that have yet to be applied.
863         * README: Call it "Emacs Muse", not "the Emacs Muse".  No need to
864         be so confusing.
866         * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
867         docstring.
869         * lisp/muse-publish.el (muse-publish-markup-tags): Handle
870         <literal> tags with muse-publish-literal-tag, rather than
871         muse-publish-mark-read-only.
872         (muse-publish-literal-tag): New function that publishes the
873         <literal> tag.  It adds the ability to add the optional "style"
874         and "exact" elements, which cause text to only be included if the
875         current publishing style matches some criteria.  The text will be
876         removed otherwise.  Thanks to Jim Ottaway for the implementation.
877         (muse-publish-mark-up-tag): Let the <markup> tag take the
878         additional optional elements "style" and "exact", with much the
879         same effect as the <literal> improvements, but after calling
880         "function" or publishing the region first.  Make it possible to
881         put <content> tags in <markup> regions in HTML publishing.
883 2007-04-12  Michael Olson  <mwolson@gnu.org>
885         * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
886         that a blank line always exists after a heading.  This fixes a bug
887         in Docbook paragraph detection.  Thanks to Jean Magnan de Bornier
888         for the report.
890         * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
891         detection regexp to that which is used in Docbook and HTML
892         publishing styles.
894 2007-04-02  Michael Olson  <mwolson@gnu.org>
896         * README (muse-el-announce): Make a listing of mailing lists,
897         rather than pointing to the old EmacsWikiMailingList page.  Thanks
898         to Andreas Roehler for noticing.
900 2007-04-01  Michael Olson  <mwolson@gnu.org>
902         * lisp/muse-publish.el (muse-publish-date-format): Add
903 `       customization type and group.
904         (muse-publish-region): New interactive function that publishes a
905         region to a new buffer.
907         * texi/muse.texi: Use "document" rather than "manual".
909 2007-03-31  Michael Olson  <mwolson@gnu.org>
911         * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
912         expression (muse-style-derived-p "latex" (muse-style "latex"))
913         yielded nil.  It now yields t, as expected.  Thanks to Jim Ottaway
914         for the catch.
916 2007-02-25  Michael Olson  <mwolson@gnu.org>
918         * lisp/muse-publish.el (muse-publish-date-format): New option that
919         specifies how to format the date when publishing Muse pages.
920         Thanks to Thomas Gehrlein for the suggestion.
921         (muse-publish-markup-buffer): Use it.
923 2007-02-23  Michael Olson  <mwolson@gnu.org>
925         * README: Add Prerequisites section to mention which versions of
926         Emacs work with Muse.  Thanks to Exal de Jesus Garcia Carrillo for
927         the suggestion.  Update link destination for Muse's page on
928         emacswiki.org.
930 2007-02-15  Michael Olson  <mwolson@gnu.org>
932         * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
933         be not just at beginning of line.  This fixes an error with the
934         <class> tag.  Thanks to Jim Pivarski for the report.
936 2007-02-14  Michael Olson  <mwolson@gnu.org>
938         * lisp/muse-publish.el (muse-publish-classify-url): Check to see
939         whether something is an image before checking to see if it is a
940         URL.  Thanks to ITSUMI ken-ichi for the report.
942 2007-02-13  Michael Olson  <mwolson@gnu.org>
944         * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
945         comments that have no text better.  Thanks to fang.lungang for the
946         report.
947         (muse-publish-markup-comment): Deal with case where no comment
948         text is provided.
950 2007-01-23  Michael Olson  <mwolson@gnu.org>
952         * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
953         that ensures that at least one blank line exists at the given
954         position.  This is used to avoid paragraph detection problems when
955         block-level tags like <example> immediately follow a paragraph.
956         Thanks to Hans Ekbrand for the report.
957         (muse-publish-example-tag): Use it.
959 2007-01-19  Michael Olson  <mwolson@gnu.org>
961         * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
962         previous blank line if we are publishing in Latex.  Otherwise,
963         that wouldn't be the right thing, so leave it be.
965 2007-01-17  Michael Olson  <mwolson@gnu.org>
967         * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
968         multiple centered math lines on the same line; keep them on
969         different lines.  Use \[ math-text \] instead of $$math-text$$,
970         since the latter seems to be deprecated.  Thanks to Jody Klymak
971         for the pointer.
973 2007-01-15  Michael Olson  <mwolson@gnu.org>
975         * lisp/muse-latex2png.el (muse-publish-latex-tag)
976         (muse-publish-math-tag): Publish region read-only when current
977         style is Latex-derived, so that Muse does not escape it.
978         (muse-publish-math-tag): If 6 or more spaces come before the tag,
979         surround the region with "$$" rather than "$".  This is the Muse
980         syntax for something centered, so it should be a good fit.
982 2007-01-15  Valery V. Vorotyntsev  <valery.vv@gmail.com>
984         * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
985         protocol.
986         (muse-browse-url-man): Change man page URL format.  The code is
987         simpler when the section is left inside parentheses.
988         (muse-browse-url-woman): New function.
990 2007-01-14  Michael Olson  <mwolson@gnu.org>
992         * AUTHORS: Bookkeeping.
994         * lisp/muse-latex2png.el: Associate <math> tag with
995         muse-publish-math-tag, not muse-publish-latex-tag.  Thanks to Jody
996         Klymak for the report.
997         (muse-publish-math-tag): Use muse-insert-markup for the "$"
998         characters, so they don't get escaped.
1000         * lisp/muse-publish.el (muse-style-derived-p-1): New function to
1001         make muse-style-derived-p easier to implement.
1002         (muse-style-derived-p): If the style is not provided, fetch it and
1003         check to see if the car is a string.  This should fix the other
1004         problem that was reported.
1006         * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
1007         explains a case where setting muse-file-extension to nil can cause
1008         unexpected behavior.
1010 2007-01-09  Michael Olson  <mwolson@gnu.org>
1012         * lisp/muse-publish.el (muse-publish-markup-regexps): Make
1013         comments higher priority than tags.  Thanks to Stefan van der Walt
1014         for the report.
1016 2007-01-08  Michael Olson  <mwolson@gnu.org>
1018         * lisp/muse-publish.el (muse-markup-tag-info): Use the given
1019         argument rather than calling match-string.  Thanks to Stefan van
1020         der Walt for the report.  This should fix a bug with publishing
1021         <include file="..." markup="example">.
1023 2007-01-06  Michael Olson  <mwolson@gnu.org>
1025         * Makefile (debclean): New rule split from debrevision and
1026         debrelease.
1027         (debbuild): Take distributor into account.
1029         * Makefile.defs (DISTRIBUTOR): New field that tracks what
1030         vendor/distributor we are building for.
1032 2007-01-04  Michael Olson  <mwolson@gnu.org>
1034         * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
1035         line.
1037         * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
1038         point to muse-publish-src-tag by default, since <src> and
1039         <example> have different parameters.
1040         (muse-publish-src-tag): New barebones publishing function for
1041         <src>, which is superseded when publishing in an HTML-based style.
1043 2007-01-03  Michael Olson  <mwolson@gnu.org>
1045         * lisp/muse-html.el (muse-html-src-tag): Document.
1047         * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
1048         command that calls a given tag on the current buffer.  Attributes
1049         may be passed.
1050         (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
1051         it.
1052         (muse-publish-srcify-buffer): New function that allows
1053         markup="src" in the <include> tag.
1054         (muse-publish-get-and-delete-attr): New macro that gets an
1055         attribute from a list and removes the first instance of that
1056         attribute from said list.
1057         (muse-publish-markup-attribute): Handle markup="src".
1058         (muse-publish-command-tag, muse-publish-include-tag): Use
1059         muse-publish-get-and-delete-attr.  This allows the remaining
1060         attributes to be passed.
1062         * texi/muse.texi (Tag Summary): Update for new <src> tag as well
1063         as changes to <command> and <include>.
1065 2006-12-30  Michael Olson  <mwolson@gnu.org>
1067         * NEWS: Update.
1069         * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
1070         from muse-publish-math-tag to avoid conflict with
1071         muse-latex2png.el.
1073 2006-12-23  Michael Olson  <mwolson@gnu.org>
1075         * lisp/muse-latex2png.el: Update header, since this has been
1076         rewritten sufficiently to not need an assignment from the original
1077         author.
1078         (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
1079         (muse-latex2png): Use two underscores to separate prefix and hash.
1080         (muse-latex2png-region): New function split from
1081         muse-publish-latex-tag that can be used easily by other code.
1082         Detect whether we are using an HTML-based publishing style, and
1083         insert a simpler markup if we are not.  If we are using a
1084         Latex-based publishing style, do not generate an image, and leave
1085         the region alone.  Return the path of the generated image, in case
1086         other functions want to use this programmatically.
1087         (muse-publish-latex-tag): Set a default prefix based on the name
1088         of the current file.
1089         (muse-publish-math-tag): New tag that surrounds the region with
1090         "$" characters, so that it becomes a Latex math region, and then
1091         publishes it.
1093         * lisp/muse-publish.el (muse-style-derived-p): New function that
1094         returns non-nil if a given style, or the current style if omitted,
1095         is equal to or derived from the given base style.  This is useful
1096         in <lisp> tags, because it allows the user to specify markup that
1097         is only to be inserted for one particular style.
1099 2006-12-22  Michael Olson  <mwolson@gnu.org>
1101         * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
1102         (muse-html-src-tag): New function which publishes the <src> tag.
1103         Thanks to Clinton Ebadi and Charles Wang for the initial
1104         implementations.
1106         * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
1108 2006-12-21  Michael Olson  <mwolson@gnu.org>
1110         * examples/johnw/muse-johnw.el: Update for preferred
1111         muse-derive-style usage.  Rename to muse-init.el.
1113         * examples/mwolson/muse-init.el: Update.
1115         * lisp/muse-book.el (muse-book-publish): New function split from
1116         muse-book-publish-project.  This is used in the definitions for
1117         the book-latex and book-pdf styles.
1118         (muse-book-publish-p): New function split from muse-book-publish.
1119         (muse-book-get-directives): New function that retrieves the
1120         publishing directives from the given file.
1121         (muse-book-publish): Use muse-book-get-directives to set the title
1122         if no title was specified.
1124         * lisp/muse-project.el (muse-project): Add :publish-project entry
1125         to widget.
1126         (muse-read-project, muse-project-find-file): Message fix.
1127         (muse-project-publish-file-default): New function split from
1128         muse-project-publish-file.
1129         (muse-project-publish-file): Allow file-level publishing function
1130         to be specified by the :publish element.  The default is
1131         muse-project-publish-file-default.
1132         (muse-project-publish-default): New function split from
1133         muse-project-publish.
1134         (muse-project-publish): Allow project-level publishing function to
1135         be specified by :publish-project element.  The default is
1136         muse-project-publish-default.
1138         * lisp/muse-publish.el (muse-publish-file): Message fix.
1140         * texi/muse.texi (Book): Mention new way to publish books and
1141         provide an example, since the process may be non-obvious.
1143 2006-12-20  Michael Olson  <mwolson@gnu.org>
1145         * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
1146         content-modifying code from the rest of
1147         muse-docbook-finalize-buffer.
1149         * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
1150         muse-groff-finalize-buffer, since it adds content to the buffer.
1152         * lisp/muse-html.el (muse-html-munge-buffer): Split out
1153         content-modifying code from the rest of muse-html-finalize-buffer.
1154         This fixes a bug when using <include> with <content> tags.
1156         * lisp/muse-journal.el (muse-journal-html-munge-buffer)
1157         (muse-journal-latex-munge-buffer)
1158         (muse-journal-rss-munge-buffer): Rename, since they add content to
1159         the buffer.
1161         * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
1162         muse-latex-finalize-buffer, since it adds content to the buffer.
1164         * lisp/muse-mode.el:
1165         * lisp/muse-project.el:
1166         * lisp/muse-publish.el:
1167         * lisp/muse.el: Fix recursive load error.
1169         * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
1170         muse-texinfo-finalize-buffer, since it adds content to the buffer.
1172         * lisp/muse-wiki.el: Comment cleanup.
1174         * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
1176 2006-12-17  Michael Olson  <mwolson@gnu.org>
1178         * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
1179         Remove the definition of \comment, since Latex already has comment
1180         syntax.
1181         (muse-latex-markup-strings): Use the Latex comment syntax, rather
1182         than our own.  Thanks to Ryan Stutsman for pointing this out.
1184 2006-12-02  Michael Olson  <mwolson@gnu.org>
1186         * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
1187         that this can generate a proper table of contents for Planner HTML
1188         publishing.
1190 2006-12-01  Michael Olson  <mwolson@gnu.org>
1192         * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
1193         using a very old Emacs, avoid an infinite loop that could occur
1194         when the regexp is an empty string.
1196 2006-11-26  Michael Olson  <mwolson@gnu.org>
1198         * NEWS: Bring up to date.
1200         * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
1201         list issues and multiple-stanza verse issues.  This takes care of
1202         all of the markup issues I was worried about.
1204         * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
1205         (muse-project-publish-private-files): New option that indicates
1206         whether files with private filesystem permissions should be
1207         published.  The default is to publish them, since it avoids
1208         confusion in new users.
1209         (muse-project-private-p): Use it.
1211 2006-11-19  Michael Olson  <mwolson@gnu.org>
1213         * lisp/muse-project.el (muse-project-resolve-link): If no remote
1214         style is found, which means that the link is not a Muse page, do
1215         not add a suffix or prefix to it.  This should fix the
1216         "[[thing.owl]]" bug that Phillip Lord reported.
1218         * lisp/muse-publish.el (muse-publish-link-file): Simplify by
1219         removing unused 2nd argument.
1221 2006-11-17  Michael Olson  <mwolson@gnu.org>
1223         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
1224         latex publishing where nested enumerated lists would be squashed
1225         together at the end.
1227 2006-11-16  Michael Olson  <mwolson@gnu.org>
1229         * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
1230         list embedded in a definition list look right.  This also allows
1231         for definitions to be separated from their terms, much like the
1232         way HTML does it by default, if the user puts a blank line or a
1233         line break between the term and the definition.  If the term and
1234         definition are on the same line, they will be that way in the
1235         output as well.
1237 2006-11-11  Michael Olson  <mwolson@gnu.org>
1239         * muse.texi (Markup Strings): Fix typo.  Thanks to Haiyong Zheng
1240         for the report.
1241         (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
1243 2006-11-07  Michael Olson  <mwolson@gnu.org>
1245         * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
1246         release candidate for Muse 3.03, available.
1248         * NEWS: Update.
1250 2006-11-06  Michael Olson  <mwolson@gnu.org>
1252         * lisp/muse-project.el (muse-project-find-file): Fix bug when
1253         following a relative link worked even when the path was incorrect.
1255 2006-11-04  John Sullivan  <john@wjsullivan.net>
1257         * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
1258         muse-follow-name-at-point to reduce collisions with other
1259         modes (Planner).
1261         * muse.texi (Keystroke Summary): Remove C-c C-c binding.
1263 2006-11-04  Michael Olson  <mwolson@gnu.org>
1265         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
1266         optional, and make interwiki delimiter a regular rather than shy
1267         group.
1268         (muse-wiki-handle-implicit-interwiki): Rename from
1269         muse-wiki-handle-interwiki.  Use match group 3 to get the page.
1270         (muse-wiki-handle-explicit-interwiki): New function that is
1271         smarter about where an explicit link ends in a buffer.  This
1272         allows you to refer to page names with invalid Wiki characters,
1273         such as underscores and dashes, merely by enclosing them in double
1274         brackets.  Also, a bug with recognizing project names too loosely
1275         has been fixed.
1277 2006-11-03  Michael Olson  <mwolson@gnu.org>
1279         * lisp/muse-project.el (muse-project-page-file): Make relative
1280         links work as expected, hopefully.
1282         * lisp/muse-publish.el (muse-publish-this-file): Set the current
1283         output style manually, since it will differ from anything in the
1284         publishing style list.
1286 2006-10-30  Michael Olson  <mwolson@gnu.org>
1288         * lisp/muse-colors.el (muse-colors-markup): Remove note about
1289         grouping elements, since that no longer applies.
1290         (muse-colors-custom-tags): Explicitly match against
1291         muse-tag-regexp to get the match-data set the way we want.  This
1292         really fixes the <example> highlighting bug that Stefan reported.
1293         (muse-configure-highlighting): Set the original value to the
1294         symbol, not the modified value.  Re-use modified rules properly.
1296         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
1297         introduced yesterday.
1299 2006-10-29  Michael Olson  <mwolson@gnu.org>
1301         * examples/mwolson: Update my example configuration.
1303         * NEWS: Update.
1305         * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
1306         without a regexp in the first position before iterating through
1307         them to build muse-colors-vector.  This fixes a bug with the
1308         display of <example> tags.  Thanks to Stefan Reichör for the
1309         report.
1311         * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
1312         files in projects to be linked to.
1314         * lisp/muse-publish.el (muse-publish-url): Allow the original link
1315         to serve as a description for a URL, as long as it differs from
1316         the destination URL.  This fixes the description of WikPage links
1317         in PDF output.
1318         (muse-publish-link-file): Check to see whether the given link
1319         points at a valid file.  If so, return it.  Otherwise, apply other
1320         transforms like prefix and link suffix.
1322         * lisp/muse-regexps.el (muse-file-regexp): If something ends in
1323         "/", it is a file or directory, not a Muse page.  Thanks to
1324         Phillip Lord for the suggestion.
1326         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
1327         of the current page as the local path, instead of duplicating the
1328         remote file's path.  This probably fixes at least one reported
1329         bug. since it's quite major.
1330         (muse-wiki-update-project-file-regexp)
1331         (muse-wiki-update-interwiki-regexp): Ensure that nil is never
1332         passed to regexp-opt, since that can cause Emacs 21 to throw an
1333         "maximum binding depth exceeded" error.  Thanks to xs32 AT cornell
1334         DOT edu for the report.
1335         (muse-wiki-handle-wikiword): Avoid a potential stringp error.
1337 2006-10-28  Michael Olson  <mwolson@gnu.org>
1339         * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
1340         (muse-project-resolve-link): If the given style does not have a
1341         link-suffix, default to suffix.  This fixes a bug I was noticing
1342         when linking to a file that was published in both PDF and HTML
1343         form.
1345         * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
1346         function that is used as a callback to determine the initial
1347         amount of indentation that the current dl item has.
1348         (muse-publish-surround-dl): Use it.  Pass the initial indent value
1349         and the post-indent value, instead of trying to determine them
1350         both.
1351         (muse-publish-strip-list-indentation): New function stripped from
1352         `muse-publish-surround-text' for readability.
1353         (muse-publish-surround-text): Instead of taking a determine-indent
1354         value, take a determine-indent-func function, which is called just
1355         after finding the next list item.  If we are asked to determine
1356         the amount of indentation, concatenate indent and post-indent the
1357         first time around.  This effectively fixes all known definition
1358         list issues.
1360 2006-10-16  Michael Olson  <mwolson@gnu.org>
1362         * lisp/muse.el: Provide the 'muse-nested-tags feature so that
1363         other software -- namely, Planner -- can detect whether they are
1364         using a version of Muse that supports nested tags.
1365         (muse-goto-tag-end): Moved from muse-publish.el and renamed from
1366         muse-publish-goto-tag-end.
1368         * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
1369         Adapt for nested tags.
1371         * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
1372         <class> tag is nestable.  Thanks to Phillip Lord for noticing
1373         this.
1375         * lisp/muse-publish.el (muse-publish-markup-tag)
1376         (muse-publish-quote-tag): Use muse-goto-tag-end.
1378         * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
1380 2006-10-15  Michael Olson  <mwolson@gnu.org>
1382         * AUTHORS: Bookkeeping.
1384         * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
1385         tag.
1387         * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
1388         tags.
1390         * lisp/muse-html.el (muse-html-markup-tags): Ditto.
1392         * lisp/muse-import-docbook.el (muse-import-docbook)
1393         (muse-import-docbook-files): Docfix.
1394         (muse-import-docbook-get-title): Remove cl.el-ism.
1396         * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
1398         * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
1400         * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
1402         * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
1403         (muse-next-reference, muse-previous-reference): Minor whitespace
1404         changes.
1405         (muse-mode-choose-mode): Add autoload cookie.  Thanks to Leo for
1406         the suggestion.
1408         * lisp/muse-poem.el (muse-poem-tag): Ditto.
1410         * lisp/muse-publish.el (muse-publish-markup-tags)
1411         (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
1412         element and make 4th element determine whether tags are nestable.
1413         (muse-publish-goto-tag-end): New function that moves to the end of
1414         a tag.  Handle nested tags when NESTED is non-nil.
1415         (muse-publish-markup-tag): Call muse-publish-goto-tag-end.  Use
1416         5th element for function.
1417         (muse-publish-quote-tag): Handle nested quote tags.  I've tested
1418         this on several scenarios, and it seems to work.
1419         (muse-publish-surround-text): Accept new optional argument
1420         LIST-ITEM which determines the regexp to use for list items.  The
1421         default is to use muse-list-item-regexp.
1423         * muse.texi (Markup Tags): Mention nestable tags.
1425         * NEWS: Mention new files.
1427 2006-10-15  Elena Pomohaci  <e.pomohaci@gmail.com>
1429         * lisp/muse-import-docbook.el: New file that converts Docbook XML
1430         into Muse format.
1432         * lisp/muse-import-xml.el: New file that provides helper routines
1433         for converting XML-ish files to Muse format.
1435 2006-10-10  Michael Olson  <mwolson@gnu.org>
1437         * NEWS: Update for 3.02.7 bugfix release.
1439 2006-10-06  Sasha Kovar  <sasha@arcocene.org>
1441         * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
1442         using the value in the muse #date directive.
1443         (muse-blosxom-use-metadate): New option that determines whether or
1444         not to use the #postdate directive.
1445         (muse-blosxom-format-date): Convert a date string to PyBlosxom
1446         metadate plugin format.
1448 2006-09-30  Stefan Schlee  <stefan_schlee@yahoo.com>
1450         * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
1451         recognised URLs.
1453         * muse.texi: Clarify handling of implicit links by mentioning
1454         which characters can prevent Muse from recognizing something as an
1455         implicit link.
1457 2006-09-26  Stefan Schlee  <stefan_schlee@yahoo.com>
1459         * lisp/muse-mode.el (muse-next-reference)
1460         (muse-previous-reference): Fix bug #6367 by moving point to the
1461         beginning of the link.
1463 2006-09-26  Michael Olson  <mwolson@gnu.org>
1465         * lisp/muse-colors.el (muse-use-font-lock): Don't quote
1466         beginning-of-line.  This should fix a bug that was noticed in
1467         recent Emacs 22 builds.
1469         * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
1470         eval-and-compile block to avoid a compiler warning.
1472 2006-09-25  Jim Ottaway  <j.ottaway@lse.ac.uk>
1474         * lisp/muse-backlink.el (muse-backlink-split-string):
1475         Compatibility with Emacs versions < 22
1476         (muse-backlink-pending): New internal variable
1477         (muse-backlink-get-mode-hook): Find the major mode hook to use, so
1478         that backlinks are inserted at the right time.
1479         (muse-backlink-insert-hook-func): Remove unwind-protection; check
1480         for pending backlink, and that this is the targe page.
1481         (muse-backlink-handle-link): Don’t handle the link if we are
1482         already handling one. Return the link as well as the parent links.
1484 2006-09-25  Sasha Kovar  <sasha@arcocene.org>
1486         * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
1487         #6942 - muse-blosxom-new-entry fails when using tags.
1489 2006-09-14  Michael Olson  <mwolson@gnu.org>
1491         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
1492         compiler warning.
1494 2006-09-14  Jim Ottaway  <j.ottaway@lse.ac.uk>
1496         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
1497         function: Protect all wikiwords from START to END from further
1498         processing.
1499         (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
1501 2006-09-13  Michael Olson  <mwolson@gnu.org>
1503         * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
1504         adopted from Jim Ottaway's patch.  It removes links from the
1505         heading, and then marks the region read-only to inhibit WikiWord
1506         detection.
1508 2006-09-13  Jim Ottaway  <j.ottaway@lse.ac.uk>
1510         * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
1511         special handling for headings.
1512         (muse-texinfo-remove-links): New function that removes explicit
1513         links from the given strings, replacing them with a description.
1515 2006-09-11  Michael Olson  <mwolson@gnu.org>
1517         * muse.texi (Getting Help and Reporting Bugs): Mention the
1518         muse-el-internationalization mailing list.
1520         * lisp/muse.el (muse-path-sans-extension): New function that acts
1521         like file-name-sans-extension, but guarantees to never modify the
1522         directory part of the path.  Thanks to Evan Monroig for
1523         investigating this.
1525         * lisp/muse-book.el (muse-book-publish-project): Use
1526         muse-path-sans-extension instead of file-name-sans-extension.
1528         * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
1529         Ditto.
1531 2006-08-30  Michael Olson  <mwolson@gnu.org>
1533         * muse.texi (Blosxom Requirements): Fix typo.
1535         * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
1536         directories for bzr and darcs.
1538         * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
1539         contrib/pyblosxom/getstamps.py: Update version and headers.
1541 2006-08-27  Michael Olson  <mwolson@gnu.org>
1543         * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
1544         nil values before they get to mapconcat.  This fixes a lockup when
1545         muse-wiki-match-all-project-files is nil.
1547         * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
1548         (muse-wiki-ignore-implicit-links-to-current-page)
1549         (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
1550         (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
1551         (muse-wiki-publish-small-title-words)
1552         (muse-wiki-publish-pretty-title): Docfix.
1553         (muse-wiki-update-local-wikiword-regexp): Rename from
1554         muse-wiki-update-local-wikiword-regexp.  Set
1555         muse-wiki-project-file-regexp instead of
1556         muse-wiki-wikiword-regexp, as suggested by Per Sederberg.  Don't
1557         take muse-wiki-use-wikiword into account, since this is a
1558         different concept now.
1559         (muse-wiki-update-wikiword-regexp): Remove.
1560         (muse-wiki-wikiword-regexp): In-line the :set function.
1561         (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
1563 2006-08-26  Michael Olson  <mwolson@gnu.org>
1565         * lisp/muse-publish.el (muse-publish-surround-text): When looking
1566         for indented list items, ignore blank lines.
1568         * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
1569         (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
1570         mapconcat.  This should hopefully fix a problem with large amounts
1571         of files with spaces in their name.  Thanks to Greg Detre for the
1572         report.
1574 2006-08-24  Michael Olson  <mwolson@gnu.org>
1576         * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
1577         numbers from the argument to format-time-string.  This fixes an
1578         XEmacs bug.  Thanks to Michael Welle for the report and analysis.
1580 2006-08-18  Michael Olson  <mwolson@gnu.org>
1582         * lisp/muse-project.el (muse-project-file-entries): Since we are
1583         given a full path, match against the filename as well.  This fixes
1584         an issue where backup files were being added to the file alist.
1586         * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
1587         from muse-html.el.
1589 2006-08-12  Michael Olson  <mwolson@gnu.org>
1591         * Makefile (.PHONY): Don't use line continuations.
1592         (realclean fullclean): Call realclean in subdirs, not distclean.
1593         (distclean): Don't call realclean, since this would wipe out our
1594         autoloads file.
1595         (dist): Use correct path to autoloads file.
1597         * NEWS: Catch up with the latest changes.
1599         * experimental/Makefile (.PHONY): Wrap long line.
1601         * lisp/Makefile (distclean): Do the same thing as "clean", not
1602         "realclean".
1604         * lisp/muse-project.el (muse-project-get-applicable-style):
1605         Indentation tweak.
1606         (muse-project-ignore-regexp, muse-project-recurse-directory):
1607         Docfix.
1608         (muse-project-of-file): Try the ignored files regexp against the
1609         base filename as well as the entire path.
1611         * lisp/muse-publish.el (muse-publish-this-file): Display message
1612         if the buffer is not associated with any file, so that we avoid
1613         errors later on.
1614         (muse-publish-url-desc): New function taken from muse-publish-url
1615         that causes a URL description to be transformed.
1616         (muse-publish-url): Call muse-publish-url-desc on either the
1617         description or the original URL if it will be used as a
1618         description.  Accept the original URL as an argument, in case it
1619         was transformed earlier.
1620         (muse-publish-insert-url): Pass original URL as an argument.
1621         (muse-publish-markup-link): Make this somewhat easier to follow.
1622         Pass original URL as argument.
1623         (muse-publish-get-style): If the same style is used to publish to
1624         two different directories, prompt the user for which directory to
1625         use.
1626         (muse-publish-markup-header-footer-tags): Sync lisp tag with the
1627         latest changes.
1628         (muse-publish-markup-url): Pass original URL as an argument.  This
1629         fixes the "nil" description for bare URLs that was in 3.02.91.
1630         Nothing like finding a bug just after completing the announcement
1631         of a release.
1633         * lisp/muse.el: Use defalias whenever convenient.
1634         (muse-version): Set version to 3.02.92 (3.03 RC2).
1636 2006-08-10  Michael Olson  <mwolson@gnu.org>
1638         * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
1639         style does not derive from any other class, return `t' here.
1640         This, along with the corresponding change to muse-publish.el,
1641         fixes a problem with the table of contents getting inserted
1642         multiple times for custom html-based styles.
1643         (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
1644         smarter method for table centering that works with XHTML.
1646         * lisp/muse-latex2png.el Rename all functions to have a
1647         "muse-latex2png" prefix.  Turn all variables into customizable
1648         options in the muse-latex2png group.
1649         (muse-latex2png-img-dest): New option specifying where to place
1650         the images.
1651         (muse-latex2png-template): New option containing the template to
1652         use for the surrounding LaTeX code.
1653         (muse-latex2png-use-xhtml): New option that toggles strict XHTML
1654         compliance.
1655         (muse-latex2png-move2pubdir): Avoid multiple redundant error
1656         messages when something else goes wrong.  Create the image
1657         subdirectory if it doesn't exist already -- thanks to Christian
1658         Straßer for the report.  Expand the filename properly.
1659         (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
1660         and filename expansion.
1661         (muse-latex2png): Use the "muse-latex2png" prefix by default.  Set
1662         the default directory properly.
1664         * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
1665         do not run the same function twice.
1667 2006-08-08  Michael Olson  <mwolson@gnu.org>
1669         * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
1670         introduced wrong-type-argument error.
1672         * lisp/muse-html.el (muse-html-markup-strings)
1673         (muse-xhtml-markup-string): Cause table definition that contains
1674         image to be center-aligned.  This should fix an issue with images
1675         not being centered when captions are very long.
1677         * lisp/muse-publish.el (muse-publish-table-fields): Trim
1678         whitespace from fields once we have split them up.
1680         * lisp/muse.el (muse-trim-whitespace): New function that strips
1681         leading and trailing whitespace from a string.
1683 2006-08-07  Michael Olson  <mwolson@gnu.org>
1685         * NEWS: Update through patch-95.
1687         * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
1688         to match the tags.
1689         (muse-colors-explicit-link): Show images in link descriptions if
1690         inlined images are enabled.
1692         * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
1693         definitions for 'image-with-desc, 'image, and 'image-link.
1694         (muse-docbook-markup-paragraph): If an inlined image begins a
1695         paragraph, insert <para> before it.
1696         (muse-docbook-fixup-images): New function that upper-cases the
1697         "format" attribute of the <imagedata> tag.
1698         (muse-docbook-finalize-buffer): Call it.
1700         * lisp/muse-html.el (muse-html-markup-strings): Publish images
1701         with descriptions as centered tables, with a centered caption
1702         underneath.  The resulting look is consistent with the way that
1703         they are published in the LaTeX style.  Thanks to Jody Klymak for
1704         the suggestion.
1705         (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
1706         valid way to center a table.
1707         (muse-html-markup-paragraph): Use class="image" instead of
1708         "image-link" for paragraphs that start with an embedded image.
1710         * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
1711         \textbackslash{} for "\".  Thanks to Jim Ottaway for the
1712         suggestion.
1713         (muse-latex-markup-specials-image): New option that enables
1714         escaping of specials in images.  This was split from the URL
1715         specials.
1716         (muse-latex-decide-specials): Handle 'image context.
1717         (muse-latex-fixup-dquotes): Go to beginning of document, instead
1718         of relying on caller to do this for us.
1720         * lisp/muse-publish.el (muse-publish-escape-specials): Document
1721         'image context.
1722         (muse-publish-url): Use 'image context for images.  Use 'image
1723         instead of 'image-link and 'image-link in place of
1724         'url-with-image.  Separate the image file from its extension so
1725         that docbook and texinfo can publish images correctly.
1726         (muse-publish-markup-link): Don't force a description if one is
1727         not given.  This fixes a bug where images without descriptions
1728         were being published as 'image-with-desc instead of 'image.
1730         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
1731         images the same as URLs.
1732         (muse-texinfo-markup-strings): Improve image markup to achieve an
1733         effect similar to that of the LaTeX publishing style.  Simplify
1734         'url string.
1736         * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
1738         * lisp/muse.el (muse-replace-regexp-in-string): Save match data
1739         when we have to use the custom version of this function.
1741         * muse.texi (Images): Explain how to toggle inlining of images and
1742         give better examples.  Mention captions and that captioned images
1743         should not be used inside of text paragraphs.
1744         (Markup Strings): Bring up-to-date with the changes made since
1745         3.02.
1747 2006-08-06  Michael Olson  <mwolson@gnu.org>
1749         * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
1750         in the Emacs source tree.
1752         * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
1753         in the Emacs source tree.
1755         * ChangeLog.3: New file created from the old ChangeLog.
1757         * Makefile.defs (VERSION): Set to 3.02.91.
1759         * NEWS: Update through patch-84.
1761         * lisp/muse.el (muse-version): Set to 3.02.91.
1763         * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
1764         attributes.
1765         (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
1766         delimiter are instead of hard-coding it.
1768         * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
1769         (muse-mode): Make filling definition lists work better.  This
1770         should fix #5359.
1772         * lisp/muse-publish.el (muse-style-run-hooks): Use
1773         `muse-style-element' instead of `muse-get-keyword' here.  This
1774         should fix #6399.
1776         * muse.texi: Set version to 3.02.91 (3.02 RC2).
1778 See ChangeLog.3 for earlier changes.
1780 ;; Local Variables:
1781 ;; coding: utf-8
1782 ;; End: