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