-
Notifications
You must be signed in to change notification settings - Fork 14
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
Math not rendering correctly in pdf #5
Comments
I'll check this out. It should definitely render fine in the pdf. |
Ok, this is very strange. Something in the cls file, which I didn't write, is causing a problem with the xelatex engine and causing it not to recognize that amsmath package is loaded. In
However I am not sure you have pdflatex. I am not sure that it comes by default with tinytex. I will try to figure out what in the (huge) cls file is causing xelatex to do this. |
Found the problem! I should have found it sooner since I have actually fixed a similar problem before for another Quarto extension. The
I have commented that out and pushed the fix to GitHub. You can update the extension or just go into that file and delete or comment out that line. It is used for international letters, but Quarto should take care of that with its tex headers. |
Thanks for giving this a look. This bug is really strange. I found
I don't know if it's worth reopening the issue because the use of |
Those should render fine in pdf so I am reopening. I tried running in just a default Quarto doc, so no cls file. The So for quarto-thesis, the issue is the
xelatex is more picky than pdflatex about font conflicts and it didn't like this. Using Palatino in math is weird anyhow, to I deleted that. Now |
|
Description
Hi @eeholmes, I inserted a basic equation into the template Chapter 1. It renders fine on quarto equation preview in VSCode, but it does not render in the pdf. If I change the output to html, the equation renders as expected.
Steps to Reproduce
Does quarto not natively support math such as
\int
?From html output:
From pdf:
The text was updated successfully, but these errors were encountered: