-
DescriptionI’m encountering an issue with long lists inside a callout box when rendering to PDF. You can find a minimal example here: https://github.com/produnis/minimal_examples/tree/longlist. The problem is that the content does not break across pages; instead, any content that reaches the page end is not displayed in the PDF output. Is there a solution or workaround for this issue? I am rendering the document to HTML, EPUB, and PDF. Tested with quarto 1.5.57 and 1.6.30 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
I'm not sure callout is the thing you want when it cannot be contained in one single page or when it's long. This being said, PDF (LaTeX) is very tricky regarding this particular type of problems. I'm not sure there is a fix. Note that the content is displayed, it simply overflow the page. |
Beta Was this translation helpful? Give feedback.
-
While stuck in German "Schienenersatzverkehr" (possibly the worst word you can hear), I experimented with I found that the
...everything renders perfectly. The ideal solution would be to create a Lua filter that removes both Tomorrow, I'll have Schienenersatzverkehr again, and maybe I'll get this filter done on my own.. |
Beta Was this translation helpful? Give feedback.
-
I came up with a new dirty hack! I've implemented a custom workaround to simulate a callout box in my Quarto project. Instead of using the built-in This looks just nice and works for me. See https://github.com/produnis/minimal_examples/tree/longlist for the complete minimal example and my lua script. |
Beta Was this translation helpful? Give feedback.
I came up with a new dirty hack!
I've implemented a custom workaround to simulate a callout box in my Quarto project. Instead of using the built-in
:::{callout}
syntax, I created a new:::{.longlistcallout}
class and added a Lua filter to style it for LaTeX and HTML output.This looks just nice and works for me.
See https://github.com/produnis/minimal_examples/tree/longlist for the complete minimal example and my lua script.