Mostafa Vahedi schrieb:
But if you put the command "\TOCLanguage{farsi}" then if you do not put "\selectlanguage{farsi}" as the first command after the "\begin{document}" or in other words as an ERT at the first line of the document then you will receive several complains from LyX about some undefined characters.
Wit my latest patch I just sent I can really see no difference with or without a first ERT \selectlanguage command. Could you please check this again with my latest patch. If you still see a difference, please tell me exactly what it is.
regards Uwe