Paul Johnson wrote:
Hi! I'm running LyX 1.6.1 on a variety of Linux platforms.
I never used branches before, but now I'm trying to use a branch in a
book project I'm writing. I hope you find it entertaining that my book
is called "Stuff Worth Knowing (And Not Much More)". It includes tips
for people who are beginning a graduate career in research.
In the various child documents, I have questions and want to put
answers in a separate branch so that I can separately print out an
Instructor's manual.
Here are some of the questions I have.
1. Viewing the whole book from the master document does display the
answer branch. However, when viewing the child documents
individually, the branches do not show, even if they are enabled in
both the master and the child. Have you seen this?
Gunter Milde reported a similar problem, now in bugzilla as 5851, I
think. But I couldn't reproduce it. If you can give me example files
that cause the problem, then I'll have a chance.
2. I see some weird, unpredictable behaviors in the use of branches.
If I highlight a whole branch box and copy it and paste it, then LyX
sometimes crashes and leaves this in the terminal:
I think Gunter also reported this one. It'll be fixed in 1.6.2 (and is
already fixed in svn).
As far as I can see, this happens only in a child document, not in the
master document of the book.
Yup.
I will share the source code to anybody who wants to investigate this.
There is one significant complication. The master document uses some
Noweb/Rweave functionality and so people who don't have the Sweave
class and R installed won't be able to process the master document.
However, this crash can be reproduced even when are only working in a
child document that does not require Sweave.
It's important to get "minimal" examples of the problem, else it's hard
to pinpoint the real source.
rh
pj