muse-latex: Make publishing of <contents> tags optional.
commit17a2abcc17edb7af69fb74305a711feca968af4e
authorMichael Olson <mwolson@gnu.org>
Sat, 8 Jul 2006 20:38:12 +0000 (8 20:38 +0000)
committerMichael Olson <mwolson@gnu.org>
Sat, 8 Jul 2006 20:38:12 +0000 (8 20:38 +0000)
tree4ec77b62abf35f24443e624c09b8dd14279a3b18
parent8d21c1ebd69ab07d288fa61c77177eef15ca3632
muse-latex: Make publishing of <contents> tags optional.

* lisp/muse-html.el (muse-html-insert-contents): Use nreverse rather than
  reverse for a minor speed boost.

* lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header): Only
  insert a table of contents when muse-latex-permit-contents-tag is nil.
  (muse-latexcjk-header): Make comments do the right thing.
  (muse-latex-permit-contents-tag): New option that specifies whether we
  should take action on the <contents> tag.
  (muse-latex-finalize-buffer): If muse-latex-permit-contents-tag is
  non-nil, publish a table of contents in the place where the <contents>
  tag is.

* muse.texi (LaTeX): Bring up-to-date with new options.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-162
ChangeLog
lisp/muse-html.el
lisp/muse-latex.el
muse.texi