Dnia Fri, Apr 04, 2008 at 09:50:55AM +0200, Hans Hagen napisał(a):
Marcin Borkowski wrote:
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.
input parsing is not needed here, it's easier to to do this on the node list; remind me in a few months (it's rather trivial to implmenent since the infrastructure is already in mkiv)
Thanks a lot;). I've set up a reminder in 3 months' time;).
Hans
-- Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl)