Skip to content

pdflatex rendering error, but only when rendering from Quarto #13723

@CoryMcCartan

Description

@CoryMcCartan

I have:

  • searched the issue tracker for similar issues
  • installed the latest version of Quarto CLI
  • formatted my issue following the Bug Reports guide

Bug description

I have a Quarto document (unfortunately, I cannot share publicly, and don't have the time now to generate a reprex).

When I enable longtable for gt() and render (with pdf-engine: pdflatex), I get the following error:

ERROR: 
compilation failed- missing packages (automatic installed disabled)
Infinite glue shrinkage found in box being split.
<argument> Infinite shrink error above ignored ! 
                                                 
l.702 \end{longtable}
                     
The box you are \vsplitting contains some infinitely
shrinkable glue, e.g., `\vss' or `\vskip 0pt minus 1fil'.
Such glue doesn't belong there; but you can safely proceed,
since the offensive shrinkability has been made finite.

However, when I run pdflatex from the command line on the generated .tex from Quarto, the document renders without error

Steps to reproduce

No response

Actual behavior

No response

Expected behavior

I would expect rendering the generated tex from the command line or via Quarto to produce the same output.

I haven't run into this mismatch before—is this known to happen? Is there something about longtable which triggers this?

I appreciate that no real investigation is possible without a reprex, but thought I'd flag this in case someone has seen it before.

Your environment

  • Positron
  • MacOS Sequoia

Quarto check output

Quarto 1.8.25
[✓] Checking environment information...
      Quarto cache location: /Users/cmccartan/Library/Caches/quarto
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.6.3: OK
      Dart Sass version 1.87.0: OK
      Deno version 2.3.1: OK
      NOTE: Typst version 0.14.0 does not strictly match 0.13.0 and strict checking is enabled. Please use 0.13.0.
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.8.25
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (external install)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: TinyTex
      Path: /Users/cmccartan/Library/TinyTeX/bin/universal-darwin
      Version: 2025

[✓] Checking Chrome Headless....................OK
      Using: Chrome found on system
      Path: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
      Source: MacOS known location

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.9.6
      Path: /Library/Developer/CommandLineTools/usr/bin/python3
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with python3 -m pip install jupyter

[✓] Checking R installation...........OK
      Version: 4.5.0
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library
      knitr: 1.50
      rmarkdown: 2.29

[✓] Checking Knitr engine render......OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-reproIssues that are blocked until reporter provides an adequate reproduction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions