Closed nbenn closed 2 years ago
Thanks for catching that up. I can reproduce and I need to look closer. I think this due to the indentation not being preserved while we are processing the code chunk source and outputs with knitr. We need a special processing which explain why there is not issue with default format.
I'll try to fix that quickly
Thanks. In case anyone else runs into this in the meantime, there's a temporary workaround outlined in #477.
This should now work ok in dev version of the package.
remotes::install_github("rstudio/rticles")
Thanks!
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.
Using the current
MyJSSArticle.Rmd
template, I run into an issue when nesting a code chunk with a list. The following markdown renders to tex as I'd expect:gives
However, when I try adding a code chunk (with 4 space indentation), the list is split:
now gives
This is not specific to JSS, but when trying out the
rjournal
template, the same behavior can be observed. Is this intentional or a bug?When using vanilla
pdf_document
, this of course behaves differently, the tex that is produced isBy filing an issue to this repo, I promise that
xfun::session_info('rticles')
. 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/rticles')
.I understand that my issue may be closed if I don't fulfill my promises.