On 18/09/2011 11:55 PM, Manveru wrote:
2011/9/18 Julien Rioux<jri...@physics.utoronto.ca>:
On 18/09/2011 10:24 PM, Manveru wrote:

Hi,

If I select whole chapter from outline pane and select to insert a
branch, which is disabled, then empty chapters are left which goes
into output. How to clean them up? I need whole chapters but I do not
need artefacts leaved when branches are disabled. Is it a bug in
2.0.1? Document class chosen is mwbook.

Additionally, branches cannot be named with spaces inside - something
wrong happens with them if they contain spaces. However they are
allowed to be entered on creation.

Is the branch inset in a standard environment or in Chapter environment?

It seems that by default, if the branch will contain whole chapter, it
is inserted into chapter. I was spent thirty minutes to figure out how
to delete these unwanted chapters, as they are immune to delete and
backspace.

I had to cut (Ctrl-X) whole branch, move it up into standard
evironment of previous chapter, and then paste (Ctrl-V).


Glad you got it fixed. Does it work also if you position the cursor ahead of the branch and select the Standard environment from the dropdown? I would think it should work.

Such additional experiments expected from the user to clean thing up
does not seem to be a wanted feature of the application.


I guess the cursor was in Chapter environment when you did Insert > Branch. Then the branch resides inside a Chapter environment. There is a reasonable chance that this is actually what you want.

So, should LyX do better by guessing that you want to do with the branch based on the current selection? Something like, if the selection involves the whole of an environment, or more than one environment, put the branch in a Standard environment.

--
Julien

Reply via email to