Mojca Miklavec wrote:
Hmmm ... pdfTeX with LM already replaces all occurencies of ij with an ij ligature (noticed when I took a look at the strange kerning between the two letters - not present with CM). :-Z
that uses lc codes, mkiv uses node list parsing; this is also robust for complex commands inside the conversion ... and mkiv works cross page -)
Consider the desired output of \Word{ijsselmeer} % example taken from wikipedia, I don't speak Dutch yet ;-) when writing in Dutch. (\mainlanguage[nl], not when writing in English) One might like to treat every ij as a single letter and then convert both I and J to uppercase when asked for that.
yes, but not i+j may be ij
I read that Dutch keyboard includes the ij digraph (ij), but the Croatian/Serbian keyboards don't include those digraphs and none of the cp1250 and iso-8859-2 encodings have it, so everyone writes with "plain latin letters" - I doubt that anyone uses digraphs at all. (It would be almost as obscure and inconvenient to write them as if someone tried to write with "fi" unicode ligatures.)
The main problem is that: - ligature lj is always lowercase - ligature Lj is uppercase, but only at the beginning of a word where other letters are lowercase (Ljubljana) - ligature LJ is uppercase, but only at the beginning of a word where other letters are uppercase (LJUBJANA)
well, in utf it should be ok, since then we use info from the tables 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 -----------------------------------------------------------------