1 2007-01-03 Michael Olson <mwolson@gnu.org>
3 * lisp/muse-html.el (muse-html-src-tag): Document.
5 * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
6 command that calls a given tag on the current buffer. Attributes
8 (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
10 (muse-publish-srcify-buffer): New function that allows
11 markup="src" in the <include> tag.
12 (muse-publish-get-and-delete-attr): New macro that gets an
13 attribute from a list and removes the first instance of that
14 attribute from said list.
15 (muse-publish-markup-attribute): Handle markup="src".
16 (muse-publish-command-tag, muse-publish-include-tag): Use
17 muse-publish-get-and-delete-attr. This allows the remaining
18 attributes to be passed.
20 * texi/muse.texi (Tag Summary): Update for new <src> tag as well
21 as changes to <command> and <include>.
23 2006-12-30 Michael Olson <mwolson@gnu.org>
27 * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
28 from muse-publish-math-tag to avoid conflict with
31 2006-12-23 Michael Olson <mwolson@gnu.org>
33 * lisp/muse-latex2png.el: Update header, since this has been
34 rewritten sufficiently to not need an assignment from the original
36 (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
37 (muse-latex2png): Use two underscores to separate prefix and hash.
38 (muse-latex2png-region): New function split from
39 muse-publish-latex-tag that can be used easily by other code.
40 Detect whether we are using an HTML-based publishing style, and
41 insert a simpler markup if we are not. If we are using a
42 Latex-based publishing style, do not generate an image, and leave
43 the region alone. Return the path of the generated image, in case
44 other functions want to use this programmatically.
45 (muse-publish-latex-tag): Set a default prefix based on the name
47 (muse-publish-math-tag): New tag that surrounds the region with
48 "$" characters, so that it becomes a Latex math region, and then
51 * lisp/muse-publish.el (muse-style-derived-p): New function that
52 returns non-nil if a given style, or the current style if omitted,
53 is equal to or derived from the given base style. This is useful
54 in <lisp> tags, because it allows the user to specify markup that
55 is only to be inserted for one particular style.
57 2006-12-22 Michael Olson <mwolson@gnu.org>
59 * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
60 (muse-html-src-tag): New function which publishes the <src> tag.
61 Thanks to Clinton Ebadi and Charles Wang for the initial
64 * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
66 2006-12-21 Michael Olson <mwolson@gnu.org>
68 * examples/johnw/muse-johnw.el: Update for preferred
69 muse-derive-style usage. Rename to muse-init.el.
71 * examples/mwolson/muse-init.el: Update.
73 * lisp/muse-book.el (muse-book-publish): New function split from
74 muse-book-publish-project. This is used in the definitions for
75 the book-latex and book-pdf styles.
76 (muse-book-publish-p): New function split from muse-book-publish.
77 (muse-book-get-directives): New function that retrieves the
78 publishing directives from the given file.
79 (muse-book-publish): Use muse-book-get-directives to set the title
80 if no title was specified.
82 * lisp/muse-project.el (muse-project): Add :publish-project entry
84 (muse-read-project, muse-project-find-file): Message fix.
85 (muse-project-publish-file-default): New function split from
86 muse-project-publish-file.
87 (muse-project-publish-file): Allow file-level publishing function
88 to be specified by the :publish element. The default is
89 muse-project-publish-file-default.
90 (muse-project-publish-default): New function split from
92 (muse-project-publish): Allow project-level publishing function to
93 be specified by :publish-project element. The default is
94 muse-project-publish-default.
96 * lisp/muse-publish.el (muse-publish-file): Message fix.
98 * texi/muse.texi (Book): Mention new way to publish books and
99 provide an example, since the process may be non-obvious.
101 2006-12-20 Michael Olson <mwolson@gnu.org>
103 * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
104 content-modifying code from the rest of
105 muse-docbook-finalize-buffer.
107 * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
108 muse-groff-finalize-buffer, since it adds content to the buffer.
110 * lisp/muse-html.el (muse-html-munge-buffer): Split out
111 content-modifying code from the rest of muse-html-finalize-buffer.
112 This fixes a bug when using <include> with <content> tags.
114 * lisp/muse-journal.el (muse-journal-html-munge-buffer)
115 (muse-journal-latex-munge-buffer)
116 (muse-journal-rss-munge-buffer): Rename, since they add content to
119 * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
120 muse-latex-finalize-buffer, since it adds content to the buffer.
123 * lisp/muse-project.el:
124 * lisp/muse-publish.el:
125 * lisp/muse.el: Fix recursive load error.
127 * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
128 muse-texinfo-finalize-buffer, since it adds content to the buffer.
130 * lisp/muse-wiki.el: Comment cleanup.
132 * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
134 2006-12-17 Michael Olson <mwolson@gnu.org>
136 * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
137 Remove the definition of \comment, since Latex already has comment
139 (muse-latex-markup-strings): Use the Latex comment syntax, rather
140 than our own. Thanks to Ryan Stutsman for pointing this out.
142 2006-12-02 Michael Olson <mwolson@gnu.org>
144 * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
145 that this can generate a proper table of contents for Planner HTML
148 2006-12-01 Michael Olson <mwolson@gnu.org>
150 * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
151 using a very old Emacs, avoid an infinite loop that could occur
152 when the regexp is an empty string.
154 2006-11-26 Michael Olson <mwolson@gnu.org>
156 * NEWS: Bring up to date.
158 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
159 list issues and multiple-stanza verse issues. This takes care of
160 all of the markup issues I was worried about.
162 * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
163 (muse-project-publish-private-files): New option that indicates
164 whether files with private filesystem permissions should be
165 published. The default is to publish them, since it avoids
166 confusion in new users.
167 (muse-project-private-p): Use it.
169 2006-11-19 Michael Olson <mwolson@gnu.org>
171 * lisp/muse-project.el (muse-project-resolve-link): If no remote
172 style is found, which means that the link is not a Muse page, do
173 not add a suffix or prefix to it. This should fix the
174 "[[thing.owl]]" bug that Phillip Lord reported.
176 * lisp/muse-publish.el (muse-publish-link-file): Simplify by
177 removing unused 2nd argument.
179 2006-11-17 Michael Olson <mwolson@gnu.org>
181 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
182 latex publishing where nested enumerated lists would be squashed
185 2006-11-16 Michael Olson <mwolson@gnu.org>
187 * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
188 list embedded in a definition list look right. This also allows
189 for definitions to be separated from their terms, much like the
190 way HTML does it by default, if the user puts a blank line or a
191 line break between the term and the definition. If the term and
192 definition are on the same line, they will be that way in the
195 2006-11-11 Michael Olson <mwolson@gnu.org>
197 * muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
199 (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
201 2006-11-07 Michael Olson <mwolson@gnu.org>
203 * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
204 release candidate for Muse 3.03, available.
208 2006-11-06 Michael Olson <mwolson@gnu.org>
210 * lisp/muse-project.el (muse-project-find-file): Fix bug when
211 following a relative link worked even when the path was incorrect.
213 2006-11-04 John Sullivan <john@wjsullivan.net>
215 * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
216 muse-follow-name-at-point to reduce collisions with other
219 * muse.texi (Keystroke Summary): Remove C-c C-c binding.
221 2006-11-04 Michael Olson <mwolson@gnu.org>
223 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
224 optional, and make interwiki delimiter a regular rather than shy
226 (muse-wiki-handle-implicit-interwiki): Rename from
227 muse-wiki-handle-interwiki. Use match group 3 to get the page.
228 (muse-wiki-handle-explicit-interwiki): New function that is
229 smarter about where an explicit link ends in a buffer. This
230 allows you to refer to page names with invalid Wiki characters,
231 such as underscores and dashes, merely by enclosing them in double
232 brackets. Also, a bug with recognizing project names too loosely
235 2006-11-03 Michael Olson <mwolson@gnu.org>
237 * lisp/muse-project.el (muse-project-page-file): Make relative
238 links work as expected, hopefully.
240 * lisp/muse-publish.el (muse-publish-this-file): Set the current
241 output style manually, since it will differ from anything in the
242 publishing style list.
244 2006-10-30 Michael Olson <mwolson@gnu.org>
246 * lisp/muse-colors.el (muse-colors-markup): Remove note about
247 grouping elements, since that no longer applies.
248 (muse-colors-custom-tags): Explicitly match against
249 muse-tag-regexp to get the match-data set the way we want. This
250 really fixes the <example> highlighting bug that Stefan reported.
251 (muse-configure-highlighting): Set the original value to the
252 symbol, not the modified value. Re-use modified rules properly.
254 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
255 introduced yesterday.
257 2006-10-29 Michael Olson <mwolson@gnu.org>
259 * examples/mwolson: Update my example configuration.
263 * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
264 without a regexp in the first position before iterating through
265 them to build muse-colors-vector. This fixes a bug with the
266 display of <example> tags. Thanks to Stefan Reichör for the
269 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
270 files in projects to be linked to.
272 * lisp/muse-publish.el (muse-publish-url): Allow the original link
273 to serve as a description for a URL, as long as it differs from
274 the destination URL. This fixes the description of WikPage links
276 (muse-publish-link-file): Check to see whether the given link
277 points at a valid file. If so, return it. Otherwise, apply other
278 transforms like prefix and link suffix.
280 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
281 "/", it is a file or directory, not a Muse page. Thanks to
282 Phillip Lord for the suggestion.
284 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
285 of the current page as the local path, instead of duplicating the
286 remote file's path. This probably fixes at least one reported
287 bug. since it's quite major.
288 (muse-wiki-update-project-file-regexp)
289 (muse-wiki-update-interwiki-regexp): Ensure that nil is never
290 passed to regexp-opt, since that can cause Emacs 21 to throw an
291 "maximum binding depth exceeded" error. Thanks to xs32 AT cornell
292 DOT edu for the report.
293 (muse-wiki-handle-wikiword): Avoid a potential stringp error.
295 2006-10-28 Michael Olson <mwolson@gnu.org>
297 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
298 (muse-project-resolve-link): If the given style does not have a
299 link-suffix, default to suffix. This fixes a bug I was noticing
300 when linking to a file that was published in both PDF and HTML
303 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
304 function that is used as a callback to determine the initial
305 amount of indentation that the current dl item has.
306 (muse-publish-surround-dl): Use it. Pass the initial indent value
307 and the post-indent value, instead of trying to determine them
309 (muse-publish-strip-list-indentation): New function stripped from
310 `muse-publish-surround-text' for readability.
311 (muse-publish-surround-text): Instead of taking a determine-indent
312 value, take a determine-indent-func function, which is called just
313 after finding the next list item. If we are asked to determine
314 the amount of indentation, concatenate indent and post-indent the
315 first time around. This effectively fixes all known definition
318 2006-10-16 Michael Olson <mwolson@gnu.org>
320 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
321 other software -- namely, Planner -- can detect whether they are
322 using a version of Muse that supports nested tags.
323 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
324 muse-publish-goto-tag-end.
326 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
327 Adapt for nested tags.
329 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
330 <class> tag is nestable. Thanks to Phillip Lord for noticing
333 * lisp/muse-publish.el (muse-publish-markup-tag)
334 (muse-publish-quote-tag): Use muse-goto-tag-end.
336 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
338 2006-10-15 Michael Olson <mwolson@gnu.org>
340 * AUTHORS: Bookkeeping.
342 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
345 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
348 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
350 * lisp/muse-import-docbook.el (muse-import-docbook)
351 (muse-import-docbook-files): Docfix.
352 (muse-import-docbook-get-title): Remove cl.el-ism.
354 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
356 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
358 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
360 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
361 (muse-next-reference, muse-previous-reference): Minor whitespace
363 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
366 * lisp/muse-poem.el (muse-poem-tag): Ditto.
368 * lisp/muse-publish.el (muse-publish-markup-tags)
369 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
370 element and make 4th element determine whether tags are nestable.
371 (muse-publish-goto-tag-end): New function that moves to the end of
372 a tag. Handle nested tags when NESTED is non-nil.
373 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
374 5th element for function.
375 (muse-publish-quote-tag): Handle nested quote tags. I've tested
376 this on several scenarios, and it seems to work.
377 (muse-publish-surround-text): Accept new optional argument
378 LIST-ITEM which determines the regexp to use for list items. The
379 default is to use muse-list-item-regexp.
381 * muse.texi (Markup Tags): Mention nestable tags.
383 * NEWS: Mention new files.
385 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
387 * lisp/muse-import-docbook.el: New file that converts Docbook XML
390 * lisp/muse-import-xml.el: New file that provides helper routines
391 for converting XML-ish files to Muse format.
393 2006-10-10 Michael Olson <mwolson@gnu.org>
395 * NEWS: Update for 3.02.7 bugfix release.
397 2006-10-06 Sasha Kovar <sasha@arcocene.org>
399 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
400 using the value in the muse #date directive.
401 (muse-blosxom-use-metadate): New option that determines whether or
402 not to use the #postdate directive.
403 (muse-blosxom-format-date): Convert a date string to PyBlosxom
404 metadate plugin format.
406 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
408 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
411 * muse.texi: Clarify handling of implicit links by mentioning
412 which characters can prevent Muse from recognizing something as an
415 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
417 * lisp/muse-mode.el (muse-next-reference)
418 (muse-previous-reference): Fix bug #6367 by moving point to the
419 beginning of the link.
421 2006-09-26 Michael Olson <mwolson@gnu.org>
423 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
424 beginning-of-line. This should fix a bug that was noticed in
425 recent Emacs 22 builds.
427 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
428 eval-and-compile block to avoid a compiler warning.
430 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
432 * lisp/muse-backlink.el (muse-backlink-split-string):
433 Compatibility with Emacs versions < 22
434 (muse-backlink-pending): New internal variable
435 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
436 that backlinks are inserted at the right time.
437 (muse-backlink-insert-hook-func): Remove unwind-protection; check
438 for pending backlink, and that this is the targe page.
439 (muse-backlink-handle-link): Don’t handle the link if we are
440 already handling one. Return the link as well as the parent links.
442 2006-09-25 Sasha Kovar <sasha@arcocene.org>
444 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
445 #6942 - muse-blosxom-new-entry fails when using tags.
447 2006-09-14 Michael Olson <mwolson@gnu.org>
449 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
452 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
454 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
455 function: Protect all wikiwords from START to END from further
457 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
459 2006-09-13 Michael Olson <mwolson@gnu.org>
461 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
462 adopted from Jim Ottaway's patch. It removes links from the
463 heading, and then marks the region read-only to inhibit WikiWord
466 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
468 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
469 special handling for headings.
470 (muse-texinfo-remove-links): New function that removes explicit
471 links from the given strings, replacing them with a description.
473 2006-09-11 Michael Olson <mwolson@gnu.org>
475 * muse.texi (Getting Help and Reporting Bugs): Mention the
476 muse-el-internationalization mailing list.
478 * lisp/muse.el (muse-path-sans-extension): New function that acts
479 like file-name-sans-extension, but guarantees to never modify the
480 directory part of the path. Thanks to Evan Monroig for
483 * lisp/muse-book.el (muse-book-publish-project): Use
484 muse-path-sans-extension instead of file-name-sans-extension.
486 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
489 2006-08-30 Michael Olson <mwolson@gnu.org>
491 * muse.texi (Blosxom Requirements): Fix typo.
493 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
494 directories for bzr and darcs.
496 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
497 contrib/pyblosxom/getstamps.py: Update version and headers.
499 2006-08-27 Michael Olson <mwolson@gnu.org>
501 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
502 nil values before they get to mapconcat. This fixes a lockup when
503 muse-wiki-match-all-project-files is nil.
505 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
506 (muse-wiki-ignore-implicit-links-to-current-page)
507 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
508 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
509 (muse-wiki-publish-small-title-words)
510 (muse-wiki-publish-pretty-title): Docfix.
511 (muse-wiki-update-local-wikiword-regexp): Rename from
512 muse-wiki-update-local-wikiword-regexp. Set
513 muse-wiki-project-file-regexp instead of
514 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
515 take muse-wiki-use-wikiword into account, since this is a
516 different concept now.
517 (muse-wiki-update-wikiword-regexp): Remove.
518 (muse-wiki-wikiword-regexp): In-line the :set function.
519 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
521 2006-08-26 Michael Olson <mwolson@gnu.org>
523 * lisp/muse-publish.el (muse-publish-surround-text): When looking
524 for indented list items, ignore blank lines.
526 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
527 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
528 mapconcat. This should hopefully fix a problem with large amounts
529 of files with spaces in their name. Thanks to Greg Detre for the
532 2006-08-24 Michael Olson <mwolson@gnu.org>
534 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
535 numbers from the argument to format-time-string. This fixes an
536 XEmacs bug. Thanks to Michael Welle for the report and analysis.
538 2006-08-18 Michael Olson <mwolson@gnu.org>
540 * lisp/muse-project.el (muse-project-file-entries): Since we are
541 given a full path, match against the filename as well. This fixes
542 an issue where backup files were being added to the file alist.
544 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
547 2006-08-12 Michael Olson <mwolson@gnu.org>
549 * Makefile (.PHONY): Don't use line continuations.
550 (realclean fullclean): Call realclean in subdirs, not distclean.
551 (distclean): Don't call realclean, since this would wipe out our
553 (dist): Use correct path to autoloads file.
555 * NEWS: Catch up with the latest changes.
557 * experimental/Makefile (.PHONY): Wrap long line.
559 * lisp/Makefile (distclean): Do the same thing as "clean", not
562 * lisp/muse-project.el (muse-project-get-applicable-style):
564 (muse-project-ignore-regexp, muse-project-recurse-directory):
566 (muse-project-of-file): Try the ignored files regexp against the
567 base filename as well as the entire path.
569 * lisp/muse-publish.el (muse-publish-this-file): Display message
570 if the buffer is not associated with any file, so that we avoid
572 (muse-publish-url-desc): New function taken from muse-publish-url
573 that causes a URL description to be transformed.
574 (muse-publish-url): Call muse-publish-url-desc on either the
575 description or the original URL if it will be used as a
576 description. Accept the original URL as an argument, in case it
577 was transformed earlier.
578 (muse-publish-insert-url): Pass original URL as an argument.
579 (muse-publish-markup-link): Make this somewhat easier to follow.
580 Pass original URL as argument.
581 (muse-publish-get-style): If the same style is used to publish to
582 two different directories, prompt the user for which directory to
584 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
586 (muse-publish-markup-url): Pass original URL as an argument. This
587 fixes the "nil" description for bare URLs that was in 3.02.91.
588 Nothing like finding a bug just after completing the announcement
591 * lisp/muse.el: Use defalias whenever convenient.
592 (muse-version): Set version to 3.02.92 (3.03 RC2).
594 2006-08-10 Michael Olson <mwolson@gnu.org>
596 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
597 style does not derive from any other class, return `t' here.
598 This, along with the corresponding change to muse-publish.el,
599 fixes a problem with the table of contents getting inserted
600 multiple times for custom html-based styles.
601 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
602 smarter method for table centering that works with XHTML.
604 * lisp/muse-latex2png.el Rename all functions to have a
605 "muse-latex2png" prefix. Turn all variables into customizable
606 options in the muse-latex2png group.
607 (muse-latex2png-img-dest): New option specifying where to place
609 (muse-latex2png-template): New option containing the template to
610 use for the surrounding LaTeX code.
611 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
613 (muse-latex2png-move2pubdir): Avoid multiple redundant error
614 messages when something else goes wrong. Create the image
615 subdirectory if it doesn't exist already -- thanks to Christian
616 Straßer for the report. Expand the filename properly.
617 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
618 and filename expansion.
619 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
620 the default directory properly.
622 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
623 do not run the same function twice.
625 2006-08-08 Michael Olson <mwolson@gnu.org>
627 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
628 introduced wrong-type-argument error.
630 * lisp/muse-html.el (muse-html-markup-strings)
631 (muse-xhtml-markup-string): Cause table definition that contains
632 image to be center-aligned. This should fix an issue with images
633 not being centered when captions are very long.
635 * lisp/muse-publish.el (muse-publish-table-fields): Trim
636 whitespace from fields once we have split them up.
638 * lisp/muse.el (muse-trim-whitespace): New function that strips
639 leading and trailing whitespace from a string.
641 2006-08-07 Michael Olson <mwolson@gnu.org>
643 * NEWS: Update through patch-95.
645 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
647 (muse-colors-explicit-link): Show images in link descriptions if
648 inlined images are enabled.
650 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
651 definitions for 'image-with-desc, 'image, and 'image-link.
652 (muse-docbook-markup-paragraph): If an inlined image begins a
653 paragraph, insert <para> before it.
654 (muse-docbook-fixup-images): New function that upper-cases the
655 "format" attribute of the <imagedata> tag.
656 (muse-docbook-finalize-buffer): Call it.
658 * lisp/muse-html.el (muse-html-markup-strings): Publish images
659 with descriptions as centered tables, with a centered caption
660 underneath. The resulting look is consistent with the way that
661 they are published in the LaTeX style. Thanks to Jody Klymak for
663 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
664 valid way to center a table.
665 (muse-html-markup-paragraph): Use class="image" instead of
666 "image-link" for paragraphs that start with an embedded image.
668 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
669 \textbackslash{} for "\". Thanks to Jim Ottaway for the
671 (muse-latex-markup-specials-image): New option that enables
672 escaping of specials in images. This was split from the URL
674 (muse-latex-decide-specials): Handle 'image context.
675 (muse-latex-fixup-dquotes): Go to beginning of document, instead
676 of relying on caller to do this for us.
678 * lisp/muse-publish.el (muse-publish-escape-specials): Document
680 (muse-publish-url): Use 'image context for images. Use 'image
681 instead of 'image-link and 'image-link in place of
682 'url-with-image. Separate the image file from its extension so
683 that docbook and texinfo can publish images correctly.
684 (muse-publish-markup-link): Don't force a description if one is
685 not given. This fixes a bug where images without descriptions
686 were being published as 'image-with-desc instead of 'image.
688 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
689 images the same as URLs.
690 (muse-texinfo-markup-strings): Improve image markup to achieve an
691 effect similar to that of the LaTeX publishing style. Simplify
694 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
696 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
697 when we have to use the custom version of this function.
699 * muse.texi (Images): Explain how to toggle inlining of images and
700 give better examples. Mention captions and that captioned images
701 should not be used inside of text paragraphs.
702 (Markup Strings): Bring up-to-date with the changes made since
705 2006-08-06 Michael Olson <mwolson@gnu.org>
707 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
708 in the Emacs source tree.
710 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
711 in the Emacs source tree.
713 * ChangeLog.3: New file created from the old ChangeLog.
715 * Makefile.defs (VERSION): Set to 3.02.91.
717 * NEWS: Update through patch-84.
719 * lisp/muse.el (muse-version): Set to 3.02.91.
721 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
723 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
724 delimiter are instead of hard-coding it.
726 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
727 (muse-mode): Make filling definition lists work better. This
730 * lisp/muse-publish.el (muse-style-run-hooks): Use
731 `muse-style-element' instead of `muse-get-keyword' here. This
734 * muse.texi: Set version to 3.02.91 (3.02 RC2).
736 See ChangeLog.3 for earlier changes.