Thanks a lot! On Sat, Jan 10, 2015 at 11:58 PM, LyX Ticket Tracker <t...@lyx.org> wrote:
> #9378: Bad appendix sections numbering using branches > -------------------------+------------------------- > Reporter: nicolasLS | Owner: lasgouttes > Type: enhancement | Status: closed > Priority: normal | Milestone: > Component: general | Version: 2.1.2 > Severity: normal | Resolution: worksforme > Keywords: | > -------------------------+------------------------- > Changes (by rgheck): > > * status: new => closed > * resolution: => worksforme > > > Comment: > > Yes, I can see why one might want that, but that's not what branches are > designed to do. > > Come to think of it, the way to get what you want is to include the online > appendix as a child document. You can then go to Document> Settings> Child > Documents and choose to include it or not. If you check "Maintain counters > and references", then all will be as it should be. Basically what happens > is that LaTeX compiles the document once with everything included, to > generate the aux file, then compiles with only what you want included, but > uses the aux file from the first run for cross-references. > > So I'm going to close this, since we do have a way of doing what you want. > > -- > Ticket URL: <http://www.lyx.org/trac/ticket/9378#comment:5> > The LyX Project <http://www.lyx.org/> > LyX -- The Document Processor >