The branch, master, has been updated. - Log -----------------------------------------------------------------
commit 096de4d82c34aa573e5cb08122f20fde06fe6cf7 Author: Richard Heck <[email protected]> Date: Mon Mar 18 18:46:08 2013 -0400 We don't need to reset counters we aren't using. diff --git a/src/Buffer.cpp b/src/Buffer.cpp index b621365..2455b80 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -1900,7 +1900,9 @@ void Buffer::writeLyXHTMLSource(odocstream & os, if (output_body_tag) os << "<body>\n"; XHTMLStream xs(os); - params().documentClass().counters().reset(); + if (output != IncludedFile) + // if we're an included file, the counters are in the master. + params().documentClass().counters().reset(); xhtmlParagraphs(text(), *this, xs, runparams); if (output_body_tag) os << "</body>\n"; ----------------------------------------------------------------------- Summary of changes: src/Buffer.cpp | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) hooks/post-receive -- The LyX Source Repository
