-
Notifications
You must be signed in to change notification settings - Fork 358
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
Chapter rendered in gitbook, not in pdf #149
Comments
That behavior is unexpected. Can you share a reproducible example? Including session info can help diagnose too. |
I tried to reproduce it in a simple new project and it didn't happen there. I then copied the original project (all the files) into the directory of this new project and knitted, and everything worked okay in this new copy of the project. Strangely, now the original copy won't render the thesis at all, giving the following error message:
This sometimes happened in other Rmarkdown projects and I had to migrate the project to a different file/location. Thanks again! Session info:
|
My #150 issue is also solved in the new copy directory . This seems to be a more general issue with Rmarkdown perhaps. |
Did you happen to have a |
I have a
What I find strange is that I'm getting different error messages/errors in rendering for the same project when copying the contents of the index directory to different directories. I tried to create a reproducible example but I'm not sure what it would consist of, given that it is not even reproducible on my own machine... I don't think however this problem is specific to thesisdown. I wonder if this is a more general issue with bookdown/rmarkdown. Are there perhaps hidden files that are generated in the process of rendering and that won't get copied if I copy the contents of a folder? I'm sorry if this deviates too much from the purpose of opening an issue here. |
I don't think there are any hidden files beyond pandoc and LaTeX installations. Maybe try it out on rstudio.cloud or a different computer if possible? |
Hi Chester, Sorry for taking me time with this. I have tried different things and I found that the issue is resolved when I delete the '_book' and '_bookdown_files' directories before knitting. In case someone ever reports a similar issue. Many thanks for all your help, |
Ah! I'm going to open this issue up again so I can look into adding in cleaning of thesis directories, which will likely help others too. Thanks, @matanmazor! |
To add a fourth chapter to my thesis, I simply created '04-chap4.Rmd' and placed it in the index directory. (I also pushed forward the numbers for appendix and conclusion). This chapter is rendered in gitbook, but ignored in pdf. Should I edit some other file to make it work in both?
Thanks!
The text was updated successfully, but these errors were encountered: