Initial implementation of nested tag support
commitb27511a5978f1c4caeaee2e549ddc802645b4c86
authorMichael Olson <mwolson@gnu.org>
Sun, 15 Oct 2006 05:07:07 +0000 (15 05:07 +0000)
committerMichael Olson <mwolson@gnu.org>
Sun, 15 Oct 2006 05:07:07 +0000 (15 05:07 +0000)
treefff330067d82faf9ca85d79a24295905412abddd
parent6349cd29148718952fca986a77a0f6c05ba0ae91
Initial implementation of nested tag support

2006-10-15  Michael Olson  <mwolson@gnu.org>

* lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
tags.

* lisp/muse-html.el (muse-html-markup-tags): Ditto.

* lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.

* lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.

* lisp/muse-poem.el (muse-poem-tag): Ditto.

* lisp/muse-publish.el (muse-publish-markup-tags)
(muse-publish-markup-header-footer-tags): Shift 4th element to 5th
element and make 4th element determine whether tags are nestable.
(muse-publish-goto-tag-end): New function that moves to the end of
a tag.  Handle nested tags when NESTED is non-nil.
(muse-publish-markup-tag): Call muse-publish-goto-tag-end.  Use
5th element for function.
(muse-publish-quote-tag): Handle nested quote tags.  I've tested
this on several scenarios, and it seems to work.

* muse.texi (Markup Tags): Mention nestable tags.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-214
ChangeLog
NEWS
lisp/muse-groff.el
lisp/muse-html.el
lisp/muse-journal.el
lisp/muse-latex2png.el
lisp/muse-poem.el
lisp/muse-publish.el
muse.texi