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
41 * lisp/muse.el: Use defalias whenever convenient.
43 2006-08-10 Michael Olson <mwolson@gnu.org>
45 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
46 style does not derive from any other class, return `t' here.
47 This, along with the corresponding change to muse-publish.el,
48 fixes a problem with the table of contents getting inserted
49 multiple times for custom html-based styles.
50 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
51 smarter method for table centering that works with XHTML.
53 * lisp/muse-latex2png.el Rename all functions to have a
54 "muse-latex2png" prefix. Turn all variables into customizable
55 options in the muse-latex2png group.
56 (muse-latex2png-img-dest): New option specifying where to place
58 (muse-latex2png-template): New option containing the template to
59 use for the surrounding LaTeX code.
60 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
62 (muse-latex2png-move2pubdir): Avoid multiple redundant error
63 messages when something else goes wrong. Create the image
64 subdirectory if it doesn't exist already -- thanks to Christian
65 Straßer for the report. Expand the filename properly.
66 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
67 and filename expansion.
68 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
69 the default directory properly.
71 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
72 do not run the same function twice.
74 2006-08-08 Michael Olson <mwolson@gnu.org>
76 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
77 introduced wrong-type-argument error.
79 * lisp/muse-html.el (muse-html-markup-strings)
80 (muse-xhtml-markup-string): Cause table definition that contains
81 image to be center-aligned. This should fix an issue with images
82 not being centered when captions are very long.
84 * lisp/muse-publish.el (muse-publish-table-fields): Trim
85 whitespace from fields once we have split them up.
87 * lisp/muse.el (muse-trim-whitespace): New function that strips
88 leading and trailing whitespace from a string.
90 2006-08-07 Michael Olson <mwolson@gnu.org>
92 * NEWS: Update through patch-95.
94 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
96 (muse-colors-explicit-link): Show images in link descriptions if
97 inlined images are enabled.
99 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
100 definitions for 'image-with-desc, 'image, and 'image-link.
101 (muse-docbook-markup-paragraph): If an inlined image begins a
102 paragraph, insert <para> before it.
103 (muse-docbook-fixup-images): New function that upper-cases the
104 "format" attribute of the <imagedata> tag.
105 (muse-docbook-finalize-buffer): Call it.
107 * lisp/muse-html.el (muse-html-markup-strings): Publish images
108 with descriptions as centered tables, with a centered caption
109 underneath. The resulting look is consistent with the way that
110 they are published in the LaTeX style. Thanks to Jody Klymak for
112 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
113 valid way to center a table.
114 (muse-html-markup-paragraph): Use class="image" instead of
115 "image-link" for paragraphs that start with an embedded image.
117 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
118 \textbackslash{} for "\". Thanks to Jim Ottaway for the
120 (muse-latex-markup-specials-image): New option that enables
121 escaping of specials in images. This was split from the URL
123 (muse-latex-decide-specials): Handle 'image context.
124 (muse-latex-fixup-dquotes): Go to beginning of document, instead
125 of relying on caller to do this for us.
127 * lisp/muse-publish.el (muse-publish-escape-specials): Document
129 (muse-publish-url): Use 'image context for images. Use 'image
130 instead of 'image-link and 'image-link in place of
131 'url-with-image. Separate the image file from its extension so
132 that docbook and texinfo can publish images correctly.
133 (muse-publish-markup-link): Don't force a description if one is
134 not given. This fixes a bug where images without descriptions
135 were being published as 'image-with-desc instead of 'image.
137 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
138 images the same as URLs.
139 (muse-texinfo-markup-strings): Improve image markup to achieve an
140 effect similar to that of the LaTeX publishing style. Simplify
143 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
145 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
146 when we have to use the custom version of this function.
148 * muse.texi (Images): Explain how to toggle inlining of images and
149 give better examples. Mention captions and that captioned images
150 should not be used inside of text paragraphs.
151 (Markup Strings): Bring up-to-date with the changes made since
154 2006-08-06 Michael Olson <mwolson@gnu.org>
156 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
157 in the Emacs source tree.
159 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
160 in the Emacs source tree.
162 * ChangeLog.3: New file created from the old ChangeLog.
164 * Makefile.defs (VERSION): Set to 3.02.91.
166 * NEWS: Update through patch-84.
168 * lisp/muse.el (muse-version): Set to 3.02.91.
170 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
172 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
173 delimiter are instead of hard-coding it.
175 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
176 (muse-mode): Make filling definition lists work better. This
179 * lisp/muse-publish.el (muse-style-run-hooks): Use
180 `muse-style-element' instead of `muse-get-keyword' here. This
183 * muse.texi: Set version to 3.02.91 (3.02 RC2).
185 See ChangeLog.3 for earlier changes.