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
Thanks for the terrific package—and for the whole knitrverse!
I wonder if there's a bug that affects links placed inside fig.cap when working with LaTeX (tufte_handout or tufte_book). Here's a MWE:
---title:"Minimal Working Example"output:tufte::tufte_handout# but tufte::tufte_html is fine---Loremipsumdolorsitamet, consecteturadipiscingelit.Suspendissevenenatisfringillaliberoattristique.```{rfig.cap="A plot of the famous [cars data set](https://stat.ethz.ch/R-manual/R-devel/library/datasets/html/cars.html)."}
plot(cars)
```
Aliquamutenimsodales, semperliberonec, bibendumvelit.Pellentesqueultricesmagnajusto, infaucibusorciconsequatsitamet.
This gives me the result:
Whereas substituting tufte::tufte_html seems to work as expected.
Digging into the generated .tex file, it looks like the problem is the link just hasn't been converted from markdown to LaTeX:
\begin{figure}
\includegraphics{MWE_files/figure-latex/unnamed-chunk-1-1} \caption[A plot of the famous [cars data set](https://stat.ethz.ch/R-manual/R-devel/library/datasets/html/cars.html)]{A plot of the famous [cars data set](https://stat.ethz.ch/R-manual/R-devel/library/datasets/html/cars.html).}\label{fig:unnamed-chunk-1}
\end{figure}
The text was updated successfully, but these errors were encountered:
Thanks for the terrific package—and for the whole knitrverse!
I wonder if there's a bug that affects links placed inside fig.cap when working with LaTeX (tufte_handout or tufte_book). Here's a MWE:
This gives me the result:
Whereas substituting
tufte::tufte_html
seems to work as expected.Digging into the generated
.tex
file, it looks like the problem is the link just hasn't been converted from markdown to LaTeX:The text was updated successfully, but these errors were encountered: