1 2004-12-30 Michael Olson <mwolson@gnu.org>
3 * muse.el (muse-link-regexp): Allow spaces in the first part of
6 * muse-colors.el, muse-convert.el, muse-docbook.el: Use
7 customizable alternatives to extended character classes.
9 * muse-html.el, muse-mode.el, muse-publish.el: Ditto.
11 2004-12-29 Michael Olson <mwolson@gnu.org>
13 * Makefile: Change path to `publish' script.
15 * muse.el: Change Copyright notice to FSF. Change Maintainer to
18 * muse-regexps.el: New file that implements regexp handling.
19 Generalized regexp options will be moved to it eventually.
21 * contrib/pcomplete.el: New file that is used by Muse without
22 actually being a part of it: hence its location in the contrib
25 * contrib/cgi.el, contrib/httpd.el: New location.
27 * examples/muse-johnw.el, examples/publish-johnw: Ditto.
29 * scripts/publish, scripts/publish-project: Ditto.
31 2004-12-11 Michael Olson <mwolson@gnu.org>
33 * muse-project.el (muse-project-save-buffers): Attempt to fix
34 Emacs CVS-ism in use of `save-some-buffers-action-alist'. Since
35 it looks like this is somewhat optional, only use it if it is
38 2004-12-06 Michael Olson <mwolson@gnu.org>
40 * muse-mode.el: Do not use the third argument of `require' since
41 it seems to be an Emacs CVS-ism.
43 2004-11-30 Michael Olson <mwolson@gnu.org>
45 * muse.el (muse-tag-regexp, muse-link-regexp): Replace use of "
46 \t\n(\r)" with "[:space:]" and " \t" with "[:blank:]". This
47 should fix the problem reported by Pascal Quesseveur concerning
48 processing of emphasized text.
50 * muse-colors.el (muse-colors-verbatim, muse-colors-markup)
51 (muse-colors-custom-tags): Ditto.
53 * muse-convert.el (muse-write-citation): Ditto.
55 * muse-docbook.el (muse-docbook-markup-regexps)
56 (muse-docbook-markup-table): Ditto.
58 * muse-html.el (muse-html-markup-regexps)
59 (muse-html-insert-anchor, muse-html-markup-footnote): Ditto.
61 * muse-mode.el (muse-current-word, muse-link-at-point): Ditto.
63 * muse-publish.el (muse-publish-markup-regexps)
64 (muse-publish-markup-tag, muse-publish-markup-footnote)
65 (muse-publish-surround-text, muse-forward-paragraph)
66 (muse-publish-markup-list): Ditto.
68 2004-11-17 Michael Olson <mwolson@gnu.org>
70 * muse-latexcjk.el (muse-latexcjk-transform-content-type): Use
71 `muse-latexcjk-encoding-default' instead of
72 `muse-latexcjk-coding-default'. Thanks to Kenneth Geisshirt for
75 2004-10-26 Michael Olson <mwolson@gnu.org>
77 * muse-html.el (muse-html-style-sheet): Make part of "muse-html"
78 group, not "muse-message" group.
80 2004-10-14 Li Daobing <lidaobing@gmail.com>
82 * muse-latexcjk.el: New file that provides LaTeX publishing with
85 2004-10-09 Li Daobing <lidaobing@gmail.com>
87 * muse-html.el (muse-html-encoding-map): Add entries for
88 mule-utf8, chinese-iso-8bit, and chinese-gbk.
89 (muse-html-transform-content-type): Change use of cadr to cdr so
90 that the content type is chosen correctly.
92 2004-04-27 Sandra Jean Chua (Sacha) <sacha@free.net.ph>
94 * muse-colors.el (muse-link-face): If a file has no project, check
95 for links in the current directory.
97 * muse-mode.el (muse-visit-link): Find file if nonexistent.
99 2004-03-24 John Wiegley <johnw@newartisans.com>
101 * muse-texinfo.el (muse-texinfo-markup-table): Fixed table markup.
103 * muse-latex.el (muse-latex-markup-table): Fixed table markup.
105 * muse-html.el: Removed the <redirect> tag.
106 (muse-html-markup-table): Fixed table markup.
108 2004-03-24 John Wiegley <johnw@newartisans.com>
110 * muse-html.el, muse-latex.el, muse-publish.el, muse-texinfo.el:
111 Change the way the <contents> tag is handled. It is handled now
112 during :after (for HTML), or in the -header (for other styles),
113 and not before the buffer is marked up.
115 * muse-html.el (muse-html-contents-tag): Don't generate contents
116 for section titles that have been marked read-only (such as those
117 within an example section).
119 * muse-mode.el (muse-mode-hook): Added `turn-on-auto-fill' to the
122 * muse-colors.el (muse-colors-verbatim): Improved end check.
123 (muse-colors-markup): Improved verbatim regexp.
125 2004-03-23 John Wiegley <johnw@newartisans.com>
127 * Many changes, mostly as part of sweeping through and adding
128 documentation and cleaning up. Also, markup-rules are no longer a
129 list of three element vectors, but a list of three element lists.
130 There was no reason to be using vectors, and it just complicated
133 2004-03-22 John Wiegley <johnw@newartisans.com>
135 * muse-colors.el (muse-colors-emphasized): Corrected bugs.
137 * muse-book.el (muse-book-publish-chapter): Don't process tags a
138 second time, since no header or footer has been inserted.
139 (muse-book-publish-project): Don't process tags for the whole
140 book; now `muse-insert-file-or-string' will do it for just the
143 * muse-project.el (muse-project-delete-output-files): Added a
144 command to cleanup all the output files of a project. Dangerous!
146 * muse-journal.el (muse-journal-anchorize-title): Remove tags and
147 quoting characters from anchor titles in the RDF file.
149 * muse-publish.el (muse-publish-comment-tag): Added a "comment"
150 tag, which just deletes the text within the comment.
151 (muse-publish-markup-tags): Added "comment" tag.
152 (muse-publish-markup-buffer): Don't process tags for entire file
153 after inserting the header and footer.
154 (muse-insert-file-or-string): Instead, only process the <lisp> tag
155 for just the text in the header and footer.
157 * muse-journal.el (muse-journal-html-munge-buffer): Added local
158 binding for `datestamp'.
160 * muse-colors.el (muse-colors-emphasized): Rewrote this function,
161 which is now hundreds of times faster. Removed
162 `muse-colors-ok-context-p', since I could not figure out what it
163 was doing, and it was slowing things down tremendously (to the
164 point of making font-lock unusable in larger buffers).
165 (muse-colors-underlined): Rewrite.
166 (muse-colors-verbatim): Rewrite.
168 2004-03-22 John Wiegley <johnw@newartisans.com>
170 * muse-html.el (muse-html-markup-paragraph): Use `looking-at',
171 rather than just checking `char-after'.
173 * muse-journal.el (muse-journal-anchorize-title): Call
174 save-match-data, or else infinite loops occur.
176 2004-03-21 John Wiegley <johnw@newartisans.com>
178 * muse-journal.el (muse-journal-html-munge-buffer): Simplified,
179 since :before-end is now used to call the function.
181 * muse-html.el (muse-html-markup-rules): Fixed rule for adding
184 * muse-poem.el (muse-poem-prepare-buffer): Make sure to set
185 `muse-poem-longest-line' as a local variable.
187 2004-03-20 John Wiegley <johnw@newartisans.com>
189 * muse-html.el (muse-html-header): Corrected author reference in
192 * muse-docbook.el (muse-docbook-markup-table): Removed reference
193 to `muse-docbook-table-attributes', which doesn't exist.
195 * muse-publish.el (muse-publish-markup-footnote): Improved
196 functionality so that, if the style supports it, it can handle
199 * muse-latex.el (muse-latex-markup-rules): Use
200 `muse-publish-markup-footnote'.
201 (muse-latex-markup-strings): Added footnote markup strings.
202 (muse-latex-prepare-buffer): Removed initialization of
203 `muse-latex-footnotes', which is now gone.
205 2004-03-20 John Wiegley <johnw@newartisans.com>
207 * muse-texinfo.el (muse-texinfo-markup-rules): Use general
209 (muse-texinfo-markup-strings): Added footnote markup strings.
211 * muse-publish.el (muse-publish-markup-buffer): Added :before-end
212 style hook, which gets run after markup is done, but before the
213 header and footer are inserted.
214 (muse-publish-markup-footnote): Added a generic form of footnote
215 markup, which all the styles will use.
217 * muse-mode.el (muse-mode-hook): Removed support for `table'
219 (muse-html-markup-table): ditto.
221 * muse-html.el (muse-html-markup-rules): Removed support for
224 * muse-docbook.el: Added new publishing style.
226 * muse-colors.el (muse-colors-markup): Highlight #title even if
227 not at beginning of buffer (not really a speed hit).
229 * muse-publish.el (muse-publish-markup-buffer): Default "author"
232 * muse-book.el (muse-book-latex-header): "author" directive now
233 defaults to (user-full-name).
235 * muse-latex.el (muse-latex-header): "author" directive now
236 defaults to (user-full-name).
238 * muse-poem.el (muse-chapbook-latex-header): "author" directive
239 now defaults to (user-full-name).
241 * muse-texinfo.el (muse-texinfo-header): "author" directive now
242 defaults to (user-full-name).
244 2004-03-20 John Wiegley <johnw@newartisans.com>
246 * muse-mode.el (muse-visit-link): Was missing the string argument
247 in call to `substring'. Also, if an anchor was specified in the
248 link name, search for it (if it exists).
249 (muse-mode-map): Bind C-c C-a to `muse-index'.
250 (muse-index): Added back project index generation code.
252 * muse-colors.el (muse-mode-local-map): Added back the old
253 local-map, which allows hitting RET on link names in a Muse
256 * muse-publish.el (muse-publish-file): Use `muse-page-name'
257 instead of `file-name-nondirectory'.
258 (muse-publish-output-name): Use `muse-page-name'.
260 2004-03-20 John Wiegley <johnw@newartisans.com>
262 * muse-publish.el (muse-publish-markup-buffer): Remove leading
263 trailing whitespace from a buffer before marking it up.
264 (muse-publish-get-output-dir): Corrected insertion of :path.
266 * muse-texinfo.el, muse-latex.el, muse-html.el: Removed default
267 directories. Use project definitions to set directories!
269 * muse-arabic.el: Changed "arabic" tool to "atranslit".
271 * muse-latex.el (muse-latex-markup-rules): Only join like tables
272 and lists; before, it was joining tables to lists.
274 * muse-project.el (muse-project-publish-file): Changed :regexp to
277 * muse-mode.el (muse-mode-hook): Initialize with nil.
279 2004-03-19 John Wiegley <johnw@newartisans.com>
281 * muse-colors.el (muse-link-face): Strip anchors before checking
282 if a project page exists.
284 * muse-arabic.el: Added new module for rendering Arabic text
287 * muse-http.el (muse-http-render-page): Set
288 `muse-publishing-current-file' before marking up buffer.
290 * muse-project.el (muse-project-set-variables): Changed
291 `make-local-var' to `make-local-variable'.
292 Avoid byte compiler warnings from use of `make-local-hook'.
294 * muse-journal.el (muse-journal-latex-munge-buffer): Use a let
295 form to avoid free variable.
297 * muse-book.el (muse-book-publish-project): Set
298 `muse-current-project' when publishing a book.
300 * muse-publish.el (muse-publish-markup-list-or-quote): Removed
301 extraneous code I had added long ago for handling indented
302 paragraphs; but it messes up handling of single line quotations.
304 * muse-poem.el (muse-poem-markup-tag): Added "nohead" attribute.
305 Also, add "poem" tag to `muse-publish-markup-tags'.
307 * muse-colors.el (muse-colors-markup): Removed '''', and only
308 highlight title if it begins the buffer.
309 (muse-colors-region): Removed some extraneous code.
310 (muse-link-face): Added `save-match-data', and use of
312 (muse-colors-link): match-string was called with 0, should be 2.
314 * muse-journal.el: Added anchor generation (for RDF).
315 (muse-journal-latex-munge-buffer): Make sections and subsections
316 within a journal enter into the tableofcontents as chapters and
319 * muse-book.el (muse-book-publish-chapter): Set
320 `muse-publishing-current-file' to the file which is being inserted
321 as a chapter. This helps the hooks know which file the contents
322 has come from, which may influence stylistic decisions.
324 * muse-journal.el: Added a first approach at creating journals; it
325 still needs to be cleaned up and better architected, but is at
326 least working and proving the concept. Still too hackish, though.
328 Also, "rdf" is available as a style, which can convert journal
329 pages into an RDF that represents a summary of the content in that
332 2004-03-18 John Wiegley <johnw@newartisans.com>
334 * muse-publish.el (muse-publish-output-name): First argument is
335 now optional, defaults to current file.
337 2004-03-18 Sacha Chua <sacha@free.net.ph>
339 * muse-project.el (muse-project-set-variables): New. Sets
340 buffer-local variables based on :set keyword. Use like this:
341 :set (sym val sym val ...).
343 * muse-mode.el (muse-mode): Set variables.
344 (muse-visit-link): Allow override of `visit-link-function' using
345 the new :visit-link keyword.