![](https://secure.gravatar.com/avatar/3d00fe874e15f123695d55bd77fae5e6.jpg?s=120&d=mm&r=g)
3 Apr
2008
3 Apr
'08
11:09 p.m.
Hello! I was just wondering, whether something like this is possible in luatex - and if not, if it might be implemented;). I'd like to be able to transform somehow the input right *before* TeX sees it. What I mean is e.g. a transformation using regexps. Application I have in mind is as follows: in Polish, there are a few prepositions which are one-letter words; it's a bad custom to leave them hanging at the end of a line. Such an option could automatically put ties (~) instead of spaces after them - a feature sometimes requested by Polish TeX users. Yours, -- Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl)