Replies: 1 comment 2 replies
-
bookdown works in a way that a single document is passed to Pandoc for conversion, and some feature like This is not really cross reference (knowing numbers of headers) but just links to headers in the document. It is mentioned as text based linked in https://bookdown.org/yihui/bookdown/cross-references.html#cross-references Quarto works differently, and especially has a more advanced cross reference system. It is also more complex project structure and there is not a single document passed to pandoc, so feature like This is one of the differences between both tools, and indeed links need to be modified accordingly. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I have a bookdown project in R which has been rendered successfully. In the book, most of the time I am using conventional hyper link to refer to chapter. For example
In chapter pivoting.Rmd, the title is below without specifying the chapter label (inside the curl bracket
Then in chapter cleaning.Rmd, I cross reference the pivoting chapter using conventional hyperlink (without specifying the label)
However, when I port the project to Quarto book, I have to change all .Rmd files to .qmd files, and those chapter links were broken. They are displayed as normal text. I read the Quarto document, if I want to use the conventional hyperlink, either the chapter should have label or specifying the source file like this:
My wish is to find the way addressing the problem systematically, because I couldn't add label to chapter and then find hyperlinks to add them manually in order to proper displayed.
Beta Was this translation helpful? Give feedback.
All reactions