4 Apr
2008
4 Apr
'08
8:03 p.m.
On Fri, Apr 04 2008, Aditya Mahajan wrote:
function add_ties(line) line = line:gsub('( %a) ', '%1~') line = line:gsub('^(%a) ', '%1~') line = line:gsub('( %a)$', '%1~%%') return line end
Not working: $a = b + c$.
How about substituting with a macro \nonbreakbablespace (instead of ~) and redefining \nonbreakablespace to \relax using \everymathematics or \mathortext?
Even better of course! Peter -- http://pmrb.free.fr/contact/