-
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
Appendix cross-references are broken only in html-based outputs #845
Comments
Hi, could you precise your bookdown version (not included in your session info) and also your pandoc version ? This is important to try reproduce the issue and fix it. Thank you ! |
I am sorry, @cderv. Tested Please kindly let me know if there would be anything I have missed for debugging. |
Writing to confirm this error cross-referencing of sections in html output are displayed as '??' -- the hyperlink works but is displayed as '??' excerpt from the 01-intro.rmd # Introduction {#intro}
You can label chapter and section titles using `{#label}` after them,
e.g., we can reference Chapter \@ref(intro). If you do not manually label them,
there will be automatic labels anyway, e.g., Chapter \@ref(methods). The following warning is produced:
|
Should be fixed now. You can install and test the development version via remotes::install_github('rstudio/bookdown') Thanks for the report! |
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. |
The latest
bookdown
version fails to support cross-references for Appendix section in html-based outputs; there is no issue found in any output based onbookdown::pdf_document2
. This might have to do with the recent development on Appendix numbering customization.Please refer to the following reproducible code and results.
Reproducible Code
test.Rmd:
Rendering Results
Appendix ??
(APPENDIX) Appendix
Test
Standard output and standard error
`C:/test/reprex/reprex_std_out_err.txt`Session info
Session info
The text was updated successfully, but these errors were encountered: