manual: Update book example
[muse-el.git] / ChangeLog
blob9afc1188eb06e2ff13c57ddcfe22583f47536ec3
1 2006-12-21  Michael Olson  <mwolson@gnu.org>
3         * examples/johnw/muse-johnw.el: Update for preferred
4         muse-derive-style usage.  Rename to muse-init.el.
6         * examples/mwolson/muse-init.el: Update.
8         * lisp/muse-book.el (muse-book-publish): New function split from
9         muse-book-publish-project.  This is used in the definitions for
10         the book-latex and book-pdf styles.
11         (muse-book-publish-p): New function split from muse-book-publish.
12         (muse-book-get-directives): New function that retrieves the
13         publishing directives from the given file.
14         (muse-book-publish): Use muse-book-get-directives to set the title
15         if no title was specified.
17         * lisp/muse-project.el (muse-project): Add :publish-project entry
18         to widget.
19         (muse-read-project, muse-project-find-file): Message fix.
20         (muse-project-publish-file-default): New function split from
21         muse-project-publish-file.
22         (muse-project-publish-file): Allow file-level publishing function
23         to be specified by the :publish element.  The default is
24         muse-project-publish-file-default.
25         (muse-project-publish-default): New function split from
26         muse-project-publish.
27         (muse-project-publish): Allow project-level publishing function to
28         be specified by :publish-project element.  The default is
29         muse-project-publish-default.
31         * lisp/muse-publish.el (muse-publish-file): Message fix.
33         * texi/muse.texi (Book): Mention new way to publish books and
34         provide an example, since the process may be non-obvious.
36 2006-12-20  Michael Olson  <mwolson@gnu.org>
38         * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
39         content-modifying code from the rest of
40         muse-docbook-finalize-buffer.
42         * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
43         muse-groff-finalize-buffer, since it adds content to the buffer.
45         * lisp/muse-html.el (muse-html-munge-buffer): Split out
46         content-modifying code from the rest of muse-html-finalize-buffer.
47         This fixes a bug when using <include> with <content> tags.
49         * lisp/muse-journal.el (muse-journal-html-munge-buffer)
50         (muse-journal-latex-munge-buffer)
51         (muse-journal-rss-munge-buffer): Rename, since they add content to
52         the buffer.
54         * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
55         muse-latex-finalize-buffer, since it adds content to the buffer.
57         * lisp/muse-mode.el:
58         * lisp/muse-project.el:
59         * lisp/muse-publish.el:
60         * lisp/muse.el: Fix recursive load error.
62         * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
63         muse-texinfo-finalize-buffer, since it adds content to the buffer.
65         * lisp/muse-wiki.el: Comment cleanup.
67         * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
69 2006-12-17  Michael Olson  <mwolson@gnu.org>
71         * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
72         Remove the definition of \comment, since Latex already has comment
73         syntax.
74         (muse-latex-markup-strings): Use the Latex comment syntax, rather
75         than our own.  Thanks to Ryan Stutsman for pointing this out.
77 2006-12-02  Michael Olson  <mwolson@gnu.org>
79         * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
80         that this can generate a proper table of contents for Planner HTML
81         publishing.
83 2006-12-01  Michael Olson  <mwolson@gnu.org>
85         * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
86         using a very old Emacs, avoid an infinite loop that could occur
87         when the regexp is an empty string.
89 2006-11-26  Michael Olson  <mwolson@gnu.org>
91         * NEWS: Bring up to date.
93         * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
94         list issues and multiple-stanza verse issues.  This takes care of
95         all of the markup issues I was worried about.
97         * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
98         (muse-project-publish-private-files): New option that indicates
99         whether files with private filesystem permissions should be
100         published.  The default is to publish them, since it avoids
101         confusion in new users.
102         (muse-project-private-p): Use it.
104 2006-11-19  Michael Olson  <mwolson@gnu.org>
106         * lisp/muse-project.el (muse-project-resolve-link): If no remote
107         style is found, which means that the link is not a Muse page, do
108         not add a suffix or prefix to it.  This should fix the
109         "[[thing.owl]]" bug that Phillip Lord reported.
111         * lisp/muse-publish.el (muse-publish-link-file): Simplify by
112         removing unused 2nd argument.
114 2006-11-17  Michael Olson  <mwolson@gnu.org>
116         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
117         latex publishing where nested enumerated lists would be squashed
118         together at the end.
120 2006-11-16  Michael Olson  <mwolson@gnu.org>
122         * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
123         list embedded in a definition list look right.  This also allows
124         for definitions to be separated from their terms, much like the
125         way HTML does it by default, if the user puts a blank line or a
126         line break between the term and the definition.  If the term and
127         definition are on the same line, they will be that way in the
128         output as well.
130 2006-11-11  Michael Olson  <mwolson@gnu.org>
132         * muse.texi (Markup Strings): Fix typo.  Thanks to Haiyong Zheng
133         for the report.
134         (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
136 2006-11-07  Michael Olson  <mwolson@gnu.org>
138         * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
139         release candidate for Muse 3.03, available.
141         * NEWS: Update.
143 2006-11-06  Michael Olson  <mwolson@gnu.org>
145         * lisp/muse-project.el (muse-project-find-file): Fix bug when
146         following a relative link worked even when the path was incorrect.
148 2006-11-04  John Sullivan  <john@wjsullivan.net>
150         * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
151         muse-follow-name-at-point to reduce collisions with other
152         modes (Planner).
154         * muse.texi (Keystroke Summary): Remove C-c C-c binding.
156 2006-11-04  Michael Olson  <mwolson@gnu.org>
158         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
159         optional, and make interwiki delimiter a regular rather than shy
160         group.
161         (muse-wiki-handle-implicit-interwiki): Rename from
162         muse-wiki-handle-interwiki.  Use match group 3 to get the page.
163         (muse-wiki-handle-explicit-interwiki): New function that is
164         smarter about where an explicit link ends in a buffer.  This
165         allows you to refer to page names with invalid Wiki characters,
166         such as underscores and dashes, merely by enclosing them in double
167         brackets.  Also, a bug with recognizing project names too loosely
168         has been fixed.
170 2006-11-03  Michael Olson  <mwolson@gnu.org>
172         * lisp/muse-project.el (muse-project-page-file): Make relative
173         links work as expected, hopefully.
175         * lisp/muse-publish.el (muse-publish-this-file): Set the current
176         output style manually, since it will differ from anything in the
177         publishing style list.
179 2006-10-30  Michael Olson  <mwolson@gnu.org>
181         * lisp/muse-colors.el (muse-colors-markup): Remove note about
182         grouping elements, since that no longer applies.
183         (muse-colors-custom-tags): Explicitly match against
184         muse-tag-regexp to get the match-data set the way we want.  This
185         really fixes the <example> highlighting bug that Stefan reported.
186         (muse-configure-highlighting): Set the original value to the
187         symbol, not the modified value.  Re-use modified rules properly.
189         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
190         introduced yesterday.
192 2006-10-29  Michael Olson  <mwolson@gnu.org>
194         * examples/mwolson: Update my example configuration.
196         * NEWS: Update.
198         * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
199         without a regexp in the first position before iterating through
200         them to build muse-colors-vector.  This fixes a bug with the
201         display of <example> tags.  Thanks to Stefan Reichör for the
202         report.
204         * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
205         files in projects to be linked to.
207         * lisp/muse-publish.el (muse-publish-url): Allow the original link
208         to serve as a description for a URL, as long as it differs from
209         the destination URL.  This fixes the description of WikPage links
210         in PDF output.
211         (muse-publish-link-file): Check to see whether the given link
212         points at a valid file.  If so, return it.  Otherwise, apply other
213         transforms like prefix and link suffix.
215         * lisp/muse-regexps.el (muse-file-regexp): If something ends in
216         "/", it is a file or directory, not a Muse page.  Thanks to
217         Phillip Lord for the suggestion.
219         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
220         of the current page as the local path, instead of duplicating the
221         remote file's path.  This probably fixes at least one reported
222         bug. since it's quite major.
223         (muse-wiki-update-project-file-regexp)
224         (muse-wiki-update-interwiki-regexp): Ensure that nil is never
225         passed to regexp-opt, since that can cause Emacs 21 to throw an
226         "maximum binding depth exceeded" error.  Thanks to xs32 AT cornell
227         DOT edu for the report.
228         (muse-wiki-handle-wikiword): Avoid a potential stringp error.
230 2006-10-28  Michael Olson  <mwolson@gnu.org>
232         * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
233         (muse-project-resolve-link): If the given style does not have a
234         link-suffix, default to suffix.  This fixes a bug I was noticing
235         when linking to a file that was published in both PDF and HTML
236         form.
238         * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
239         function that is used as a callback to determine the initial
240         amount of indentation that the current dl item has.
241         (muse-publish-surround-dl): Use it.  Pass the initial indent value
242         and the post-indent value, instead of trying to determine them
243         both.
244         (muse-publish-strip-list-indentation): New function stripped from
245         `muse-publish-surround-text' for readability.
246         (muse-publish-surround-text): Instead of taking a determine-indent
247         value, take a determine-indent-func function, which is called just
248         after finding the next list item.  If we are asked to determine
249         the amount of indentation, concatenate indent and post-indent the
250         first time around.  This effectively fixes all known definition
251         list issues.
253 2006-10-16  Michael Olson  <mwolson@gnu.org>
255         * lisp/muse.el: Provide the 'muse-nested-tags feature so that
256         other software -- namely, Planner -- can detect whether they are
257         using a version of Muse that supports nested tags.
258         (muse-goto-tag-end): Moved from muse-publish.el and renamed from
259         muse-publish-goto-tag-end.
261         * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
262         Adapt for nested tags.
264         * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
265         <class> tag is nestable.  Thanks to Phillip Lord for noticing
266         this.
268         * lisp/muse-publish.el (muse-publish-markup-tag)
269         (muse-publish-quote-tag): Use muse-goto-tag-end.
271         * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
273 2006-10-15  Michael Olson  <mwolson@gnu.org>
275         * AUTHORS: Bookkeeping.
277         * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
278         tag.
280         * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
281         tags.
283         * lisp/muse-html.el (muse-html-markup-tags): Ditto.
285         * lisp/muse-import-docbook.el (muse-import-docbook)
286         (muse-import-docbook-files): Docfix.
287         (muse-import-docbook-get-title): Remove cl.el-ism.
289         * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
291         * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
293         * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
295         * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
296         (muse-next-reference, muse-previous-reference): Minor whitespace
297         changes.
298         (muse-mode-choose-mode): Add autoload cookie.  Thanks to Leo for
299         the suggestion.
301         * lisp/muse-poem.el (muse-poem-tag): Ditto.
303         * lisp/muse-publish.el (muse-publish-markup-tags)
304         (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
305         element and make 4th element determine whether tags are nestable.
306         (muse-publish-goto-tag-end): New function that moves to the end of
307         a tag.  Handle nested tags when NESTED is non-nil.
308         (muse-publish-markup-tag): Call muse-publish-goto-tag-end.  Use
309         5th element for function.
310         (muse-publish-quote-tag): Handle nested quote tags.  I've tested
311         this on several scenarios, and it seems to work.
312         (muse-publish-surround-text): Accept new optional argument
313         LIST-ITEM which determines the regexp to use for list items.  The
314         default is to use muse-list-item-regexp.
316         * muse.texi (Markup Tags): Mention nestable tags.
318         * NEWS: Mention new files.
320 2006-10-15  Elena Pomohaci  <e.pomohaci@gmail.com>
322         * lisp/muse-import-docbook.el: New file that converts Docbook XML
323         into Muse format.
325         * lisp/muse-import-xml.el: New file that provides helper routines
326         for converting XML-ish files to Muse format.
328 2006-10-10  Michael Olson  <mwolson@gnu.org>
330         * NEWS: Update for 3.02.7 bugfix release.
332 2006-10-06  Sasha Kovar  <sasha@arcocene.org>
334         * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
335         using the value in the muse #date directive.
336         (muse-blosxom-use-metadate): New option that determines whether or
337         not to use the #postdate directive.
338         (muse-blosxom-format-date): Convert a date string to PyBlosxom
339         metadate plugin format.
341 2006-09-30  Stefan Schlee  <stefan_schlee@yahoo.com>
343         * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
344         recognised URLs.
346         * muse.texi: Clarify handling of implicit links by mentioning
347         which characters can prevent Muse from recognizing something as an
348         implicit link.
350 2006-09-26  Stefan Schlee  <stefan_schlee@yahoo.com>
352         * lisp/muse-mode.el (muse-next-reference)
353         (muse-previous-reference): Fix bug #6367 by moving point to the
354         beginning of the link.
356 2006-09-26  Michael Olson  <mwolson@gnu.org>
358         * lisp/muse-colors.el (muse-use-font-lock): Don't quote
359         beginning-of-line.  This should fix a bug that was noticed in
360         recent Emacs 22 builds.
362         * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
363         eval-and-compile block to avoid a compiler warning.
365 2006-09-25  Jim Ottaway  <j.ottaway@lse.ac.uk>
367         * lisp/muse-backlink.el (muse-backlink-split-string):
368         Compatibility with Emacs versions < 22
369         (muse-backlink-pending): New internal variable
370         (muse-backlink-get-mode-hook): Find the major mode hook to use, so
371         that backlinks are inserted at the right time.
372         (muse-backlink-insert-hook-func): Remove unwind-protection; check
373         for pending backlink, and that this is the targe page.
374         (muse-backlink-handle-link): Don’t handle the link if we are
375         already handling one. Return the link as well as the parent links.
377 2006-09-25  Sasha Kovar  <sasha@arcocene.org>
379         * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
380         #6942 - muse-blosxom-new-entry fails when using tags.
382 2006-09-14  Michael Olson  <mwolson@gnu.org>
384         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
385         compiler warning.
387 2006-09-14  Jim Ottaway  <j.ottaway@lse.ac.uk>
389         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
390         function: Protect all wikiwords from START to END from further
391         processing.
392         (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
394 2006-09-13  Michael Olson  <mwolson@gnu.org>
396         * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
397         adopted from Jim Ottaway's patch.  It removes links from the
398         heading, and then marks the region read-only to inhibit WikiWord
399         detection.
401 2006-09-13  Jim Ottaway  <j.ottaway@lse.ac.uk>
403         * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
404         special handling for headings.
405         (muse-texinfo-remove-links): New function that removes explicit
406         links from the given strings, replacing them with a description.
408 2006-09-11  Michael Olson  <mwolson@gnu.org>
410         * muse.texi (Getting Help and Reporting Bugs): Mention the
411         muse-el-internationalization mailing list.
413         * lisp/muse.el (muse-path-sans-extension): New function that acts
414         like file-name-sans-extension, but guarantees to never modify the
415         directory part of the path.  Thanks to Evan Monroig for
416         investigating this.
418         * lisp/muse-book.el (muse-book-publish-project): Use
419         muse-path-sans-extension instead of file-name-sans-extension.
421         * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
422         Ditto.
424 2006-08-30  Michael Olson  <mwolson@gnu.org>
426         * muse.texi (Blosxom Requirements): Fix typo.
428         * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
429         directories for bzr and darcs.
431         * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
432         contrib/pyblosxom/getstamps.py: Update version and headers.
434 2006-08-27  Michael Olson  <mwolson@gnu.org>
436         * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
437         nil values before they get to mapconcat.  This fixes a lockup when
438         muse-wiki-match-all-project-files is nil.
440         * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
441         (muse-wiki-ignore-implicit-links-to-current-page)
442         (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
443         (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
444         (muse-wiki-publish-small-title-words)
445         (muse-wiki-publish-pretty-title): Docfix.
446         (muse-wiki-update-local-wikiword-regexp): Rename from
447         muse-wiki-update-local-wikiword-regexp.  Set
448         muse-wiki-project-file-regexp instead of
449         muse-wiki-wikiword-regexp, as suggested by Per Sederberg.  Don't
450         take muse-wiki-use-wikiword into account, since this is a
451         different concept now.
452         (muse-wiki-update-wikiword-regexp): Remove.
453         (muse-wiki-wikiword-regexp): In-line the :set function.
454         (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
456 2006-08-26  Michael Olson  <mwolson@gnu.org>
458         * lisp/muse-publish.el (muse-publish-surround-text): When looking
459         for indented list items, ignore blank lines.
461         * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
462         (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
463         mapconcat.  This should hopefully fix a problem with large amounts
464         of files with spaces in their name.  Thanks to Greg Detre for the
465         report.
467 2006-08-24  Michael Olson  <mwolson@gnu.org>
469         * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
470         numbers from the argument to format-time-string.  This fixes an
471         XEmacs bug.  Thanks to Michael Welle for the report and analysis.
473 2006-08-18  Michael Olson  <mwolson@gnu.org>
475         * lisp/muse-project.el (muse-project-file-entries): Since we are
476         given a full path, match against the filename as well.  This fixes
477         an issue where backup files were being added to the file alist.
479         * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
480         from muse-html.el.
482 2006-08-12  Michael Olson  <mwolson@gnu.org>
484         * Makefile (.PHONY): Don't use line continuations.
485         (realclean fullclean): Call realclean in subdirs, not distclean.
486         (distclean): Don't call realclean, since this would wipe out our
487         autoloads file.
488         (dist): Use correct path to autoloads file.
490         * NEWS: Catch up with the latest changes.
492         * experimental/Makefile (.PHONY): Wrap long line.
494         * lisp/Makefile (distclean): Do the same thing as "clean", not
495         "realclean".
497         * lisp/muse-project.el (muse-project-get-applicable-style):
498         Indentation tweak.
499         (muse-project-ignore-regexp, muse-project-recurse-directory):
500         Docfix.
501         (muse-project-of-file): Try the ignored files regexp against the
502         base filename as well as the entire path.
504         * lisp/muse-publish.el (muse-publish-this-file): Display message
505         if the buffer is not associated with any file, so that we avoid
506         errors later on.
507         (muse-publish-url-desc): New function taken from muse-publish-url
508         that causes a URL description to be transformed.
509         (muse-publish-url): Call muse-publish-url-desc on either the
510         description or the original URL if it will be used as a
511         description.  Accept the original URL as an argument, in case it
512         was transformed earlier.
513         (muse-publish-insert-url): Pass original URL as an argument.
514         (muse-publish-markup-link): Make this somewhat easier to follow.
515         Pass original URL as argument.
516         (muse-publish-get-style): If the same style is used to publish to
517         two different directories, prompt the user for which directory to
518         use.
519         (muse-publish-markup-header-footer-tags): Sync lisp tag with the
520         latest changes.
521         (muse-publish-markup-url): Pass original URL as an argument.  This
522         fixes the "nil" description for bare URLs that was in 3.02.91.
523         Nothing like finding a bug just after completing the announcement
524         of a release.
526         * lisp/muse.el: Use defalias whenever convenient.
527         (muse-version): Set version to 3.02.92 (3.03 RC2).
529 2006-08-10  Michael Olson  <mwolson@gnu.org>
531         * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
532         style does not derive from any other class, return `t' here.
533         This, along with the corresponding change to muse-publish.el,
534         fixes a problem with the table of contents getting inserted
535         multiple times for custom html-based styles.
536         (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
537         smarter method for table centering that works with XHTML.
539         * lisp/muse-latex2png.el Rename all functions to have a
540         "muse-latex2png" prefix.  Turn all variables into customizable
541         options in the muse-latex2png group.
542         (muse-latex2png-img-dest): New option specifying where to place
543         the images.
544         (muse-latex2png-template): New option containing the template to
545         use for the surrounding LaTeX code.
546         (muse-latex2png-use-xhtml): New option that toggles strict XHTML
547         compliance.
548         (muse-latex2png-move2pubdir): Avoid multiple redundant error
549         messages when something else goes wrong.  Create the image
550         subdirectory if it doesn't exist already -- thanks to Christian
551         Straßer for the report.  Expand the filename properly.
552         (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
553         and filename expansion.
554         (muse-latex2png): Use the "muse-latex2png" prefix by default.  Set
555         the default directory properly.
557         * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
558         do not run the same function twice.
560 2006-08-08  Michael Olson  <mwolson@gnu.org>
562         * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
563         introduced wrong-type-argument error.
565         * lisp/muse-html.el (muse-html-markup-strings)
566         (muse-xhtml-markup-string): Cause table definition that contains
567         image to be center-aligned.  This should fix an issue with images
568         not being centered when captions are very long.
570         * lisp/muse-publish.el (muse-publish-table-fields): Trim
571         whitespace from fields once we have split them up.
573         * lisp/muse.el (muse-trim-whitespace): New function that strips
574         leading and trailing whitespace from a string.
576 2006-08-07  Michael Olson  <mwolson@gnu.org>
578         * NEWS: Update through patch-95.
580         * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
581         to match the tags.
582         (muse-colors-explicit-link): Show images in link descriptions if
583         inlined images are enabled.
585         * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
586         definitions for 'image-with-desc, 'image, and 'image-link.
587         (muse-docbook-markup-paragraph): If an inlined image begins a
588         paragraph, insert <para> before it.
589         (muse-docbook-fixup-images): New function that upper-cases the
590         "format" attribute of the <imagedata> tag.
591         (muse-docbook-finalize-buffer): Call it.
593         * lisp/muse-html.el (muse-html-markup-strings): Publish images
594         with descriptions as centered tables, with a centered caption
595         underneath.  The resulting look is consistent with the way that
596         they are published in the LaTeX style.  Thanks to Jody Klymak for
597         the suggestion.
598         (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
599         valid way to center a table.
600         (muse-html-markup-paragraph): Use class="image" instead of
601         "image-link" for paragraphs that start with an embedded image.
603         * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
604         \textbackslash{} for "\".  Thanks to Jim Ottaway for the
605         suggestion.
606         (muse-latex-markup-specials-image): New option that enables
607         escaping of specials in images.  This was split from the URL
608         specials.
609         (muse-latex-decide-specials): Handle 'image context.
610         (muse-latex-fixup-dquotes): Go to beginning of document, instead
611         of relying on caller to do this for us.
613         * lisp/muse-publish.el (muse-publish-escape-specials): Document
614         'image context.
615         (muse-publish-url): Use 'image context for images.  Use 'image
616         instead of 'image-link and 'image-link in place of
617         'url-with-image.  Separate the image file from its extension so
618         that docbook and texinfo can publish images correctly.
619         (muse-publish-markup-link): Don't force a description if one is
620         not given.  This fixes a bug where images without descriptions
621         were being published as 'image-with-desc instead of 'image.
623         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
624         images the same as URLs.
625         (muse-texinfo-markup-strings): Improve image markup to achieve an
626         effect similar to that of the LaTeX publishing style.  Simplify
627         'url string.
629         * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
631         * lisp/muse.el (muse-replace-regexp-in-string): Save match data
632         when we have to use the custom version of this function.
634         * muse.texi (Images): Explain how to toggle inlining of images and
635         give better examples.  Mention captions and that captioned images
636         should not be used inside of text paragraphs.
637         (Markup Strings): Bring up-to-date with the changes made since
638         3.02.
640 2006-08-06  Michael Olson  <mwolson@gnu.org>
642         * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
643         in the Emacs source tree.
645         * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
646         in the Emacs source tree.
648         * ChangeLog.3: New file created from the old ChangeLog.
650         * Makefile.defs (VERSION): Set to 3.02.91.
652         * NEWS: Update through patch-84.
654         * lisp/muse.el (muse-version): Set to 3.02.91.
656         * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
657         attributes.
658         (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
659         delimiter are instead of hard-coding it.
661         * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
662         (muse-mode): Make filling definition lists work better.  This
663         should fix #5359.
665         * lisp/muse-publish.el (muse-style-run-hooks): Use
666         `muse-style-element' instead of `muse-get-keyword' here.  This
667         should fix #6399.
669         * muse.texi: Set version to 3.02.91 (3.02 RC2).
671 See ChangeLog.3 for earlier changes.
673 ;; Local Variables:
674 ;; coding: utf-8
675 ;; End: