Closed pedrohbraga closed 3 months ago
There isn't much we can do here. Multipage captions are simply not something that the LaTeX templates we use (through Pandoc) supports. The best you can do is create small-enough images so that the captions fit.
Bug description
In PDF documents, combining a large or long image with a long caption causes the caption to overlap the page number and exceed the page margins instead of wrapping it to the next page.
It is worth noting that I am building my thesis document with Quarto, and that I am explicitly using lists of figures and tables, which I positioned in accordance with thesis regulations. I am adding the captions for figures and tables within code chunks and cross-referencing them, like in the example below.
Steps to reproduce
To reproduce this issue, one can create any Quarto document (e.g., a book project), and add a figure that occupies a large portion of the page, and include a long caption. An example of this content in the
.qmd
document follows below:project: type: book
book: title: "RepDebuggingErrors" author: "Norah Jones" date: "2024-07-23" chapters:
format: pdf: documentclass: scrreprt
editor: visual
bibliography: references.bib
Expected behavior
I expect the caption to wrap up to the next page without requiring resizing the figure or shortening the caption.
Actual behavior
In PDF documents, combining a large or long image with a long caption causes the caption to exceed the page margins instead of wrapping to the next page.
Your environment
"Cranberry Hibiscus" Daily (008dffc4, 2024-07-10) for windows Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2024.07.0-daily+306 Chrome/124.0.6367.243 Electron/30.1.2 Safari/537.36, Quarto 1.5.54 (C:/Program Files/RStudio/resources/app/bin/quarto/bin/quarto.exe Windows 11
Quarto check output