Le 27 janv. 2011 à 21:46, Enrico Forestieri a écrit :
> My question is: should we accept the insertion of the extra spaces
> or should we do the right but ugly thing?
> 
> I need an answer to this question before going on with the patch,
> because the answer will affect the way the otexstream class has to
> decide whether a newline can be output (and how it has to be output)
> in certain cases.

My take on it is that environments are not supposed in general to be 
output inside of a line, so that extra spaces are OK. I am against
adding % in a lot of places just to guard against badly written code.

If a given environment is supposed to be used inline, its author should
make the effort to get it right.
(meaning we can maybe add \ignorespace to several of our macros)

Line spacing (paragraph breaks) are more important for environments IMO, but
this is what you are doing already with your patch.

So what I would like is to have by default the type of LaTeX code most people 
write,
i.e. without any pesky % before line breaks.

We should maybe have a tag 'Display 1' indicating whether an environment stands 
on its own (like lists) or not.

JMarc

Reply via email to