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