1 2006-09-13 Michael Olson <mwolson@gnu.org>
3 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
4 adopted from Jim Ottaway's patch. It removes links from the
5 heading, and then marks the region read-only to inhibit WikiWord
8 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
10 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
11 special handling for headings.
12 (muse-texinfo-remove-links): New function that removes explicit
13 links from the given strings, replacing them with a description.
15 2006-09-11 Michael Olson <mwolson@gnu.org>
17 * muse.texi (Getting Help and Reporting Bugs): Mention the
18 muse-el-internationalization mailing list.
20 * lisp/muse.el (muse-path-sans-extension): New function that acts
21 like file-name-sans-extension, but guarantees to never modify the
22 directory part of the path. Thanks to Evan Monroig for
25 * lisp/muse-book.el (muse-book-publish-project): Use
26 muse-path-sans-extension instead of file-name-sans-extension.
28 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
31 2006-08-30 Michael Olson <mwolson@gnu.org>
33 * muse.texi (Blosxom Requirements): Fix typo.
35 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
36 directories for bzr and darcs.
38 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
39 contrib/pyblosxom/getstamps.py: Update version and headers.
41 2006-08-27 Michael Olson <mwolson@gnu.org>
43 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
44 nil values before they get to mapconcat. This fixes a lockup when
45 muse-wiki-match-all-project-files is nil.
47 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
48 (muse-wiki-ignore-implicit-links-to-current-page)
49 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
50 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
51 (muse-wiki-publish-small-title-words)
52 (muse-wiki-publish-pretty-title): Docfix.
53 (muse-wiki-update-local-wikiword-regexp): Rename from
54 muse-wiki-update-local-wikiword-regexp. Set
55 muse-wiki-project-file-regexp instead of
56 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
57 take muse-wiki-use-wikiword into account, since this is a
58 different concept now.
59 (muse-wiki-update-wikiword-regexp): Remove.
60 (muse-wiki-wikiword-regexp): In-line the :set function.
61 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
63 2006-08-26 Michael Olson <mwolson@gnu.org>
65 * lisp/muse-publish.el (muse-publish-surround-text): When looking
66 for indented list items, ignore blank lines.
68 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
69 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
70 mapconcat. This should hopefully fix a problem with large amounts
71 of files with spaces in their name. Thanks to Greg Detre for the
74 2006-08-24 Michael Olson <mwolson@gnu.org>
76 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
77 numbers from the argument to format-time-string. This fixes an
78 XEmacs bug. Thanks to Michael Welle for the report and analysis.
80 2006-08-18 Michael Olson <mwolson@gnu.org>
82 * lisp/muse-project.el (muse-project-file-entries): Since we are
83 given a full path, match against the filename as well. This fixes
84 an issue where backup files were being added to the file alist.
86 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
89 2006-08-12 Michael Olson <mwolson@gnu.org>
91 * Makefile (.PHONY): Don't use line continuations.
92 (realclean fullclean): Call realclean in subdirs, not distclean.
93 (distclean): Don't call realclean, since this would wipe out our
95 (dist): Use correct path to autoloads file.
97 * NEWS: Catch up with the latest changes.
99 * experimental/Makefile (.PHONY): Wrap long line.
101 * lisp/Makefile (distclean): Do the same thing as "clean", not
104 * lisp/muse-project.el (muse-project-get-applicable-style):
106 (muse-project-ignore-regexp, muse-project-recurse-directory):
108 (muse-project-of-file): Try the ignored files regexp against the
109 base filename as well as the entire path.
111 * lisp/muse-publish.el (muse-publish-this-file): Display message
112 if the buffer is not associated with any file, so that we avoid
114 (muse-publish-url-desc): New function taken from muse-publish-url
115 that causes a URL description to be transformed.
116 (muse-publish-url): Call muse-publish-url-desc on either the
117 description or the original URL if it will be used as a
118 description. Accept the original URL as an argument, in case it
119 was transformed earlier.
120 (muse-publish-insert-url): Pass original URL as an argument.
121 (muse-publish-markup-link): Make this somewhat easier to follow.
122 Pass original URL as argument.
123 (muse-publish-get-style): If the same style is used to publish to
124 two different directories, prompt the user for which directory to
126 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
128 (muse-publish-markup-url): Pass original URL as an argument. This
129 fixes the "nil" description for bare URLs that was in 3.02.91.
130 Nothing like finding a bug just after completing the announcement
133 * lisp/muse.el: Use defalias whenever convenient.
134 (muse-version): Set version to 3.02.92 (3.03 RC2).
136 2006-08-10 Michael Olson <mwolson@gnu.org>
138 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
139 style does not derive from any other class, return `t' here.
140 This, along with the corresponding change to muse-publish.el,
141 fixes a problem with the table of contents getting inserted
142 multiple times for custom html-based styles.
143 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
144 smarter method for table centering that works with XHTML.
146 * lisp/muse-latex2png.el Rename all functions to have a
147 "muse-latex2png" prefix. Turn all variables into customizable
148 options in the muse-latex2png group.
149 (muse-latex2png-img-dest): New option specifying where to place
151 (muse-latex2png-template): New option containing the template to
152 use for the surrounding LaTeX code.
153 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
155 (muse-latex2png-move2pubdir): Avoid multiple redundant error
156 messages when something else goes wrong. Create the image
157 subdirectory if it doesn't exist already -- thanks to Christian
158 Straßer for the report. Expand the filename properly.
159 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
160 and filename expansion.
161 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
162 the default directory properly.
164 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
165 do not run the same function twice.
167 2006-08-08 Michael Olson <mwolson@gnu.org>
169 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
170 introduced wrong-type-argument error.
172 * lisp/muse-html.el (muse-html-markup-strings)
173 (muse-xhtml-markup-string): Cause table definition that contains
174 image to be center-aligned. This should fix an issue with images
175 not being centered when captions are very long.
177 * lisp/muse-publish.el (muse-publish-table-fields): Trim
178 whitespace from fields once we have split them up.
180 * lisp/muse.el (muse-trim-whitespace): New function that strips
181 leading and trailing whitespace from a string.
183 2006-08-07 Michael Olson <mwolson@gnu.org>
185 * NEWS: Update through patch-95.
187 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
189 (muse-colors-explicit-link): Show images in link descriptions if
190 inlined images are enabled.
192 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
193 definitions for 'image-with-desc, 'image, and 'image-link.
194 (muse-docbook-markup-paragraph): If an inlined image begins a
195 paragraph, insert <para> before it.
196 (muse-docbook-fixup-images): New function that upper-cases the
197 "format" attribute of the <imagedata> tag.
198 (muse-docbook-finalize-buffer): Call it.
200 * lisp/muse-html.el (muse-html-markup-strings): Publish images
201 with descriptions as centered tables, with a centered caption
202 underneath. The resulting look is consistent with the way that
203 they are published in the LaTeX style. Thanks to Jody Klymak for
205 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
206 valid way to center a table.
207 (muse-html-markup-paragraph): Use class="image" instead of
208 "image-link" for paragraphs that start with an embedded image.
210 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
211 \textbackslash{} for "\". Thanks to Jim Ottaway for the
213 (muse-latex-markup-specials-image): New option that enables
214 escaping of specials in images. This was split from the URL
216 (muse-latex-decide-specials): Handle 'image context.
217 (muse-latex-fixup-dquotes): Go to beginning of document, instead
218 of relying on caller to do this for us.
220 * lisp/muse-publish.el (muse-publish-escape-specials): Document
222 (muse-publish-url): Use 'image context for images. Use 'image
223 instead of 'image-link and 'image-link in place of
224 'url-with-image. Separate the image file from its extension so
225 that docbook and texinfo can publish images correctly.
226 (muse-publish-markup-link): Don't force a description if one is
227 not given. This fixes a bug where images without descriptions
228 were being published as 'image-with-desc instead of 'image.
230 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
231 images the same as URLs.
232 (muse-texinfo-markup-strings): Improve image markup to achieve an
233 effect similar to that of the LaTeX publishing style. Simplify
236 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
238 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
239 when we have to use the custom version of this function.
241 * muse.texi (Images): Explain how to toggle inlining of images and
242 give better examples. Mention captions and that captioned images
243 should not be used inside of text paragraphs.
244 (Markup Strings): Bring up-to-date with the changes made since
247 2006-08-06 Michael Olson <mwolson@gnu.org>
249 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
250 in the Emacs source tree.
252 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
253 in the Emacs source tree.
255 * ChangeLog.3: New file created from the old ChangeLog.
257 * Makefile.defs (VERSION): Set to 3.02.91.
259 * NEWS: Update through patch-84.
261 * lisp/muse.el (muse-version): Set to 3.02.91.
263 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
265 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
266 delimiter are instead of hard-coding it.
268 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
269 (muse-mode): Make filling definition lists work better. This
272 * lisp/muse-publish.el (muse-style-run-hooks): Use
273 `muse-style-element' instead of `muse-get-keyword' here. This
276 * muse.texi: Set version to 3.02.91 (3.02 RC2).
278 See ChangeLog.3 for earlier changes.