On Fri, Jan 12, 2001 at 05:32:46PM +0000, John Levon wrote:
> On Fri, 12 Jan 2001, Dekel Tsur wrote:
> > You can fix this by putting the following line in the preamble:
> > 
> > \AtBeginDocument{\def~{\nobreakspace{}}}
> > 
> 
> Is this the "official" solution, or is it actually a LyX bug that should
> be fixed ?
> 
> Is it related/the same as the spanish accent and protected blank bug ?
> 
> http://sourceforge.net/bugs/?func=detailbug&bug_id=125614&group_id=15212

Yes, this is the same "bug", but it not a bug in LyX, but a problem with the
Spanish babel file which redefine thes ~ char, and gives no way of
deactivating this brilliant feature (as far as I could tell).

Howeevr, I think that this problem should be automatically solved by LyX.
I can either add a Spanish specific code, or add an extra-options field in
the language class (are there any other cases in which some language
requires putting extra commands in the preamble ?).

PS: The solution I wrote above will not work in multi-lingual docs. Does
anyone have a better solution ?

Reply via email to