1 2007-01-14 Michael Olson <mwolson@gnu.org>
3 * AUTHORS: Bookkeeping.
5 * lisp/muse-latex2png.el: Associate <math> tag with
6 muse-publish-math-tag, not muse-publish-latex-tag. Thanks to Jody
8 (muse-publish-math-tag): Use muse-insert-markup for the "$"
9 characters, so they don't get escaped.
11 * lisp/muse-publish.el (muse-style-derived-p-1): New function to
12 make muse-style-derived-p easier to implement.
13 (muse-style-derived-p): If the style is not provided, fetch it and
14 check to see if the car is a string. This should fix the other
15 problem that was reported.
17 * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
18 explains a case where setting muse-file-extension to nil can cause
21 2007-01-09 Michael Olson <mwolson@gnu.org>
23 * lisp/muse-publish.el (muse-publish-markup-regexps): Make
24 comments higher priority than tags. Thanks to Stefan van der Walt
27 2007-01-08 Michael Olson <mwolson@gnu.org>
29 * lisp/muse-publish.el (muse-markup-tag-info): Use the given
30 argument rather than calling match-string. Thanks to Stefan van
31 der Walt for the report. This should fix a bug with publishing
32 <include file="..." markup="example">.
34 2007-01-06 Michael Olson <mwolson@gnu.org>
36 * Makefile (debclean): New rule split from debrevision and
38 (debbuild): Take distributor into account.
40 * Makefile.defs (DISTRIBUTOR): New field that tracks what
41 vendor/distributor we are building for.
43 2007-01-04 Michael Olson <mwolson@gnu.org>
45 * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
48 * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
49 point to muse-publish-src-tag by default, since <src> and
50 <example> have different parameters.
51 (muse-publish-src-tag): New barebones publishing function for
52 <src>, which is superseded when publishing in an HTML-based style.
54 2007-01-03 Michael Olson <mwolson@gnu.org>
56 * lisp/muse-html.el (muse-html-src-tag): Document.
58 * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
59 command that calls a given tag on the current buffer. Attributes
61 (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
63 (muse-publish-srcify-buffer): New function that allows
64 markup="src" in the <include> tag.
65 (muse-publish-get-and-delete-attr): New macro that gets an
66 attribute from a list and removes the first instance of that
67 attribute from said list.
68 (muse-publish-markup-attribute): Handle markup="src".
69 (muse-publish-command-tag, muse-publish-include-tag): Use
70 muse-publish-get-and-delete-attr. This allows the remaining
71 attributes to be passed.
73 * texi/muse.texi (Tag Summary): Update for new <src> tag as well
74 as changes to <command> and <include>.
76 2006-12-30 Michael Olson <mwolson@gnu.org>
80 * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
81 from muse-publish-math-tag to avoid conflict with
84 2006-12-23 Michael Olson <mwolson@gnu.org>
86 * lisp/muse-latex2png.el: Update header, since this has been
87 rewritten sufficiently to not need an assignment from the original
89 (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
90 (muse-latex2png): Use two underscores to separate prefix and hash.
91 (muse-latex2png-region): New function split from
92 muse-publish-latex-tag that can be used easily by other code.
93 Detect whether we are using an HTML-based publishing style, and
94 insert a simpler markup if we are not. If we are using a
95 Latex-based publishing style, do not generate an image, and leave
96 the region alone. Return the path of the generated image, in case
97 other functions want to use this programmatically.
98 (muse-publish-latex-tag): Set a default prefix based on the name
100 (muse-publish-math-tag): New tag that surrounds the region with
101 "$" characters, so that it becomes a Latex math region, and then
104 * lisp/muse-publish.el (muse-style-derived-p): New function that
105 returns non-nil if a given style, or the current style if omitted,
106 is equal to or derived from the given base style. This is useful
107 in <lisp> tags, because it allows the user to specify markup that
108 is only to be inserted for one particular style.
110 2006-12-22 Michael Olson <mwolson@gnu.org>
112 * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
113 (muse-html-src-tag): New function which publishes the <src> tag.
114 Thanks to Clinton Ebadi and Charles Wang for the initial
117 * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
119 2006-12-21 Michael Olson <mwolson@gnu.org>
121 * examples/johnw/muse-johnw.el: Update for preferred
122 muse-derive-style usage. Rename to muse-init.el.
124 * examples/mwolson/muse-init.el: Update.
126 * lisp/muse-book.el (muse-book-publish): New function split from
127 muse-book-publish-project. This is used in the definitions for
128 the book-latex and book-pdf styles.
129 (muse-book-publish-p): New function split from muse-book-publish.
130 (muse-book-get-directives): New function that retrieves the
131 publishing directives from the given file.
132 (muse-book-publish): Use muse-book-get-directives to set the title
133 if no title was specified.
135 * lisp/muse-project.el (muse-project): Add :publish-project entry
137 (muse-read-project, muse-project-find-file): Message fix.
138 (muse-project-publish-file-default): New function split from
139 muse-project-publish-file.
140 (muse-project-publish-file): Allow file-level publishing function
141 to be specified by the :publish element. The default is
142 muse-project-publish-file-default.
143 (muse-project-publish-default): New function split from
144 muse-project-publish.
145 (muse-project-publish): Allow project-level publishing function to
146 be specified by :publish-project element. The default is
147 muse-project-publish-default.
149 * lisp/muse-publish.el (muse-publish-file): Message fix.
151 * texi/muse.texi (Book): Mention new way to publish books and
152 provide an example, since the process may be non-obvious.
154 2006-12-20 Michael Olson <mwolson@gnu.org>
156 * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
157 content-modifying code from the rest of
158 muse-docbook-finalize-buffer.
160 * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
161 muse-groff-finalize-buffer, since it adds content to the buffer.
163 * lisp/muse-html.el (muse-html-munge-buffer): Split out
164 content-modifying code from the rest of muse-html-finalize-buffer.
165 This fixes a bug when using <include> with <content> tags.
167 * lisp/muse-journal.el (muse-journal-html-munge-buffer)
168 (muse-journal-latex-munge-buffer)
169 (muse-journal-rss-munge-buffer): Rename, since they add content to
172 * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
173 muse-latex-finalize-buffer, since it adds content to the buffer.
176 * lisp/muse-project.el:
177 * lisp/muse-publish.el:
178 * lisp/muse.el: Fix recursive load error.
180 * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
181 muse-texinfo-finalize-buffer, since it adds content to the buffer.
183 * lisp/muse-wiki.el: Comment cleanup.
185 * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
187 2006-12-17 Michael Olson <mwolson@gnu.org>
189 * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
190 Remove the definition of \comment, since Latex already has comment
192 (muse-latex-markup-strings): Use the Latex comment syntax, rather
193 than our own. Thanks to Ryan Stutsman for pointing this out.
195 2006-12-02 Michael Olson <mwolson@gnu.org>
197 * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
198 that this can generate a proper table of contents for Planner HTML
201 2006-12-01 Michael Olson <mwolson@gnu.org>
203 * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
204 using a very old Emacs, avoid an infinite loop that could occur
205 when the regexp is an empty string.
207 2006-11-26 Michael Olson <mwolson@gnu.org>
209 * NEWS: Bring up to date.
211 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
212 list issues and multiple-stanza verse issues. This takes care of
213 all of the markup issues I was worried about.
215 * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
216 (muse-project-publish-private-files): New option that indicates
217 whether files with private filesystem permissions should be
218 published. The default is to publish them, since it avoids
219 confusion in new users.
220 (muse-project-private-p): Use it.
222 2006-11-19 Michael Olson <mwolson@gnu.org>
224 * lisp/muse-project.el (muse-project-resolve-link): If no remote
225 style is found, which means that the link is not a Muse page, do
226 not add a suffix or prefix to it. This should fix the
227 "[[thing.owl]]" bug that Phillip Lord reported.
229 * lisp/muse-publish.el (muse-publish-link-file): Simplify by
230 removing unused 2nd argument.
232 2006-11-17 Michael Olson <mwolson@gnu.org>
234 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
235 latex publishing where nested enumerated lists would be squashed
238 2006-11-16 Michael Olson <mwolson@gnu.org>
240 * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
241 list embedded in a definition list look right. This also allows
242 for definitions to be separated from their terms, much like the
243 way HTML does it by default, if the user puts a blank line or a
244 line break between the term and the definition. If the term and
245 definition are on the same line, they will be that way in the
248 2006-11-11 Michael Olson <mwolson@gnu.org>
250 * muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
252 (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
254 2006-11-07 Michael Olson <mwolson@gnu.org>
256 * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
257 release candidate for Muse 3.03, available.
261 2006-11-06 Michael Olson <mwolson@gnu.org>
263 * lisp/muse-project.el (muse-project-find-file): Fix bug when
264 following a relative link worked even when the path was incorrect.
266 2006-11-04 John Sullivan <john@wjsullivan.net>
268 * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
269 muse-follow-name-at-point to reduce collisions with other
272 * muse.texi (Keystroke Summary): Remove C-c C-c binding.
274 2006-11-04 Michael Olson <mwolson@gnu.org>
276 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
277 optional, and make interwiki delimiter a regular rather than shy
279 (muse-wiki-handle-implicit-interwiki): Rename from
280 muse-wiki-handle-interwiki. Use match group 3 to get the page.
281 (muse-wiki-handle-explicit-interwiki): New function that is
282 smarter about where an explicit link ends in a buffer. This
283 allows you to refer to page names with invalid Wiki characters,
284 such as underscores and dashes, merely by enclosing them in double
285 brackets. Also, a bug with recognizing project names too loosely
288 2006-11-03 Michael Olson <mwolson@gnu.org>
290 * lisp/muse-project.el (muse-project-page-file): Make relative
291 links work as expected, hopefully.
293 * lisp/muse-publish.el (muse-publish-this-file): Set the current
294 output style manually, since it will differ from anything in the
295 publishing style list.
297 2006-10-30 Michael Olson <mwolson@gnu.org>
299 * lisp/muse-colors.el (muse-colors-markup): Remove note about
300 grouping elements, since that no longer applies.
301 (muse-colors-custom-tags): Explicitly match against
302 muse-tag-regexp to get the match-data set the way we want. This
303 really fixes the <example> highlighting bug that Stefan reported.
304 (muse-configure-highlighting): Set the original value to the
305 symbol, not the modified value. Re-use modified rules properly.
307 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
308 introduced yesterday.
310 2006-10-29 Michael Olson <mwolson@gnu.org>
312 * examples/mwolson: Update my example configuration.
316 * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
317 without a regexp in the first position before iterating through
318 them to build muse-colors-vector. This fixes a bug with the
319 display of <example> tags. Thanks to Stefan Reichör for the
322 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
323 files in projects to be linked to.
325 * lisp/muse-publish.el (muse-publish-url): Allow the original link
326 to serve as a description for a URL, as long as it differs from
327 the destination URL. This fixes the description of WikPage links
329 (muse-publish-link-file): Check to see whether the given link
330 points at a valid file. If so, return it. Otherwise, apply other
331 transforms like prefix and link suffix.
333 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
334 "/", it is a file or directory, not a Muse page. Thanks to
335 Phillip Lord for the suggestion.
337 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
338 of the current page as the local path, instead of duplicating the
339 remote file's path. This probably fixes at least one reported
340 bug. since it's quite major.
341 (muse-wiki-update-project-file-regexp)
342 (muse-wiki-update-interwiki-regexp): Ensure that nil is never
343 passed to regexp-opt, since that can cause Emacs 21 to throw an
344 "maximum binding depth exceeded" error. Thanks to xs32 AT cornell
345 DOT edu for the report.
346 (muse-wiki-handle-wikiword): Avoid a potential stringp error.
348 2006-10-28 Michael Olson <mwolson@gnu.org>
350 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
351 (muse-project-resolve-link): If the given style does not have a
352 link-suffix, default to suffix. This fixes a bug I was noticing
353 when linking to a file that was published in both PDF and HTML
356 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
357 function that is used as a callback to determine the initial
358 amount of indentation that the current dl item has.
359 (muse-publish-surround-dl): Use it. Pass the initial indent value
360 and the post-indent value, instead of trying to determine them
362 (muse-publish-strip-list-indentation): New function stripped from
363 `muse-publish-surround-text' for readability.
364 (muse-publish-surround-text): Instead of taking a determine-indent
365 value, take a determine-indent-func function, which is called just
366 after finding the next list item. If we are asked to determine
367 the amount of indentation, concatenate indent and post-indent the
368 first time around. This effectively fixes all known definition
371 2006-10-16 Michael Olson <mwolson@gnu.org>
373 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
374 other software -- namely, Planner -- can detect whether they are
375 using a version of Muse that supports nested tags.
376 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
377 muse-publish-goto-tag-end.
379 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
380 Adapt for nested tags.
382 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
383 <class> tag is nestable. Thanks to Phillip Lord for noticing
386 * lisp/muse-publish.el (muse-publish-markup-tag)
387 (muse-publish-quote-tag): Use muse-goto-tag-end.
389 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
391 2006-10-15 Michael Olson <mwolson@gnu.org>
393 * AUTHORS: Bookkeeping.
395 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
398 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
401 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
403 * lisp/muse-import-docbook.el (muse-import-docbook)
404 (muse-import-docbook-files): Docfix.
405 (muse-import-docbook-get-title): Remove cl.el-ism.
407 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
409 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
411 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
413 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
414 (muse-next-reference, muse-previous-reference): Minor whitespace
416 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
419 * lisp/muse-poem.el (muse-poem-tag): Ditto.
421 * lisp/muse-publish.el (muse-publish-markup-tags)
422 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
423 element and make 4th element determine whether tags are nestable.
424 (muse-publish-goto-tag-end): New function that moves to the end of
425 a tag. Handle nested tags when NESTED is non-nil.
426 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
427 5th element for function.
428 (muse-publish-quote-tag): Handle nested quote tags. I've tested
429 this on several scenarios, and it seems to work.
430 (muse-publish-surround-text): Accept new optional argument
431 LIST-ITEM which determines the regexp to use for list items. The
432 default is to use muse-list-item-regexp.
434 * muse.texi (Markup Tags): Mention nestable tags.
436 * NEWS: Mention new files.
438 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
440 * lisp/muse-import-docbook.el: New file that converts Docbook XML
443 * lisp/muse-import-xml.el: New file that provides helper routines
444 for converting XML-ish files to Muse format.
446 2006-10-10 Michael Olson <mwolson@gnu.org>
448 * NEWS: Update for 3.02.7 bugfix release.
450 2006-10-06 Sasha Kovar <sasha@arcocene.org>
452 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
453 using the value in the muse #date directive.
454 (muse-blosxom-use-metadate): New option that determines whether or
455 not to use the #postdate directive.
456 (muse-blosxom-format-date): Convert a date string to PyBlosxom
457 metadate plugin format.
459 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
461 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
464 * muse.texi: Clarify handling of implicit links by mentioning
465 which characters can prevent Muse from recognizing something as an
468 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
470 * lisp/muse-mode.el (muse-next-reference)
471 (muse-previous-reference): Fix bug #6367 by moving point to the
472 beginning of the link.
474 2006-09-26 Michael Olson <mwolson@gnu.org>
476 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
477 beginning-of-line. This should fix a bug that was noticed in
478 recent Emacs 22 builds.
480 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
481 eval-and-compile block to avoid a compiler warning.
483 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
485 * lisp/muse-backlink.el (muse-backlink-split-string):
486 Compatibility with Emacs versions < 22
487 (muse-backlink-pending): New internal variable
488 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
489 that backlinks are inserted at the right time.
490 (muse-backlink-insert-hook-func): Remove unwind-protection; check
491 for pending backlink, and that this is the targe page.
492 (muse-backlink-handle-link): Don’t handle the link if we are
493 already handling one. Return the link as well as the parent links.
495 2006-09-25 Sasha Kovar <sasha@arcocene.org>
497 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
498 #6942 - muse-blosxom-new-entry fails when using tags.
500 2006-09-14 Michael Olson <mwolson@gnu.org>
502 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
505 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
507 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
508 function: Protect all wikiwords from START to END from further
510 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
512 2006-09-13 Michael Olson <mwolson@gnu.org>
514 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
515 adopted from Jim Ottaway's patch. It removes links from the
516 heading, and then marks the region read-only to inhibit WikiWord
519 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
521 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
522 special handling for headings.
523 (muse-texinfo-remove-links): New function that removes explicit
524 links from the given strings, replacing them with a description.
526 2006-09-11 Michael Olson <mwolson@gnu.org>
528 * muse.texi (Getting Help and Reporting Bugs): Mention the
529 muse-el-internationalization mailing list.
531 * lisp/muse.el (muse-path-sans-extension): New function that acts
532 like file-name-sans-extension, but guarantees to never modify the
533 directory part of the path. Thanks to Evan Monroig for
536 * lisp/muse-book.el (muse-book-publish-project): Use
537 muse-path-sans-extension instead of file-name-sans-extension.
539 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
542 2006-08-30 Michael Olson <mwolson@gnu.org>
544 * muse.texi (Blosxom Requirements): Fix typo.
546 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
547 directories for bzr and darcs.
549 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
550 contrib/pyblosxom/getstamps.py: Update version and headers.
552 2006-08-27 Michael Olson <mwolson@gnu.org>
554 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
555 nil values before they get to mapconcat. This fixes a lockup when
556 muse-wiki-match-all-project-files is nil.
558 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
559 (muse-wiki-ignore-implicit-links-to-current-page)
560 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
561 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
562 (muse-wiki-publish-small-title-words)
563 (muse-wiki-publish-pretty-title): Docfix.
564 (muse-wiki-update-local-wikiword-regexp): Rename from
565 muse-wiki-update-local-wikiword-regexp. Set
566 muse-wiki-project-file-regexp instead of
567 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
568 take muse-wiki-use-wikiword into account, since this is a
569 different concept now.
570 (muse-wiki-update-wikiword-regexp): Remove.
571 (muse-wiki-wikiword-regexp): In-line the :set function.
572 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
574 2006-08-26 Michael Olson <mwolson@gnu.org>
576 * lisp/muse-publish.el (muse-publish-surround-text): When looking
577 for indented list items, ignore blank lines.
579 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
580 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
581 mapconcat. This should hopefully fix a problem with large amounts
582 of files with spaces in their name. Thanks to Greg Detre for the
585 2006-08-24 Michael Olson <mwolson@gnu.org>
587 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
588 numbers from the argument to format-time-string. This fixes an
589 XEmacs bug. Thanks to Michael Welle for the report and analysis.
591 2006-08-18 Michael Olson <mwolson@gnu.org>
593 * lisp/muse-project.el (muse-project-file-entries): Since we are
594 given a full path, match against the filename as well. This fixes
595 an issue where backup files were being added to the file alist.
597 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
600 2006-08-12 Michael Olson <mwolson@gnu.org>
602 * Makefile (.PHONY): Don't use line continuations.
603 (realclean fullclean): Call realclean in subdirs, not distclean.
604 (distclean): Don't call realclean, since this would wipe out our
606 (dist): Use correct path to autoloads file.
608 * NEWS: Catch up with the latest changes.
610 * experimental/Makefile (.PHONY): Wrap long line.
612 * lisp/Makefile (distclean): Do the same thing as "clean", not
615 * lisp/muse-project.el (muse-project-get-applicable-style):
617 (muse-project-ignore-regexp, muse-project-recurse-directory):
619 (muse-project-of-file): Try the ignored files regexp against the
620 base filename as well as the entire path.
622 * lisp/muse-publish.el (muse-publish-this-file): Display message
623 if the buffer is not associated with any file, so that we avoid
625 (muse-publish-url-desc): New function taken from muse-publish-url
626 that causes a URL description to be transformed.
627 (muse-publish-url): Call muse-publish-url-desc on either the
628 description or the original URL if it will be used as a
629 description. Accept the original URL as an argument, in case it
630 was transformed earlier.
631 (muse-publish-insert-url): Pass original URL as an argument.
632 (muse-publish-markup-link): Make this somewhat easier to follow.
633 Pass original URL as argument.
634 (muse-publish-get-style): If the same style is used to publish to
635 two different directories, prompt the user for which directory to
637 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
639 (muse-publish-markup-url): Pass original URL as an argument. This
640 fixes the "nil" description for bare URLs that was in 3.02.91.
641 Nothing like finding a bug just after completing the announcement
644 * lisp/muse.el: Use defalias whenever convenient.
645 (muse-version): Set version to 3.02.92 (3.03 RC2).
647 2006-08-10 Michael Olson <mwolson@gnu.org>
649 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
650 style does not derive from any other class, return `t' here.
651 This, along with the corresponding change to muse-publish.el,
652 fixes a problem with the table of contents getting inserted
653 multiple times for custom html-based styles.
654 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
655 smarter method for table centering that works with XHTML.
657 * lisp/muse-latex2png.el Rename all functions to have a
658 "muse-latex2png" prefix. Turn all variables into customizable
659 options in the muse-latex2png group.
660 (muse-latex2png-img-dest): New option specifying where to place
662 (muse-latex2png-template): New option containing the template to
663 use for the surrounding LaTeX code.
664 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
666 (muse-latex2png-move2pubdir): Avoid multiple redundant error
667 messages when something else goes wrong. Create the image
668 subdirectory if it doesn't exist already -- thanks to Christian
669 Straßer for the report. Expand the filename properly.
670 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
671 and filename expansion.
672 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
673 the default directory properly.
675 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
676 do not run the same function twice.
678 2006-08-08 Michael Olson <mwolson@gnu.org>
680 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
681 introduced wrong-type-argument error.
683 * lisp/muse-html.el (muse-html-markup-strings)
684 (muse-xhtml-markup-string): Cause table definition that contains
685 image to be center-aligned. This should fix an issue with images
686 not being centered when captions are very long.
688 * lisp/muse-publish.el (muse-publish-table-fields): Trim
689 whitespace from fields once we have split them up.
691 * lisp/muse.el (muse-trim-whitespace): New function that strips
692 leading and trailing whitespace from a string.
694 2006-08-07 Michael Olson <mwolson@gnu.org>
696 * NEWS: Update through patch-95.
698 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
700 (muse-colors-explicit-link): Show images in link descriptions if
701 inlined images are enabled.
703 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
704 definitions for 'image-with-desc, 'image, and 'image-link.
705 (muse-docbook-markup-paragraph): If an inlined image begins a
706 paragraph, insert <para> before it.
707 (muse-docbook-fixup-images): New function that upper-cases the
708 "format" attribute of the <imagedata> tag.
709 (muse-docbook-finalize-buffer): Call it.
711 * lisp/muse-html.el (muse-html-markup-strings): Publish images
712 with descriptions as centered tables, with a centered caption
713 underneath. The resulting look is consistent with the way that
714 they are published in the LaTeX style. Thanks to Jody Klymak for
716 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
717 valid way to center a table.
718 (muse-html-markup-paragraph): Use class="image" instead of
719 "image-link" for paragraphs that start with an embedded image.
721 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
722 \textbackslash{} for "\". Thanks to Jim Ottaway for the
724 (muse-latex-markup-specials-image): New option that enables
725 escaping of specials in images. This was split from the URL
727 (muse-latex-decide-specials): Handle 'image context.
728 (muse-latex-fixup-dquotes): Go to beginning of document, instead
729 of relying on caller to do this for us.
731 * lisp/muse-publish.el (muse-publish-escape-specials): Document
733 (muse-publish-url): Use 'image context for images. Use 'image
734 instead of 'image-link and 'image-link in place of
735 'url-with-image. Separate the image file from its extension so
736 that docbook and texinfo can publish images correctly.
737 (muse-publish-markup-link): Don't force a description if one is
738 not given. This fixes a bug where images without descriptions
739 were being published as 'image-with-desc instead of 'image.
741 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
742 images the same as URLs.
743 (muse-texinfo-markup-strings): Improve image markup to achieve an
744 effect similar to that of the LaTeX publishing style. Simplify
747 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
749 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
750 when we have to use the custom version of this function.
752 * muse.texi (Images): Explain how to toggle inlining of images and
753 give better examples. Mention captions and that captioned images
754 should not be used inside of text paragraphs.
755 (Markup Strings): Bring up-to-date with the changes made since
758 2006-08-06 Michael Olson <mwolson@gnu.org>
760 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
761 in the Emacs source tree.
763 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
764 in the Emacs source tree.
766 * ChangeLog.3: New file created from the old ChangeLog.
768 * Makefile.defs (VERSION): Set to 3.02.91.
770 * NEWS: Update through patch-84.
772 * lisp/muse.el (muse-version): Set to 3.02.91.
774 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
776 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
777 delimiter are instead of hard-coding it.
779 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
780 (muse-mode): Make filling definition lists work better. This
783 * lisp/muse-publish.el (muse-style-run-hooks): Use
784 `muse-style-element' instead of `muse-get-keyword' here. This
787 * muse.texi: Set version to 3.02.91 (3.02 RC2).
789 See ChangeLog.3 for earlier changes.