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

thesisdown::thesis_pdf required #163

Open
paezha opened this issue Sep 6, 2021 · 0 comments
Open

thesisdown::thesis_pdf required #163

paezha opened this issue Sep 6, 2021 · 0 comments

Comments

@paezha
Copy link
Contributor

paezha commented Sep 6, 2021

I noticed that a few of the packages adapted from thesisdown use in the yaml of their skeleton.Rmd file the following:

output: 
   thesisdown::thesis_pdf: default 

This requires thesisdown to be installed. I am trying to make my package self-contained, but when I change the output to:

output: 
   macdown::thesis_pdf: default 

The tex file generated does not have a complete path to the figures: instead of _bookdown_files\thesis_files\figure-latex it is only thesis_files\figure-latex (despite the thesis.R file including a macdown::thesis_pdf() function, similar to thesisdown).

At the moment, I resorted to declare a dependency to thesisdown, and this solves my issue, but I am curious about the behavior of the intermediate tex file. Why does the tex file think it is inside _bookdown_files?

Any help would be appreciated.

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

No branches or pull requests

2 participants