Well, I need to comment my sources. But when i'm writing a few words in comment in my native language, it transforms into one line without spaces in pdf (and it looks like '# with floating point' in .tex and '# withfloatingpoint' in .pdf). I couldn't find a solution so I chose verbatim .
But does it matter? Anyway, it gives me curly apostrophes even using listings. How to generate straight apostrophe using listings?
tedfflamp wrote:Well, I need to comment my sources. But when i'm writing a few words in comment in my native language, it transforms into one line without spaces in pdf (and it looks like '# with floating point' in .tex and '# withfloatingpoint' in .pdf). I couldn't find a solution so I chose verbatim. [...]
tedfflamp wrote:[...] But does it matter? Anyway, it gives me curly apostrophes even using listings. How to generate straight apostrophe using listings?
Seems to me more like a matter of the used font. Try mono spaced fonts like bera (beramono), inconsolata or luximono.