-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[FR] pdf_book compilation: for easier refactoring LaTeX chunks please remove _main.Rmd file #1460
Comments
Thanks for the suggestion.
About When setting in your delete_merged_file: true there should not be any blocking about re-rendering as the Is setting this configuration is helping for your workflow ? |
Hello, thanks for your reply! I do not have _bookdown.yaml file for this book because I chose a minimal bookdown template for PDF version of it. Nevertheless I put the line you suggested in YAML header of my index.Rmd file, and unfortunately did not get the desired effect. The thing is, I would like to keep a number of files as few as possible, because I already have many files and folders. Can you please tell me how it could be done without _bookdown.yaml? |
This is a config only valid when set in
If you don't want to store it, you could create one on the file before calling Hope this helps and you understand the limitation here. |
Hello Bookdown team!
Thanks for your work, it is much easier to create PDF files with Bookdown than with LaTeX!
However, sometimes I need to fix only LaTeX chunks. Unfortunately I did not find Bookdown error messages
useful for this. I know that omitting a $ symbol is one of most typical mistakes, but such advise could be wrong. (I personally never misplaced $ signs working with Rmarkdown. But this could be just me because I have 30 years of LaTeX experience.)
I'm recommended to check
_main.Rmd
file, which at this moment is a copy of my.Rmd
file with YAML header from myindex.Rmd
file. At the point my.log
file contains more information. So, to continue on my refactoring I need to remove_main.Rmd
manually, because otherwise I cannotknit
again. As result I accumulate a bunch of_main.Rmd
files in my Recycle Bin, and I should remove them manually, too. Once I had 40 files there!In the same time I noted that messing up Rmarkdown does not produce this file, and I can work without interruptions. So, I have a couple of suggestions:
_main.Rmd
file automatically after LaTeX errors.I appreciate the huge amount of work you do here!
Best regards,
Mya
The text was updated successfully, but these errors were encountered: