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