-
-
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
Make possible sequential numbering of reference with section numbering activated #948
Comments
I think we can implement this feature by adding an argument whose value is passed to the Line 137 in 8e4551c
BTW, this feature might be useful in |
Duplicate of #1057 |
For the record, for HTML documents, pagedown uses this solution to fix a similar issue (rstudio/pagedown#184). |
I just added a new argument remotes::install_github('rstudio/bookdown') Example:
Thanks! |
I'd like to have my pdf document number figures and tables in the format 1.1, 1.2 etc where the first number is the chapter or section number. The only solution I've found is here: https://stackoverflow.com/questions/53863797/r-markdown-pdf-document2-pdf-figure-and-table-numbers-by-section |
@daviesmd I don't know if there is a better way. The solution on Stack Overflow doesn't seem to be bad to me. |
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. |
When using bookdown (single document), if I set both section_numbering = 'yes' and fig_caption = 'yes', the figures are numbered X.2 (where X is the section number). If section_number = 'no', the figures are numbered sequentially (Fig 1, 2 ...), but sections numbers are lost.
Is there a way to get figures numbered sequentially without losing the section numbers? In the example below, I would like to have both the sections figures numbered as 1 and 2.
I had posted this question on stackoverflow and I was suggested to fill an issue.
Thank you.
By filing an issue to this repo, I promise that
xfun::session_info('bookdown')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/bookdown')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: