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 I create a self-contained HTML and remove the _book folder or move it to another directory, the content is ok, but the layout is strange with two scrollbars:
---
title: "Authoring A Book with R Markdown"
date: "`r Sys.Date()`"
author: "Dieter Menne"
knit: "bookdown::render_book"
output:
bookdown::gitbook:
self_contained: true
---
# Index
You were looking at the wrong output, and the actual output files are in the _book directory. dieter-bookdown.html was only the intermediate HTML file that I forgot to delete (now it will be deleted).
Activity
yihui commentedon Mar 24, 2016
You were looking at the wrong output, and the actual output files are in the
_bookdirectory.dieter-bookdown.htmlwas only the intermediate HTML file that I forgot to delete (now it will be deleted).Please see http://rstudio.github.io/bookdown/a-single-document.html and typically you are not recommended to use
self_contained = TRUEfor gitbook output for reasons explained at http://rstudio.github.io/bookdown/html.html (search forself_contained). Also note MathJax may not work whenself_contained = TRUE.github-actions commentedon Nov 6, 2020
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.