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
Originally posted by fuhrmanator June 18, 2022
In books it is very useful to refer to a section by its name. The Quarto documentation does this, e.g. the link to "Cross references" on this line:
There's an anchor generated through ## Options {#options}. It seems to be HTML-specific.
In LaTeX, it's done by \nameref{sec-blahblah} and I see that quarto supports this for PDF output.
Are there plans to make this work with @sec-blahblah for other render destinations (e.g. html)? I'm thinking something like [caption@sec-blahblah] as a general solution.
Discussed in #1178
Originally posted by fuhrmanator June 18, 2022
In books it is very useful to refer to a section by its name. The Quarto documentation does this, e.g. the link to "Cross references" on this line:
https://github.com/quarto-dev/quarto-web/blob/eed8baacea8448cd2ec60e34250ad2215de6831f/docs/authoring/figures.qmd#L25
But it's done with a hyperlink to an absolute HTML page.
Another example is within a page:
https://github.com/quarto-dev/quarto-web/blob/eed8baacea8448cd2ec60e34250ad2215de6831f/docs/authoring/cross-references.qmd#L26
There's an anchor generated through
## Options {#options}. It seems to be HTML-specific.In LaTeX, it's done by
\nameref{sec-blahblah}and I see that quarto supports this for PDF output.Are there plans to make this work with
@sec-blahblahfor other render destinations (e.g. html)? I'm thinking something like[caption@sec-blahblah]as a general solution.