Skip to content
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

Formula will not display in PDF export #1

Closed
shuozhifenxi opened this issue Mar 30, 2012 · 2 comments
Closed

Formula will not display in PDF export #1

shuozhifenxi opened this issue Mar 30, 2012 · 2 comments
Assignees

Comments

@shuozhifenxi
Copy link

The formula is no problem in the wiki page and preview.

But when I get the PDF export from the wiki page, the formula will not display correctly. (Olny script for the formula appear in the PDF file)

Could you fix this please?

And this is great plugin. Thank you for this great job

@mboratko
Copy link
Owner

How are you exporting to PDF? If you are using some sort of link on the wiki page, as is described here, then it is not going to work. If, on the other hand, you use a local PDF printer, it should work no problem.

Unfortunately the first case is too difficult to fix. It would involve changing the way Mathjax works, and that's outside the scope of what this plugin is for. Mathjax uses client-side javascript to change the LaTeX code. The PDF generator is a server-side program, so it will not run the javascript, and therefore will never see the changes Mathjax makes.

If you run Windows you can download a free PDF printer here: http://www.cutepdf.com/. If you run OS X, I believe it has a PDF printer already included (or maybe a "Save to PDF" option when you bring up the print dialog). If you run Linux then I'm sure you've got it covered.

@ghost ghost assigned mboratko Mar 30, 2012
@shuozhifenxi
Copy link
Author

Thank you very much for so rapid response.

I tried the first way to get the PDF. Now I know the right way to do it.

Thank you again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants