RE: How to use short dashes in program listings?

2011-08-06 Thread Helge Hafting
I don't understand why the minus sign - isn't properly converted by latex. Is there a way to correct this without escaping to latex, as you suggested? This does not happen with program listings when I try. The -- construct becomes a long dash only in plain text, not in listings. There are

RE: How to use short dashes in program listings?

2011-08-06 Thread Helge Hafting
I don't understand why the minus sign - isn't properly converted by latex. Is there a way to correct this without escaping to latex, as you suggested? This does not happen with program listings when I try. The -- construct becomes a long dash only in plain text, not in listings. There are

RE: How to use short dashes in program listings?

2011-08-06 Thread Helge Hafting
>I don't understand why the minus sign "-" isn't properly converted by latex. >Is there a way to correct this without escaping to latex, as you suggested? This does not happen with program listings when I try. The "--" construct becomes a long dash only in plain text, not in listings. There are

Re: How to use short dashes in program listings?

2011-08-04 Thread Rodrigo Fresneda
Hi, I don't understand why the minus sign - isn't properly converted by latex. Is there a way to correct this without escaping to latex, as you suggested? best regards, rodrigo. On Sat, Dec 11, 2010 at 3:26 PM, Paul A. Rubin ru...@msu.edu wrote: Nikos Chantziaras realnc at arcor.de writes:

Re: How to use short dashes in program listings?

2011-08-04 Thread Rodrigo Fresneda
Hi, I don't understand why the minus sign - isn't properly converted by latex. Is there a way to correct this without escaping to latex, as you suggested? best regards, rodrigo. On Sat, Dec 11, 2010 at 3:26 PM, Paul A. Rubin ru...@msu.edu wrote: Nikos Chantziaras realnc at arcor.de writes:

Re: How to use short dashes in program listings?

2011-08-04 Thread Rodrigo Fresneda
Hi, I don't understand why the minus sign "-" isn't properly converted by latex. Is there a way to correct this without escaping to latex, as you suggested? best regards, rodrigo. On Sat, Dec 11, 2010 at 3:26 PM, Paul A. Rubin wrote: > Nikos Chantziaras arcor.de> writes: > >

Re: How to use short dashes in program listings?

2010-12-11 Thread Paul A . Rubin
Nikos Chantziaras realnc at arcor.de writes: When inserting a program listing, all - characters in the source code are converted to long dashes. This results in the C operator -- looking more like a single long line rather than two dashes. (There is some space between each dash, but

Re: How to use short dashes in program listings?

2010-12-11 Thread Paul A . Rubin
Nikos Chantziaras realnc at arcor.de writes: When inserting a program listing, all - characters in the source code are converted to long dashes. This results in the C operator -- looking more like a single long line rather than two dashes. (There is some space between each dash, but

Re: How to use short dashes in program listings?

2010-12-11 Thread Paul A . Rubin
Nikos Chantziaras arcor.de> writes: > > When inserting a program listing, all "-" characters in the source code > are converted to long dashes. This results in the C operator "--" > looking more like a single long line rather than two dashes. (There is > some space between each dash, but

How to use short dashes in program listings?

2010-12-07 Thread Nikos Chantziaras
When inserting a program listing, all - characters in the source code are converted to long dashes. This results in the C operator -- looking more like a single long line rather than two dashes. (There is some space between each dash, but it's so small it only becomes obvious when zooming

How to use short dashes in program listings?

2010-12-07 Thread Nikos Chantziaras
When inserting a program listing, all - characters in the source code are converted to long dashes. This results in the C operator -- looking more like a single long line rather than two dashes. (There is some space between each dash, but it's so small it only becomes obvious when zooming

How to use short dashes in program listings?

2010-12-07 Thread Nikos Chantziaras
When inserting a program listing, all "-" characters in the source code are converted to long dashes. This results in the C operator "--" looking more like a single long line rather than two dashes. (There is some space between each dash, but it's so small it only becomes obvious when