1 2006-08-18 Michael Olson <mwolson@gnu.org>
3 * lisp/muse-project.el (muse-project-file-entries): Since we are
4 given a full path, match against the filename as well. This fixes
5 an issue where backup files were being added to the file alist.
7 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
10 2006-08-12 Michael Olson <mwolson@gnu.org>
12 * Makefile (.PHONY): Don't use line continuations.
13 (realclean fullclean): Call realclean in subdirs, not distclean.
14 (distclean): Don't call realclean, since this would wipe out our
16 (dist): Use correct path to autoloads file.
18 * NEWS: Catch up with the latest changes.
20 * experimental/Makefile (.PHONY): Wrap long line.
22 * lisp/Makefile (distclean): Do the same thing as "clean", not
25 * lisp/muse-project.el (muse-project-get-applicable-style):
27 (muse-project-ignore-regexp, muse-project-recurse-directory):
29 (muse-project-of-file): Try the ignored files regexp against the
30 base filename as well as the entire path.
32 * lisp/muse-publish.el (muse-publish-this-file): Display message
33 if the buffer is not associated with any file, so that we avoid
35 (muse-publish-url-desc): New function taken from muse-publish-url
36 that causes a URL description to be transformed.
37 (muse-publish-url): Call muse-publish-url-desc on either the
38 description or the original URL if it will be used as a
39 description. Accept the original URL as an argument, in case it
40 was transformed earlier.
41 (muse-publish-insert-url): Pass original URL as an argument.
42 (muse-publish-markup-link): Make this somewhat easier to follow.
43 Pass original URL as argument.
44 (muse-publish-get-style): If the same style is used to publish to
45 two different directories, prompt the user for which directory to
47 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
49 (muse-publish-markup-url): Pass original URL as an argument. This
50 fixes the "nil" description for bare URLs that was in 3.02.91.
51 Nothing like finding a bug just after completing the announcement
54 * lisp/muse.el: Use defalias whenever convenient.
55 (muse-version): Set version to 3.02.92 (3.03 RC2).
57 2006-08-10 Michael Olson <mwolson@gnu.org>
59 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
60 style does not derive from any other class, return `t' here.
61 This, along with the corresponding change to muse-publish.el,
62 fixes a problem with the table of contents getting inserted
63 multiple times for custom html-based styles.
64 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
65 smarter method for table centering that works with XHTML.
67 * lisp/muse-latex2png.el Rename all functions to have a
68 "muse-latex2png" prefix. Turn all variables into customizable
69 options in the muse-latex2png group.
70 (muse-latex2png-img-dest): New option specifying where to place
72 (muse-latex2png-template): New option containing the template to
73 use for the surrounding LaTeX code.
74 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
76 (muse-latex2png-move2pubdir): Avoid multiple redundant error
77 messages when something else goes wrong. Create the image
78 subdirectory if it doesn't exist already -- thanks to Christian
79 Straßer for the report. Expand the filename properly.
80 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
81 and filename expansion.
82 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
83 the default directory properly.
85 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
86 do not run the same function twice.
88 2006-08-08 Michael Olson <mwolson@gnu.org>
90 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
91 introduced wrong-type-argument error.
93 * lisp/muse-html.el (muse-html-markup-strings)
94 (muse-xhtml-markup-string): Cause table definition that contains
95 image to be center-aligned. This should fix an issue with images
96 not being centered when captions are very long.
98 * lisp/muse-publish.el (muse-publish-table-fields): Trim
99 whitespace from fields once we have split them up.
101 * lisp/muse.el (muse-trim-whitespace): New function that strips
102 leading and trailing whitespace from a string.
104 2006-08-07 Michael Olson <mwolson@gnu.org>
106 * NEWS: Update through patch-95.
108 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
110 (muse-colors-explicit-link): Show images in link descriptions if
111 inlined images are enabled.
113 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
114 definitions for 'image-with-desc, 'image, and 'image-link.
115 (muse-docbook-markup-paragraph): If an inlined image begins a
116 paragraph, insert <para> before it.
117 (muse-docbook-fixup-images): New function that upper-cases the
118 "format" attribute of the <imagedata> tag.
119 (muse-docbook-finalize-buffer): Call it.
121 * lisp/muse-html.el (muse-html-markup-strings): Publish images
122 with descriptions as centered tables, with a centered caption
123 underneath. The resulting look is consistent with the way that
124 they are published in the LaTeX style. Thanks to Jody Klymak for
126 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
127 valid way to center a table.
128 (muse-html-markup-paragraph): Use class="image" instead of
129 "image-link" for paragraphs that start with an embedded image.
131 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
132 \textbackslash{} for "\". Thanks to Jim Ottaway for the
134 (muse-latex-markup-specials-image): New option that enables
135 escaping of specials in images. This was split from the URL
137 (muse-latex-decide-specials): Handle 'image context.
138 (muse-latex-fixup-dquotes): Go to beginning of document, instead
139 of relying on caller to do this for us.
141 * lisp/muse-publish.el (muse-publish-escape-specials): Document
143 (muse-publish-url): Use 'image context for images. Use 'image
144 instead of 'image-link and 'image-link in place of
145 'url-with-image. Separate the image file from its extension so
146 that docbook and texinfo can publish images correctly.
147 (muse-publish-markup-link): Don't force a description if one is
148 not given. This fixes a bug where images without descriptions
149 were being published as 'image-with-desc instead of 'image.
151 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
152 images the same as URLs.
153 (muse-texinfo-markup-strings): Improve image markup to achieve an
154 effect similar to that of the LaTeX publishing style. Simplify
157 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
159 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
160 when we have to use the custom version of this function.
162 * muse.texi (Images): Explain how to toggle inlining of images and
163 give better examples. Mention captions and that captioned images
164 should not be used inside of text paragraphs.
165 (Markup Strings): Bring up-to-date with the changes made since
168 2006-08-06 Michael Olson <mwolson@gnu.org>
170 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
171 in the Emacs source tree.
173 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
174 in the Emacs source tree.
176 * ChangeLog.3: New file created from the old ChangeLog.
178 * Makefile.defs (VERSION): Set to 3.02.91.
180 * NEWS: Update through patch-84.
182 * lisp/muse.el (muse-version): Set to 3.02.91.
184 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
186 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
187 delimiter are instead of hard-coding it.
189 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
190 (muse-mode): Make filling definition lists work better. This
193 * lisp/muse-publish.el (muse-style-run-hooks): Use
194 `muse-style-element' instead of `muse-get-keyword' here. This
197 * muse.texi: Set version to 3.02.91 (3.02 RC2).
199 See ChangeLog.3 for earlier changes.