-
-
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
Unnumbered didn't work properly #1456
Comments
Could you read and follow the issue guide to provide all the required information when filing a bug report? Otherwise it is usually hard for us to help you. At a bare minimum, we need to know your package versions: |
Hi, I apologize for my mistake. I've updated the bug report according to the issue guide. Thank you very much for your patience. |
🤔 This could be related to Pandoc's update as I see you are using 3.1.12.1 which is quite recent. Did you update Pandoc, or any tools providing pandoc (RStudio IDE ? Quarto ? ) They did some changes on chapter numbering and this possibly messing this up. I still need to assess all the impact but it could also be another change. I'll try to reproduce and check different pandoc versions with the project you provided as zip |
I can confirm this:
So as a workaround, you need to use a different Pandoc version with your project for now. We'll definitely fix this for next bookdown version. To use a different Pandoc version, you can do that with rmarkdown and a version you install yourself (https://bookdown.org/yihui/rmarkdown-cookbook/install-pandoc.html) or you can leverage the pandoc package that I use for debugging (https://cderv.github.io/pandoc/à which has way to install pandoc versions in a dedicated folder and a function ( Hope it helps We'll update here soon |
Yes, I updated pandoc recently.
Thank you very much! You're awesome! Best regards, |
To update here also, this is a bug in Pandoc So this will be fixed with a new version of Pandoc. |
This is fixed in Pandoc development version. Next pandoc version will solve this. I'll close this when it will be out. |
Pandoc's new version is out: https://github.com/jgm/pandoc/releases/tag/3.1.12.2 Using the latest version will solve this issue. When building on CI, you can now use Locally if you install latest version (with method you want) and put it on PATH, rmarkdown will use the greater version among binaries found including the one found on PATH. |
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. |
Hi,
I'm not sure what happened but this morning when I rendered the HTML version of my notes, the numbering of the chapters didn't work properly.
Specifically, the chapter counter seems to keep increasing even though I marked the chapter unnumbered (please see picture). Could someone explain this to me?
Here's my
xfun::session_info('rmarkdown')
:My _output.yml is:
I attach here my bookdown folder.
MATH310.zip
I'm not sure what's going on. A week ago things were still fine. My PDF output has the correct numbering.
Thank you!
The text was updated successfully, but these errors were encountered: