1 2007-01-15 Michael Olson <mwolson@gnu.org>
3 * lisp/muse-latex2png.el (muse-publish-latex-tag)
4 (muse-publish-math-tag): Publish region read-only when current
5 style is Latex-derived, so that Muse does not escape it.
6 (muse-publish-math-tag): If 6 or more spaces come before the tag,
7 surround the region with "$$" rather than "$". This is the Muse
8 syntax for something centered, so it should be a good fit.
10 2007-01-15 Valery V. Vorotyntsev <valery.vv@gmail.com>
12 * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
14 (muse-browse-url-man): Change man page URL format. The code is
15 simpler when the section is left inside parentheses.
16 (muse-browse-url-woman): New function.
18 2007-01-14 Michael Olson <mwolson@gnu.org>
20 * AUTHORS: Bookkeeping.
22 * lisp/muse-latex2png.el: Associate <math> tag with
23 muse-publish-math-tag, not muse-publish-latex-tag. Thanks to Jody
24 Klymak for the report.
25 (muse-publish-math-tag): Use muse-insert-markup for the "$"
26 characters, so they don't get escaped.
28 * lisp/muse-publish.el (muse-style-derived-p-1): New function to
29 make muse-style-derived-p easier to implement.
30 (muse-style-derived-p): If the style is not provided, fetch it and
31 check to see if the car is a string. This should fix the other
32 problem that was reported.
34 * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
35 explains a case where setting muse-file-extension to nil can cause
38 2007-01-09 Michael Olson <mwolson@gnu.org>
40 * lisp/muse-publish.el (muse-publish-markup-regexps): Make
41 comments higher priority than tags. Thanks to Stefan van der Walt
44 2007-01-08 Michael Olson <mwolson@gnu.org>
46 * lisp/muse-publish.el (muse-markup-tag-info): Use the given
47 argument rather than calling match-string. Thanks to Stefan van
48 der Walt for the report. This should fix a bug with publishing
49 <include file="..." markup="example">.
51 2007-01-06 Michael Olson <mwolson@gnu.org>
53 * Makefile (debclean): New rule split from debrevision and
55 (debbuild): Take distributor into account.
57 * Makefile.defs (DISTRIBUTOR): New field that tracks what
58 vendor/distributor we are building for.
60 2007-01-04 Michael Olson <mwolson@gnu.org>
62 * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
65 * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
66 point to muse-publish-src-tag by default, since <src> and
67 <example> have different parameters.
68 (muse-publish-src-tag): New barebones publishing function for
69 <src>, which is superseded when publishing in an HTML-based style.
71 2007-01-03 Michael Olson <mwolson@gnu.org>
73 * lisp/muse-html.el (muse-html-src-tag): Document.
75 * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
76 command that calls a given tag on the current buffer. Attributes
78 (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
80 (muse-publish-srcify-buffer): New function that allows
81 markup="src" in the <include> tag.
82 (muse-publish-get-and-delete-attr): New macro that gets an
83 attribute from a list and removes the first instance of that
84 attribute from said list.
85 (muse-publish-markup-attribute): Handle markup="src".
86 (muse-publish-command-tag, muse-publish-include-tag): Use
87 muse-publish-get-and-delete-attr. This allows the remaining
88 attributes to be passed.
90 * texi/muse.texi (Tag Summary): Update for new <src> tag as well
91 as changes to <command> and <include>.
93 2006-12-30 Michael Olson <mwolson@gnu.org>
97 * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
98 from muse-publish-math-tag to avoid conflict with
101 2006-12-23 Michael Olson <mwolson@gnu.org>
103 * lisp/muse-latex2png.el: Update header, since this has been
104 rewritten sufficiently to not need an assignment from the original
106 (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
107 (muse-latex2png): Use two underscores to separate prefix and hash.
108 (muse-latex2png-region): New function split from
109 muse-publish-latex-tag that can be used easily by other code.
110 Detect whether we are using an HTML-based publishing style, and
111 insert a simpler markup if we are not. If we are using a
112 Latex-based publishing style, do not generate an image, and leave
113 the region alone. Return the path of the generated image, in case
114 other functions want to use this programmatically.
115 (muse-publish-latex-tag): Set a default prefix based on the name
117 (muse-publish-math-tag): New tag that surrounds the region with
118 "$" characters, so that it becomes a Latex math region, and then
121 * lisp/muse-publish.el (muse-style-derived-p): New function that
122 returns non-nil if a given style, or the current style if omitted,
123 is equal to or derived from the given base style. This is useful
124 in <lisp> tags, because it allows the user to specify markup that
125 is only to be inserted for one particular style.
127 2006-12-22 Michael Olson <mwolson@gnu.org>
129 * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
130 (muse-html-src-tag): New function which publishes the <src> tag.
131 Thanks to Clinton Ebadi and Charles Wang for the initial
134 * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
136 2006-12-21 Michael Olson <mwolson@gnu.org>
138 * examples/johnw/muse-johnw.el: Update for preferred
139 muse-derive-style usage. Rename to muse-init.el.
141 * examples/mwolson/muse-init.el: Update.
143 * lisp/muse-book.el (muse-book-publish): New function split from
144 muse-book-publish-project. This is used in the definitions for
145 the book-latex and book-pdf styles.
146 (muse-book-publish-p): New function split from muse-book-publish.
147 (muse-book-get-directives): New function that retrieves the
148 publishing directives from the given file.
149 (muse-book-publish): Use muse-book-get-directives to set the title
150 if no title was specified.
152 * lisp/muse-project.el (muse-project): Add :publish-project entry
154 (muse-read-project, muse-project-find-file): Message fix.
155 (muse-project-publish-file-default): New function split from
156 muse-project-publish-file.
157 (muse-project-publish-file): Allow file-level publishing function
158 to be specified by the :publish element. The default is
159 muse-project-publish-file-default.
160 (muse-project-publish-default): New function split from
161 muse-project-publish.
162 (muse-project-publish): Allow project-level publishing function to
163 be specified by :publish-project element. The default is
164 muse-project-publish-default.
166 * lisp/muse-publish.el (muse-publish-file): Message fix.
168 * texi/muse.texi (Book): Mention new way to publish books and
169 provide an example, since the process may be non-obvious.
171 2006-12-20 Michael Olson <mwolson@gnu.org>
173 * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
174 content-modifying code from the rest of
175 muse-docbook-finalize-buffer.
177 * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
178 muse-groff-finalize-buffer, since it adds content to the buffer.
180 * lisp/muse-html.el (muse-html-munge-buffer): Split out
181 content-modifying code from the rest of muse-html-finalize-buffer.
182 This fixes a bug when using <include> with <content> tags.
184 * lisp/muse-journal.el (muse-journal-html-munge-buffer)
185 (muse-journal-latex-munge-buffer)
186 (muse-journal-rss-munge-buffer): Rename, since they add content to
189 * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
190 muse-latex-finalize-buffer, since it adds content to the buffer.
193 * lisp/muse-project.el:
194 * lisp/muse-publish.el:
195 * lisp/muse.el: Fix recursive load error.
197 * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
198 muse-texinfo-finalize-buffer, since it adds content to the buffer.
200 * lisp/muse-wiki.el: Comment cleanup.
202 * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
204 2006-12-17 Michael Olson <mwolson@gnu.org>
206 * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
207 Remove the definition of \comment, since Latex already has comment
209 (muse-latex-markup-strings): Use the Latex comment syntax, rather
210 than our own. Thanks to Ryan Stutsman for pointing this out.
212 2006-12-02 Michael Olson <mwolson@gnu.org>
214 * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
215 that this can generate a proper table of contents for Planner HTML
218 2006-12-01 Michael Olson <mwolson@gnu.org>
220 * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
221 using a very old Emacs, avoid an infinite loop that could occur
222 when the regexp is an empty string.
224 2006-11-26 Michael Olson <mwolson@gnu.org>
226 * NEWS: Bring up to date.
228 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
229 list issues and multiple-stanza verse issues. This takes care of
230 all of the markup issues I was worried about.
232 * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
233 (muse-project-publish-private-files): New option that indicates
234 whether files with private filesystem permissions should be
235 published. The default is to publish them, since it avoids
236 confusion in new users.
237 (muse-project-private-p): Use it.
239 2006-11-19 Michael Olson <mwolson@gnu.org>
241 * lisp/muse-project.el (muse-project-resolve-link): If no remote
242 style is found, which means that the link is not a Muse page, do
243 not add a suffix or prefix to it. This should fix the
244 "[[thing.owl]]" bug that Phillip Lord reported.
246 * lisp/muse-publish.el (muse-publish-link-file): Simplify by
247 removing unused 2nd argument.
249 2006-11-17 Michael Olson <mwolson@gnu.org>
251 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
252 latex publishing where nested enumerated lists would be squashed
255 2006-11-16 Michael Olson <mwolson@gnu.org>
257 * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
258 list embedded in a definition list look right. This also allows
259 for definitions to be separated from their terms, much like the
260 way HTML does it by default, if the user puts a blank line or a
261 line break between the term and the definition. If the term and
262 definition are on the same line, they will be that way in the
265 2006-11-11 Michael Olson <mwolson@gnu.org>
267 * muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
269 (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
271 2006-11-07 Michael Olson <mwolson@gnu.org>
273 * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
274 release candidate for Muse 3.03, available.
278 2006-11-06 Michael Olson <mwolson@gnu.org>
280 * lisp/muse-project.el (muse-project-find-file): Fix bug when
281 following a relative link worked even when the path was incorrect.
283 2006-11-04 John Sullivan <john@wjsullivan.net>
285 * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
286 muse-follow-name-at-point to reduce collisions with other
289 * muse.texi (Keystroke Summary): Remove C-c C-c binding.
291 2006-11-04 Michael Olson <mwolson@gnu.org>
293 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
294 optional, and make interwiki delimiter a regular rather than shy
296 (muse-wiki-handle-implicit-interwiki): Rename from
297 muse-wiki-handle-interwiki. Use match group 3 to get the page.
298 (muse-wiki-handle-explicit-interwiki): New function that is
299 smarter about where an explicit link ends in a buffer. This
300 allows you to refer to page names with invalid Wiki characters,
301 such as underscores and dashes, merely by enclosing them in double
302 brackets. Also, a bug with recognizing project names too loosely
305 2006-11-03 Michael Olson <mwolson@gnu.org>
307 * lisp/muse-project.el (muse-project-page-file): Make relative
308 links work as expected, hopefully.
310 * lisp/muse-publish.el (muse-publish-this-file): Set the current
311 output style manually, since it will differ from anything in the
312 publishing style list.
314 2006-10-30 Michael Olson <mwolson@gnu.org>
316 * lisp/muse-colors.el (muse-colors-markup): Remove note about
317 grouping elements, since that no longer applies.
318 (muse-colors-custom-tags): Explicitly match against
319 muse-tag-regexp to get the match-data set the way we want. This
320 really fixes the <example> highlighting bug that Stefan reported.
321 (muse-configure-highlighting): Set the original value to the
322 symbol, not the modified value. Re-use modified rules properly.
324 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
325 introduced yesterday.
327 2006-10-29 Michael Olson <mwolson@gnu.org>
329 * examples/mwolson: Update my example configuration.
333 * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
334 without a regexp in the first position before iterating through
335 them to build muse-colors-vector. This fixes a bug with the
336 display of <example> tags. Thanks to Stefan Reichör for the
339 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
340 files in projects to be linked to.
342 * lisp/muse-publish.el (muse-publish-url): Allow the original link
343 to serve as a description for a URL, as long as it differs from
344 the destination URL. This fixes the description of WikPage links
346 (muse-publish-link-file): Check to see whether the given link
347 points at a valid file. If so, return it. Otherwise, apply other
348 transforms like prefix and link suffix.
350 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
351 "/", it is a file or directory, not a Muse page. Thanks to
352 Phillip Lord for the suggestion.
354 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
355 of the current page as the local path, instead of duplicating the
356 remote file's path. This probably fixes at least one reported
357 bug. since it's quite major.
358 (muse-wiki-update-project-file-regexp)
359 (muse-wiki-update-interwiki-regexp): Ensure that nil is never
360 passed to regexp-opt, since that can cause Emacs 21 to throw an
361 "maximum binding depth exceeded" error. Thanks to xs32 AT cornell
362 DOT edu for the report.
363 (muse-wiki-handle-wikiword): Avoid a potential stringp error.
365 2006-10-28 Michael Olson <mwolson@gnu.org>
367 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
368 (muse-project-resolve-link): If the given style does not have a
369 link-suffix, default to suffix. This fixes a bug I was noticing
370 when linking to a file that was published in both PDF and HTML
373 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
374 function that is used as a callback to determine the initial
375 amount of indentation that the current dl item has.
376 (muse-publish-surround-dl): Use it. Pass the initial indent value
377 and the post-indent value, instead of trying to determine them
379 (muse-publish-strip-list-indentation): New function stripped from
380 `muse-publish-surround-text' for readability.
381 (muse-publish-surround-text): Instead of taking a determine-indent
382 value, take a determine-indent-func function, which is called just
383 after finding the next list item. If we are asked to determine
384 the amount of indentation, concatenate indent and post-indent the
385 first time around. This effectively fixes all known definition
388 2006-10-16 Michael Olson <mwolson@gnu.org>
390 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
391 other software -- namely, Planner -- can detect whether they are
392 using a version of Muse that supports nested tags.
393 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
394 muse-publish-goto-tag-end.
396 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
397 Adapt for nested tags.
399 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
400 <class> tag is nestable. Thanks to Phillip Lord for noticing
403 * lisp/muse-publish.el (muse-publish-markup-tag)
404 (muse-publish-quote-tag): Use muse-goto-tag-end.
406 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
408 2006-10-15 Michael Olson <mwolson@gnu.org>
410 * AUTHORS: Bookkeeping.
412 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
415 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
418 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
420 * lisp/muse-import-docbook.el (muse-import-docbook)
421 (muse-import-docbook-files): Docfix.
422 (muse-import-docbook-get-title): Remove cl.el-ism.
424 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
426 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
428 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
430 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
431 (muse-next-reference, muse-previous-reference): Minor whitespace
433 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
436 * lisp/muse-poem.el (muse-poem-tag): Ditto.
438 * lisp/muse-publish.el (muse-publish-markup-tags)
439 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
440 element and make 4th element determine whether tags are nestable.
441 (muse-publish-goto-tag-end): New function that moves to the end of
442 a tag. Handle nested tags when NESTED is non-nil.
443 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
444 5th element for function.
445 (muse-publish-quote-tag): Handle nested quote tags. I've tested
446 this on several scenarios, and it seems to work.
447 (muse-publish-surround-text): Accept new optional argument
448 LIST-ITEM which determines the regexp to use for list items. The
449 default is to use muse-list-item-regexp.
451 * muse.texi (Markup Tags): Mention nestable tags.
453 * NEWS: Mention new files.
455 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
457 * lisp/muse-import-docbook.el: New file that converts Docbook XML
460 * lisp/muse-import-xml.el: New file that provides helper routines
461 for converting XML-ish files to Muse format.
463 2006-10-10 Michael Olson <mwolson@gnu.org>
465 * NEWS: Update for 3.02.7 bugfix release.
467 2006-10-06 Sasha Kovar <sasha@arcocene.org>
469 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
470 using the value in the muse #date directive.
471 (muse-blosxom-use-metadate): New option that determines whether or
472 not to use the #postdate directive.
473 (muse-blosxom-format-date): Convert a date string to PyBlosxom
474 metadate plugin format.
476 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
478 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
481 * muse.texi: Clarify handling of implicit links by mentioning
482 which characters can prevent Muse from recognizing something as an
485 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
487 * lisp/muse-mode.el (muse-next-reference)
488 (muse-previous-reference): Fix bug #6367 by moving point to the
489 beginning of the link.
491 2006-09-26 Michael Olson <mwolson@gnu.org>
493 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
494 beginning-of-line. This should fix a bug that was noticed in
495 recent Emacs 22 builds.
497 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
498 eval-and-compile block to avoid a compiler warning.
500 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
502 * lisp/muse-backlink.el (muse-backlink-split-string):
503 Compatibility with Emacs versions < 22
504 (muse-backlink-pending): New internal variable
505 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
506 that backlinks are inserted at the right time.
507 (muse-backlink-insert-hook-func): Remove unwind-protection; check
508 for pending backlink, and that this is the targe page.
509 (muse-backlink-handle-link): Don’t handle the link if we are
510 already handling one. Return the link as well as the parent links.
512 2006-09-25 Sasha Kovar <sasha@arcocene.org>
514 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
515 #6942 - muse-blosxom-new-entry fails when using tags.
517 2006-09-14 Michael Olson <mwolson@gnu.org>
519 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
522 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
524 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
525 function: Protect all wikiwords from START to END from further
527 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
529 2006-09-13 Michael Olson <mwolson@gnu.org>
531 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
532 adopted from Jim Ottaway's patch. It removes links from the
533 heading, and then marks the region read-only to inhibit WikiWord
536 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
538 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
539 special handling for headings.
540 (muse-texinfo-remove-links): New function that removes explicit
541 links from the given strings, replacing them with a description.
543 2006-09-11 Michael Olson <mwolson@gnu.org>
545 * muse.texi (Getting Help and Reporting Bugs): Mention the
546 muse-el-internationalization mailing list.
548 * lisp/muse.el (muse-path-sans-extension): New function that acts
549 like file-name-sans-extension, but guarantees to never modify the
550 directory part of the path. Thanks to Evan Monroig for
553 * lisp/muse-book.el (muse-book-publish-project): Use
554 muse-path-sans-extension instead of file-name-sans-extension.
556 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
559 2006-08-30 Michael Olson <mwolson@gnu.org>
561 * muse.texi (Blosxom Requirements): Fix typo.
563 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
564 directories for bzr and darcs.
566 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
567 contrib/pyblosxom/getstamps.py: Update version and headers.
569 2006-08-27 Michael Olson <mwolson@gnu.org>
571 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
572 nil values before they get to mapconcat. This fixes a lockup when
573 muse-wiki-match-all-project-files is nil.
575 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
576 (muse-wiki-ignore-implicit-links-to-current-page)
577 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
578 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
579 (muse-wiki-publish-small-title-words)
580 (muse-wiki-publish-pretty-title): Docfix.
581 (muse-wiki-update-local-wikiword-regexp): Rename from
582 muse-wiki-update-local-wikiword-regexp. Set
583 muse-wiki-project-file-regexp instead of
584 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
585 take muse-wiki-use-wikiword into account, since this is a
586 different concept now.
587 (muse-wiki-update-wikiword-regexp): Remove.
588 (muse-wiki-wikiword-regexp): In-line the :set function.
589 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
591 2006-08-26 Michael Olson <mwolson@gnu.org>
593 * lisp/muse-publish.el (muse-publish-surround-text): When looking
594 for indented list items, ignore blank lines.
596 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
597 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
598 mapconcat. This should hopefully fix a problem with large amounts
599 of files with spaces in their name. Thanks to Greg Detre for the
602 2006-08-24 Michael Olson <mwolson@gnu.org>
604 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
605 numbers from the argument to format-time-string. This fixes an
606 XEmacs bug. Thanks to Michael Welle for the report and analysis.
608 2006-08-18 Michael Olson <mwolson@gnu.org>
610 * lisp/muse-project.el (muse-project-file-entries): Since we are
611 given a full path, match against the filename as well. This fixes
612 an issue where backup files were being added to the file alist.
614 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
617 2006-08-12 Michael Olson <mwolson@gnu.org>
619 * Makefile (.PHONY): Don't use line continuations.
620 (realclean fullclean): Call realclean in subdirs, not distclean.
621 (distclean): Don't call realclean, since this would wipe out our
623 (dist): Use correct path to autoloads file.
625 * NEWS: Catch up with the latest changes.
627 * experimental/Makefile (.PHONY): Wrap long line.
629 * lisp/Makefile (distclean): Do the same thing as "clean", not
632 * lisp/muse-project.el (muse-project-get-applicable-style):
634 (muse-project-ignore-regexp, muse-project-recurse-directory):
636 (muse-project-of-file): Try the ignored files regexp against the
637 base filename as well as the entire path.
639 * lisp/muse-publish.el (muse-publish-this-file): Display message
640 if the buffer is not associated with any file, so that we avoid
642 (muse-publish-url-desc): New function taken from muse-publish-url
643 that causes a URL description to be transformed.
644 (muse-publish-url): Call muse-publish-url-desc on either the
645 description or the original URL if it will be used as a
646 description. Accept the original URL as an argument, in case it
647 was transformed earlier.
648 (muse-publish-insert-url): Pass original URL as an argument.
649 (muse-publish-markup-link): Make this somewhat easier to follow.
650 Pass original URL as argument.
651 (muse-publish-get-style): If the same style is used to publish to
652 two different directories, prompt the user for which directory to
654 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
656 (muse-publish-markup-url): Pass original URL as an argument. This
657 fixes the "nil" description for bare URLs that was in 3.02.91.
658 Nothing like finding a bug just after completing the announcement
661 * lisp/muse.el: Use defalias whenever convenient.
662 (muse-version): Set version to 3.02.92 (3.03 RC2).
664 2006-08-10 Michael Olson <mwolson@gnu.org>
666 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
667 style does not derive from any other class, return `t' here.
668 This, along with the corresponding change to muse-publish.el,
669 fixes a problem with the table of contents getting inserted
670 multiple times for custom html-based styles.
671 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
672 smarter method for table centering that works with XHTML.
674 * lisp/muse-latex2png.el Rename all functions to have a
675 "muse-latex2png" prefix. Turn all variables into customizable
676 options in the muse-latex2png group.
677 (muse-latex2png-img-dest): New option specifying where to place
679 (muse-latex2png-template): New option containing the template to
680 use for the surrounding LaTeX code.
681 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
683 (muse-latex2png-move2pubdir): Avoid multiple redundant error
684 messages when something else goes wrong. Create the image
685 subdirectory if it doesn't exist already -- thanks to Christian
686 Straßer for the report. Expand the filename properly.
687 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
688 and filename expansion.
689 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
690 the default directory properly.
692 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
693 do not run the same function twice.
695 2006-08-08 Michael Olson <mwolson@gnu.org>
697 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
698 introduced wrong-type-argument error.
700 * lisp/muse-html.el (muse-html-markup-strings)
701 (muse-xhtml-markup-string): Cause table definition that contains
702 image to be center-aligned. This should fix an issue with images
703 not being centered when captions are very long.
705 * lisp/muse-publish.el (muse-publish-table-fields): Trim
706 whitespace from fields once we have split them up.
708 * lisp/muse.el (muse-trim-whitespace): New function that strips
709 leading and trailing whitespace from a string.
711 2006-08-07 Michael Olson <mwolson@gnu.org>
713 * NEWS: Update through patch-95.
715 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
717 (muse-colors-explicit-link): Show images in link descriptions if
718 inlined images are enabled.
720 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
721 definitions for 'image-with-desc, 'image, and 'image-link.
722 (muse-docbook-markup-paragraph): If an inlined image begins a
723 paragraph, insert <para> before it.
724 (muse-docbook-fixup-images): New function that upper-cases the
725 "format" attribute of the <imagedata> tag.
726 (muse-docbook-finalize-buffer): Call it.
728 * lisp/muse-html.el (muse-html-markup-strings): Publish images
729 with descriptions as centered tables, with a centered caption
730 underneath. The resulting look is consistent with the way that
731 they are published in the LaTeX style. Thanks to Jody Klymak for
733 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
734 valid way to center a table.
735 (muse-html-markup-paragraph): Use class="image" instead of
736 "image-link" for paragraphs that start with an embedded image.
738 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
739 \textbackslash{} for "\". Thanks to Jim Ottaway for the
741 (muse-latex-markup-specials-image): New option that enables
742 escaping of specials in images. This was split from the URL
744 (muse-latex-decide-specials): Handle 'image context.
745 (muse-latex-fixup-dquotes): Go to beginning of document, instead
746 of relying on caller to do this for us.
748 * lisp/muse-publish.el (muse-publish-escape-specials): Document
750 (muse-publish-url): Use 'image context for images. Use 'image
751 instead of 'image-link and 'image-link in place of
752 'url-with-image. Separate the image file from its extension so
753 that docbook and texinfo can publish images correctly.
754 (muse-publish-markup-link): Don't force a description if one is
755 not given. This fixes a bug where images without descriptions
756 were being published as 'image-with-desc instead of 'image.
758 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
759 images the same as URLs.
760 (muse-texinfo-markup-strings): Improve image markup to achieve an
761 effect similar to that of the LaTeX publishing style. Simplify
764 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
766 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
767 when we have to use the custom version of this function.
769 * muse.texi (Images): Explain how to toggle inlining of images and
770 give better examples. Mention captions and that captioned images
771 should not be used inside of text paragraphs.
772 (Markup Strings): Bring up-to-date with the changes made since
775 2006-08-06 Michael Olson <mwolson@gnu.org>
777 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
778 in the Emacs source tree.
780 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
781 in the Emacs source tree.
783 * ChangeLog.3: New file created from the old ChangeLog.
785 * Makefile.defs (VERSION): Set to 3.02.91.
787 * NEWS: Update through patch-84.
789 * lisp/muse.el (muse-version): Set to 3.02.91.
791 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
793 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
794 delimiter are instead of hard-coding it.
796 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
797 (muse-mode): Make filling definition lists work better. This
800 * lisp/muse-publish.el (muse-style-run-hooks): Use
801 `muse-style-element' instead of `muse-get-keyword' here. This
804 * muse.texi: Set version to 3.02.91 (3.02 RC2).
806 See ChangeLog.3 for earlier changes.