[EMAIL PROTECTED] wrote:
Author: lasgouttes
Date: Wed Apr 23 12:55:51 2008
New Revision: 24475

URL: http://www.lyx.org/trac/changeset/24475
Log:
        * Inset.h (producesOutput): new mvirtual method, returning true by
        default
        * InsetNote.h (producesOutput): always return false.
* InsetBranch.h (producesOutput): returns true if the branch is selected.

        * InsetBranch.cpp (updateLabels):
        * InsetNote.cpp (updateLabels): remove

        * InsetText.cpp (updateLabels): honor producesOutput().

I believe this may fix a bug that had to do with the numbering of sections included in inactive branches. I.e.: LyX numbers the subsequent sections as if they were active. (Of course, the output is correct.) If not, that ought to be easy to fix at this point, though I'm not sure what we ought to about numbering those sections. Maybe just "?"?

rh

Reply via email to