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

Alternative to relative paths to font / logo artifacts #2

Open
b-thorne opened this issue Oct 13, 2023 · 2 comments
Open

Alternative to relative paths to font / logo artifacts #2

b-thorne opened this issue Oct 13, 2023 · 2 comments
Assignees

Comments

@b-thorne
Copy link

Thanks for the extension. I am trying to use it to generate pdfs of reports from .qmd files in a hierarchy of directories. The paths for the fonts and logo.png artifacts in the PrettyPDF.tex file are treated as relative to the qmd file being processed. Since that relative path is not necessarily the same for each of my documents, the build fails to find the fonts and logo. Is there a way of fixing the latex paths to be relative to the root directory? Ideally I wouldn't have to hard code them for my system as I would like to also use CI to build these files automatically.

@nrennie
Copy link
Owner

nrennie commented Oct 14, 2023

I think this is a general problem with a lot of Quarto extensions not working well with nested folders, but I'll have a better look at it next week when I have time.

@nrennie nrennie self-assigned this Oct 14, 2023
@nrennie
Copy link
Owner

nrennie commented Jun 11, 2024

One solution to using the same extension across multiple nested folders is Quarto projects: https://github.com/nrennie/quarto-examples/tree/main/Nested%20Folders

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