by buttproblem · 13y ago · 0 comments
> Computer scientists and documentation writers, take note: straight quotes and backticks in software code should never be converted to curly quotes. Those marks are, of course, part of the functional syntax of the code and must be reproduced literally. While fans of LaTeX have often written me to trumpet its typesetting superiority, I’ve never seen any LaTeX-created documentation that’s gotten this right.
As a LaTeX user (and not a very good one) I'm not too sure what I've been doing wrong.
\usepackage{listings}
\usepackage{textcomp}
... upquote=true ...
You have been doing nothing wrong. http://www.read.seas.harvard.edu/~kohler/latex.html