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

Quarto PDF docs take 2 #1555

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Quarto PDF docs take 2 #1555

wants to merge 1 commit into from

Conversation

visr
Copy link
Member

@visr visr commented Jun 13, 2024

Part of #666, does not automatically build yet or is included in release assets. Supersedes #1298.

For this we need to wait on the conda-forge release of Quarto 1.5, which is currently a release candidate. Otherwise it fails as mentioned here.

Use this to render:

pixi run --environment=dev quarto render docs --profile manual --to pdf

Only since the Quarto 1.5 RC is not in conda-forge, I have to remove pixi run, causing issues of not being able to find Python. So I didn't test if this worked on all content, just some parts.

Some more references in case someone wants to try this:
https://quarto.org/docs/books/
https://quarto.org/docs/reference/formats/pdf.html
https://quarto.org/docs/reference/projects/books.html
https://github.com/Deltares/iMOD-Documentation
https://github.com/Deltares/iMOD-Documentation/blob/main/docs/_quarto-manual.yml

@visr visr mentioned this pull request Jun 13, 2024
@asinghvi17
Copy link

PumasAI/QuartoNotebookRunner.jl#135 may be interesting to you if using the Julia engine, we might start using it in https://github.com/geocompx/geocompjl pretty soon as well.

It basically allows the code in the cell to determine the number and contents of outputs, so it can even output things like a tabset. Useful if you want to show parameters programmatically without having to manually create the tabset...

@visr
Copy link
Member Author

visr commented Sep 24, 2024

Thanks for the suggestion @asinghvi17! Looking forward to the geocompjl book. In our Quarto project we have a mix of Julia and Python code. I think we therefore cannot use QuartoNotebookRunner and have to stay with jupyter.

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

Successfully merging this pull request may close these issues.

2 participants