From 02fc07dfcff7f8c2e24afac34b7703ec79f6efd6 Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Wed, 9 Jul 2008 08:07:33 -0700 Subject: [PATCH] muse-latex: Fix publishing of tags inside of tags. * lisp/muse-latex.el (muse-latex-slide-tag): Make sure tags inside of a tag get published. Thanks to Philipp Grau for the report. --- ChangeLog | 6 ++++++ lisp/muse-latex.el | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8660e28..3cccbdc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-07-09 Michael Olson + + * lisp/muse-latex.el (muse-latex-slide-tag): Make sure tags inside + of a tag get published. Thanks to Philipp Grau for the + report. + 2008-05-18 Michael Olson * texi/muse.texi (Tag Summary): Document the
tag. diff --git a/lisp/muse-latex.el b/lisp/muse-latex.el index 5c048a4..fff2196 100644 --- a/lisp/muse-latex.el +++ b/lisp/muse-latex.el @@ -494,8 +494,9 @@ This is used by the slides and lecture-notes publishing styles." (muse-insert-markup "\\frametitle{") (insert title) (muse-insert-markup "}\n")) - (goto-char end) - (muse-insert-markup "\n\\end{frame}"))) + (save-excursion + (goto-char end) + (muse-insert-markup "\n\\end{frame}")))) ;;; Post-publishing functions -- 2.11.4.GIT