I am writing a book in bookdown
. In my appendix rmarkdown file, I wrote the following -
\backmatter
# (APPENDIX) Appendix {-}
# Appendix A
## Basic Data Structure in `R`
# Appendix B
## Text Mining in `R`
## Social Media Analytics in `R`
## Web Scrapping Using `R`
## Big Data in `R` with `sparklyr`
The book is knitted in both html and pdf. The html number for the book is OK. But it changes for Pdf. The pdf numbering becomes like this (The picture is a snapshot of Table of Contents) -
If you look at, the Appendix A
numbering should be A.1
. Similarly Appendix B
numbering should be B.1
,B.2
,B.3
, and so on. Does anybody have any idea how I can fix it? Thanks.