Re: [Groff] environment copy

2016-10-17 Thread Werner LEMBERG
> Perhaps the current solution of simply clearing the line is the most > pragmatic, because users can always flush an existing partial line > themselves before invoking .evc. I agree, so we have a documentation buglet. Werner

Re: [Groff] environment copy

2016-10-17 Thread Tadziu Hoffmann
> (Would this cause problems? The line should be initialized > when creating the environment, so not setting it to zero > in copy should not cause anything to be undefined, no?) Hmmm, it's more complicated... if we already have a partially collected line, and the line length changes because of .

Re: [Groff] environment copy

2016-10-17 Thread Tadziu Hoffmann
> Why are the partial lines of environment 0 droped after the .evc? The info file doesn't say what happens to the partially collected line, but in the source code it is nullified (void environment::copy in file env.cpp). If you comment out "line = 0;" it gets printed in the default point size, a

[Groff] environment copy

2016-10-17 Thread Bertrand Garrigues
Hi, I was trying to understand how environment switch and copy works. This example: .ev small .ps 6 .ev First partial line, in environment: \n[.ev] .ev small Second partial line, in environment: \n[.ev] .ev Third partial line, in environment: \n[.ev] .evc small Fourth partial line, in environmen