In a Quarto Book project, how do I create a link from one chapter to another? #12703
-
DescriptionI'm having a hard time getting links from one chapter to another to work in a Quarto Book. Figure I must be making a simple mistake. Searched high and low and used a variety of chatbots. Minimal example, where I expect a link from Chapter 2 to Chapter 1 after rendering/previewing, but see none, only the literal "See @chap:one." text. Tried with and without pandoc-args in _quarto.yml. I'm on Windows 11, Quarto 1.7.30. Thanks a lot for any input. chapter1.qmd:
chapter2.qmd:
_quarto.yml:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
We should have a warning about this, but: try using dashes rather than colons in your reference ids. |
Beta Was this translation helpful? Give feedback.
-
See the documentation about book cross-reference: https://quarto.org/docs/books/book-crossrefs.html The search in the documentation is better than any chatbot available.
|
Beta Was this translation helpful? Give feedback.
See the documentation about book cross-reference: https://quarto.org/docs/books/book-crossrefs.html
The search in the documentation is better than any chatbot available.
sec
is the keyword-
is the separator