### Bug description

I am not able to disable the table of contents (TOC) for chapter 2 and onwards for the book output.

This is my `_quarto.yml` for testing.
```yml
project:
  type: book

book:
  chapters:
    - index.qmd
    - test.qmd

toc: false
```

This is `index.qmd`
````md
# Chapter
Lorem

## Section
Ipsum
````
And `test.qmd`
````md
# Next Chapter
Lorem

## Next Section
Ipsum
````
Even when I add
```yml
format:
  html:
    toc: false
```
to the top of `test.qmd`, I get a TOC in resulting `test.html`. Note that `index.html` respects the `toc` setting.

My OS is Windows. I have also verified that the issue persists in quarto-1.2.134

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
2022-09-20T12:53:54Z
justanothergithubber
bug
closed
Subsequent pages of book always have TOC
https://github.com/quarto-dev/quarto-cli/issues/2515