You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When printing just a single chapter with chapter_pdf(), the section titles of all the other chapters are included in addition and some 'placeholder' text is entered under some of these extra section titles. These extra section titles either should not appear or appear only in the table of contents printed at the start of the chapter preview.
Links:
The issue seems to stem from the bookdown function preview_chapter()Doc Here. The documentation, as well as previous issues, have mentionned it on Github and the response from Yi Hui is that this is done by design. Also see, this issue and this issue
The text was updated successfully, but these errors were encountered:
From where I stand, we have two options. Either leave the issue as is and let the user crop the previewed chapter pdf ex-post (to remove the titles and placeholders of the template) or we render just the chapter without the rest of the book which is less elegant in my opinion. I would favor the first option since the purpose of a preview is to preview hence, as Yihui points out in the documentation as well as here, there will be rough edges (aka the other unpreviewed chapters) when using this method.
@jhollway Did I understand your suggestion to use {rmarkdown} correctly?
When printing just a single chapter with
chapter_pdf()
, the section titles of all the other chapters are included in addition and some 'placeholder' text is entered under some of these extra section titles. These extra section titles either should not appear or appear only in the table of contents printed at the start of the chapter preview.Links:
The issue seems to stem from the bookdown function preview_chapter() Doc Here. The documentation, as well as previous issues, have mentionned it on Github and the response from Yi Hui is that this is done by design. Also see, this issue and this issue
The text was updated successfully, but these errors were encountered: