-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subscript in italics bug #1767
Comments
Works for me with with pandoc 1.13.1 (either going straight to pdf or to tex and then compiling by hand). Which version of pandoc? And what's the output of
|
Hmm. I'm using pandoc 1.13.1. I get what I should in terminal:
But when trying in a document (using vim 7.4 and vim-pandoc, though I've tried this in Sublime Text 3 as well) I get
pandoc: Error producing PDF from TeX source I've tried this with a couple different documents. Any ideas? |
Not sure how those text editors do it. Does the entire document compile to pdf correctly from the command line? |
It doesn't compile from the command line either and gives the same error. I'll have to see if there is perhaps something up with the template. |
Oh, yeah -- good point. Could you post the standalone tex output with whatever your default template is? |
Here is the preamble plus a relevant bit with the subscript output (see the end) that's causing the problem. \documentclass[, 11pt]{article} \usepackage{amssymb,amsmath} %VARIABLE OPTIONS %BEAMER \usepackage{url} %PACKAGES %LAYOUT SETTINGS %symbol footnote flag, helpful for epigraph note \addtolength{\footskip}{0.5cm} \newfontface\smallcapsfont[Scale=0.75,LetterSpace=3.0]{Optima} %PAGE STYLE \chead{} \lfoot{\today} %\makeatother %HEADER VARIABLES \pretitle{\begin{flushleft}\huge} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} \maketitle \begin{abstract} \noindent \footnotesize{I argue that Kant's attempts to secure the possibility of freedom via \end{abstract} %\renewcommand\tableofcontents %SPACING \section{Introduction}\label{introduction} In a note from 1797 Kant says that \begin{quote} \noindent As Kant makes clear here, he construes the ideality of space \begin{quote} \noindent Here Kant juxtaposes his own transcendental idealism with a \begin{quote} \end{document} |
The document works with the template in jam/pandoc-templates. So there must be a conflict with a package or something. I'll try to hunt it down. |
I think you need |
Ah, yep. In the description of the problems fixed by
I assume the same goes for subscripts etc. |
Yep. That fixed it. Thanks for your help! |
It seems that writing something like
produces an error in Latex. It has to read
instead.
The text was updated successfully, but these errors were encountered: