-
Notifications
You must be signed in to change notification settings - Fork 36
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
Can't render #4
Comments
Sorry to hear you're having issues with it. There isn't quite enough information here to help diagnose the problem:
The What do you mean by |
I still can't reproduce your error unfortunately. Can you please confirm that your directory structure looks like the example here: https://github.com/nrennie/quarto-examples/tree/main/PrettyPDF%20Example Can you render the |
I still can't figure out what the problem is. I have the extensions folder correctly installed in the root directory, and am trying to generate a PrettyPDF-typst file from the front matter of an index.qmd file. You can take a look at the repo here: mroberts1/entangled-lives. The error I'm getting now is about a duplicate title entry - the problem is that the subtitle is being read as a duplicate title. I checked typst-show.typ but the subtitle field appears to be correct, so I don't know why my subtitle field isn't being parsed correctly. |
I've had a look at the GitHub repo you shared, I can't render it at all since the The subtitle doesn't render for me in normal Typst output:
as a minimum reproducible example, you'll see that the subtitle doesn't appear but there is no error. Reprex of your problem:
fails with duplicate title warning. I've removed any references to subtitle in the extension to get rid of the error (the subtitle still won't show as it doesn't in Typst, but it shouldn't error any more). Can you try re-installing the extension, and re-rendering? The updated version of PrettyPDF should now give the same behaviour for I'll put subtitle support on the to-do list once it's a bit more stable in Typst - see #4 |
It just keeps erroring this:
The install process is confusing - is the PrettyPDF directory (or the nrennie directory?) supposed to be in the main directory of the Quarto project? In the _extensions directory in the project directory? In the quarto-ext directory inside _extensions?
And where is the PrettyPDF.qmd template supposed to be?
UPDATE: I can render the PrettyPDF.qmd template, from a subdirectory I created called PrettyPDF in the main project directory. It contains the template and an _extensions folder containing the nrennie folder. However, I am unable to render any .qmd files in the main project directory, even when copied into PrettyPDF.
The text was updated successfully, but these errors were encountered: