Check in ChangeLog entry for last commit
[muse-el.git] / ChangeLog
blobf9898613c32b685f1d50ff002b8d4e9579cf0c5b
1 2007-08-05  Michael Olson  <mwolson@gnu.org>
3         * .gitignore: Add texi/muse.html.
5         * Makefile.defs.default (install_info): Rename from INSTALLINFO.
6         Turn this into something that can be called like a command, due to
7         needing to deal with XEmacs, which has different argument order.
8         Thanks to Terrence Brannon for the report.
10         * scripts/muse-build.el: Avoid interference from VC.el in the
11         build process.
13         * texi/Makefile (install): Call install_info.
15 2007-08-03  Michael Olson  <mwolson@gnu.org>
17         * lisp/muse-project.el (muse-project-applicable-styles): Remove
18         useless argument ignore-regexp.  Use saner logic.  This fixes a
19         bug where a file could potentially not exist but still appear in
20         the used-styles list.  Thanks to John Wiegley for the fix.
21         (muse-project-publish-file): Don't take ignore-reegxp argument.
23 2007-08-02  Michael Olson  <mwolson@gnu.org>
25         * lisp/muse-publish.el (muse-batch-publish-files): Don't activate
26         VC when publishing files in batch.  This avoids some annoying
27         messages when building QuickStart in the examples directory.
29         * lisp/muse-mode.el (muse-mode): Don't try to indent line before
30         inserting a comment.
32 2007-07-31  Michael Olson  <mwolson@gnu.org>
34         * lisp/Makefile: Add dependencies between Emacs Lisp files, so
35         that Muse can be recompiled without running "make clean" after an
36         update.
38         * lisp/muse-publish.el (muse-publish-verse-tag): Unconditionally
39         delete forward one character, since we are guaranteed to be on a
40         blank line.  Don't delete all initial whitespace of the first
41         line.  This fixes an issue where the output from the verse tag did
42         not match the output from Muse's verse syntax.
44 2007-07-29  Michael Olson  <mwolson@gnu.org>
46         * Relicense to GPLv3.
48         * Makefile.defs.default: Rename from Makefile.defs.  This allows
49         people to copy this file to Makefile.defs and make changes,
50         without having the changes be accidentally committed.  If
51         Makefile.defs does not exist, this file is read instead, in order
52         to minimize inconvenience to the casual user.
54         * Makefile, contrib/Makefile, examples/Makefile,
55         experimental/Makefile, lisp/Makefile, texi/Makefile: Use either
56         Makefile.defs.default or Makefile.defs.
58         * lisp/muse-mode.el (muse-list-edit-minor-mode-map): Use new
59         function names.
60         (muse-l-e-m-m-insert-list-item): Add real documentation.
61         (muse-l-e-m-m-increase-list-item-indent)
62         (muse-l-e-m-m-decrease-list-item-indent): Rename for clarity.  Add
63         real documentation.
64         (muse-list-edit-minor-mode): Improve documentation.
66         * texi/doclicense.texi (GNU Free Documentation License): Use
67         pristine copy from Emacs source tree.
69         * texi/muse.texi (Contributors): Move node and appendix indicators
70         here, rather than doclicense.texi.
72 2007-07-29  Jean Magnan de Bornier  <jean@bornier.net>
74         * lisp/muse-latex.el (muse-latex-markup-strings): Change rule
75         command which did not work correctly
77         * lisp/muse-context.el (muse-context-markup-strings): Change rule
78         command which did not work correctly; defined verse commands
79         (muse-context-markup-specials-literal): Eliminate all unuseful entries
81 2007-07-29  Michael Olson  <mwolson@gnu.org>
83         * contrib/httpd.el (httpd-send-file): Use
84         insert-file-contents-literally instead of insert-file-contents.
86         * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
87         Use insert-file-contents-literally instead of
88         insert-file-contents.
90         * experimental/muse-split.el (muse-publish-file)
91         (muse-publish-presplit-publish, muse-publish-no-split-function)
92         (muse-journal-split-by-entry, muse-journal-split-by-month): Use
93         insert-file-contents-literally instead of insert-file-contents.
95         * lisp/muse-book.el (muse-book-publish-chapter)
96         (muse-book-get-directives): Use insert-file-contents-literally
97         instead of insert-file-contents.
99         * lisp/muse-http.el (muse-http-render-page): Use
100         insert-file-contents-literally instead of insert-file-contents.
102         * lisp/muse-import-latex.el (muse-import-latex): Set marker to
103         nowhere when done, since they can slow things down.
105         * lisp/muse-journal.el (muse-journal-html-munge-buffer): Set
106         marker to nowhere when done, since they can slow things down.
108         * lisp/muse-poem.el (muse-poem-markup-tag): Set marker to nowhere
109         when done, since they can slow things down.  Use
110         insert-file-contents-literally instead of insert-file-contents.
112         * lisp/muse-publish.el (muse-publish-markup-tag)
113         (muse-publish-markup-word, muse-publish-markup-footnote)
114         (muse-publish-call-tag-on-buffer): Set markers to nowhere when
115         done, since they can slow things down.
116         (muse-insert-file-or-string, muse-publish-file)
117         (muse-publish-include-tag, muse-published-contents): Use
118         insert-file-contents-literally instead of insert-file-contents.
119         (muse-publish-surround-dl): Remove unused variable.  Track whether
120         a term has been found, and handle that case well.
121         (muse-publish-ensure-blank-line): Use a marker, so that we don't
122         lose our place when adding a newline.  This really fixes the
123         definition list item bug.
124         (muse-publish-markup-list): Since people do seem to want
125         definition lists with no terms, allow this.
126         (muse-batch-publish-files): Set muse-current-output-style.
128         * lisp/muse.el (muse-with-temp-buffer): Mention
129         `insert-file-contents-literally'.
131 2007-07-28  Michael Olson  <mwolson@gnu.org>
133         * lisp/muse-mode.el (muse-browse-result): Set
134         muse-current-output-style.
135         (muse-mode): Don't duplicate the paragraph-start regexp
136         unnecessarily.
137         (muse-list-edit-minor-mode-map): New variable containing the
138         keymap for Muse list edit minor mode.
139         (muse-l-e-m-m-list-item-regexp): New variable that matches list
140         items for Muse list edit minor mode.
141         (muse-l-e-m-m-insert-list-item,
142         muse-l-e-m-m-i-list-item-indentation)
143         (muse-l-e-m-m-d-list-item-indentation): Variants of existing list
144         item functions that change the list item regexp before calling the
145         existing function.
146         (muse-l-e-m-m-data): New variable that keeps track of the fill
147         data that we overwrite when activating Muse list edit minor mode,
148         so that we can restore it if the minor mode is toggled off.
149         (muse-list-edit-minor-mode): New minor mode that is useful for
150         editing lists in other major modes.
151         (turn-on-muse-list-edit-minor-mode)
152         (turn-off-muse-list-edit-minor-mode): New interactive functions
153         that turn Muse list edit minor mode on and off, respectively.
154         (muse-on-blank-line, muse-get-paragraph-start): Simplify some
155         regexps.
157         * lisp/muse-project.el (muse-project-publish-this-file): Set
158         muse-current-output-style.  This fixes a bug when publishing to a
159         style that is not first in the list of styles.  Thanks to Jean
160         Magnan de Bornier for the report.
162         * lisp/muse-publish.el (muse-publish-ensure-blank-line): New
163         function that ensures that a blank line exists in the line before
164         point.
165         (muse-publish-markup-list): Use it, rather than
166         `muse-publish-ensure-block'.  This fixes a bug with definition
167         list publishing.  Thanks to meandtheshell for reporting this.
169         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): If the
170         project argument is nil, default to the current project instead of
171         the first project entry in muse-project-alist.  This seems much
172         more sane to me.
174         * lisp/muse.el (muse-forward-list-item): Only check the 'face
175         property if we are in Muse mode or one of its derivatives.  This
176         allows movement on nested lists to work in other modes, and fixes
177         an issue with altering list indentation in
178         muse-list-edit-minor-mode.
180 2007-07-27  Michael Olson  <mwolson@gnu.org>
182         * AUTHORS: Add new authors.
184         * README: Permit Muse to be called "Emacs-Muse".
186         * etc/IDEAS.muse: Remove now-implemented ideas and duplicate idea.
188         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug
189         involving list items that have an extra blank line in front.
191         * texi/muse.texi (Introduction): Mention that Emacs Muse, Muse,
192         and Emacs-Muse are the same thing.
194 2007-07-27  Jean Magnan de Bornier  <jean@bornier.net>
196         * lisp/muse-context.el (muse-context-header): Put
197         starttext after the modules who must be in preamble.
198         (muse-context-markup-strings): Fixed mistake in begin-example and
199         end-example.
201         * lisp/muse-latex2png.el (muse-publish-math-tag): Replaced the
202         math environment in ConTeXt when centered: "$$ $$" has to be
203         "\startformula \stopformula".
205 2007-07-26  Michael Olson  <mwolson@gnu.org>
207         * lisp/muse-xml-common.el (muse-xml-escape-url): Do not escape
208         parentheses in URLs.
210 2007-07-24  Michael Olson  <mwolson@gnu.org>
212         * examples/QuickStart.muse (Images): Fix typo where some text
213         existed in the output but not in the example region.
214         (Source Code): Fix another typo.  Explain that publishing from
215         console or X can make a difference.
217         * lisp/muse-context.el (muse-context-pdf-program): New option that
218         determines the program to use for generating PDF files for
219         ConTeXt.
220         (muse-context-pdf-cruft): New option that specifies the extensions
221         of files to remove after generating PDF output successfully.
222         (muse-context-slides-header): Docfix.
223         (muse-context-pdf-generate): Use new options.
225         * lisp/muse-publish.el (muse-publish-lisp-tag): Add missing
226         save-restriction call.  This was causing a world of hurt when
227         using <lisp> inside of <include>.
229         * texi/muse.texi (ConTeXt): New section that documents how to use
230         the ConTeXt publishing styles.
232 2007-07-23  Michael Olson  <mwolson@gnu.org>
234         * lisp/muse-context.el: New file that provides support for
235         publishing documents to the ConTeXt format.  Thanks to Jean Magnan
236         de Bornier for his work on this.
238         * lisp/muse-docbook.el (muse-docbook-entities)
239         (muse-docbook-bibliography): Remove unneeded save-restriction use.
241         * lisp/muse-latex2png.el (muse-publish-latex-tag):
242         s/contex/context/.
244         * lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
245         (muse-latex-bibliography): Remove call to `widen', since it is not
246         needed anymore.  Remove unneeded save-restriction use.
247         ("slides", "slides-pdf"): Indent elements uniformly.
249 2007-07-22  Michael Olson  <mwolson@gnu.org>
251         * lisp/muse-blosxom.el (muse-blosxom-new-entry):
252         * lisp/muse-mode.el (muse-insert-tag):
253         * lisp/muse-project.el (muse-read-project)
254         (muse-read-project-file):
255         * lisp/muse-publish.el (muse-publish-get-style): Use
256         muse-completing-read-function.
258         * lisp/muse-latex2png.el (muse-publish-latex-tag)
259         (muse-publish-math-tag): Allow the contex style -- which I plan to
260         include soon -- to work with these tags.
262         * lisp/muse.el (muse-completing-read-function): New option that
263         determines which function to call when doing a completing-read.
265 2007-07-15  Michael Olson  <mwolson@gnu.org>
267         * lisp/muse-journal.el (muse-journal-html-entry-template)
268         (muse-journal-rdf-entry-template)
269         (muse-journal-rss-entry-template): Mention that this can be text
270         or a filename.
271         (muse-journal-rdf-entry-template, muse-journal-rss-header)
272         (muse-journal-rss-footer, muse-journal-rss-entry-template): Add
273         newlines to make the output look nicer.
274         (muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
275         Use muse-insert-file-or-string for the entry templates, rather
276         than muse-insert-markup.  This allows <lisp> and <markup> tags to
277         be acted on.  Thanks to Scott Hyde for the report.
278         (muse-journal-html-munge-buffer): Escape quote of the day using
279         entire-document specials before snarfing it.  Mark entire template
280         as read-only -- this fixes an incorrect escaping bug.  Remove
281         read-only properties before replacing template matches so that
282         they can still be escaped with entire-document specials later on.
283         (muse-journal-rss-munge-buffer): Make sure that title is escaped
284         properly.
285         (muse-journal-markup-tags): Rename from
286         muse-journal-latex-markup-tags, because we will use it for
287         journal-rss-entry as well.
288         (muse-journal-qotd-tag): Move higher.  Use begin-quote-item and
289         end-quote-item.
290         (muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
291         html.
292         ("journal-latex", "journal-pdf", "journal-book-latex")
293         ("journal-book-pdf"): Use muse-journal-markup-tags rather than
294         muse-journal-latex-markup-tags.
295         ("journal-rss-entry"): New style that is used by journal-rss and
296         journal-rdf to mark up individual entries.  It is needed so that
297         we can do something meaningful with the qotd tag.
298         (muse-journal-rdf-summarize-entries): Set this to nil by default,
299         because it is annoying.  Update docs to mention this.
300         (muse-journal-rss-summarize-entries): Docfix.
302         * lisp/muse-publish.el (muse-insert-file-or-string): Use
303         muse-publish-markup-header-footer-tags.  I'm not quite sure how
304         this change got reverted.
305         (muse-markup-tag-info): Make into a function.  Move common code
306         here, rather than duplicating it in two places.  Deal with case
307         where muse-publish-use-header-footer-tags is non-nil.
308         (muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
309         (muse-inhibit-style-tags): Move higher to avoid byte-compiler
310         warning.
311         (muse-publish-use-header-footer-tags): New variable that indicates
312         whether we should use just the header and footer tags, rather than
313         the full set.
314         (muse-insert-file-or-string): Bind
315         muse-publish-use-header-footer-tags to t.
316         (muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
317         Simplify call to muse-markup-tag-info.
318         (muse-publish-mark-up-tag): Bind
319         muse-publish-use-header-footer-tags to nil.
321         * texi/muse.texi (Journal): Update for recent changes.
323 2007-07-14  Michael Olson  <mwolson@gnu.org>
325         * lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
326         delete the remainder of the buffer, since this causes the
327         resulting RDF to have invalid syntax.  Thanks to Phillip Lord for
328         the report and the suggested fix.
330         * lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
331         beginning of table-el regexp.  This fixes a bug where Muse stalls
332         when trying to publish a malformed table.  Thanks to Ye Wenbin for
333         the report and the suggested fix.
335 2007-07-12  Michael Olson  <mwolson@gnu.org>
337         * lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
338         default, rather than the empty string.  This really fixes the bug
339         that occurred when using Muse with muse-project-alist set to nil.
340         Thanks to Jonathan Underwood for the report.
341         (muse-wiki-update-interwiki-regexp): Set
342         muse-wiki-interwiki-regexp to nil if muse-project-alist is not
343         defined.
344         (muse-wiki-handle-implicit-interwiki)
345         (muse-wiki-handle-explicit-interwiki): Handle case where
346         muse-wiki-interwiki-regexp is nil.
348 2007-07-10  Michael Olson  <mwolson@gnu.org>
350         * lisp/muse-mode.el (muse-grep): Abort search if the current
351         project contains no directories.
353         * lisp/muse-project.el (muse-project-file-alist): If
354         muse-project-alist is not defined, or project is nil, return nil
355         right away.  This ought to fix a bug that occurred when using Muse
356         with muse-project-alist set to nil.
357         (muse-project-of-file): Make sure muse-project-alist is not nil.
358         (muse-project-save-buffers): Make sure project is not nil.
360         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
361         case where muse-project-alist is nil.
363         * lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
364         for XEmacs, since color-theme.el is poorly behaved, and defines
365         its own replace-in-string.  Bad color-theme.el -- no cookie for
366         you.
368 2007-07-01  Michael Olson  <mwolson@gnu.org>
370         * Makefile (.PHONY): Update for new debian package rules.
372         * lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
374         * lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
375         Use save-restriction properly.
376         (muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
378         * lisp/muse-latex.el (muse-latex-footer): Wrap long line.
379         (muse-latex-fixup-citations): Re-indent.  Use save-restriction
380         properly.
381         (muse-latex-bibliography): Re-indent.
383         * lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
384         higher.  This fixes an error at startup with some versions of
385         Emacs.
386         (muse-publish-cite-tag): Re-indent.
388         * lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
389         to the end of the link part, so as to exclude the description from
390         the match.  This fixes a bug with three-part links that have
391         descriptions.  Thanks to everyone who pointed it out.
393 2007-06-18  Michael Olson  <mwolson@gnu.org>
395         * lisp/muse-html.el (muse-html-markup-strings): Add anchor.
396         (muse-xhtml1.1-markup-strings): New option that specifies XHTML
397         1.1 specific markup strings.
398         (muse-html-insert-anchor): Use 'anchor string, rather than
399         hard-coding it.  Thanks to Chris Corsair for the suggestion.
400         ("xhtml1.0"): New style that is an alias for the xhtml style.
401         ("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
403 2007-06-17  Michael Olson  <mwolson@gnu.org>
405         * examples/QuickStart.muse: Make images local so that the Info
406         version of this document works.  Add <example> for the Literal
407         paragraphs chapter, so that it is clear what is happening.
409         * Makefile: Add elpa target, which is used for building an ELPA
410         package for Muse.
412         * Makefile.defs (ELPADIR, ELPADESC): New variables used for
413         building ELPA packages.
415         * examples/Makefile (%.html, %.pdf, %.info): Add message to
416         indicate what we are publishing.
417         (realclean distclean fullclean): Remove all TeX crud.
419         * examples/emacs-muse.png, examples/muse-made-with.png: Include so
420         that the Info version of QuickStart can publish correctly.
422         * lisp/muse-latex.el (muse-latex-slides-header)
423         (muse-latex-lecture-notes-header): Docfix.
425         * lisp/muse-project.el (muse-project-ignore-regexp): Add .git to
426         the list of things to ignore.
428         * lisp/muse-publish.el (muse-publish-markup-list): Remove unused
429         variable.
431         * lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
432         default to nil, since texinfmt.el is a serious nuisance.
433         (muse-texinfo-markup-strings): Add newlines to begin-example and
434         end-example.
435         (muse-texinfo-decide-specials): Also escape URL-type specials in a
436         whole slew of other contexts.
438         * lisp/muse-xml-common.el (muse-xml-encoding-map): Change group to
439         muse-xml.
441         * lisp/muse-xml.el (muse-xml-footer): Docfix.
443         * lisp/muse.el (muse-version): Release Emacs Muse version 3.03.
445 2007-06-16  Michael Olson  <mwolson@gnu.org>
447         * etc/IDEAS.muse: Add some ideas from David D. Smith.
449         * examples/QuickStart.muse: Overhaul.
451         * lisp/muse-project.el (muse-project): Call the last part of a
452         muse-project-alist entry "Output styles" rather than "styles".
454         * lisp/muse-publish.el (muse-publish-table-fields): Handle case
455         where we have a pipe character at the beginning of line.
457         * lisp/muse-xml-common.el (muse-xml-sort-table): Fix typo that was
458         causing tables to not be sorted at all.
460         * texi/muse.texi: Overhaul.  It would be too time-consuming to
461         list all of the changes here.  The "Getting Started" and
462         "Projects" chapters, in particular, were heavily revised.
464 2007-06-15  Michael Olson  <mwolson@gnu.org>
466         * NEWS: Update.
468         * examples/QuickStart.muse: Mention new features.
470         * lisp/muse-colors.el (muse-colors-toggle-inline-images): Docfix.
471         Remove C-c C-i keybinding, since it conflicts with C-c TAB in the
472         terminal, and C-c TAB is more important.  Most people will not
473         want to toggle images on and off that often.
475         * lisp/muse-mode.el (muse-mode-map): Bind muse-insert-thing to C-c
476         C-i as well, so that it works in the terminal.
478         * lisp/muse-publish.el (muse-publish-literal-tag): Make the output
479         look a bit tidier when removing the region.
481         * lisp/muse-regexps.el (muse-list-item-regexp): Put definition
482         list regexp part before other parts.
483         (muse-ol-item-regexp): New regexp that specifies how to match an
484         ordered list item.
485         (muse-ul-item-regexp): New regexp that specifies how to match an
486         unordered list item.
487         (muse-table-field-regexp): New regexp that specifies how to match
488         a definition list entry.
490         * lisp/muse-texinfo.el (muse-texinfo-info-generate): Work around
491         lack of support for @headitem in texinfmt.el.
493         * lisp/muse.el: Wrap muse-line-beginning-position and
494         muse-line-end-position in `eval-and-compile', since they are now
495         used in muse.el.
496         (muse-list-item-type): Use a simpler algorithm for detecting which
497         kind of list item we have.  This fixes a bug where a number in a
498         definition list term was being detected incorrectly as an ordered
499         list item.  Fixes bug #6250.
500         (muse-forward-list-item): Get the entire line with the list item.
501         For some reason, Emacs 21 was not populating match 2 correctly,
502         unlike Emacs 22, so this workaround was needed.
504         * texi/muse.texi: (Keystroke Summary): Remove C-c
505         C-i (`muse-insert-tag') documentation, and mention C-c C-i as an
506         alternative keybinding to the C-c TAB stuff.  Mention
507         muse-colors-toggle-inline-images.
509 2007-06-14  Michael Olson  <mwolson@gnu.org>
511         * README: Mention that RelaxNG schema is in etc/ directory.
513         * etc/emacs-wiki-migration.txt: New document that explains how to
514         migrate from emacs-wiki to Muse.
516         * etc/muse.rnc: Increment version number to 1.0.  Fix several
517         nested emphasis and nested lists edge cases.  Move here from
518         examples/.
520         * lisp/muse-mode.el (muse-mode-map): Permit C-c C-M-t to do the
521         same thing as C-c C-S-t, since the former works better in the
522         console.  Thanks to Leo for the suggestion.
524         * lisp/muse-publish.el (muse-publish-markup-table)
525         (muse-publish-markup-table-el): Include a newline in the return
526         string, so that paragraph detection does not get confused.
528         * lisp/muse.el (muse-with-temp-buffer): Docfix.
530         * texi/muse.texi (Keystroke Summary): Document the C-c C-M-t
531         keybinding.
533 2007-06-13  Michael Olson  <mwolson@gnu.org>
535         * etc/IDEAS.muse: Mark three-part-links item as done.
537         * experimental/muse-message.el: Remove guard for muse-define-style
538         calls.
540         * lisp/muse-colors.el (muse-configure-highlighting): Fix bug where
541         markup rules were being interpreted in reverse order.  This should
542         make implicit interwiki links work properly again.
543         (muse-link-face): Strip anchor from end of a path, so that this
544         works with anchors in interwiki links.
545         (muse-colors-insert-image): Catch error that occurs in Emacs 21
546         when an image does not exist.
548         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Permit
549         anchors.
550         (muse-wiki-handle-implicit-interwiki): Docfix.  Make anchors in
551         interwiki links work.  Thanks to Jim Ottaway for the initial
552         implementation.
553         (muse-wiki-handle-explicit-interwiki): Make anchors in interwiki
554         links work.
556         * lisp/muse.el (muse-handle-implicit-link): Docfix: only care
557         about match 0.
558         (muse-handle-explicit-link): Docfix: this does not modify the
559         match data.
560         (muse-file-remote-p): In Emacs 21, ange-ftp-name-format is a list
561         that has the regexp in its car.
563 2007-06-12  Michael Olson  <mwolson@gnu.org>
565         * README: Document new etc/ directory.
567         * etc/IDEAS.muse: Install things from new contributors just after
568         the 3.03 release, since I won't have time to review the code
569         before the release.  Move to new etc/ directory.  Slides
570         publishing has been installed.
572         * lisp/muse-latex.el (muse-latex-slides-header): New option that
573         determines the header to use for publishing slides.
574         (muse-latex-lecture-notes-header): New option that determines the
575         header to use for publishing lecture notes.
576         (muse-latex-slides-markup-tags): New option containing tags to use
577         when publishing slides.
578         (muse-latex-permit-contents-tag): Move higher in file.
579         (muse-latex-slide-tag): New function to publish the <slide> tag.
580         ("slides", "slides-pdf"): New publishing styles that create slides
581         using Beamer.
582         ("lecture-notes", "lecture-notes-pdf"): New publishing styles that
583         create lecture notes using Beamer.
585         * lisp/muse.el: Re-add the auto-mode-alist part to top-level,
586         since otherwise Planner is not happy when `plan' is called during
587         init.  Remove stray quote from autoload snippet.
589 2007-06-11  Michael Olson  <mwolson@gnu.org>
591         * lisp/muse.el: Make the add-to-list 'auto-mode-alist part an
592         autoload, rather than having it exist at top-level.  Thanks to Leo
593         for the suggestion.
594         (muse-update-file-extension): Docfix.
596 2007-06-10  Michael Olson  <mwolson@gnu.org>
598         * lisp/muse-publish.el (muse-publish-strip-URL): Fix bug where
599         URLs were being removed during publishing.  Thanks to everyone who
600         reported this.
602 2007-06-09  Markus Hoenicka <markus.hoenicka@mhoenicka.de>
604         * lisp/muse-book.el
605         * lisp/muse-docbook.el
606         * lisp/muse-latex.el
607         * lisp/muse-publish.el: added support for <cite> element which
608         denotes in-text citations
610         * lisp/muse-html.el
611         * lisp/muse-groff.el
612         * lisp/muse-texinfo.el
613         * lisp/muse-xml.el: added support for <cite> element (stub)
615 2007-06-06  Michael Olson  <mwolson@gnu.org>
617         * lisp/muse-regexps.el (muse-table-line-regexp)
618         (muse-table-hline-regexp, muse-table-el-border-regexp): Fix
619         regexps so that they work with XEmacs 21.  Thanks to Adrian
620         Tritschler for the report.
622         * texi/muse.texi: Update copyright years.
623         (HTML): Document muse-xhtml-style-sheet.  Thanks
624         to thorne for noticing.
625         (Development): Change archive year to 2006.  Thanks to Adrian
626         Tritschler for noticing.  So *that's* why some people had the 2005
627         version ....
629 2007-06-05  Michael Olson  <mwolson@gnu.org>
631         * Makefile (install-info): Remove $(MANUAL).info part, since this
632         is taken care of already by texi/Makefile.  Thanks to Leo for the
633         report.
635         * lisp/muse-journal.el (muse-journal-html-munge-buffer): Add
636         read-only properties to qotd contents, so that they don't get
637         double-escaped.  Thanks to Leo for the report.
639 2007-06-04  Michael Olson  <mwolson@gnu.org>
641         * lisp/muse-colors.el (muse-link-face): If the link is to a remote
642         -- that is, Tramp or ange-ftp -- file, then do not call
643         file-exists-p on it.  Thanks to Jim Ottaway for the suggestion.
644         Fixes bug #5115.
646         * lisp/muse-html.el (muse-html-insert-contents): Add
647         documentation.  Handle case where heading is read-only, but has
648         muse-contents property.  Remove the muse-contents property for any
649         heading we come across so as to avoid double-including an item in
650         an outer table of contents.
651         (muse-html-denote-headings): New function that denotes whether a
652         heading is not read-only by adding the muse-contents property to
653         it.
654         (muse-html-munge-buffer): If we are not to generate contents,
655         still denote headings, in case some outer layer wants to generate
656         contents for our headings.  This should fix a bug with table of
657         contents and the <include> tag.  Thanks to thorne for the report.
659         * lisp/muse-publish.el (muse-publish-markup-region): Let-bind
660         muse-publish-generate-contents and set it to nil.  This should
661         do the right thing when using <include> tags.
663 2007-06-02  Michael Olson  <mwolson@gnu.org>
665         * NEWS: Update for non-inlined image change and support for
666         table.el style tables.
668         * examples/Makefile (clean): Clean backup files.
670         * examples/QuickStart.muse (Images): New section that describes
671         how to inline and not inline images.
673         * lisp/muse-colors.el (muse-colors-resolve-image-file): Don't
674         touch images that have "URL:" in front of them.
676         * lisp/muse-protocols.el (muse-url-protocols): Add handler for
677         "URL:".  Use the identity function to resolve, since we don't want
678         to rip "URL:" out while publishing, due to some magic that depends
679         on that text.
680         (muse-browse-url-url): New function that browses URLs that have
681         "URL:" in front of them, by removing the "URL:" part and
682         reprocessing the remainder.
684         * lisp/muse-publish.el (muse-publish-classify-url): Docfix.
685         (muse-publish-url): Recognize images in the description before
686         images in the link.  Fixes bug #5112.  Thanks to Thomas Kappler
687         for the suggested workaround.
688         (muse-publish-desc-transforms): Add `muse-publish-strip-URL' as a
689         default value.
690         (muse-publish-classify-url): If target begins with "URL:" return
691         type url.
692         (muse-publish-strip-URL): New function that strips "URL:" from the
693         beginning of a string.  This is used to remove URL: from the link
694         description.  * texi/muse.texi (Markup Strings): Clarify the
695         meanings of image-link, link, and link-and-anchor.
696         (muse-publish-markup-regexps): Move normal table rule to 2350.
697         Rule 2300 is now a regexp that matches table.el-style tables.
698         (muse-publish-markup-functions): Add table-el entry.
699         (muse-publish-table-el-table): New function that given a variant,
700         publishes a table.el-style table using the table in the matched
701         region.
702         (muse-publish-markup-table-el): New function that determines
703         whether the table.el-style table can be published, and what
704         variant to use.
706         * lisp/muse-regexps.el (muse-tag-regexp): New regexp that matches
707         the borders of table.el-style tables.
709         * lisp/muse-xml-common.el (muse-xml-markup-table): Make sure that
710         the table has sufficient whitespace in front of it.
712         * texi/muse.texi (Images): Update for new non-inlined image
713         ability and provide example.
715 2007-05-31  Michael Olson  <mwolson@gnu.org>
717         * NEWS: Add example for setting `muse-html-table-attributes'.
719         * lisp/muse-xml-common.el (muse-xml-markup-table): Add docstring.
720         Publish multiple tbody tags if there is a horizontal separator
721         after the heading, because that is valid HTML after all.
723 2007-05-30  Michael Olson  <mwolson@gnu.org>
725         * NEWS: Update.
727         * lisp/muse-latex.el (muse-latex-markup-table): Deal with
728         horizontal separators in tables.
730         * lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
731         horizontal separators in tables.
732         (muse-publish-trim-table): New function to remove initial and
733         final blank columns from a table.
734         (muse-publish-table-fields): Call `muse-publish-trim-table'.  Deal
735         with horizontal separators, aka "hlines".
737         * lisp/muse-regexps.el (muse-table-hline-regexp): New regexp that
738         defines the syntax of a horizontal separator in a table.
740         * lisp/muse-texinfo.el (muse-texinfo-markup-table): Deal with
741         horizontal separators.  Publish header lines correctly.
743         * lisp/muse-xml-common.el (muse-xml-sort-table): Deal with case
744         where we have nonnumbers as a row type.  This ignores sorting for
745         hlines.
746         (muse-xml-markup-table): Deal with horizontal separators.  If the
747         markup supports table groups, make hlines separate table groups.
748         Otherwise, ignore them, since they cannot be marked up.  Together,
749         these changes allow us to support orgtbl-mode tables.  Thanks to
750         Carsten Dominik for the suggestion.
752 2007-05-26  Michael Olson  <mwolson@gnu.org>
754         * lisp/muse-project.el (muse-project-alist-styles): Allow for
755         other things to be added to each generated style as well.  For
756         example, this permits me to add
757         :base-url "http://blog.mwolson.org/"
758         for my blog.
760 2007-05-25  Michael Olson  <mwolson@gnu.org>
762         * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
763         way of building Debian packages that preserves the original
764         release tarball and is more modular.
765         (debrevision, debrelease): Remove.
766         (dist): No need to remove the debian/ directory, since it is now
767         in its own branch.
768         (debprepare): Copy over debian/ directory properly.
770         * NEWS: Update.
772         * examples/Makefile (clean): Remove QuickStart.texi, in case
773         something went wrong during the build.
774         (%.pdf): Publish the example using the normal pdf style, rather
775         than info-pdf.
777         * examples/QuickStart.muse: Add myself to the authors list.
779         * lisp/muse-html.el (muse-html-src-tag): Ensure that we have
780         sufficient blank lines before the tag.
782         * lisp/muse-journal.el (muse-journal-latex-qotd-tag): Ensure that
783         we have sufficient blank lines before the tag.
785         * lisp/muse-latex.el (muse-latex-pdf-program): New option that
786         specifies the program to call in order to generate PDF content
787         from LaTeX content.
788         (muse-latex-pdf-cruft): New option that specifies the extensions
789         of files to remove after generating PDF output successfully.
790         (muse-latex-pdf-generate): Use these new options.  Work around the
791         annoying edge case where a tilde character exists in the filename
792         or directory path -- now this can only error out when the relative
793         path from the output file to the source file contains a tilde,
794         which is far less likely.
796         * lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
797         muse-publish-ensure-block here after all, because <lisp> et al may
798         occur inline as part of other things.
800         * lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
801         occur after full-document escaping, rather than before.  This
802         prevents automatically-inserted Texinfo code from being escaped.
803         (muse-texinfo-pdf-generate): Rewrite to call
804         `muse-latex-pdf-generate' with pdftex as the generating binary,
805         because texi2pdf suffers irredeemably from the tilde edge case
806         mentioned above.
808 2007-05-24  Michael Olson  <mwolson@gnu.org>
810         * NEWS: Drop vague entries and position interesting entries closer
811         to the top of each section.  Update for new changes.
813         * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
814         and bzr metadata directories to the list of things to ignore.
816         * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
817         `muse-publish-ensure-block-tag', since we will use it for more
818         than just tags.
819         (muse-publish-markup-list, muse-publish-verse-tag)
820         (muse-publish-quote-tag, muse-publish-example-tag)
821         (muse-publish-markup-attribute): Use it.  This fixes a bug that
822         can occur when these types of markup occur immediately after a
823         paragraph.  It's good to have defined behavior!
825         * texi/muse.texi (Markup Strings): Mention new argument for
826         link-and-anchor.
828 2007-05-19  Michael Olson  <mwolson@gnu.org>
830         * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
831         published footnotes and footnote references.  Thanks to Scott
832         Jaderholm for the idea.
834         * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
835         link-and-anchor, on the recommendation of the original submitter.
837 2007-05-14  Michael Olson  <mwolson@gnu.org>
839         * lisp/muse-latex.el (muse-latex-markup-strings): Use better
840         link-and-anchor markup.  Thanks to Jean Magnan de Bornier for the
841         suggestion.
843         * lisp/muse-publish.el (muse-publish-url): Pass the url without a
844         file extension as the fourth argument.
846         * README, texi/muse.texi (Getting Help and Reporting Bugs):
847         Mention the new muse-el-logs mailing list.
849 2007-05-13  Michael Olson  <mwolson@gnu.org>
851         * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
852         "\`" here.  This fixes a problem with publishing custom URLs.
854 2007-05-12  Michael Olson  <mwolson@gnu.org>
856         * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
857         update the list if the current buffer is associated with a file.
858         This fixes a bug with M-x muse-publish-region in a temporary
859         buffer.
861 2007-05-01  Michael Olson  <mwolson@gnu.org>
863         * lisp/muse-publish.el (muse-publish-region): Remove read-only
864         properties from the published buffer, so that the results can be
865         manually tweaked.
867 2007-04-23  Michael Olson  <mwolson@gnu.org>
869         * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
870         find the footnote that goes with a reference, leave the reference
871         as-is.  This fixes an error where control characters could be
872         placed in a published document.
874 2007-04-22  Michael Olson  <mwolson@gnu.org>
876         * IDEAS.muse: Add muse-slides.el to list of things to include
877         before release.
879         * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
880         character.
881         (muse-protocol-find): Find protocols correctly.  Rewrite to use
882         catch/throw.
883         (muse-browse-url): Don't concatenate "\`" here.  Together, this
884         fixes a bug with browsing woman:// links.
886         * lisp/muse-project.el (muse-project-alist-styles): Deal with case
887         where entry-dir has a trailing backslash.
888         (muse-project-publish-file): If a style is malformed, skip it and
889         display a warning message.  This should help people figure out
890         where the problem is.
892 2007-04-21  Michael Olson  <mwolson@gnu.org>
894         * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
895         yet-to-be-included "contex" publishing style, use "$$" rather
896         than "\[" and "\]".  Thanks to Jean Magnan de Bornier for pointing
897         this out.
899 2007-04-20  Michael Olson  <mwolson@gnu.org>
901         * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
902         variable that causes the :before and :before-end hooks to be
903         ignored when non-nil.
904         (muse-publish-markup-region): Use it.  Also, guarantee that point
905         is at end of region after publishing.
906         (muse-publish-mark-up-tag): Simplify, taking advantage of the new
907         variable.
909 2007-04-19  Michael Olson  <mwolson@gnu.org>
911         * IDEAS.muse: New file containing a list of ideas we have for new
912         features, or patches that have yet to be applied.
914         * README: Call it "Emacs Muse", not "the Emacs Muse".  No need to
915         be so confusing.
917         * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
918         docstring.
920         * lisp/muse-publish.el (muse-publish-markup-tags): Handle
921         <literal> tags with muse-publish-literal-tag, rather than
922         muse-publish-mark-read-only.
923         (muse-publish-literal-tag): New function that publishes the
924         <literal> tag.  It adds the ability to add the optional "style"
925         and "exact" elements, which cause text to only be included if the
926         current publishing style matches some criteria.  The text will be
927         removed otherwise.  Thanks to Jim Ottaway for the implementation.
928         (muse-publish-mark-up-tag): Let the <markup> tag take the
929         additional optional elements "style" and "exact", with much the
930         same effect as the <literal> improvements, but after calling
931         "function" or publishing the region first.  Make it possible to
932         put <content> tags in <markup> regions in HTML publishing.
934 2007-04-12  Michael Olson  <mwolson@gnu.org>
936         * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
937         that a blank line always exists after a heading.  This fixes a bug
938         in Docbook paragraph detection.  Thanks to Jean Magnan de Bornier
939         for the report.
941         * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
942         detection regexp to that which is used in Docbook and HTML
943         publishing styles.
945 2007-04-02  Michael Olson  <mwolson@gnu.org>
947         * README (muse-el-announce): Make a listing of mailing lists,
948         rather than pointing to the old EmacsWikiMailingList page.  Thanks
949         to Andreas Roehler for noticing.
951 2007-04-01  Michael Olson  <mwolson@gnu.org>
953         * lisp/muse-publish.el (muse-publish-date-format): Add
954 `       customization type and group.
955         (muse-publish-region): New interactive function that publishes a
956         region to a new buffer.
958         * texi/muse.texi: Use "document" rather than "manual".
960 2007-03-31  Michael Olson  <mwolson@gnu.org>
962         * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
963         expression (muse-style-derived-p "latex" (muse-style "latex"))
964         yielded nil.  It now yields t, as expected.  Thanks to Jim Ottaway
965         for the catch.
967 2007-02-25  Michael Olson  <mwolson@gnu.org>
969         * lisp/muse-publish.el (muse-publish-date-format): New option that
970         specifies how to format the date when publishing Muse pages.
971         Thanks to Thomas Gehrlein for the suggestion.
972         (muse-publish-markup-buffer): Use it.
974 2007-02-23  Michael Olson  <mwolson@gnu.org>
976         * README: Add Prerequisites section to mention which versions of
977         Emacs work with Muse.  Thanks to Exal de Jesus Garcia Carrillo for
978         the suggestion.  Update link destination for Muse's page on
979         emacswiki.org.
981 2007-02-15  Michael Olson  <mwolson@gnu.org>
983         * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
984         be not just at beginning of line.  This fixes an error with the
985         <class> tag.  Thanks to Jim Pivarski for the report.
987 2007-02-14  Michael Olson  <mwolson@gnu.org>
989         * lisp/muse-publish.el (muse-publish-classify-url): Check to see
990         whether something is an image before checking to see if it is a
991         URL.  Thanks to ITSUMI ken-ichi for the report.
993 2007-02-13  Michael Olson  <mwolson@gnu.org>
995         * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
996         comments that have no text better.  Thanks to fang.lungang for the
997         report.
998         (muse-publish-markup-comment): Deal with case where no comment
999         text is provided.
1001 2007-01-23  Michael Olson  <mwolson@gnu.org>
1003         * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
1004         that ensures that at least one blank line exists at the given
1005         position.  This is used to avoid paragraph detection problems when
1006         block-level tags like <example> immediately follow a paragraph.
1007         Thanks to Hans Ekbrand for the report.
1008         (muse-publish-example-tag): Use it.
1010 2007-01-19  Michael Olson  <mwolson@gnu.org>
1012         * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
1013         previous blank line if we are publishing in Latex.  Otherwise,
1014         that wouldn't be the right thing, so leave it be.
1016 2007-01-17  Michael Olson  <mwolson@gnu.org>
1018         * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
1019         multiple centered math lines on the same line; keep them on
1020         different lines.  Use \[ math-text \] instead of $$math-text$$,
1021         since the latter seems to be deprecated.  Thanks to Jody Klymak
1022         for the pointer.
1024 2007-01-15  Michael Olson  <mwolson@gnu.org>
1026         * lisp/muse-latex2png.el (muse-publish-latex-tag)
1027         (muse-publish-math-tag): Publish region read-only when current
1028         style is Latex-derived, so that Muse does not escape it.
1029         (muse-publish-math-tag): If 6 or more spaces come before the tag,
1030         surround the region with "$$" rather than "$".  This is the Muse
1031         syntax for something centered, so it should be a good fit.
1033 2007-01-15  Valery V. Vorotyntsev  <valery.vv@gmail.com>
1035         * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
1036         protocol.
1037         (muse-browse-url-man): Change man page URL format.  The code is
1038         simpler when the section is left inside parentheses.
1039         (muse-browse-url-woman): New function.
1041 2007-01-14  Michael Olson  <mwolson@gnu.org>
1043         * AUTHORS: Bookkeeping.
1045         * lisp/muse-latex2png.el: Associate <math> tag with
1046         muse-publish-math-tag, not muse-publish-latex-tag.  Thanks to Jody
1047         Klymak for the report.
1048         (muse-publish-math-tag): Use muse-insert-markup for the "$"
1049         characters, so they don't get escaped.
1051         * lisp/muse-publish.el (muse-style-derived-p-1): New function to
1052         make muse-style-derived-p easier to implement.
1053         (muse-style-derived-p): If the style is not provided, fetch it and
1054         check to see if the car is a string.  This should fix the other
1055         problem that was reported.
1057         * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
1058         explains a case where setting muse-file-extension to nil can cause
1059         unexpected behavior.
1061 2007-01-09  Michael Olson  <mwolson@gnu.org>
1063         * lisp/muse-publish.el (muse-publish-markup-regexps): Make
1064         comments higher priority than tags.  Thanks to Stefan van der Walt
1065         for the report.
1067 2007-01-08  Michael Olson  <mwolson@gnu.org>
1069         * lisp/muse-publish.el (muse-markup-tag-info): Use the given
1070         argument rather than calling match-string.  Thanks to Stefan van
1071         der Walt for the report.  This should fix a bug with publishing
1072         <include file="..." markup="example">.
1074 2007-01-06  Michael Olson  <mwolson@gnu.org>
1076         * Makefile (debclean): New rule split from debrevision and
1077         debrelease.
1078         (debbuild): Take distributor into account.
1080         * Makefile.defs (DISTRIBUTOR): New field that tracks what
1081         vendor/distributor we are building for.
1083 2007-01-04  Michael Olson  <mwolson@gnu.org>
1085         * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
1086         line.
1088         * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
1089         point to muse-publish-src-tag by default, since <src> and
1090         <example> have different parameters.
1091         (muse-publish-src-tag): New barebones publishing function for
1092         <src>, which is superseded when publishing in an HTML-based style.
1094 2007-01-03  Michael Olson  <mwolson@gnu.org>
1096         * lisp/muse-html.el (muse-html-src-tag): Document.
1098         * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
1099         command that calls a given tag on the current buffer.  Attributes
1100         may be passed.
1101         (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
1102         it.
1103         (muse-publish-srcify-buffer): New function that allows
1104         markup="src" in the <include> tag.
1105         (muse-publish-get-and-delete-attr): New macro that gets an
1106         attribute from a list and removes the first instance of that
1107         attribute from said list.
1108         (muse-publish-markup-attribute): Handle markup="src".
1109         (muse-publish-command-tag, muse-publish-include-tag): Use
1110         muse-publish-get-and-delete-attr.  This allows the remaining
1111         attributes to be passed.
1113         * texi/muse.texi (Tag Summary): Update for new <src> tag as well
1114         as changes to <command> and <include>.
1116 2006-12-30  Michael Olson  <mwolson@gnu.org>
1118         * NEWS: Update.
1120         * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
1121         from muse-publish-math-tag to avoid conflict with
1122         muse-latex2png.el.
1124 2006-12-23  Michael Olson  <mwolson@gnu.org>
1126         * lisp/muse-latex2png.el: Update header, since this has been
1127         rewritten sufficiently to not need an assignment from the original
1128         author.
1129         (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
1130         (muse-latex2png): Use two underscores to separate prefix and hash.
1131         (muse-latex2png-region): New function split from
1132         muse-publish-latex-tag that can be used easily by other code.
1133         Detect whether we are using an HTML-based publishing style, and
1134         insert a simpler markup if we are not.  If we are using a
1135         Latex-based publishing style, do not generate an image, and leave
1136         the region alone.  Return the path of the generated image, in case
1137         other functions want to use this programmatically.
1138         (muse-publish-latex-tag): Set a default prefix based on the name
1139         of the current file.
1140         (muse-publish-math-tag): New tag that surrounds the region with
1141         "$" characters, so that it becomes a Latex math region, and then
1142         publishes it.
1144         * lisp/muse-publish.el (muse-style-derived-p): New function that
1145         returns non-nil if a given style, or the current style if omitted,
1146         is equal to or derived from the given base style.  This is useful
1147         in <lisp> tags, because it allows the user to specify markup that
1148         is only to be inserted for one particular style.
1150 2006-12-22  Michael Olson  <mwolson@gnu.org>
1152         * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
1153         (muse-html-src-tag): New function which publishes the <src> tag.
1154         Thanks to Clinton Ebadi and Charles Wang for the initial
1155         implementations.
1157         * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
1159 2006-12-21  Michael Olson  <mwolson@gnu.org>
1161         * examples/johnw/muse-johnw.el: Update for preferred
1162         muse-derive-style usage.  Rename to muse-init.el.
1164         * examples/mwolson/muse-init.el: Update.
1166         * lisp/muse-book.el (muse-book-publish): New function split from
1167         muse-book-publish-project.  This is used in the definitions for
1168         the book-latex and book-pdf styles.
1169         (muse-book-publish-p): New function split from muse-book-publish.
1170         (muse-book-get-directives): New function that retrieves the
1171         publishing directives from the given file.
1172         (muse-book-publish): Use muse-book-get-directives to set the title
1173         if no title was specified.
1175         * lisp/muse-project.el (muse-project): Add :publish-project entry
1176         to widget.
1177         (muse-read-project, muse-project-find-file): Message fix.
1178         (muse-project-publish-file-default): New function split from
1179         muse-project-publish-file.
1180         (muse-project-publish-file): Allow file-level publishing function
1181         to be specified by the :publish element.  The default is
1182         muse-project-publish-file-default.
1183         (muse-project-publish-default): New function split from
1184         muse-project-publish.
1185         (muse-project-publish): Allow project-level publishing function to
1186         be specified by :publish-project element.  The default is
1187         muse-project-publish-default.
1189         * lisp/muse-publish.el (muse-publish-file): Message fix.
1191         * texi/muse.texi (Book): Mention new way to publish books and
1192         provide an example, since the process may be non-obvious.
1194 2006-12-20  Michael Olson  <mwolson@gnu.org>
1196         * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
1197         content-modifying code from the rest of
1198         muse-docbook-finalize-buffer.
1200         * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
1201         muse-groff-finalize-buffer, since it adds content to the buffer.
1203         * lisp/muse-html.el (muse-html-munge-buffer): Split out
1204         content-modifying code from the rest of muse-html-finalize-buffer.
1205         This fixes a bug when using <include> with <content> tags.
1207         * lisp/muse-journal.el (muse-journal-html-munge-buffer)
1208         (muse-journal-latex-munge-buffer)
1209         (muse-journal-rss-munge-buffer): Rename, since they add content to
1210         the buffer.
1212         * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
1213         muse-latex-finalize-buffer, since it adds content to the buffer.
1215         * lisp/muse-mode.el:
1216         * lisp/muse-project.el:
1217         * lisp/muse-publish.el:
1218         * lisp/muse.el: Fix recursive load error.
1220         * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
1221         muse-texinfo-finalize-buffer, since it adds content to the buffer.
1223         * lisp/muse-wiki.el: Comment cleanup.
1225         * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
1227 2006-12-17  Michael Olson  <mwolson@gnu.org>
1229         * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
1230         Remove the definition of \comment, since Latex already has comment
1231         syntax.
1232         (muse-latex-markup-strings): Use the Latex comment syntax, rather
1233         than our own.  Thanks to Ryan Stutsman for pointing this out.
1235 2006-12-02  Michael Olson  <mwolson@gnu.org>
1237         * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
1238         that this can generate a proper table of contents for Planner HTML
1239         publishing.
1241 2006-12-01  Michael Olson  <mwolson@gnu.org>
1243         * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
1244         using a very old Emacs, avoid an infinite loop that could occur
1245         when the regexp is an empty string.
1247 2006-11-26  Michael Olson  <mwolson@gnu.org>
1249         * NEWS: Bring up to date.
1251         * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
1252         list issues and multiple-stanza verse issues.  This takes care of
1253         all of the markup issues I was worried about.
1255         * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
1256         (muse-project-publish-private-files): New option that indicates
1257         whether files with private filesystem permissions should be
1258         published.  The default is to publish them, since it avoids
1259         confusion in new users.
1260         (muse-project-private-p): Use it.
1262 2006-11-19  Michael Olson  <mwolson@gnu.org>
1264         * lisp/muse-project.el (muse-project-resolve-link): If no remote
1265         style is found, which means that the link is not a Muse page, do
1266         not add a suffix or prefix to it.  This should fix the
1267         "[[thing.owl]]" bug that Phillip Lord reported.
1269         * lisp/muse-publish.el (muse-publish-link-file): Simplify by
1270         removing unused 2nd argument.
1272 2006-11-17  Michael Olson  <mwolson@gnu.org>
1274         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
1275         latex publishing where nested enumerated lists would be squashed
1276         together at the end.
1278 2006-11-16  Michael Olson  <mwolson@gnu.org>
1280         * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
1281         list embedded in a definition list look right.  This also allows
1282         for definitions to be separated from their terms, much like the
1283         way HTML does it by default, if the user puts a blank line or a
1284         line break between the term and the definition.  If the term and
1285         definition are on the same line, they will be that way in the
1286         output as well.
1288 2006-11-11  Michael Olson  <mwolson@gnu.org>
1290         * muse.texi (Markup Strings): Fix typo.  Thanks to Haiyong Zheng
1291         for the report.
1292         (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
1294 2006-11-07  Michael Olson  <mwolson@gnu.org>
1296         * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
1297         release candidate for Muse 3.03, available.
1299         * NEWS: Update.
1301 2006-11-06  Michael Olson  <mwolson@gnu.org>
1303         * lisp/muse-project.el (muse-project-find-file): Fix bug when
1304         following a relative link worked even when the path was incorrect.
1306 2006-11-04  John Sullivan  <john@wjsullivan.net>
1308         * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
1309         muse-follow-name-at-point to reduce collisions with other
1310         modes (Planner).
1312         * muse.texi (Keystroke Summary): Remove C-c C-c binding.
1314 2006-11-04  Michael Olson  <mwolson@gnu.org>
1316         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
1317         optional, and make interwiki delimiter a regular rather than shy
1318         group.
1319         (muse-wiki-handle-implicit-interwiki): Rename from
1320         muse-wiki-handle-interwiki.  Use match group 3 to get the page.
1321         (muse-wiki-handle-explicit-interwiki): New function that is
1322         smarter about where an explicit link ends in a buffer.  This
1323         allows you to refer to page names with invalid Wiki characters,
1324         such as underscores and dashes, merely by enclosing them in double
1325         brackets.  Also, a bug with recognizing project names too loosely
1326         has been fixed.
1328 2006-11-03  Michael Olson  <mwolson@gnu.org>
1330         * lisp/muse-project.el (muse-project-page-file): Make relative
1331         links work as expected, hopefully.
1333         * lisp/muse-publish.el (muse-publish-this-file): Set the current
1334         output style manually, since it will differ from anything in the
1335         publishing style list.
1337 2006-10-30  Michael Olson  <mwolson@gnu.org>
1339         * lisp/muse-colors.el (muse-colors-markup): Remove note about
1340         grouping elements, since that no longer applies.
1341         (muse-colors-custom-tags): Explicitly match against
1342         muse-tag-regexp to get the match-data set the way we want.  This
1343         really fixes the <example> highlighting bug that Stefan reported.
1344         (muse-configure-highlighting): Set the original value to the
1345         symbol, not the modified value.  Re-use modified rules properly.
1347         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
1348         introduced yesterday.
1350 2006-10-29  Michael Olson  <mwolson@gnu.org>
1352         * examples/mwolson: Update my example configuration.
1354         * NEWS: Update.
1356         * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
1357         without a regexp in the first position before iterating through
1358         them to build muse-colors-vector.  This fixes a bug with the
1359         display of <example> tags.  Thanks to Stefan Reichör for the
1360         report.
1362         * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
1363         files in projects to be linked to.
1365         * lisp/muse-publish.el (muse-publish-url): Allow the original link
1366         to serve as a description for a URL, as long as it differs from
1367         the destination URL.  This fixes the description of WikPage links
1368         in PDF output.
1369         (muse-publish-link-file): Check to see whether the given link
1370         points at a valid file.  If so, return it.  Otherwise, apply other
1371         transforms like prefix and link suffix.
1373         * lisp/muse-regexps.el (muse-file-regexp): If something ends in
1374         "/", it is a file or directory, not a Muse page.  Thanks to
1375         Phillip Lord for the suggestion.
1377         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
1378         of the current page as the local path, instead of duplicating the
1379         remote file's path.  This probably fixes at least one reported
1380         bug. since it's quite major.
1381         (muse-wiki-update-project-file-regexp)
1382         (muse-wiki-update-interwiki-regexp): Ensure that nil is never
1383         passed to regexp-opt, since that can cause Emacs 21 to throw an
1384         "maximum binding depth exceeded" error.  Thanks to xs32 AT cornell
1385         DOT edu for the report.
1386         (muse-wiki-handle-wikiword): Avoid a potential stringp error.
1388 2006-10-28  Michael Olson  <mwolson@gnu.org>
1390         * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
1391         (muse-project-resolve-link): If the given style does not have a
1392         link-suffix, default to suffix.  This fixes a bug I was noticing
1393         when linking to a file that was published in both PDF and HTML
1394         form.
1396         * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
1397         function that is used as a callback to determine the initial
1398         amount of indentation that the current dl item has.
1399         (muse-publish-surround-dl): Use it.  Pass the initial indent value
1400         and the post-indent value, instead of trying to determine them
1401         both.
1402         (muse-publish-strip-list-indentation): New function stripped from
1403         `muse-publish-surround-text' for readability.
1404         (muse-publish-surround-text): Instead of taking a determine-indent
1405         value, take a determine-indent-func function, which is called just
1406         after finding the next list item.  If we are asked to determine
1407         the amount of indentation, concatenate indent and post-indent the
1408         first time around.  This effectively fixes all known definition
1409         list issues.
1411 2006-10-16  Michael Olson  <mwolson@gnu.org>
1413         * lisp/muse.el: Provide the 'muse-nested-tags feature so that
1414         other software -- namely, Planner -- can detect whether they are
1415         using a version of Muse that supports nested tags.
1416         (muse-goto-tag-end): Moved from muse-publish.el and renamed from
1417         muse-publish-goto-tag-end.
1419         * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
1420         Adapt for nested tags.
1422         * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
1423         <class> tag is nestable.  Thanks to Phillip Lord for noticing
1424         this.
1426         * lisp/muse-publish.el (muse-publish-markup-tag)
1427         (muse-publish-quote-tag): Use muse-goto-tag-end.
1429         * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
1431 2006-10-15  Michael Olson  <mwolson@gnu.org>
1433         * AUTHORS: Bookkeeping.
1435         * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
1436         tag.
1438         * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
1439         tags.
1441         * lisp/muse-html.el (muse-html-markup-tags): Ditto.
1443         * lisp/muse-import-docbook.el (muse-import-docbook)
1444         (muse-import-docbook-files): Docfix.
1445         (muse-import-docbook-get-title): Remove cl.el-ism.
1447         * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
1449         * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
1451         * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
1453         * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
1454         (muse-next-reference, muse-previous-reference): Minor whitespace
1455         changes.
1456         (muse-mode-choose-mode): Add autoload cookie.  Thanks to Leo for
1457         the suggestion.
1459         * lisp/muse-poem.el (muse-poem-tag): Ditto.
1461         * lisp/muse-publish.el (muse-publish-markup-tags)
1462         (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
1463         element and make 4th element determine whether tags are nestable.
1464         (muse-publish-goto-tag-end): New function that moves to the end of
1465         a tag.  Handle nested tags when NESTED is non-nil.
1466         (muse-publish-markup-tag): Call muse-publish-goto-tag-end.  Use
1467         5th element for function.
1468         (muse-publish-quote-tag): Handle nested quote tags.  I've tested
1469         this on several scenarios, and it seems to work.
1470         (muse-publish-surround-text): Accept new optional argument
1471         LIST-ITEM which determines the regexp to use for list items.  The
1472         default is to use muse-list-item-regexp.
1474         * muse.texi (Markup Tags): Mention nestable tags.
1476         * NEWS: Mention new files.
1478 2006-10-15  Elena Pomohaci  <e.pomohaci@gmail.com>
1480         * lisp/muse-import-docbook.el: New file that converts Docbook XML
1481         into Muse format.
1483         * lisp/muse-import-xml.el: New file that provides helper routines
1484         for converting XML-ish files to Muse format.
1486 2006-10-10  Michael Olson  <mwolson@gnu.org>
1488         * NEWS: Update for 3.02.7 bugfix release.
1490 2006-10-06  Sasha Kovar  <sasha@arcocene.org>
1492         * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
1493         using the value in the muse #date directive.
1494         (muse-blosxom-use-metadate): New option that determines whether or
1495         not to use the #postdate directive.
1496         (muse-blosxom-format-date): Convert a date string to PyBlosxom
1497         metadate plugin format.
1499 2006-09-30  Stefan Schlee  <stefan_schlee@yahoo.com>
1501         * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
1502         recognised URLs.
1504         * muse.texi: Clarify handling of implicit links by mentioning
1505         which characters can prevent Muse from recognizing something as an
1506         implicit link.
1508 2006-09-26  Stefan Schlee  <stefan_schlee@yahoo.com>
1510         * lisp/muse-mode.el (muse-next-reference)
1511         (muse-previous-reference): Fix bug #6367 by moving point to the
1512         beginning of the link.
1514 2006-09-26  Michael Olson  <mwolson@gnu.org>
1516         * lisp/muse-colors.el (muse-use-font-lock): Don't quote
1517         beginning-of-line.  This should fix a bug that was noticed in
1518         recent Emacs 22 builds.
1520         * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
1521         eval-and-compile block to avoid a compiler warning.
1523 2006-09-25  Jim Ottaway  <j.ottaway@lse.ac.uk>
1525         * lisp/muse-backlink.el (muse-backlink-split-string):
1526         Compatibility with Emacs versions < 22
1527         (muse-backlink-pending): New internal variable
1528         (muse-backlink-get-mode-hook): Find the major mode hook to use, so
1529         that backlinks are inserted at the right time.
1530         (muse-backlink-insert-hook-func): Remove unwind-protection; check
1531         for pending backlink, and that this is the targe page.
1532         (muse-backlink-handle-link): Don’t handle the link if we are
1533         already handling one. Return the link as well as the parent links.
1535 2006-09-25  Sasha Kovar  <sasha@arcocene.org>
1537         * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
1538         #6942 - muse-blosxom-new-entry fails when using tags.
1540 2006-09-14  Michael Olson  <mwolson@gnu.org>
1542         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
1543         compiler warning.
1545 2006-09-14  Jim Ottaway  <j.ottaway@lse.ac.uk>
1547         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
1548         function: Protect all wikiwords from START to END from further
1549         processing.
1550         (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
1552 2006-09-13  Michael Olson  <mwolson@gnu.org>
1554         * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
1555         adopted from Jim Ottaway's patch.  It removes links from the
1556         heading, and then marks the region read-only to inhibit WikiWord
1557         detection.
1559 2006-09-13  Jim Ottaway  <j.ottaway@lse.ac.uk>
1561         * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
1562         special handling for headings.
1563         (muse-texinfo-remove-links): New function that removes explicit
1564         links from the given strings, replacing them with a description.
1566 2006-09-11  Michael Olson  <mwolson@gnu.org>
1568         * muse.texi (Getting Help and Reporting Bugs): Mention the
1569         muse-el-internationalization mailing list.
1571         * lisp/muse.el (muse-path-sans-extension): New function that acts
1572         like file-name-sans-extension, but guarantees to never modify the
1573         directory part of the path.  Thanks to Evan Monroig for
1574         investigating this.
1576         * lisp/muse-book.el (muse-book-publish-project): Use
1577         muse-path-sans-extension instead of file-name-sans-extension.
1579         * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
1580         Ditto.
1582 2006-08-30  Michael Olson  <mwolson@gnu.org>
1584         * muse.texi (Blosxom Requirements): Fix typo.
1586         * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
1587         directories for bzr and darcs.
1589         * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
1590         contrib/pyblosxom/getstamps.py: Update version and headers.
1592 2006-08-27  Michael Olson  <mwolson@gnu.org>
1594         * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
1595         nil values before they get to mapconcat.  This fixes a lockup when
1596         muse-wiki-match-all-project-files is nil.
1598         * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
1599         (muse-wiki-ignore-implicit-links-to-current-page)
1600         (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
1601         (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
1602         (muse-wiki-publish-small-title-words)
1603         (muse-wiki-publish-pretty-title): Docfix.
1604         (muse-wiki-update-local-wikiword-regexp): Rename from
1605         muse-wiki-update-local-wikiword-regexp.  Set
1606         muse-wiki-project-file-regexp instead of
1607         muse-wiki-wikiword-regexp, as suggested by Per Sederberg.  Don't
1608         take muse-wiki-use-wikiword into account, since this is a
1609         different concept now.
1610         (muse-wiki-update-wikiword-regexp): Remove.
1611         (muse-wiki-wikiword-regexp): In-line the :set function.
1612         (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
1614 2006-08-26  Michael Olson  <mwolson@gnu.org>
1616         * lisp/muse-publish.el (muse-publish-surround-text): When looking
1617         for indented list items, ignore blank lines.
1619         * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
1620         (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
1621         mapconcat.  This should hopefully fix a problem with large amounts
1622         of files with spaces in their name.  Thanks to Greg Detre for the
1623         report.
1625 2006-08-24  Michael Olson  <mwolson@gnu.org>
1627         * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
1628         numbers from the argument to format-time-string.  This fixes an
1629         XEmacs bug.  Thanks to Michael Welle for the report and analysis.
1631 2006-08-18  Michael Olson  <mwolson@gnu.org>
1633         * lisp/muse-project.el (muse-project-file-entries): Since we are
1634         given a full path, match against the filename as well.  This fixes
1635         an issue where backup files were being added to the file alist.
1637         * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
1638         from muse-html.el.
1640 2006-08-12  Michael Olson  <mwolson@gnu.org>
1642         * Makefile (.PHONY): Don't use line continuations.
1643         (realclean fullclean): Call realclean in subdirs, not distclean.
1644         (distclean): Don't call realclean, since this would wipe out our
1645         autoloads file.
1646         (dist): Use correct path to autoloads file.
1648         * NEWS: Catch up with the latest changes.
1650         * experimental/Makefile (.PHONY): Wrap long line.
1652         * lisp/Makefile (distclean): Do the same thing as "clean", not
1653         "realclean".
1655         * lisp/muse-project.el (muse-project-get-applicable-style):
1656         Indentation tweak.
1657         (muse-project-ignore-regexp, muse-project-recurse-directory):
1658         Docfix.
1659         (muse-project-of-file): Try the ignored files regexp against the
1660         base filename as well as the entire path.
1662         * lisp/muse-publish.el (muse-publish-this-file): Display message
1663         if the buffer is not associated with any file, so that we avoid
1664         errors later on.
1665         (muse-publish-url-desc): New function taken from muse-publish-url
1666         that causes a URL description to be transformed.
1667         (muse-publish-url): Call muse-publish-url-desc on either the
1668         description or the original URL if it will be used as a
1669         description.  Accept the original URL as an argument, in case it
1670         was transformed earlier.
1671         (muse-publish-insert-url): Pass original URL as an argument.
1672         (muse-publish-markup-link): Make this somewhat easier to follow.
1673         Pass original URL as argument.
1674         (muse-publish-get-style): If the same style is used to publish to
1675         two different directories, prompt the user for which directory to
1676         use.
1677         (muse-publish-markup-header-footer-tags): Sync lisp tag with the
1678         latest changes.
1679         (muse-publish-markup-url): Pass original URL as an argument.  This
1680         fixes the "nil" description for bare URLs that was in 3.02.91.
1681         Nothing like finding a bug just after completing the announcement
1682         of a release.
1684         * lisp/muse.el: Use defalias whenever convenient.
1685         (muse-version): Set version to 3.02.92 (3.03 RC2).
1687 2006-08-10  Michael Olson  <mwolson@gnu.org>
1689         * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
1690         style does not derive from any other class, return `t' here.
1691         This, along with the corresponding change to muse-publish.el,
1692         fixes a problem with the table of contents getting inserted
1693         multiple times for custom html-based styles.
1694         (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
1695         smarter method for table centering that works with XHTML.
1697         * lisp/muse-latex2png.el Rename all functions to have a
1698         "muse-latex2png" prefix.  Turn all variables into customizable
1699         options in the muse-latex2png group.
1700         (muse-latex2png-img-dest): New option specifying where to place
1701         the images.
1702         (muse-latex2png-template): New option containing the template to
1703         use for the surrounding LaTeX code.
1704         (muse-latex2png-use-xhtml): New option that toggles strict XHTML
1705         compliance.
1706         (muse-latex2png-move2pubdir): Avoid multiple redundant error
1707         messages when something else goes wrong.  Create the image
1708         subdirectory if it doesn't exist already -- thanks to Christian
1709         Straßer for the report.  Expand the filename properly.
1710         (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
1711         and filename expansion.
1712         (muse-latex2png): Use the "muse-latex2png" prefix by default.  Set
1713         the default directory properly.
1715         * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
1716         do not run the same function twice.
1718 2006-08-08  Michael Olson  <mwolson@gnu.org>
1720         * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
1721         introduced wrong-type-argument error.
1723         * lisp/muse-html.el (muse-html-markup-strings)
1724         (muse-xhtml-markup-string): Cause table definition that contains
1725         image to be center-aligned.  This should fix an issue with images
1726         not being centered when captions are very long.
1728         * lisp/muse-publish.el (muse-publish-table-fields): Trim
1729         whitespace from fields once we have split them up.
1731         * lisp/muse.el (muse-trim-whitespace): New function that strips
1732         leading and trailing whitespace from a string.
1734 2006-08-07  Michael Olson  <mwolson@gnu.org>
1736         * NEWS: Update through patch-95.
1738         * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
1739         to match the tags.
1740         (muse-colors-explicit-link): Show images in link descriptions if
1741         inlined images are enabled.
1743         * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
1744         definitions for 'image-with-desc, 'image, and 'image-link.
1745         (muse-docbook-markup-paragraph): If an inlined image begins a
1746         paragraph, insert <para> before it.
1747         (muse-docbook-fixup-images): New function that upper-cases the
1748         "format" attribute of the <imagedata> tag.
1749         (muse-docbook-finalize-buffer): Call it.
1751         * lisp/muse-html.el (muse-html-markup-strings): Publish images
1752         with descriptions as centered tables, with a centered caption
1753         underneath.  The resulting look is consistent with the way that
1754         they are published in the LaTeX style.  Thanks to Jody Klymak for
1755         the suggestion.
1756         (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
1757         valid way to center a table.
1758         (muse-html-markup-paragraph): Use class="image" instead of
1759         "image-link" for paragraphs that start with an embedded image.
1761         * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
1762         \textbackslash{} for "\".  Thanks to Jim Ottaway for the
1763         suggestion.
1764         (muse-latex-markup-specials-image): New option that enables
1765         escaping of specials in images.  This was split from the URL
1766         specials.
1767         (muse-latex-decide-specials): Handle 'image context.
1768         (muse-latex-fixup-dquotes): Go to beginning of document, instead
1769         of relying on caller to do this for us.
1771         * lisp/muse-publish.el (muse-publish-escape-specials): Document
1772         'image context.
1773         (muse-publish-url): Use 'image context for images.  Use 'image
1774         instead of 'image-link and 'image-link in place of
1775         'url-with-image.  Separate the image file from its extension so
1776         that docbook and texinfo can publish images correctly.
1777         (muse-publish-markup-link): Don't force a description if one is
1778         not given.  This fixes a bug where images without descriptions
1779         were being published as 'image-with-desc instead of 'image.
1781         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
1782         images the same as URLs.
1783         (muse-texinfo-markup-strings): Improve image markup to achieve an
1784         effect similar to that of the LaTeX publishing style.  Simplify
1785         'url string.
1787         * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
1789         * lisp/muse.el (muse-replace-regexp-in-string): Save match data
1790         when we have to use the custom version of this function.
1792         * muse.texi (Images): Explain how to toggle inlining of images and
1793         give better examples.  Mention captions and that captioned images
1794         should not be used inside of text paragraphs.
1795         (Markup Strings): Bring up-to-date with the changes made since
1796         3.02.
1798 2006-08-06  Michael Olson  <mwolson@gnu.org>
1800         * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
1801         in the Emacs source tree.
1803         * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
1804         in the Emacs source tree.
1806         * ChangeLog.3: New file created from the old ChangeLog.
1808         * Makefile.defs (VERSION): Set to 3.02.91.
1810         * NEWS: Update through patch-84.
1812         * lisp/muse.el (muse-version): Set to 3.02.91.
1814         * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
1815         attributes.
1816         (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
1817         delimiter are instead of hard-coding it.
1819         * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
1820         (muse-mode): Make filling definition lists work better.  This
1821         should fix #5359.
1823         * lisp/muse-publish.el (muse-style-run-hooks): Use
1824         `muse-style-element' instead of `muse-get-keyword' here.  This
1825         should fix #6399.
1827         * muse.texi: Set version to 3.02.91 (3.02 RC2).
1829 See ChangeLog.3 for earlier changes.
1831 ;; Local Variables:
1832 ;; coding: utf-8
1833 ;; End: