You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to have some R package names appear in the names of chapters in a book with the code format provided via the backticks around them. Unfortunately, when I try to create links to these chapters via \@ref(chapname), I receive ?? in PDF and HTML versions of the built book. The links do work when you click on them.
I tested this with bookdown-demo and received a similar error when I changed the first line of 01-intro.Rmd from "# Introduction {#intro}" to "# Introduction with `tidyverse` {#intro}". The cross-reference that appears on the next line of text (Chapter \@ref(intro) ) produces the ?? I referred to earlier.
I think this is the same issue as jgm/pandoc#2878 When the last element in the heading is a <code>, the attributes will be applied to the code. Perhaps you can change `tidyverse` (an R package name) to Tidyverse (a general name).
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.
I'd like to have some R package names appear in the names of chapters in a book with the code format provided via the backticks around them. Unfortunately, when I try to create links to these chapters via
\@ref(chapname)
, I receive ?? in PDF and HTML versions of the built book. The links do work when you click on them.I tested this with
bookdown-demo
and received a similar error when I changed the first line of01-intro.Rmd
from "# Introduction {#intro}" to "# Introduction with`tidyverse`
{#intro}". The cross-reference that appears on the next line of text (Chapter\@ref(intro)
) produces the ?? I referred to earlier.My session info is below:
The text was updated successfully, but these errors were encountered: