-
-
Notifications
You must be signed in to change notification settings - Fork 970
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
raw_attribute in header-includes #1729
Comments
I think this relates to the change in 5499ec6 to fix #1359 regarding how papaja could also adapt to the new rmarkdown header processing as not sure what is the best choices here... 🤔 If I may @crsh, I add you to this discussion as you are the author of papaja and also the one who opend issue #1359 in the first place. |
I became aware of this problem while working on another issue (rstudio/rticles#257) last week. I think I'm in a dilemma now. Comparing this issue with #1359, I feel the latter is worse and harder to fix, so I tend to say that we'll have to drop the support for raw blocks in I'll think more about it. Thanks for the report! |
I just pushed a fix for this problem (by removing |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
With rmarkdown version 1.18 the one can no longer use the
raw_attribute
extension when specifying aheader-includes
:The ccontent of
header-includes
is copied verbatim to the TeX file which leads to aIt works when one uses the more conventional
However, the pandoc manual actually advertises the use of raw-headers in the meta data block.
Note: This is motivated by trying to answer https://stackoverflow.com/questions/59245638/latex-error-environment-threeparttable-undefined. It seems the
papaja
package uses raw-headers.Created on 2019-12-09 by the reprex package (v0.3.0)
By filing an issue to this repo, I promise that
xfun::session_info('rmarkdown')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/rmarkdown')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: