Hi Christian, I tried the *, but still I am not getting the desired result. the the code below context $l"\X094D" @4* The above entry should check for a character followed by unicode character \X094d and then insert dot 4 followed by the character in the input. I will describe what I want once again. suppose the input stream is like the follwoing. \x0915\x094d\x0936 output should be \x094d\x0915\x0936 > From: christian.egli@xxxxxx > To: dineshkaushal@xxxxxxxxxxx > CC: liblouis-liblouisxml@xxxxxxxxxxxxx > Subject: [liblouis-liblouisxml] Re: translation rules > Date: Tue, 12 Jul 2011 16:35:12 +0200 > > Hi Dinesh > > Dinesh Kaushal <dineshkaushal@xxxxxxxxxxx> writes: > > > Halant has unicode value \X094D, so I tried something like the following. > > context $l"\x094d" [\X094D$l] > > But checktable shows the error "incorrect operator in action part, and I > > think, the > > reason according to liblouis guide is $l can not be applied in the action. > > I think that the problem is that the [ operator cannot be in the action > part. At least that's what I gather from reading the documentation[1]. I > think you want something along the lines of the * (asterisk) operator. > > Hope that helps > Christian > > Footnotes: > [1] > http://liblouis.googlecode.com/svn/documentation/liblouis.html#The-Context-and-Multipass-Opcodes > -- > Christian Egli > Swiss Library for the Blind, Visually Impaired and Print Disabled > Grubenstrasse 12, CH-8045 Zürich, Switzerland > > ----- > Viel Neues fuer Hoerspiel-Fans: Eine aktuelle Uebersicht des Angebots bei der > SBS finden Sie unter http://www.sbs.ch/hoerspiele . > For a description of the software, to download it and links to > project pages go to http://www.abilitiessoft.com