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