>>>>> "Bruce" == Bruce Momjian <[EMAIL PROTECTED]> writes:

>> >>>>> "Bruce" == Bruce Momjian <[EMAIL PROTECTED]> writes:
>> 
Bruce> I am wondering why LyX uses the non-wrapping space ~ in
Bruce> TeX-style areas?
>>  I am not sure I understand what you mean? Could you send the
>> original lyx file and the faulty output you get?

Bruce> I am sorry. I am very stupid about getting my mode names right.
Bruce> My problem is with:

Bruce> \family typewriter SELECT city FROM friends \family default

Bruce> This code is the one that gets translated to:

Bruce> SELECT~city~FROM~friends

Bruce> and when this text is part of a paragraph, no wrapping can
Bruce> occur within this text. That is my problem. My patch prevents ~
Bruce> translation for 'typewriter' mode, not TeX mode as I state.

OK, the right solution is probably to test on the FreeSpacing property
of a layout, instead of tt font: this is the one which controls
whether multiple consecutive spaces are allowed. Or I could add a new
tag just for that.

Comments?

JMarc

Reply via email to