On Wed, 25 May 2005, G. Milde wrote:

> On 24.05.05, Sven Schreiber wrote:
> > Martin A. Hansen wrote:
> > 
> > > but if lyx already removes double-spaces, when why not remove space
> > > before , . : ; etc.?
> > 
> > Because going from one to two spaces is a matter of degree and --given
> > that the space length is usually variable in latex, at least for
> > justified text-- indicates that the user is using blanks as a
> > quick-and-especially-dirty shortcut for layout.
> > 
> > In contrast, going from zero to one blank is like 1:\infty and arguably
> > a qualitative difference, rather than only a quantitative one. It is not
> > a matter of dirty layout tricks.

Here's an alternative take on this problem. Why not use 'chktex' or a
similar approach. For those who don't know 'chktex', it's a parser that
detects common errors and mistakes, and it works with lyx if you have it
installed. (Under Edit->CheckTeX I think).

Anyway, the idea would be to run a tool separately in order to go through
your document looking for situations such as "bla bla . Bla bla". The
point is of course that you'd manually invoke the tool, rather than have
it do substitutations as you type or paste.

>From a UI perspective, perhaps this could be considered as a very special 
case of spell checking?

cheers
Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr


Reply via email to