I’m a bit puzzled with substitutions. I have an uppercase typeface, where K R can act as initial forms (calt01) having their legs under the next character (calt02)
sub [K R]’ [A H I K N R] by [K.calt01 R.calt01];
sub [K.calt01 R.calt01] [A H I K N R]’ by [A.calt02 H.calt02 I.calt02 K.calt02 N.calt02 R.calt02];
Everything well with current sentence until I want to add ‘medi’ forms between them (calt03)
sub [K R]’ [A H I K N R] by [K.calt01 R.calt01];
sub [K.calt01 R.calt01] [K R]’ [A H I K N R] by [K.calt03 R.calt03];
sub [K.calt01 R.calt01] [A H I K N R]’ by [A.calt02 H.calt02 I.calt02 K.calt02 N.calt02 R.calt02];
But this is not working. Should I use lookups for that?