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) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________