1 2007-08-12 Michael Olson <mwolson@gnu.org>
3 * texi/muse.texi (Development): Mention the http method for
4 anonymous git access to the shared repo.
6 2007-08-10 Michael Olson <mwolson@gnu.org>
8 * Makefile (dist, debprepare): Use git instead of tla.
10 * contrib/httpd.el (httpd-send-file): Use insert-file-contents.
12 * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
13 Use muse-insert-file-contents.
15 * experimental/muse-split.el (muse-publish-file)
16 (muse-publish-presplit-publish, muse-publish-no-split-function)
17 (muse-journal-split-by-entry, muse-journal-split-by-month): Use
18 muse-insert-file-contents.
20 * lisp/muse-book.el (muse-book-publish-chapter)
21 (muse-book-get-directives): Use muse-insert-file-contents.
23 * lisp/muse-http.el (muse-http-render-page): Use
24 muse-insert-file-contents.
26 * lisp/muse-poem.el (muse-poem-markup-tag): Use
27 muse-insert-file-contents.
29 * lisp/muse-publish.el (muse-insert-file-or-string)
30 (muse-publish-file, muse-publish-include-tag)
31 (muse-published-contents): Use muse-insert-file-contents.
33 * lisp/muse.el (muse-insert-file-contents): New function that
34 inserts a file with character code conversion, but none of the
35 other frivolities. Since insert-file-contents-literally does not
36 do character code conversion, it is not suitable for us.
37 (muse-with-temp-buffer): Mention muse-insert-file-contents rather
38 than insert-file-contents-literally.
40 2007-08-09 Michael Olson <mwolson@gnu.org>
42 * lisp/muse.el (muse-write-file): Pay attention to
43 coding-system-for-write and save-buffer-coding-system. This
44 should fix a recently-introduced bug with writing Muse pages in
45 different coding systems.
47 2007-08-08 Michael Olson <mwolson@gnu.org>
49 * README (Prerequisites): Fix typo.
50 (Compilation, Installation): Update.
51 (Documentation, Further Documentation): Update URLs.
52 (Further Documentation): Add quick blurb on how to participate in
53 Muse development or track changes.
55 * texi/muse.texi (Releases): Use gna.org URL for downloading the
56 latest release, rather than my website.
57 (Development): Change instructions to use git instead of
58 Arch. Mention where to get a Windows binary for git. Improve the
59 look of the listing. Add section with instructions for Becoming a
61 (Installation): Update instructions for Makefile.defs.default and
62 XEmacs. Add index entries. Add section for ELPA, since Muse
63 ought to be distributed in ELPA after the 3.10 release. Fix typo
66 2007-08-06 Michael Olson <mwolson@gnu.org>
68 * texi/muse.texi: Make sure that attributes are marked up with
69 @option{} rather than @code{} or @samp{} for consistency.
70 (Journal): Add "muse-project-alist-considerations" subheading,
71 along with a mention of :base-url.
73 2007-08-05 Michael Olson <mwolson@gnu.org>
75 * .gitignore: Add texi/muse.html and the DVC log edit file.
77 * Makefile.defs.default (install_info): Rename from INSTALLINFO.
78 Turn this into something that can be called like a command, due to
79 needing to deal with XEmacs, which has different argument order.
80 Thanks to Terrence Brannon for the report.
82 * lisp/muse-project.el (muse-project-of-file): Simplify by using
83 catch, throw, and dolist. Look for exact matches before
84 considering any subdirectories. If no exact matches are found,
85 then pick the longest match.
87 * lisp/muse.el (muse-sort-by-rating): Mention default test in
90 * scripts/muse-build.el: Avoid interference from VC.el in the
93 * texi/Makefile (install): Call install_info.
95 2007-08-03 Michael Olson <mwolson@gnu.org>
97 * lisp/muse-project.el (muse-project-applicable-styles): Remove
98 useless argument ignore-regexp. Use saner logic. This fixes a
99 bug where a file could potentially not exist but still appear in
100 the used-styles list. Thanks to John Wiegley for the fix.
101 (muse-project-publish-file): Don't take ignore-reegxp argument.
103 2007-08-02 Michael Olson <mwolson@gnu.org>
105 * lisp/muse-publish.el (muse-batch-publish-files): Don't activate
106 VC when publishing files in batch. This avoids some annoying
107 messages when building QuickStart in the examples directory.
109 * lisp/muse-mode.el (muse-mode): Don't try to indent line before
112 2007-07-31 Michael Olson <mwolson@gnu.org>
114 * lisp/Makefile: Add dependencies between Emacs Lisp files, so
115 that Muse can be recompiled without running "make clean" after an
118 * lisp/muse-publish.el (muse-publish-verse-tag): Unconditionally
119 delete forward one character, since we are guaranteed to be on a
120 blank line. Don't delete all initial whitespace of the first
121 line. This fixes an issue where the output from the verse tag did
122 not match the output from Muse's verse syntax.
124 2007-07-29 Michael Olson <mwolson@gnu.org>
126 * Relicense to GPLv3.
128 * Makefile.defs.default: Rename from Makefile.defs. This allows
129 people to copy this file to Makefile.defs and make changes,
130 without having the changes be accidentally committed. If
131 Makefile.defs does not exist, this file is read instead, in order
132 to minimize inconvenience to the casual user.
134 * Makefile, contrib/Makefile, examples/Makefile,
135 experimental/Makefile, lisp/Makefile, texi/Makefile: Use either
136 Makefile.defs.default or Makefile.defs.
138 * lisp/muse-mode.el (muse-list-edit-minor-mode-map): Use new
140 (muse-l-e-m-m-insert-list-item): Add real documentation.
141 (muse-l-e-m-m-increase-list-item-indent)
142 (muse-l-e-m-m-decrease-list-item-indent): Rename for clarity. Add
144 (muse-list-edit-minor-mode): Improve documentation.
146 * texi/doclicense.texi (GNU Free Documentation License): Use
147 pristine copy from Emacs source tree.
149 * texi/muse.texi (Contributors): Move node and appendix indicators
150 here, rather than doclicense.texi.
152 2007-07-29 Jean Magnan de Bornier <jean@bornier.net>
154 * lisp/muse-latex.el (muse-latex-markup-strings): Change rule
155 command which did not work correctly
157 * lisp/muse-context.el (muse-context-markup-strings): Change rule
158 command which did not work correctly; defined verse commands
159 (muse-context-markup-specials-literal): Eliminate all unuseful entries
161 2007-07-29 Michael Olson <mwolson@gnu.org>
163 * contrib/httpd.el (httpd-send-file): Use
164 insert-file-contents-literally instead of insert-file-contents.
166 * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
167 Use insert-file-contents-literally instead of
168 insert-file-contents.
170 * experimental/muse-split.el (muse-publish-file)
171 (muse-publish-presplit-publish, muse-publish-no-split-function)
172 (muse-journal-split-by-entry, muse-journal-split-by-month): Use
173 insert-file-contents-literally instead of insert-file-contents.
175 * lisp/muse-book.el (muse-book-publish-chapter)
176 (muse-book-get-directives): Use insert-file-contents-literally
177 instead of insert-file-contents.
179 * lisp/muse-http.el (muse-http-render-page): Use
180 insert-file-contents-literally instead of insert-file-contents.
182 * lisp/muse-import-latex.el (muse-import-latex): Set marker to
183 nowhere when done, since they can slow things down.
185 * lisp/muse-journal.el (muse-journal-html-munge-buffer): Set
186 marker to nowhere when done, since they can slow things down.
188 * lisp/muse-poem.el (muse-poem-markup-tag): Set marker to nowhere
189 when done, since they can slow things down. Use
190 insert-file-contents-literally instead of insert-file-contents.
192 * lisp/muse-publish.el (muse-publish-markup-tag)
193 (muse-publish-markup-word, muse-publish-markup-footnote)
194 (muse-publish-call-tag-on-buffer): Set markers to nowhere when
195 done, since they can slow things down.
196 (muse-insert-file-or-string, muse-publish-file)
197 (muse-publish-include-tag, muse-published-contents): Use
198 insert-file-contents-literally instead of insert-file-contents.
199 (muse-publish-surround-dl): Remove unused variable. Track whether
200 a term has been found, and handle that case well.
201 (muse-publish-ensure-blank-line): Use a marker, so that we don't
202 lose our place when adding a newline. This really fixes the
203 definition list item bug.
204 (muse-publish-markup-list): Since people do seem to want
205 definition lists with no terms, allow this.
206 (muse-batch-publish-files): Set muse-current-output-style.
208 * lisp/muse.el (muse-with-temp-buffer): Mention
209 `insert-file-contents-literally'.
211 2007-07-28 Michael Olson <mwolson@gnu.org>
213 * lisp/muse-mode.el (muse-browse-result): Set
214 muse-current-output-style.
215 (muse-mode): Don't duplicate the paragraph-start regexp
217 (muse-list-edit-minor-mode-map): New variable containing the
218 keymap for Muse list edit minor mode.
219 (muse-l-e-m-m-list-item-regexp): New variable that matches list
220 items for Muse list edit minor mode.
221 (muse-l-e-m-m-insert-list-item,
222 muse-l-e-m-m-i-list-item-indentation)
223 (muse-l-e-m-m-d-list-item-indentation): Variants of existing list
224 item functions that change the list item regexp before calling the
226 (muse-l-e-m-m-data): New variable that keeps track of the fill
227 data that we overwrite when activating Muse list edit minor mode,
228 so that we can restore it if the minor mode is toggled off.
229 (muse-list-edit-minor-mode): New minor mode that is useful for
230 editing lists in other major modes.
231 (turn-on-muse-list-edit-minor-mode)
232 (turn-off-muse-list-edit-minor-mode): New interactive functions
233 that turn Muse list edit minor mode on and off, respectively.
234 (muse-on-blank-line, muse-get-paragraph-start): Simplify some
237 * lisp/muse-project.el (muse-project-publish-this-file): Set
238 muse-current-output-style. This fixes a bug when publishing to a
239 style that is not first in the list of styles. Thanks to Jean
240 Magnan de Bornier for the report.
242 * lisp/muse-publish.el (muse-publish-ensure-blank-line): New
243 function that ensures that a blank line exists in the line before
245 (muse-publish-markup-list): Use it, rather than
246 `muse-publish-ensure-block'. This fixes a bug with definition
247 list publishing. Thanks to meandtheshell for reporting this.
249 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): If the
250 project argument is nil, default to the current project instead of
251 the first project entry in muse-project-alist. This seems much
254 * lisp/muse.el (muse-forward-list-item): Only check the 'face
255 property if we are in Muse mode or one of its derivatives. This
256 allows movement on nested lists to work in other modes, and fixes
257 an issue with altering list indentation in
258 muse-list-edit-minor-mode.
260 2007-07-27 Michael Olson <mwolson@gnu.org>
262 * AUTHORS: Add new authors.
264 * README: Permit Muse to be called "Emacs-Muse".
266 * etc/IDEAS.muse: Remove now-implemented ideas and duplicate idea.
268 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug
269 involving list items that have an extra blank line in front.
271 * texi/muse.texi (Introduction): Mention that Emacs Muse, Muse,
272 and Emacs-Muse are the same thing.
274 2007-07-27 Jean Magnan de Bornier <jean@bornier.net>
276 * lisp/muse-context.el (muse-context-header): Put
277 starttext after the modules who must be in preamble.
278 (muse-context-markup-strings): Fixed mistake in begin-example and
281 * lisp/muse-latex2png.el (muse-publish-math-tag): Replaced the
282 math environment in ConTeXt when centered: "$$ $$" has to be
283 "\startformula \stopformula".
285 2007-07-26 Michael Olson <mwolson@gnu.org>
287 * lisp/muse-xml-common.el (muse-xml-escape-url): Do not escape
290 2007-07-24 Michael Olson <mwolson@gnu.org>
292 * examples/QuickStart.muse (Images): Fix typo where some text
293 existed in the output but not in the example region.
294 (Source Code): Fix another typo. Explain that publishing from
295 console or X can make a difference.
297 * lisp/muse-context.el (muse-context-pdf-program): New option that
298 determines the program to use for generating PDF files for
300 (muse-context-pdf-cruft): New option that specifies the extensions
301 of files to remove after generating PDF output successfully.
302 (muse-context-slides-header): Docfix.
303 (muse-context-pdf-generate): Use new options.
305 * lisp/muse-publish.el (muse-publish-lisp-tag): Add missing
306 save-restriction call. This was causing a world of hurt when
307 using <lisp> inside of <include>.
309 * texi/muse.texi (ConTeXt): New section that documents how to use
310 the ConTeXt publishing styles.
312 2007-07-23 Michael Olson <mwolson@gnu.org>
314 * lisp/muse-context.el: New file that provides support for
315 publishing documents to the ConTeXt format. Thanks to Jean Magnan
316 de Bornier for his work on this.
318 * lisp/muse-docbook.el (muse-docbook-entities)
319 (muse-docbook-bibliography): Remove unneeded save-restriction use.
321 * lisp/muse-latex2png.el (muse-publish-latex-tag):
324 * lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
325 (muse-latex-bibliography): Remove call to `widen', since it is not
326 needed anymore. Remove unneeded save-restriction use.
327 ("slides", "slides-pdf"): Indent elements uniformly.
329 2007-07-22 Michael Olson <mwolson@gnu.org>
331 * lisp/muse-blosxom.el (muse-blosxom-new-entry):
332 * lisp/muse-mode.el (muse-insert-tag):
333 * lisp/muse-project.el (muse-read-project)
334 (muse-read-project-file):
335 * lisp/muse-publish.el (muse-publish-get-style): Use
336 muse-completing-read-function.
338 * lisp/muse-latex2png.el (muse-publish-latex-tag)
339 (muse-publish-math-tag): Allow the contex style -- which I plan to
340 include soon -- to work with these tags.
342 * lisp/muse.el (muse-completing-read-function): New option that
343 determines which function to call when doing a completing-read.
345 2007-07-15 Michael Olson <mwolson@gnu.org>
347 * lisp/muse-journal.el (muse-journal-html-entry-template)
348 (muse-journal-rdf-entry-template)
349 (muse-journal-rss-entry-template): Mention that this can be text
351 (muse-journal-rdf-entry-template, muse-journal-rss-header)
352 (muse-journal-rss-footer, muse-journal-rss-entry-template): Add
353 newlines to make the output look nicer.
354 (muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
355 Use muse-insert-file-or-string for the entry templates, rather
356 than muse-insert-markup. This allows <lisp> and <markup> tags to
357 be acted on. Thanks to Scott Hyde for the report.
358 (muse-journal-html-munge-buffer): Escape quote of the day using
359 entire-document specials before snarfing it. Mark entire template
360 as read-only -- this fixes an incorrect escaping bug. Remove
361 read-only properties before replacing template matches so that
362 they can still be escaped with entire-document specials later on.
363 (muse-journal-rss-munge-buffer): Make sure that title is escaped
365 (muse-journal-markup-tags): Rename from
366 muse-journal-latex-markup-tags, because we will use it for
367 journal-rss-entry as well.
368 (muse-journal-qotd-tag): Move higher. Use begin-quote-item and
370 (muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
372 ("journal-latex", "journal-pdf", "journal-book-latex")
373 ("journal-book-pdf"): Use muse-journal-markup-tags rather than
374 muse-journal-latex-markup-tags.
375 ("journal-rss-entry"): New style that is used by journal-rss and
376 journal-rdf to mark up individual entries. It is needed so that
377 we can do something meaningful with the qotd tag.
378 (muse-journal-rdf-summarize-entries): Set this to nil by default,
379 because it is annoying. Update docs to mention this.
380 (muse-journal-rss-summarize-entries): Docfix.
382 * lisp/muse-publish.el (muse-insert-file-or-string): Use
383 muse-publish-markup-header-footer-tags. I'm not quite sure how
384 this change got reverted.
385 (muse-markup-tag-info): Make into a function. Move common code
386 here, rather than duplicating it in two places. Deal with case
387 where muse-publish-use-header-footer-tags is non-nil.
388 (muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
389 (muse-inhibit-style-tags): Move higher to avoid byte-compiler
391 (muse-publish-use-header-footer-tags): New variable that indicates
392 whether we should use just the header and footer tags, rather than
394 (muse-insert-file-or-string): Bind
395 muse-publish-use-header-footer-tags to t.
396 (muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
397 Simplify call to muse-markup-tag-info.
398 (muse-publish-mark-up-tag): Bind
399 muse-publish-use-header-footer-tags to nil.
401 * texi/muse.texi (Journal): Update for recent changes.
403 2007-07-14 Michael Olson <mwolson@gnu.org>
405 * lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
406 delete the remainder of the buffer, since this causes the
407 resulting RDF to have invalid syntax. Thanks to Phillip Lord for
408 the report and the suggested fix.
410 * lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
411 beginning of table-el regexp. This fixes a bug where Muse stalls
412 when trying to publish a malformed table. Thanks to Ye Wenbin for
413 the report and the suggested fix.
415 2007-07-12 Michael Olson <mwolson@gnu.org>
417 * lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
418 default, rather than the empty string. This really fixes the bug
419 that occurred when using Muse with muse-project-alist set to nil.
420 Thanks to Jonathan Underwood for the report.
421 (muse-wiki-update-interwiki-regexp): Set
422 muse-wiki-interwiki-regexp to nil if muse-project-alist is not
424 (muse-wiki-handle-implicit-interwiki)
425 (muse-wiki-handle-explicit-interwiki): Handle case where
426 muse-wiki-interwiki-regexp is nil.
428 2007-07-10 Michael Olson <mwolson@gnu.org>
430 * lisp/muse-mode.el (muse-grep): Abort search if the current
431 project contains no directories.
433 * lisp/muse-project.el (muse-project-file-alist): If
434 muse-project-alist is not defined, or project is nil, return nil
435 right away. This ought to fix a bug that occurred when using Muse
436 with muse-project-alist set to nil.
437 (muse-project-of-file): Make sure muse-project-alist is not nil.
438 (muse-project-save-buffers): Make sure project is not nil.
440 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
441 case where muse-project-alist is nil.
443 * lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
444 for XEmacs, since color-theme.el is poorly behaved, and defines
445 its own replace-in-string. Bad color-theme.el -- no cookie for
448 2007-07-01 Michael Olson <mwolson@gnu.org>
450 * Makefile (.PHONY): Update for new debian package rules.
452 * lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
454 * lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
455 Use save-restriction properly.
456 (muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
458 * lisp/muse-latex.el (muse-latex-footer): Wrap long line.
459 (muse-latex-fixup-citations): Re-indent. Use save-restriction
461 (muse-latex-bibliography): Re-indent.
463 * lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
464 higher. This fixes an error at startup with some versions of
466 (muse-publish-cite-tag): Re-indent.
468 * lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
469 to the end of the link part, so as to exclude the description from
470 the match. This fixes a bug with three-part links that have
471 descriptions. Thanks to everyone who pointed it out.
473 2007-06-18 Michael Olson <mwolson@gnu.org>
475 * lisp/muse-html.el (muse-html-markup-strings): Add anchor.
476 (muse-xhtml1.1-markup-strings): New option that specifies XHTML
477 1.1 specific markup strings.
478 (muse-html-insert-anchor): Use 'anchor string, rather than
479 hard-coding it. Thanks to Chris Corsair for the suggestion.
480 ("xhtml1.0"): New style that is an alias for the xhtml style.
481 ("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
483 2007-06-17 Michael Olson <mwolson@gnu.org>
485 * examples/QuickStart.muse: Make images local so that the Info
486 version of this document works. Add <example> for the Literal
487 paragraphs chapter, so that it is clear what is happening.
489 * Makefile: Add elpa target, which is used for building an ELPA
492 * Makefile.defs (ELPADIR, ELPADESC): New variables used for
493 building ELPA packages.
495 * examples/Makefile (%.html, %.pdf, %.info): Add message to
496 indicate what we are publishing.
497 (realclean distclean fullclean): Remove all TeX crud.
499 * examples/emacs-muse.png, examples/muse-made-with.png: Include so
500 that the Info version of QuickStart can publish correctly.
502 * lisp/muse-latex.el (muse-latex-slides-header)
503 (muse-latex-lecture-notes-header): Docfix.
505 * lisp/muse-project.el (muse-project-ignore-regexp): Add .git to
506 the list of things to ignore.
508 * lisp/muse-publish.el (muse-publish-markup-list): Remove unused
511 * lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
512 default to nil, since texinfmt.el is a serious nuisance.
513 (muse-texinfo-markup-strings): Add newlines to begin-example and
515 (muse-texinfo-decide-specials): Also escape URL-type specials in a
516 whole slew of other contexts.
518 * lisp/muse-xml-common.el (muse-xml-encoding-map): Change group to
521 * lisp/muse-xml.el (muse-xml-footer): Docfix.
523 * lisp/muse.el (muse-version): Release Emacs Muse version 3.03.
525 2007-06-16 Michael Olson <mwolson@gnu.org>
527 * etc/IDEAS.muse: Add some ideas from David D. Smith.
529 * examples/QuickStart.muse: Overhaul.
531 * lisp/muse-project.el (muse-project): Call the last part of a
532 muse-project-alist entry "Output styles" rather than "styles".
534 * lisp/muse-publish.el (muse-publish-table-fields): Handle case
535 where we have a pipe character at the beginning of line.
537 * lisp/muse-xml-common.el (muse-xml-sort-table): Fix typo that was
538 causing tables to not be sorted at all.
540 * texi/muse.texi: Overhaul. It would be too time-consuming to
541 list all of the changes here. The "Getting Started" and
542 "Projects" chapters, in particular, were heavily revised.
544 2007-06-15 Michael Olson <mwolson@gnu.org>
548 * examples/QuickStart.muse: Mention new features.
550 * lisp/muse-colors.el (muse-colors-toggle-inline-images): Docfix.
551 Remove C-c C-i keybinding, since it conflicts with C-c TAB in the
552 terminal, and C-c TAB is more important. Most people will not
553 want to toggle images on and off that often.
555 * lisp/muse-mode.el (muse-mode-map): Bind muse-insert-thing to C-c
556 C-i as well, so that it works in the terminal.
558 * lisp/muse-publish.el (muse-publish-literal-tag): Make the output
559 look a bit tidier when removing the region.
561 * lisp/muse-regexps.el (muse-list-item-regexp): Put definition
562 list regexp part before other parts.
563 (muse-ol-item-regexp): New regexp that specifies how to match an
565 (muse-ul-item-regexp): New regexp that specifies how to match an
567 (muse-table-field-regexp): New regexp that specifies how to match
568 a definition list entry.
570 * lisp/muse-texinfo.el (muse-texinfo-info-generate): Work around
571 lack of support for @headitem in texinfmt.el.
573 * lisp/muse.el: Wrap muse-line-beginning-position and
574 muse-line-end-position in `eval-and-compile', since they are now
576 (muse-list-item-type): Use a simpler algorithm for detecting which
577 kind of list item we have. This fixes a bug where a number in a
578 definition list term was being detected incorrectly as an ordered
579 list item. Fixes bug #6250.
580 (muse-forward-list-item): Get the entire line with the list item.
581 For some reason, Emacs 21 was not populating match 2 correctly,
582 unlike Emacs 22, so this workaround was needed.
584 * texi/muse.texi: (Keystroke Summary): Remove C-c
585 C-i (`muse-insert-tag') documentation, and mention C-c C-i as an
586 alternative keybinding to the C-c TAB stuff. Mention
587 muse-colors-toggle-inline-images.
589 2007-06-14 Michael Olson <mwolson@gnu.org>
591 * README: Mention that RelaxNG schema is in etc/ directory.
593 * etc/emacs-wiki-migration.txt: New document that explains how to
594 migrate from emacs-wiki to Muse.
596 * etc/muse.rnc: Increment version number to 1.0. Fix several
597 nested emphasis and nested lists edge cases. Move here from
600 * lisp/muse-mode.el (muse-mode-map): Permit C-c C-M-t to do the
601 same thing as C-c C-S-t, since the former works better in the
602 console. Thanks to Leo for the suggestion.
604 * lisp/muse-publish.el (muse-publish-markup-table)
605 (muse-publish-markup-table-el): Include a newline in the return
606 string, so that paragraph detection does not get confused.
608 * lisp/muse.el (muse-with-temp-buffer): Docfix.
610 * texi/muse.texi (Keystroke Summary): Document the C-c C-M-t
613 2007-06-13 Michael Olson <mwolson@gnu.org>
615 * etc/IDEAS.muse: Mark three-part-links item as done.
617 * experimental/muse-message.el: Remove guard for muse-define-style
620 * lisp/muse-colors.el (muse-configure-highlighting): Fix bug where
621 markup rules were being interpreted in reverse order. This should
622 make implicit interwiki links work properly again.
623 (muse-link-face): Strip anchor from end of a path, so that this
624 works with anchors in interwiki links.
625 (muse-colors-insert-image): Catch error that occurs in Emacs 21
626 when an image does not exist.
628 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Permit
630 (muse-wiki-handle-implicit-interwiki): Docfix. Make anchors in
631 interwiki links work. Thanks to Jim Ottaway for the initial
633 (muse-wiki-handle-explicit-interwiki): Make anchors in interwiki
636 * lisp/muse.el (muse-handle-implicit-link): Docfix: only care
638 (muse-handle-explicit-link): Docfix: this does not modify the
640 (muse-file-remote-p): In Emacs 21, ange-ftp-name-format is a list
641 that has the regexp in its car.
643 2007-06-12 Michael Olson <mwolson@gnu.org>
645 * README: Document new etc/ directory.
647 * etc/IDEAS.muse: Install things from new contributors just after
648 the 3.03 release, since I won't have time to review the code
649 before the release. Move to new etc/ directory. Slides
650 publishing has been installed.
652 * lisp/muse-latex.el (muse-latex-slides-header): New option that
653 determines the header to use for publishing slides.
654 (muse-latex-lecture-notes-header): New option that determines the
655 header to use for publishing lecture notes.
656 (muse-latex-slides-markup-tags): New option containing tags to use
657 when publishing slides.
658 (muse-latex-permit-contents-tag): Move higher in file.
659 (muse-latex-slide-tag): New function to publish the <slide> tag.
660 ("slides", "slides-pdf"): New publishing styles that create slides
662 ("lecture-notes", "lecture-notes-pdf"): New publishing styles that
663 create lecture notes using Beamer.
665 * lisp/muse.el: Re-add the auto-mode-alist part to top-level,
666 since otherwise Planner is not happy when `plan' is called during
667 init. Remove stray quote from autoload snippet.
669 2007-06-11 Michael Olson <mwolson@gnu.org>
671 * lisp/muse.el: Make the add-to-list 'auto-mode-alist part an
672 autoload, rather than having it exist at top-level. Thanks to Leo
674 (muse-update-file-extension): Docfix.
676 2007-06-10 Michael Olson <mwolson@gnu.org>
678 * lisp/muse-publish.el (muse-publish-strip-URL): Fix bug where
679 URLs were being removed during publishing. Thanks to everyone who
682 2007-06-09 Markus Hoenicka <markus.hoenicka@mhoenicka.de>
685 * lisp/muse-docbook.el
687 * lisp/muse-publish.el: added support for <cite> element which
688 denotes in-text citations
692 * lisp/muse-texinfo.el
693 * lisp/muse-xml.el: added support for <cite> element (stub)
695 2007-06-06 Michael Olson <mwolson@gnu.org>
697 * lisp/muse-regexps.el (muse-table-line-regexp)
698 (muse-table-hline-regexp, muse-table-el-border-regexp): Fix
699 regexps so that they work with XEmacs 21. Thanks to Adrian
700 Tritschler for the report.
702 * texi/muse.texi: Update copyright years.
703 (HTML): Document muse-xhtml-style-sheet. Thanks
704 to thorne for noticing.
705 (Development): Change archive year to 2006. Thanks to Adrian
706 Tritschler for noticing. So *that's* why some people had the 2005
709 2007-06-05 Michael Olson <mwolson@gnu.org>
711 * Makefile (install-info): Remove $(MANUAL).info part, since this
712 is taken care of already by texi/Makefile. Thanks to Leo for the
715 * lisp/muse-journal.el (muse-journal-html-munge-buffer): Add
716 read-only properties to qotd contents, so that they don't get
717 double-escaped. Thanks to Leo for the report.
719 2007-06-04 Michael Olson <mwolson@gnu.org>
721 * lisp/muse-colors.el (muse-link-face): If the link is to a remote
722 -- that is, Tramp or ange-ftp -- file, then do not call
723 file-exists-p on it. Thanks to Jim Ottaway for the suggestion.
726 * lisp/muse-html.el (muse-html-insert-contents): Add
727 documentation. Handle case where heading is read-only, but has
728 muse-contents property. Remove the muse-contents property for any
729 heading we come across so as to avoid double-including an item in
730 an outer table of contents.
731 (muse-html-denote-headings): New function that denotes whether a
732 heading is not read-only by adding the muse-contents property to
734 (muse-html-munge-buffer): If we are not to generate contents,
735 still denote headings, in case some outer layer wants to generate
736 contents for our headings. This should fix a bug with table of
737 contents and the <include> tag. Thanks to thorne for the report.
739 * lisp/muse-publish.el (muse-publish-markup-region): Let-bind
740 muse-publish-generate-contents and set it to nil. This should
741 do the right thing when using <include> tags.
743 2007-06-02 Michael Olson <mwolson@gnu.org>
745 * NEWS: Update for non-inlined image change and support for
746 table.el style tables.
748 * examples/Makefile (clean): Clean backup files.
750 * examples/QuickStart.muse (Images): New section that describes
751 how to inline and not inline images.
753 * lisp/muse-colors.el (muse-colors-resolve-image-file): Don't
754 touch images that have "URL:" in front of them.
756 * lisp/muse-protocols.el (muse-url-protocols): Add handler for
757 "URL:". Use the identity function to resolve, since we don't want
758 to rip "URL:" out while publishing, due to some magic that depends
760 (muse-browse-url-url): New function that browses URLs that have
761 "URL:" in front of them, by removing the "URL:" part and
762 reprocessing the remainder.
764 * lisp/muse-publish.el (muse-publish-classify-url): Docfix.
765 (muse-publish-url): Recognize images in the description before
766 images in the link. Fixes bug #5112. Thanks to Thomas Kappler
767 for the suggested workaround.
768 (muse-publish-desc-transforms): Add `muse-publish-strip-URL' as a
770 (muse-publish-classify-url): If target begins with "URL:" return
772 (muse-publish-strip-URL): New function that strips "URL:" from the
773 beginning of a string. This is used to remove URL: from the link
774 description. * texi/muse.texi (Markup Strings): Clarify the
775 meanings of image-link, link, and link-and-anchor.
776 (muse-publish-markup-regexps): Move normal table rule to 2350.
777 Rule 2300 is now a regexp that matches table.el-style tables.
778 (muse-publish-markup-functions): Add table-el entry.
779 (muse-publish-table-el-table): New function that given a variant,
780 publishes a table.el-style table using the table in the matched
782 (muse-publish-markup-table-el): New function that determines
783 whether the table.el-style table can be published, and what
786 * lisp/muse-regexps.el (muse-tag-regexp): New regexp that matches
787 the borders of table.el-style tables.
789 * lisp/muse-xml-common.el (muse-xml-markup-table): Make sure that
790 the table has sufficient whitespace in front of it.
792 * texi/muse.texi (Images): Update for new non-inlined image
793 ability and provide example.
795 2007-05-31 Michael Olson <mwolson@gnu.org>
797 * NEWS: Add example for setting `muse-html-table-attributes'.
799 * lisp/muse-xml-common.el (muse-xml-markup-table): Add docstring.
800 Publish multiple tbody tags if there is a horizontal separator
801 after the heading, because that is valid HTML after all.
803 2007-05-30 Michael Olson <mwolson@gnu.org>
807 * lisp/muse-latex.el (muse-latex-markup-table): Deal with
808 horizontal separators in tables.
810 * lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
811 horizontal separators in tables.
812 (muse-publish-trim-table): New function to remove initial and
813 final blank columns from a table.
814 (muse-publish-table-fields): Call `muse-publish-trim-table'. Deal
815 with horizontal separators, aka "hlines".
817 * lisp/muse-regexps.el (muse-table-hline-regexp): New regexp that
818 defines the syntax of a horizontal separator in a table.
820 * lisp/muse-texinfo.el (muse-texinfo-markup-table): Deal with
821 horizontal separators. Publish header lines correctly.
823 * lisp/muse-xml-common.el (muse-xml-sort-table): Deal with case
824 where we have nonnumbers as a row type. This ignores sorting for
826 (muse-xml-markup-table): Deal with horizontal separators. If the
827 markup supports table groups, make hlines separate table groups.
828 Otherwise, ignore them, since they cannot be marked up. Together,
829 these changes allow us to support orgtbl-mode tables. Thanks to
830 Carsten Dominik for the suggestion.
832 2007-05-26 Michael Olson <mwolson@gnu.org>
834 * lisp/muse-project.el (muse-project-alist-styles): Allow for
835 other things to be added to each generated style as well. For
836 example, this permits me to add
837 :base-url "http://blog.mwolson.org/"
840 2007-05-25 Michael Olson <mwolson@gnu.org>
842 * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
843 way of building Debian packages that preserves the original
844 release tarball and is more modular.
845 (debrevision, debrelease): Remove.
846 (dist): No need to remove the debian/ directory, since it is now
848 (debprepare): Copy over debian/ directory properly.
852 * examples/Makefile (clean): Remove QuickStart.texi, in case
853 something went wrong during the build.
854 (%.pdf): Publish the example using the normal pdf style, rather
857 * examples/QuickStart.muse: Add myself to the authors list.
859 * lisp/muse-html.el (muse-html-src-tag): Ensure that we have
860 sufficient blank lines before the tag.
862 * lisp/muse-journal.el (muse-journal-latex-qotd-tag): Ensure that
863 we have sufficient blank lines before the tag.
865 * lisp/muse-latex.el (muse-latex-pdf-program): New option that
866 specifies the program to call in order to generate PDF content
868 (muse-latex-pdf-cruft): New option that specifies the extensions
869 of files to remove after generating PDF output successfully.
870 (muse-latex-pdf-generate): Use these new options. Work around the
871 annoying edge case where a tilde character exists in the filename
872 or directory path -- now this can only error out when the relative
873 path from the output file to the source file contains a tilde,
874 which is far less likely.
876 * lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
877 muse-publish-ensure-block here after all, because <lisp> et al may
878 occur inline as part of other things.
880 * lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
881 occur after full-document escaping, rather than before. This
882 prevents automatically-inserted Texinfo code from being escaped.
883 (muse-texinfo-pdf-generate): Rewrite to call
884 `muse-latex-pdf-generate' with pdftex as the generating binary,
885 because texi2pdf suffers irredeemably from the tilde edge case
888 2007-05-24 Michael Olson <mwolson@gnu.org>
890 * NEWS: Drop vague entries and position interesting entries closer
891 to the top of each section. Update for new changes.
893 * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
894 and bzr metadata directories to the list of things to ignore.
896 * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
897 `muse-publish-ensure-block-tag', since we will use it for more
899 (muse-publish-markup-list, muse-publish-verse-tag)
900 (muse-publish-quote-tag, muse-publish-example-tag)
901 (muse-publish-markup-attribute): Use it. This fixes a bug that
902 can occur when these types of markup occur immediately after a
903 paragraph. It's good to have defined behavior!
905 * texi/muse.texi (Markup Strings): Mention new argument for
908 2007-05-19 Michael Olson <mwolson@gnu.org>
910 * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
911 published footnotes and footnote references. Thanks to Scott
912 Jaderholm for the idea.
914 * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
915 link-and-anchor, on the recommendation of the original submitter.
917 2007-05-14 Michael Olson <mwolson@gnu.org>
919 * lisp/muse-latex.el (muse-latex-markup-strings): Use better
920 link-and-anchor markup. Thanks to Jean Magnan de Bornier for the
923 * lisp/muse-publish.el (muse-publish-url): Pass the url without a
924 file extension as the fourth argument.
926 * README, texi/muse.texi (Getting Help and Reporting Bugs):
927 Mention the new muse-el-logs mailing list.
929 2007-05-13 Michael Olson <mwolson@gnu.org>
931 * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
932 "\`" here. This fixes a problem with publishing custom URLs.
934 2007-05-12 Michael Olson <mwolson@gnu.org>
936 * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
937 update the list if the current buffer is associated with a file.
938 This fixes a bug with M-x muse-publish-region in a temporary
941 2007-05-01 Michael Olson <mwolson@gnu.org>
943 * lisp/muse-publish.el (muse-publish-region): Remove read-only
944 properties from the published buffer, so that the results can be
947 2007-04-23 Michael Olson <mwolson@gnu.org>
949 * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
950 find the footnote that goes with a reference, leave the reference
951 as-is. This fixes an error where control characters could be
952 placed in a published document.
954 2007-04-22 Michael Olson <mwolson@gnu.org>
956 * IDEAS.muse: Add muse-slides.el to list of things to include
959 * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
961 (muse-protocol-find): Find protocols correctly. Rewrite to use
963 (muse-browse-url): Don't concatenate "\`" here. Together, this
964 fixes a bug with browsing woman:// links.
966 * lisp/muse-project.el (muse-project-alist-styles): Deal with case
967 where entry-dir has a trailing backslash.
968 (muse-project-publish-file): If a style is malformed, skip it and
969 display a warning message. This should help people figure out
970 where the problem is.
972 2007-04-21 Michael Olson <mwolson@gnu.org>
974 * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
975 yet-to-be-included "contex" publishing style, use "$$" rather
976 than "\[" and "\]". Thanks to Jean Magnan de Bornier for pointing
979 2007-04-20 Michael Olson <mwolson@gnu.org>
981 * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
982 variable that causes the :before and :before-end hooks to be
983 ignored when non-nil.
984 (muse-publish-markup-region): Use it. Also, guarantee that point
985 is at end of region after publishing.
986 (muse-publish-mark-up-tag): Simplify, taking advantage of the new
989 2007-04-19 Michael Olson <mwolson@gnu.org>
991 * IDEAS.muse: New file containing a list of ideas we have for new
992 features, or patches that have yet to be applied.
994 * README: Call it "Emacs Muse", not "the Emacs Muse". No need to
997 * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
1000 * lisp/muse-publish.el (muse-publish-markup-tags): Handle
1001 <literal> tags with muse-publish-literal-tag, rather than
1002 muse-publish-mark-read-only.
1003 (muse-publish-literal-tag): New function that publishes the
1004 <literal> tag. It adds the ability to add the optional "style"
1005 and "exact" elements, which cause text to only be included if the
1006 current publishing style matches some criteria. The text will be
1007 removed otherwise. Thanks to Jim Ottaway for the implementation.
1008 (muse-publish-mark-up-tag): Let the <markup> tag take the
1009 additional optional elements "style" and "exact", with much the
1010 same effect as the <literal> improvements, but after calling
1011 "function" or publishing the region first. Make it possible to
1012 put <content> tags in <markup> regions in HTML publishing.
1014 2007-04-12 Michael Olson <mwolson@gnu.org>
1016 * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
1017 that a blank line always exists after a heading. This fixes a bug
1018 in Docbook paragraph detection. Thanks to Jean Magnan de Bornier
1021 * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
1022 detection regexp to that which is used in Docbook and HTML
1025 2007-04-02 Michael Olson <mwolson@gnu.org>
1027 * README (muse-el-announce): Make a listing of mailing lists,
1028 rather than pointing to the old EmacsWikiMailingList page. Thanks
1029 to Andreas Roehler for noticing.
1031 2007-04-01 Michael Olson <mwolson@gnu.org>
1033 * lisp/muse-publish.el (muse-publish-date-format): Add
1034 ` customization type and group.
1035 (muse-publish-region): New interactive function that publishes a
1036 region to a new buffer.
1038 * texi/muse.texi: Use "document" rather than "manual".
1040 2007-03-31 Michael Olson <mwolson@gnu.org>
1042 * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
1043 expression (muse-style-derived-p "latex" (muse-style "latex"))
1044 yielded nil. It now yields t, as expected. Thanks to Jim Ottaway
1047 2007-02-25 Michael Olson <mwolson@gnu.org>
1049 * lisp/muse-publish.el (muse-publish-date-format): New option that
1050 specifies how to format the date when publishing Muse pages.
1051 Thanks to Thomas Gehrlein for the suggestion.
1052 (muse-publish-markup-buffer): Use it.
1054 2007-02-23 Michael Olson <mwolson@gnu.org>
1056 * README: Add Prerequisites section to mention which versions of
1057 Emacs work with Muse. Thanks to Exal de Jesus Garcia Carrillo for
1058 the suggestion. Update link destination for Muse's page on
1061 2007-02-15 Michael Olson <mwolson@gnu.org>
1063 * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
1064 be not just at beginning of line. This fixes an error with the
1065 <class> tag. Thanks to Jim Pivarski for the report.
1067 2007-02-14 Michael Olson <mwolson@gnu.org>
1069 * lisp/muse-publish.el (muse-publish-classify-url): Check to see
1070 whether something is an image before checking to see if it is a
1071 URL. Thanks to ITSUMI ken-ichi for the report.
1073 2007-02-13 Michael Olson <mwolson@gnu.org>
1075 * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
1076 comments that have no text better. Thanks to fang.lungang for the
1078 (muse-publish-markup-comment): Deal with case where no comment
1081 2007-01-23 Michael Olson <mwolson@gnu.org>
1083 * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
1084 that ensures that at least one blank line exists at the given
1085 position. This is used to avoid paragraph detection problems when
1086 block-level tags like <example> immediately follow a paragraph.
1087 Thanks to Hans Ekbrand for the report.
1088 (muse-publish-example-tag): Use it.
1090 2007-01-19 Michael Olson <mwolson@gnu.org>
1092 * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
1093 previous blank line if we are publishing in Latex. Otherwise,
1094 that wouldn't be the right thing, so leave it be.
1096 2007-01-17 Michael Olson <mwolson@gnu.org>
1098 * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
1099 multiple centered math lines on the same line; keep them on
1100 different lines. Use \[ math-text \] instead of $$math-text$$,
1101 since the latter seems to be deprecated. Thanks to Jody Klymak
1104 2007-01-15 Michael Olson <mwolson@gnu.org>
1106 * lisp/muse-latex2png.el (muse-publish-latex-tag)
1107 (muse-publish-math-tag): Publish region read-only when current
1108 style is Latex-derived, so that Muse does not escape it.
1109 (muse-publish-math-tag): If 6 or more spaces come before the tag,
1110 surround the region with "$$" rather than "$". This is the Muse
1111 syntax for something centered, so it should be a good fit.
1113 2007-01-15 Valery V. Vorotyntsev <valery.vv@gmail.com>
1115 * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
1117 (muse-browse-url-man): Change man page URL format. The code is
1118 simpler when the section is left inside parentheses.
1119 (muse-browse-url-woman): New function.
1121 2007-01-14 Michael Olson <mwolson@gnu.org>
1123 * AUTHORS: Bookkeeping.
1125 * lisp/muse-latex2png.el: Associate <math> tag with
1126 muse-publish-math-tag, not muse-publish-latex-tag. Thanks to Jody
1127 Klymak for the report.
1128 (muse-publish-math-tag): Use muse-insert-markup for the "$"
1129 characters, so they don't get escaped.
1131 * lisp/muse-publish.el (muse-style-derived-p-1): New function to
1132 make muse-style-derived-p easier to implement.
1133 (muse-style-derived-p): If the style is not provided, fetch it and
1134 check to see if the car is a string. This should fix the other
1135 problem that was reported.
1137 * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
1138 explains a case where setting muse-file-extension to nil can cause
1139 unexpected behavior.
1141 2007-01-09 Michael Olson <mwolson@gnu.org>
1143 * lisp/muse-publish.el (muse-publish-markup-regexps): Make
1144 comments higher priority than tags. Thanks to Stefan van der Walt
1147 2007-01-08 Michael Olson <mwolson@gnu.org>
1149 * lisp/muse-publish.el (muse-markup-tag-info): Use the given
1150 argument rather than calling match-string. Thanks to Stefan van
1151 der Walt for the report. This should fix a bug with publishing
1152 <include file="..." markup="example">.
1154 2007-01-06 Michael Olson <mwolson@gnu.org>
1156 * Makefile (debclean): New rule split from debrevision and
1158 (debbuild): Take distributor into account.
1160 * Makefile.defs (DISTRIBUTOR): New field that tracks what
1161 vendor/distributor we are building for.
1163 2007-01-04 Michael Olson <mwolson@gnu.org>
1165 * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
1168 * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
1169 point to muse-publish-src-tag by default, since <src> and
1170 <example> have different parameters.
1171 (muse-publish-src-tag): New barebones publishing function for
1172 <src>, which is superseded when publishing in an HTML-based style.
1174 2007-01-03 Michael Olson <mwolson@gnu.org>
1176 * lisp/muse-html.el (muse-html-src-tag): Document.
1178 * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
1179 command that calls a given tag on the current buffer. Attributes
1181 (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
1183 (muse-publish-srcify-buffer): New function that allows
1184 markup="src" in the <include> tag.
1185 (muse-publish-get-and-delete-attr): New macro that gets an
1186 attribute from a list and removes the first instance of that
1187 attribute from said list.
1188 (muse-publish-markup-attribute): Handle markup="src".
1189 (muse-publish-command-tag, muse-publish-include-tag): Use
1190 muse-publish-get-and-delete-attr. This allows the remaining
1191 attributes to be passed.
1193 * texi/muse.texi (Tag Summary): Update for new <src> tag as well
1194 as changes to <command> and <include>.
1196 2006-12-30 Michael Olson <mwolson@gnu.org>
1200 * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
1201 from muse-publish-math-tag to avoid conflict with
1204 2006-12-23 Michael Olson <mwolson@gnu.org>
1206 * lisp/muse-latex2png.el: Update header, since this has been
1207 rewritten sufficiently to not need an assignment from the original
1209 (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
1210 (muse-latex2png): Use two underscores to separate prefix and hash.
1211 (muse-latex2png-region): New function split from
1212 muse-publish-latex-tag that can be used easily by other code.
1213 Detect whether we are using an HTML-based publishing style, and
1214 insert a simpler markup if we are not. If we are using a
1215 Latex-based publishing style, do not generate an image, and leave
1216 the region alone. Return the path of the generated image, in case
1217 other functions want to use this programmatically.
1218 (muse-publish-latex-tag): Set a default prefix based on the name
1219 of the current file.
1220 (muse-publish-math-tag): New tag that surrounds the region with
1221 "$" characters, so that it becomes a Latex math region, and then
1224 * lisp/muse-publish.el (muse-style-derived-p): New function that
1225 returns non-nil if a given style, or the current style if omitted,
1226 is equal to or derived from the given base style. This is useful
1227 in <lisp> tags, because it allows the user to specify markup that
1228 is only to be inserted for one particular style.
1230 2006-12-22 Michael Olson <mwolson@gnu.org>
1232 * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
1233 (muse-html-src-tag): New function which publishes the <src> tag.
1234 Thanks to Clinton Ebadi and Charles Wang for the initial
1237 * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
1239 2006-12-21 Michael Olson <mwolson@gnu.org>
1241 * examples/johnw/muse-johnw.el: Update for preferred
1242 muse-derive-style usage. Rename to muse-init.el.
1244 * examples/mwolson/muse-init.el: Update.
1246 * lisp/muse-book.el (muse-book-publish): New function split from
1247 muse-book-publish-project. This is used in the definitions for
1248 the book-latex and book-pdf styles.
1249 (muse-book-publish-p): New function split from muse-book-publish.
1250 (muse-book-get-directives): New function that retrieves the
1251 publishing directives from the given file.
1252 (muse-book-publish): Use muse-book-get-directives to set the title
1253 if no title was specified.
1255 * lisp/muse-project.el (muse-project): Add :publish-project entry
1257 (muse-read-project, muse-project-find-file): Message fix.
1258 (muse-project-publish-file-default): New function split from
1259 muse-project-publish-file.
1260 (muse-project-publish-file): Allow file-level publishing function
1261 to be specified by the :publish element. The default is
1262 muse-project-publish-file-default.
1263 (muse-project-publish-default): New function split from
1264 muse-project-publish.
1265 (muse-project-publish): Allow project-level publishing function to
1266 be specified by :publish-project element. The default is
1267 muse-project-publish-default.
1269 * lisp/muse-publish.el (muse-publish-file): Message fix.
1271 * texi/muse.texi (Book): Mention new way to publish books and
1272 provide an example, since the process may be non-obvious.
1274 2006-12-20 Michael Olson <mwolson@gnu.org>
1276 * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
1277 content-modifying code from the rest of
1278 muse-docbook-finalize-buffer.
1280 * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
1281 muse-groff-finalize-buffer, since it adds content to the buffer.
1283 * lisp/muse-html.el (muse-html-munge-buffer): Split out
1284 content-modifying code from the rest of muse-html-finalize-buffer.
1285 This fixes a bug when using <include> with <content> tags.
1287 * lisp/muse-journal.el (muse-journal-html-munge-buffer)
1288 (muse-journal-latex-munge-buffer)
1289 (muse-journal-rss-munge-buffer): Rename, since they add content to
1292 * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
1293 muse-latex-finalize-buffer, since it adds content to the buffer.
1295 * lisp/muse-mode.el:
1296 * lisp/muse-project.el:
1297 * lisp/muse-publish.el:
1298 * lisp/muse.el: Fix recursive load error.
1300 * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
1301 muse-texinfo-finalize-buffer, since it adds content to the buffer.
1303 * lisp/muse-wiki.el: Comment cleanup.
1305 * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
1307 2006-12-17 Michael Olson <mwolson@gnu.org>
1309 * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
1310 Remove the definition of \comment, since Latex already has comment
1312 (muse-latex-markup-strings): Use the Latex comment syntax, rather
1313 than our own. Thanks to Ryan Stutsman for pointing this out.
1315 2006-12-02 Michael Olson <mwolson@gnu.org>
1317 * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
1318 that this can generate a proper table of contents for Planner HTML
1321 2006-12-01 Michael Olson <mwolson@gnu.org>
1323 * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
1324 using a very old Emacs, avoid an infinite loop that could occur
1325 when the regexp is an empty string.
1327 2006-11-26 Michael Olson <mwolson@gnu.org>
1329 * NEWS: Bring up to date.
1331 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
1332 list issues and multiple-stanza verse issues. This takes care of
1333 all of the markup issues I was worried about.
1335 * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
1336 (muse-project-publish-private-files): New option that indicates
1337 whether files with private filesystem permissions should be
1338 published. The default is to publish them, since it avoids
1339 confusion in new users.
1340 (muse-project-private-p): Use it.
1342 2006-11-19 Michael Olson <mwolson@gnu.org>
1344 * lisp/muse-project.el (muse-project-resolve-link): If no remote
1345 style is found, which means that the link is not a Muse page, do
1346 not add a suffix or prefix to it. This should fix the
1347 "[[thing.owl]]" bug that Phillip Lord reported.
1349 * lisp/muse-publish.el (muse-publish-link-file): Simplify by
1350 removing unused 2nd argument.
1352 2006-11-17 Michael Olson <mwolson@gnu.org>
1354 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
1355 latex publishing where nested enumerated lists would be squashed
1356 together at the end.
1358 2006-11-16 Michael Olson <mwolson@gnu.org>
1360 * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
1361 list embedded in a definition list look right. This also allows
1362 for definitions to be separated from their terms, much like the
1363 way HTML does it by default, if the user puts a blank line or a
1364 line break between the term and the definition. If the term and
1365 definition are on the same line, they will be that way in the
1368 2006-11-11 Michael Olson <mwolson@gnu.org>
1370 * muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
1372 (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
1374 2006-11-07 Michael Olson <mwolson@gnu.org>
1376 * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
1377 release candidate for Muse 3.03, available.
1381 2006-11-06 Michael Olson <mwolson@gnu.org>
1383 * lisp/muse-project.el (muse-project-find-file): Fix bug when
1384 following a relative link worked even when the path was incorrect.
1386 2006-11-04 John Sullivan <john@wjsullivan.net>
1388 * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
1389 muse-follow-name-at-point to reduce collisions with other
1392 * muse.texi (Keystroke Summary): Remove C-c C-c binding.
1394 2006-11-04 Michael Olson <mwolson@gnu.org>
1396 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
1397 optional, and make interwiki delimiter a regular rather than shy
1399 (muse-wiki-handle-implicit-interwiki): Rename from
1400 muse-wiki-handle-interwiki. Use match group 3 to get the page.
1401 (muse-wiki-handle-explicit-interwiki): New function that is
1402 smarter about where an explicit link ends in a buffer. This
1403 allows you to refer to page names with invalid Wiki characters,
1404 such as underscores and dashes, merely by enclosing them in double
1405 brackets. Also, a bug with recognizing project names too loosely
1408 2006-11-03 Michael Olson <mwolson@gnu.org>
1410 * lisp/muse-project.el (muse-project-page-file): Make relative
1411 links work as expected, hopefully.
1413 * lisp/muse-publish.el (muse-publish-this-file): Set the current
1414 output style manually, since it will differ from anything in the
1415 publishing style list.
1417 2006-10-30 Michael Olson <mwolson@gnu.org>
1419 * lisp/muse-colors.el (muse-colors-markup): Remove note about
1420 grouping elements, since that no longer applies.
1421 (muse-colors-custom-tags): Explicitly match against
1422 muse-tag-regexp to get the match-data set the way we want. This
1423 really fixes the <example> highlighting bug that Stefan reported.
1424 (muse-configure-highlighting): Set the original value to the
1425 symbol, not the modified value. Re-use modified rules properly.
1427 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
1428 introduced yesterday.
1430 2006-10-29 Michael Olson <mwolson@gnu.org>
1432 * examples/mwolson: Update my example configuration.
1436 * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
1437 without a regexp in the first position before iterating through
1438 them to build muse-colors-vector. This fixes a bug with the
1439 display of <example> tags. Thanks to Stefan Reichör for the
1442 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
1443 files in projects to be linked to.
1445 * lisp/muse-publish.el (muse-publish-url): Allow the original link
1446 to serve as a description for a URL, as long as it differs from
1447 the destination URL. This fixes the description of WikPage links
1449 (muse-publish-link-file): Check to see whether the given link
1450 points at a valid file. If so, return it. Otherwise, apply other
1451 transforms like prefix and link suffix.
1453 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
1454 "/", it is a file or directory, not a Muse page. Thanks to
1455 Phillip Lord for the suggestion.
1457 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
1458 of the current page as the local path, instead of duplicating the
1459 remote file's path. This probably fixes at least one reported
1460 bug. since it's quite major.
1461 (muse-wiki-update-project-file-regexp)
1462 (muse-wiki-update-interwiki-regexp): Ensure that nil is never
1463 passed to regexp-opt, since that can cause Emacs 21 to throw an
1464 "maximum binding depth exceeded" error. Thanks to xs32 AT cornell
1465 DOT edu for the report.
1466 (muse-wiki-handle-wikiword): Avoid a potential stringp error.
1468 2006-10-28 Michael Olson <mwolson@gnu.org>
1470 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
1471 (muse-project-resolve-link): If the given style does not have a
1472 link-suffix, default to suffix. This fixes a bug I was noticing
1473 when linking to a file that was published in both PDF and HTML
1476 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
1477 function that is used as a callback to determine the initial
1478 amount of indentation that the current dl item has.
1479 (muse-publish-surround-dl): Use it. Pass the initial indent value
1480 and the post-indent value, instead of trying to determine them
1482 (muse-publish-strip-list-indentation): New function stripped from
1483 `muse-publish-surround-text' for readability.
1484 (muse-publish-surround-text): Instead of taking a determine-indent
1485 value, take a determine-indent-func function, which is called just
1486 after finding the next list item. If we are asked to determine
1487 the amount of indentation, concatenate indent and post-indent the
1488 first time around. This effectively fixes all known definition
1491 2006-10-16 Michael Olson <mwolson@gnu.org>
1493 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
1494 other software -- namely, Planner -- can detect whether they are
1495 using a version of Muse that supports nested tags.
1496 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
1497 muse-publish-goto-tag-end.
1499 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
1500 Adapt for nested tags.
1502 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
1503 <class> tag is nestable. Thanks to Phillip Lord for noticing
1506 * lisp/muse-publish.el (muse-publish-markup-tag)
1507 (muse-publish-quote-tag): Use muse-goto-tag-end.
1509 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
1511 2006-10-15 Michael Olson <mwolson@gnu.org>
1513 * AUTHORS: Bookkeeping.
1515 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
1518 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
1521 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
1523 * lisp/muse-import-docbook.el (muse-import-docbook)
1524 (muse-import-docbook-files): Docfix.
1525 (muse-import-docbook-get-title): Remove cl.el-ism.
1527 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
1529 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
1531 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
1533 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
1534 (muse-next-reference, muse-previous-reference): Minor whitespace
1536 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
1539 * lisp/muse-poem.el (muse-poem-tag): Ditto.
1541 * lisp/muse-publish.el (muse-publish-markup-tags)
1542 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
1543 element and make 4th element determine whether tags are nestable.
1544 (muse-publish-goto-tag-end): New function that moves to the end of
1545 a tag. Handle nested tags when NESTED is non-nil.
1546 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
1547 5th element for function.
1548 (muse-publish-quote-tag): Handle nested quote tags. I've tested
1549 this on several scenarios, and it seems to work.
1550 (muse-publish-surround-text): Accept new optional argument
1551 LIST-ITEM which determines the regexp to use for list items. The
1552 default is to use muse-list-item-regexp.
1554 * muse.texi (Markup Tags): Mention nestable tags.
1556 * NEWS: Mention new files.
1558 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
1560 * lisp/muse-import-docbook.el: New file that converts Docbook XML
1563 * lisp/muse-import-xml.el: New file that provides helper routines
1564 for converting XML-ish files to Muse format.
1566 2006-10-10 Michael Olson <mwolson@gnu.org>
1568 * NEWS: Update for 3.02.7 bugfix release.
1570 2006-10-06 Sasha Kovar <sasha@arcocene.org>
1572 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
1573 using the value in the muse #date directive.
1574 (muse-blosxom-use-metadate): New option that determines whether or
1575 not to use the #postdate directive.
1576 (muse-blosxom-format-date): Convert a date string to PyBlosxom
1577 metadate plugin format.
1579 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
1581 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
1584 * muse.texi: Clarify handling of implicit links by mentioning
1585 which characters can prevent Muse from recognizing something as an
1588 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
1590 * lisp/muse-mode.el (muse-next-reference)
1591 (muse-previous-reference): Fix bug #6367 by moving point to the
1592 beginning of the link.
1594 2006-09-26 Michael Olson <mwolson@gnu.org>
1596 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
1597 beginning-of-line. This should fix a bug that was noticed in
1598 recent Emacs 22 builds.
1600 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
1601 eval-and-compile block to avoid a compiler warning.
1603 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
1605 * lisp/muse-backlink.el (muse-backlink-split-string):
1606 Compatibility with Emacs versions < 22
1607 (muse-backlink-pending): New internal variable
1608 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
1609 that backlinks are inserted at the right time.
1610 (muse-backlink-insert-hook-func): Remove unwind-protection; check
1611 for pending backlink, and that this is the targe page.
1612 (muse-backlink-handle-link): Don’t handle the link if we are
1613 already handling one. Return the link as well as the parent links.
1615 2006-09-25 Sasha Kovar <sasha@arcocene.org>
1617 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
1618 #6942 - muse-blosxom-new-entry fails when using tags.
1620 2006-09-14 Michael Olson <mwolson@gnu.org>
1622 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
1625 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
1627 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
1628 function: Protect all wikiwords from START to END from further
1630 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
1632 2006-09-13 Michael Olson <mwolson@gnu.org>
1634 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
1635 adopted from Jim Ottaway's patch. It removes links from the
1636 heading, and then marks the region read-only to inhibit WikiWord
1639 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
1641 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
1642 special handling for headings.
1643 (muse-texinfo-remove-links): New function that removes explicit
1644 links from the given strings, replacing them with a description.
1646 2006-09-11 Michael Olson <mwolson@gnu.org>
1648 * muse.texi (Getting Help and Reporting Bugs): Mention the
1649 muse-el-internationalization mailing list.
1651 * lisp/muse.el (muse-path-sans-extension): New function that acts
1652 like file-name-sans-extension, but guarantees to never modify the
1653 directory part of the path. Thanks to Evan Monroig for
1656 * lisp/muse-book.el (muse-book-publish-project): Use
1657 muse-path-sans-extension instead of file-name-sans-extension.
1659 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
1662 2006-08-30 Michael Olson <mwolson@gnu.org>
1664 * muse.texi (Blosxom Requirements): Fix typo.
1666 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
1667 directories for bzr and darcs.
1669 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
1670 contrib/pyblosxom/getstamps.py: Update version and headers.
1672 2006-08-27 Michael Olson <mwolson@gnu.org>
1674 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
1675 nil values before they get to mapconcat. This fixes a lockup when
1676 muse-wiki-match-all-project-files is nil.
1678 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
1679 (muse-wiki-ignore-implicit-links-to-current-page)
1680 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
1681 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
1682 (muse-wiki-publish-small-title-words)
1683 (muse-wiki-publish-pretty-title): Docfix.
1684 (muse-wiki-update-local-wikiword-regexp): Rename from
1685 muse-wiki-update-local-wikiword-regexp. Set
1686 muse-wiki-project-file-regexp instead of
1687 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
1688 take muse-wiki-use-wikiword into account, since this is a
1689 different concept now.
1690 (muse-wiki-update-wikiword-regexp): Remove.
1691 (muse-wiki-wikiword-regexp): In-line the :set function.
1692 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
1694 2006-08-26 Michael Olson <mwolson@gnu.org>
1696 * lisp/muse-publish.el (muse-publish-surround-text): When looking
1697 for indented list items, ignore blank lines.
1699 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
1700 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
1701 mapconcat. This should hopefully fix a problem with large amounts
1702 of files with spaces in their name. Thanks to Greg Detre for the
1705 2006-08-24 Michael Olson <mwolson@gnu.org>
1707 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
1708 numbers from the argument to format-time-string. This fixes an
1709 XEmacs bug. Thanks to Michael Welle for the report and analysis.
1711 2006-08-18 Michael Olson <mwolson@gnu.org>
1713 * lisp/muse-project.el (muse-project-file-entries): Since we are
1714 given a full path, match against the filename as well. This fixes
1715 an issue where backup files were being added to the file alist.
1717 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
1720 2006-08-12 Michael Olson <mwolson@gnu.org>
1722 * Makefile (.PHONY): Don't use line continuations.
1723 (realclean fullclean): Call realclean in subdirs, not distclean.
1724 (distclean): Don't call realclean, since this would wipe out our
1726 (dist): Use correct path to autoloads file.
1728 * NEWS: Catch up with the latest changes.
1730 * experimental/Makefile (.PHONY): Wrap long line.
1732 * lisp/Makefile (distclean): Do the same thing as "clean", not
1735 * lisp/muse-project.el (muse-project-get-applicable-style):
1737 (muse-project-ignore-regexp, muse-project-recurse-directory):
1739 (muse-project-of-file): Try the ignored files regexp against the
1740 base filename as well as the entire path.
1742 * lisp/muse-publish.el (muse-publish-this-file): Display message
1743 if the buffer is not associated with any file, so that we avoid
1745 (muse-publish-url-desc): New function taken from muse-publish-url
1746 that causes a URL description to be transformed.
1747 (muse-publish-url): Call muse-publish-url-desc on either the
1748 description or the original URL if it will be used as a
1749 description. Accept the original URL as an argument, in case it
1750 was transformed earlier.
1751 (muse-publish-insert-url): Pass original URL as an argument.
1752 (muse-publish-markup-link): Make this somewhat easier to follow.
1753 Pass original URL as argument.
1754 (muse-publish-get-style): If the same style is used to publish to
1755 two different directories, prompt the user for which directory to
1757 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
1759 (muse-publish-markup-url): Pass original URL as an argument. This
1760 fixes the "nil" description for bare URLs that was in 3.02.91.
1761 Nothing like finding a bug just after completing the announcement
1764 * lisp/muse.el: Use defalias whenever convenient.
1765 (muse-version): Set version to 3.02.92 (3.03 RC2).
1767 2006-08-10 Michael Olson <mwolson@gnu.org>
1769 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
1770 style does not derive from any other class, return `t' here.
1771 This, along with the corresponding change to muse-publish.el,
1772 fixes a problem with the table of contents getting inserted
1773 multiple times for custom html-based styles.
1774 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
1775 smarter method for table centering that works with XHTML.
1777 * lisp/muse-latex2png.el Rename all functions to have a
1778 "muse-latex2png" prefix. Turn all variables into customizable
1779 options in the muse-latex2png group.
1780 (muse-latex2png-img-dest): New option specifying where to place
1782 (muse-latex2png-template): New option containing the template to
1783 use for the surrounding LaTeX code.
1784 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
1786 (muse-latex2png-move2pubdir): Avoid multiple redundant error
1787 messages when something else goes wrong. Create the image
1788 subdirectory if it doesn't exist already -- thanks to Christian
1789 Straßer for the report. Expand the filename properly.
1790 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
1791 and filename expansion.
1792 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
1793 the default directory properly.
1795 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
1796 do not run the same function twice.
1798 2006-08-08 Michael Olson <mwolson@gnu.org>
1800 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
1801 introduced wrong-type-argument error.
1803 * lisp/muse-html.el (muse-html-markup-strings)
1804 (muse-xhtml-markup-string): Cause table definition that contains
1805 image to be center-aligned. This should fix an issue with images
1806 not being centered when captions are very long.
1808 * lisp/muse-publish.el (muse-publish-table-fields): Trim
1809 whitespace from fields once we have split them up.
1811 * lisp/muse.el (muse-trim-whitespace): New function that strips
1812 leading and trailing whitespace from a string.
1814 2006-08-07 Michael Olson <mwolson@gnu.org>
1816 * NEWS: Update through patch-95.
1818 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
1820 (muse-colors-explicit-link): Show images in link descriptions if
1821 inlined images are enabled.
1823 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
1824 definitions for 'image-with-desc, 'image, and 'image-link.
1825 (muse-docbook-markup-paragraph): If an inlined image begins a
1826 paragraph, insert <para> before it.
1827 (muse-docbook-fixup-images): New function that upper-cases the
1828 "format" attribute of the <imagedata> tag.
1829 (muse-docbook-finalize-buffer): Call it.
1831 * lisp/muse-html.el (muse-html-markup-strings): Publish images
1832 with descriptions as centered tables, with a centered caption
1833 underneath. The resulting look is consistent with the way that
1834 they are published in the LaTeX style. Thanks to Jody Klymak for
1836 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
1837 valid way to center a table.
1838 (muse-html-markup-paragraph): Use class="image" instead of
1839 "image-link" for paragraphs that start with an embedded image.
1841 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
1842 \textbackslash{} for "\". Thanks to Jim Ottaway for the
1844 (muse-latex-markup-specials-image): New option that enables
1845 escaping of specials in images. This was split from the URL
1847 (muse-latex-decide-specials): Handle 'image context.
1848 (muse-latex-fixup-dquotes): Go to beginning of document, instead
1849 of relying on caller to do this for us.
1851 * lisp/muse-publish.el (muse-publish-escape-specials): Document
1853 (muse-publish-url): Use 'image context for images. Use 'image
1854 instead of 'image-link and 'image-link in place of
1855 'url-with-image. Separate the image file from its extension so
1856 that docbook and texinfo can publish images correctly.
1857 (muse-publish-markup-link): Don't force a description if one is
1858 not given. This fixes a bug where images without descriptions
1859 were being published as 'image-with-desc instead of 'image.
1861 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
1862 images the same as URLs.
1863 (muse-texinfo-markup-strings): Improve image markup to achieve an
1864 effect similar to that of the LaTeX publishing style. Simplify
1867 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
1869 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
1870 when we have to use the custom version of this function.
1872 * muse.texi (Images): Explain how to toggle inlining of images and
1873 give better examples. Mention captions and that captioned images
1874 should not be used inside of text paragraphs.
1875 (Markup Strings): Bring up-to-date with the changes made since
1878 2006-08-06 Michael Olson <mwolson@gnu.org>
1880 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
1881 in the Emacs source tree.
1883 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
1884 in the Emacs source tree.
1886 * ChangeLog.3: New file created from the old ChangeLog.
1888 * Makefile.defs (VERSION): Set to 3.02.91.
1890 * NEWS: Update through patch-84.
1892 * lisp/muse.el (muse-version): Set to 3.02.91.
1894 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
1896 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
1897 delimiter are instead of hard-coding it.
1899 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
1900 (muse-mode): Make filling definition lists work better. This
1903 * lisp/muse-publish.el (muse-style-run-hooks): Use
1904 `muse-style-element' instead of `muse-get-keyword' here. This
1907 * muse.texi: Set version to 3.02.91 (3.02 RC2).
1909 See ChangeLog.3 for earlier changes.