-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Formatting of the last element before a new section gets distorted in a GitBook. #662
Comments
Since you have already got the reproducible example in your hands, why not upload it as a zip file here? That way, I don't have to repeat the work that you have already done by following your steps: https://yihui.name/en/2018/06/copy-and-run/ Thanks! |
The project: At first, please, investigate contents of folder "_book" and compare the lists of references in Chapter 1 and Chapter 2. |
Any news on solving this issue? @RLesur Maybe you have time to look into this? |
@GegznaV I had a quick look. My problem is that I do not understand your use case and your goal.
Why do you need this file with such a content? |
Thank you all for your patience! This is indeed a current limitation of bookdown design that we have now documented better: https://bookdown.org/yihui/bookdown/markdown-extensions-by-bookdown.html#special-headers
So the advice is to do as said in #662 (comment) : the special header must be set in the same document as the first chapter. We know that this would be a limitation when writing a book and the chapter order will change. In that case you would like to have your part section on their own. It happened sometimes and it is a special case so it is why we will track this issue in #974 Thank you. |
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. |
Formatting of the last element in the chapter before a new section gets distorted in a GitBook. I used the same project as in #661, thus session information is the same. To reproduce the problem:
01.Rmd
with contents:# (PART\*) Section {-}
.If the section (
![image](/https://user-images.githubusercontent.com/12725868/49829186-6e2a7c80-fd96-11e8-9470-f8fe64c77ba5.png)
01.Rmd
) is removed, the formatting of the element is correct:The text was updated successfully, but these errors were encountered: