title: How do you display straight quotes instead of curly quotes when using LaTeX's 'listings' package?
body: <p>I'm using <a href="http://www.latex-project.org/" rel="noreferrer">LaTeX</a>'s "<a href="http://en.wikibooks.org/wiki/LaTeX/Packages/Listings" rel="noreferrer">listings</a>" package to format source code. Unfortunately I get curly quotes instead of straight quotes. Since the curly quotes don't always point in the right direction, it looks bad. How can I get straight quotes instead?</p>
  
  <p>I'd prefer not to change or filter the source code itself. Filtering the code to properly change " to `` or '' would work, but this is easier done than said with multiple quotes on a line, or quotes spanning multiple lines. Or you could use symbol or a host of other things. But I'd really like to keep the source unchanged.</p>
  
  <p>Example LaTeX:</p>
  
  <pre><code>\documentclass{article}
  \usepackage{listings}
  \begin{document}
  \begin{lstlisting}
  Fahrenheit=input("What is the Fahrenheit temperature?")
  Celsius=(5.0/9.0)*(Fahrenheit-32)
  print"The temperature is",Celsius,"degrees Celsius"
  \end{lstlisting}
  \end{document}
  </code></pre>
  
  <p>Example output (using <a href="http://miktex.org/" rel="noreferrer">Miktex</a> on windows):
  <img src="https://farm4.static.flickr.com/3450/3186136899_306b443283_o.png" alt="Image of source code"></p>
  
  <p>(<a href="https://farm4.static.flickr.com/3450/3186136899_306b443283_o.png" rel="noreferrer">Direct link to image of incorrect output</a>)</p>