muse-latex: Fix nested enumerated list bug
[muse-el.git] / ChangeLog
blob43111aade2548294821ad97ad4b3da64dab149f0
1 2006-11-17  Michael Olson  <mwolson@gnu.org>
3         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
4         latex publishing where nested enumerated lists would be squashed
5         together at the end.
7 2006-11-16  Michael Olson  <mwolson@gnu.org>
9         * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
10         list embedded in a definition list look right.  This also allows
11         for definitions to be separated from their terms, much like the
12         way HTML does it by default, if the user puts a blank line or a
13         line break between the term and the definition.  If the term and
14         definition are on the same line, they will be that way in the
15         output as well.
17 2006-11-11  Michael Olson  <mwolson@gnu.org>
19         * muse.texi (Markup Strings): Fix typo.  Thanks to Haiyong Zheng
20         for the report.
21         (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
23 2006-11-07  Michael Olson  <mwolson@gnu.org>
25         * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
26         release candidate for Muse 3.03, available.
28         * NEWS: Update.
30 2006-11-06  Michael Olson  <mwolson@gnu.org>
32         * lisp/muse-project.el (muse-project-find-file): Fix bug when
33         following a relative link worked even when the path was incorrect.
35 2006-11-04  John Sullivan  <john@wjsullivan.net>
37         * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
38         muse-follow-name-at-point to reduce collisions with other
39         modes (Planner).
41         * muse.texi (Keystroke Summary): Remove C-c C-c binding.
43 2006-11-04  Michael Olson  <mwolson@gnu.org>
45         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
46         optional, and make interwiki delimiter a regular rather than shy
47         group.
48         (muse-wiki-handle-implicit-interwiki): Rename from
49         muse-wiki-handle-interwiki.  Use match group 3 to get the page.
50         (muse-wiki-handle-explicit-interwiki): New function that is
51         smarter about where an explicit link ends in a buffer.  This
52         allows you to refer to page names with invalid Wiki characters,
53         such as underscores and dashes, merely by enclosing them in double
54         brackets.  Also, a bug with recognizing project names too loosely
55         has been fixed.
57 2006-11-03  Michael Olson  <mwolson@gnu.org>
59         * lisp/muse-project.el (muse-project-page-file): Make relative
60         links work as expected, hopefully.
62         * lisp/muse-publish.el (muse-publish-this-file): Set the current
63         output style manually, since it will differ from anything in the
64         publishing style list.
66 2006-10-30  Michael Olson  <mwolson@gnu.org>
68         * lisp/muse-colors.el (muse-colors-markup): Remove note about
69         grouping elements, since that no longer applies.
70         (muse-colors-custom-tags): Explicitly match against
71         muse-tag-regexp to get the match-data set the way we want.  This
72         really fixes the <example> highlighting bug that Stefan reported.
73         (muse-configure-highlighting): Set the original value to the
74         symbol, not the modified value.  Re-use modified rules properly.
76         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
77         introduced yesterday.
79 2006-10-29  Michael Olson  <mwolson@gnu.org>
81         * examples/mwolson: Update my example configuration.
83         * NEWS: Update.
85         * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
86         without a regexp in the first position before iterating through
87         them to build muse-colors-vector.  This fixes a bug with the
88         display of <example> tags.  Thanks to Stefan Reichör for the
89         report.
91         * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
92         files in projects to be linked to.
94         * lisp/muse-publish.el (muse-publish-url): Allow the original link
95         to serve as a description for a URL, as long as it differs from
96         the destination URL.  This fixes the description of WikPage links
97         in PDF output.
98         (muse-publish-link-file): Check to see whether the given link
99         points at a valid file.  If so, return it.  Otherwise, apply other
100         transforms like prefix and link suffix.
102         * lisp/muse-regexps.el (muse-file-regexp): If something ends in
103         "/", it is a file or directory, not a Muse page.  Thanks to
104         Phillip Lord for the suggestion.
106         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
107         of the current page as the local path, instead of duplicating the
108         remote file's path.  This probably fixes at least one reported
109         bug. since it's quite major.
110         (muse-wiki-update-project-file-regexp)
111         (muse-wiki-update-interwiki-regexp): Ensure that nil is never
112         passed to regexp-opt, since that can cause Emacs 21 to throw an
113         "maximum binding depth exceeded" error.  Thanks to xs32 AT cornell
114         DOT edu for the report.
115         (muse-wiki-handle-wikiword): Avoid a potential stringp error.
117 2006-10-28  Michael Olson  <mwolson@gnu.org>
119         * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
120         (muse-project-resolve-link): If the given style does not have a
121         link-suffix, default to suffix.  This fixes a bug I was noticing
122         when linking to a file that was published in both PDF and HTML
123         form.
125         * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
126         function that is used as a callback to determine the initial
127         amount of indentation that the current dl item has.
128         (muse-publish-surround-dl): Use it.  Pass the initial indent value
129         and the post-indent value, instead of trying to determine them
130         both.
131         (muse-publish-strip-list-indentation): New function stripped from
132         `muse-publish-surround-text' for readability.
133         (muse-publish-surround-text): Instead of taking a determine-indent
134         value, take a determine-indent-func function, which is called just
135         after finding the next list item.  If we are asked to determine
136         the amount of indentation, concatenate indent and post-indent the
137         first time around.  This effectively fixes all known definition
138         list issues.
140 2006-10-16  Michael Olson  <mwolson@gnu.org>
142         * lisp/muse.el: Provide the 'muse-nested-tags feature so that
143         other software -- namely, Planner -- can detect whether they are
144         using a version of Muse that supports nested tags.
145         (muse-goto-tag-end): Moved from muse-publish.el and renamed from
146         muse-publish-goto-tag-end.
148         * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
149         Adapt for nested tags.
151         * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
152         <class> tag is nestable.  Thanks to Phillip Lord for noticing
153         this.
155         * lisp/muse-publish.el (muse-publish-markup-tag)
156         (muse-publish-quote-tag): Use muse-goto-tag-end.
158         * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
160 2006-10-15  Michael Olson  <mwolson@gnu.org>
162         * AUTHORS: Bookkeeping.
164         * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
165         tag.
167         * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
168         tags.
170         * lisp/muse-html.el (muse-html-markup-tags): Ditto.
172         * lisp/muse-import-docbook.el (muse-import-docbook)
173         (muse-import-docbook-files): Docfix.
174         (muse-import-docbook-get-title): Remove cl.el-ism.
176         * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
178         * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
180         * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
182         * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
183         (muse-next-reference, muse-previous-reference): Minor whitespace
184         changes.
185         (muse-mode-choose-mode): Add autoload cookie.  Thanks to Leo for
186         the suggestion.
188         * lisp/muse-poem.el (muse-poem-tag): Ditto.
190         * lisp/muse-publish.el (muse-publish-markup-tags)
191         (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
192         element and make 4th element determine whether tags are nestable.
193         (muse-publish-goto-tag-end): New function that moves to the end of
194         a tag.  Handle nested tags when NESTED is non-nil.
195         (muse-publish-markup-tag): Call muse-publish-goto-tag-end.  Use
196         5th element for function.
197         (muse-publish-quote-tag): Handle nested quote tags.  I've tested
198         this on several scenarios, and it seems to work.
199         (muse-publish-surround-text): Accept new optional argument
200         LIST-ITEM which determines the regexp to use for list items.  The
201         default is to use muse-list-item-regexp.
203         * muse.texi (Markup Tags): Mention nestable tags.
205         * NEWS: Mention new files.
207 2006-10-15  Elena Pomohaci  <e.pomohaci@gmail.com>
209         * lisp/muse-import-docbook.el: New file that converts Docbook XML
210         into Muse format.
212         * lisp/muse-import-xml.el: New file that provides helper routines
213         for converting XML-ish files to Muse format.
215 2006-10-10  Michael Olson  <mwolson@gnu.org>
217         * NEWS: Update for 3.02.7 bugfix release.
219 2006-10-06  Sasha Kovar  <sasha@arcocene.org>
221         * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
222         using the value in the muse #date directive.
223         (muse-blosxom-use-metadate): New option that determines whether or
224         not to use the #postdate directive.
225         (muse-blosxom-format-date): Convert a date string to PyBlosxom
226         metadate plugin format.
228 2006-09-30  Stefan Schlee  <stefan_schlee@yahoo.com>
230         * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
231         recognised URLs.
233         * muse.texi: Clarify handling of implicit links by mentioning
234         which characters can prevent Muse from recognizing something as an
235         implicit link.
237 2006-09-26  Stefan Schlee  <stefan_schlee@yahoo.com>
239         * lisp/muse-mode.el (muse-next-reference)
240         (muse-previous-reference): Fix bug #6367 by moving point to the
241         beginning of the link.
243 2006-09-26  Michael Olson  <mwolson@gnu.org>
245         * lisp/muse-colors.el (muse-use-font-lock): Don't quote
246         beginning-of-line.  This should fix a bug that was noticed in
247         recent Emacs 22 builds.
249         * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
250         eval-and-compile block to avoid a compiler warning.
252 2006-09-25  Jim Ottaway  <j.ottaway@lse.ac.uk>
254         * lisp/muse-backlink.el (muse-backlink-split-string):
255         Compatibility with Emacs versions < 22
256         (muse-backlink-pending): New internal variable
257         (muse-backlink-get-mode-hook): Find the major mode hook to use, so
258         that backlinks are inserted at the right time.
259         (muse-backlink-insert-hook-func): Remove unwind-protection; check
260         for pending backlink, and that this is the targe page.
261         (muse-backlink-handle-link): Don’t handle the link if we are
262         already handling one. Return the link as well as the parent links.
264 2006-09-25  Sasha Kovar  <sasha@arcocene.org>
266         * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
267         #6942 - muse-blosxom-new-entry fails when using tags.
269 2006-09-14  Michael Olson  <mwolson@gnu.org>
271         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
272         compiler warning.
274 2006-09-14  Jim Ottaway  <j.ottaway@lse.ac.uk>
276         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
277         function: Protect all wikiwords from START to END from further
278         processing.
279         (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
281 2006-09-13  Michael Olson  <mwolson@gnu.org>
283         * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
284         adopted from Jim Ottaway's patch.  It removes links from the
285         heading, and then marks the region read-only to inhibit WikiWord
286         detection.
288 2006-09-13  Jim Ottaway  <j.ottaway@lse.ac.uk>
290         * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
291         special handling for headings.
292         (muse-texinfo-remove-links): New function that removes explicit
293         links from the given strings, replacing them with a description.
295 2006-09-11  Michael Olson  <mwolson@gnu.org>
297         * muse.texi (Getting Help and Reporting Bugs): Mention the
298         muse-el-internationalization mailing list.
300         * lisp/muse.el (muse-path-sans-extension): New function that acts
301         like file-name-sans-extension, but guarantees to never modify the
302         directory part of the path.  Thanks to Evan Monroig for
303         investigating this.
305         * lisp/muse-book.el (muse-book-publish-project): Use
306         muse-path-sans-extension instead of file-name-sans-extension.
308         * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
309         Ditto.
311 2006-08-30  Michael Olson  <mwolson@gnu.org>
313         * muse.texi (Blosxom Requirements): Fix typo.
315         * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
316         directories for bzr and darcs.
318         * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
319         contrib/pyblosxom/getstamps.py: Update version and headers.
321 2006-08-27  Michael Olson  <mwolson@gnu.org>
323         * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
324         nil values before they get to mapconcat.  This fixes a lockup when
325         muse-wiki-match-all-project-files is nil.
327         * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
328         (muse-wiki-ignore-implicit-links-to-current-page)
329         (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
330         (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
331         (muse-wiki-publish-small-title-words)
332         (muse-wiki-publish-pretty-title): Docfix.
333         (muse-wiki-update-local-wikiword-regexp): Rename from
334         muse-wiki-update-local-wikiword-regexp.  Set
335         muse-wiki-project-file-regexp instead of
336         muse-wiki-wikiword-regexp, as suggested by Per Sederberg.  Don't
337         take muse-wiki-use-wikiword into account, since this is a
338         different concept now.
339         (muse-wiki-update-wikiword-regexp): Remove.
340         (muse-wiki-wikiword-regexp): In-line the :set function.
341         (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
343 2006-08-26  Michael Olson  <mwolson@gnu.org>
345         * lisp/muse-publish.el (muse-publish-surround-text): When looking
346         for indented list items, ignore blank lines.
348         * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
349         (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
350         mapconcat.  This should hopefully fix a problem with large amounts
351         of files with spaces in their name.  Thanks to Greg Detre for the
352         report.
354 2006-08-24  Michael Olson  <mwolson@gnu.org>
356         * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
357         numbers from the argument to format-time-string.  This fixes an
358         XEmacs bug.  Thanks to Michael Welle for the report and analysis.
360 2006-08-18  Michael Olson  <mwolson@gnu.org>
362         * lisp/muse-project.el (muse-project-file-entries): Since we are
363         given a full path, match against the filename as well.  This fixes
364         an issue where backup files were being added to the file alist.
366         * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
367         from muse-html.el.
369 2006-08-12  Michael Olson  <mwolson@gnu.org>
371         * Makefile (.PHONY): Don't use line continuations.
372         (realclean fullclean): Call realclean in subdirs, not distclean.
373         (distclean): Don't call realclean, since this would wipe out our
374         autoloads file.
375         (dist): Use correct path to autoloads file.
377         * NEWS: Catch up with the latest changes.
379         * experimental/Makefile (.PHONY): Wrap long line.
381         * lisp/Makefile (distclean): Do the same thing as "clean", not
382         "realclean".
384         * lisp/muse-project.el (muse-project-get-applicable-style):
385         Indentation tweak.
386         (muse-project-ignore-regexp, muse-project-recurse-directory):
387         Docfix.
388         (muse-project-of-file): Try the ignored files regexp against the
389         base filename as well as the entire path.
391         * lisp/muse-publish.el (muse-publish-this-file): Display message
392         if the buffer is not associated with any file, so that we avoid
393         errors later on.
394         (muse-publish-url-desc): New function taken from muse-publish-url
395         that causes a URL description to be transformed.
396         (muse-publish-url): Call muse-publish-url-desc on either the
397         description or the original URL if it will be used as a
398         description.  Accept the original URL as an argument, in case it
399         was transformed earlier.
400         (muse-publish-insert-url): Pass original URL as an argument.
401         (muse-publish-markup-link): Make this somewhat easier to follow.
402         Pass original URL as argument.
403         (muse-publish-get-style): If the same style is used to publish to
404         two different directories, prompt the user for which directory to
405         use.
406         (muse-publish-markup-header-footer-tags): Sync lisp tag with the
407         latest changes.
408         (muse-publish-markup-url): Pass original URL as an argument.  This
409         fixes the "nil" description for bare URLs that was in 3.02.91.
410         Nothing like finding a bug just after completing the announcement
411         of a release.
413         * lisp/muse.el: Use defalias whenever convenient.
414         (muse-version): Set version to 3.02.92 (3.03 RC2).
416 2006-08-10  Michael Olson  <mwolson@gnu.org>
418         * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
419         style does not derive from any other class, return `t' here.
420         This, along with the corresponding change to muse-publish.el,
421         fixes a problem with the table of contents getting inserted
422         multiple times for custom html-based styles.
423         (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
424         smarter method for table centering that works with XHTML.
426         * lisp/muse-latex2png.el Rename all functions to have a
427         "muse-latex2png" prefix.  Turn all variables into customizable
428         options in the muse-latex2png group.
429         (muse-latex2png-img-dest): New option specifying where to place
430         the images.
431         (muse-latex2png-template): New option containing the template to
432         use for the surrounding LaTeX code.
433         (muse-latex2png-use-xhtml): New option that toggles strict XHTML
434         compliance.
435         (muse-latex2png-move2pubdir): Avoid multiple redundant error
436         messages when something else goes wrong.  Create the image
437         subdirectory if it doesn't exist already -- thanks to Christian
438         Straßer for the report.  Expand the filename properly.
439         (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
440         and filename expansion.
441         (muse-latex2png): Use the "muse-latex2png" prefix by default.  Set
442         the default directory properly.
444         * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
445         do not run the same function twice.
447 2006-08-08  Michael Olson  <mwolson@gnu.org>
449         * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
450         introduced wrong-type-argument error.
452         * lisp/muse-html.el (muse-html-markup-strings)
453         (muse-xhtml-markup-string): Cause table definition that contains
454         image to be center-aligned.  This should fix an issue with images
455         not being centered when captions are very long.
457         * lisp/muse-publish.el (muse-publish-table-fields): Trim
458         whitespace from fields once we have split them up.
460         * lisp/muse.el (muse-trim-whitespace): New function that strips
461         leading and trailing whitespace from a string.
463 2006-08-07  Michael Olson  <mwolson@gnu.org>
465         * NEWS: Update through patch-95.
467         * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
468         to match the tags.
469         (muse-colors-explicit-link): Show images in link descriptions if
470         inlined images are enabled.
472         * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
473         definitions for 'image-with-desc, 'image, and 'image-link.
474         (muse-docbook-markup-paragraph): If an inlined image begins a
475         paragraph, insert <para> before it.
476         (muse-docbook-fixup-images): New function that upper-cases the
477         "format" attribute of the <imagedata> tag.
478         (muse-docbook-finalize-buffer): Call it.
480         * lisp/muse-html.el (muse-html-markup-strings): Publish images
481         with descriptions as centered tables, with a centered caption
482         underneath.  The resulting look is consistent with the way that
483         they are published in the LaTeX style.  Thanks to Jody Klymak for
484         the suggestion.
485         (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
486         valid way to center a table.
487         (muse-html-markup-paragraph): Use class="image" instead of
488         "image-link" for paragraphs that start with an embedded image.
490         * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
491         \textbackslash{} for "\".  Thanks to Jim Ottaway for the
492         suggestion.
493         (muse-latex-markup-specials-image): New option that enables
494         escaping of specials in images.  This was split from the URL
495         specials.
496         (muse-latex-decide-specials): Handle 'image context.
497         (muse-latex-fixup-dquotes): Go to beginning of document, instead
498         of relying on caller to do this for us.
500         * lisp/muse-publish.el (muse-publish-escape-specials): Document
501         'image context.
502         (muse-publish-url): Use 'image context for images.  Use 'image
503         instead of 'image-link and 'image-link in place of
504         'url-with-image.  Separate the image file from its extension so
505         that docbook and texinfo can publish images correctly.
506         (muse-publish-markup-link): Don't force a description if one is
507         not given.  This fixes a bug where images without descriptions
508         were being published as 'image-with-desc instead of 'image.
510         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
511         images the same as URLs.
512         (muse-texinfo-markup-strings): Improve image markup to achieve an
513         effect similar to that of the LaTeX publishing style.  Simplify
514         'url string.
516         * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
518         * lisp/muse.el (muse-replace-regexp-in-string): Save match data
519         when we have to use the custom version of this function.
521         * muse.texi (Images): Explain how to toggle inlining of images and
522         give better examples.  Mention captions and that captioned images
523         should not be used inside of text paragraphs.
524         (Markup Strings): Bring up-to-date with the changes made since
525         3.02.
527 2006-08-06  Michael Olson  <mwolson@gnu.org>
529         * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
530         in the Emacs source tree.
532         * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
533         in the Emacs source tree.
535         * ChangeLog.3: New file created from the old ChangeLog.
537         * Makefile.defs (VERSION): Set to 3.02.91.
539         * NEWS: Update through patch-84.
541         * lisp/muse.el (muse-version): Set to 3.02.91.
543         * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
544         attributes.
545         (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
546         delimiter are instead of hard-coding it.
548         * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
549         (muse-mode): Make filling definition lists work better.  This
550         should fix #5359.
552         * lisp/muse-publish.el (muse-style-run-hooks): Use
553         `muse-style-element' instead of `muse-get-keyword' here.  This
554         should fix #6399.
556         * muse.texi: Set version to 3.02.91 (3.02 RC2).
558 See ChangeLog.3 for earlier changes.
560 ;; Local Variables:
561 ;; coding: utf-8
562 ;; End: