quarto-dev / quarto-dev/quarto-cli
cross-reference labels from raw latex
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
If I create a figure or table in raw latex:
\begin{figure}[h!]
\begin{center}
\includegraphics[width=\textwidth]{figure/path}
\end{center}
\caption{My caption}
\label{fig-label}
\caption*{\footnotesize Note: A note}
\end{figure}
I can't cross-reference @fig-label. Is that by design? Is there some way to have them be cross-references as a workaround?
The reason I need to use raw latex instead of using markdown, is that I need a note underneath the figure. If there's some way to do that with using markdown, that would be even better!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Reproduce the raw-LaTeX figure in a Quarto document and compare its label with a Markdown figure in the generated output. Done means that @fig-label works for raw-LaTeX figures, or that a supported workaround for notes under figures is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- latex, markdown
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100