The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit 7af6a7b91093b797f821c7206fb3d083758fcbfc
Author: Juergen Spitzmueller <[email protected]>
Date:   Mon Dec 24 13:02:24 2012 +0100

    fix latexArgInsets for sequences qith nested paragraphs

diff --git a/src/output_latex.cpp b/src/output_latex.cpp
index 3f6b44e..62d7b45 100644
--- a/src/output_latex.cpp
+++ b/src/output_latex.cpp
@@ -444,8 +444,10 @@ void latexArgInsets(ParagraphList const & pars, 
ParagraphList::const_iterator pi
        ParagraphList::const_iterator spit = boost::prior(pit, offset);
 
        for (; spit != pars.end(); ++spit) {
-               if (spit->layout() != current_layout)
+               if (spit->layout() != current_layout || spit->params().depth() 
< current_depth)
                        break;
+               if (spit->params().depth() > current_depth)
+                       continue;
                InsetList::const_iterator it = spit->insetList().begin();
                InsetList::const_iterator end = spit->insetList().end();
                for (; it != end; ++it) {

-----------------------------------------------------------------------

Summary of changes:
 src/output_latex.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to