Skip to content

Custom Environment Inline R code or nested chunks #924

@tchevri

Description

@tchevri

Hi folks, so sorry to disturb again.

  1. Thanks so much for helping with bookdown/issues/883, which worked for me and resolved the issue.
  2. I posted on SO over a week ago, but seem to be getting very little traffic on my question. So i'd like to push it here, if you do not mind, please. stackoverflow.com/bookdown-proof-custom-environment-how-to-nest-code-chunks-or-inline-r-inside
    From my search, I believe and it looks like a lot of people have been looking for similar things over the years....

As I posted there in the comments, I don't know if a child document or more likely a lua filter approach would work - despite using XieYiHui's awesome code for so many years now, I am still a total newbie unfortunately. Therefore, your expert help is all the more appreciated. My only goal is to produce a book that can compile in pdf, epub, and html, BUT produce slides at the same time... in the original spirit of beamer...


By filing an issue to this repo, I promise that

  • I have fully read the issue guide at https://yihui.org/issue/.
  • I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('bookdown'). 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/bookdown').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions