-
Notifications
You must be signed in to change notification settings - Fork 2
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
Rendering to PDF #12
Comments
Hi! Thank you for the reporting! This is a known issue, and my lazy strategy around it would be to render html and Ctrl/Cmnd + P and print it to pdf. However, in order to render it beautifully to pdf, I need to write more or less the same package but using LaTeX... And I'm not sure, whether I want to... I wonder, whether author of webexercises created a trick for it... |
Hi!
I have tried to look at the source code of webexercises to understand how they did it and it seems that each question-type function has an ifelse function to check whether the document is being rendered to PDF or HTML to then adapt the code as necessary: https://github.com/PsyTeachR/webexercises/blob/main/R/webexercises_fns.R. |
I am a big fan of this package and have been using in an open textbook project written in Quarto. There are just a couple of issues that it would be fantastic to fix.
Many thanks for considering these two issues. I really like all the options of your package and have made use of most of them in my textbook draft so far!
The text was updated successfully, but these errors were encountered: