Thanks for suggestion. But is it really necessary? Is the dash Unicode character? I am writing the document in English. Is the Unicode support necessary in that case? I am trying to understand what causes such a behavior. Well, if I remove the dash characters from the Program Listing it works perfectly!
BR Piotr -----Original Message----- From: news [mailto:n...@ger.gmane.org] On Behalf Of Guenter Milde Sent: Sunday, January 17, 2010 8:53 PM To: lyx-users@lists.lyx.org Subject: Re: Problem with the dash in the listings On 2010-01-17, Piotrek wrote: > Hmm after checking the other then typewriter fonts types I found that > the problem does exist only because I have set the Default Family as > Roman and Roman to Times Roman in the document settings. However, I > must keep this settings - any idea how to use the dash with default > family Times Roman in listings? You might try with TeX-Gyre Termes, a Times-clone with wide Unicode coverage. Günter