This is a similar question to How to get straight quotation marks?, but in my case, I want literal ' and " marks to stay that way, as I use Unicode curly quotes when I want curly quotes. Is there a simple header option to make this happen? I’m using LuaTeX and fontspec
.
(Background: I’m using Emacs to export existing Org documents—written, not by me, with straight quotes only—as PDFs. When I did this with the default PDFLaTeX setup, Unicode special characters (not quotes, but other special characters) wouldn’t render. So I changed the compiler to LuaTeX and found a way to add \usepackage{fontspec}
and \setmainfont{Linux Libertine O}
to my documents’ header options, and now Unicode special characters work, but every straight quote is rendered as a closing curly quote. This is simply too much for my autistic sensibilities!)