Skip to content

Fix #1582 - #1595

Merged
rich-iannone merged 3 commits into
rstudio:masterfrom
kbrevoort:fix1582
Mar 7, 2024
Merged

rich-iannone merged 3 commits into
rstudio:masterfrom
kbrevoort:fix1582

Conversation

@kbrevoort

@kbrevoort kbrevoort commented Feb 28, 2024 •

Copy link
Copy Markdown
Collaborator

Summary

This is a small fix to correct a bug reported in #1582. Column widths reported in pixels were being output to LaTeX in pixels, which causes an error because LaTeX does not recognize pixel measurements. I added a line to convert the widths to pts and use those in LaTeX. I also made some corresponding changes to a small number of testthat snapshots that were expecting LaTeX output with widths expressed as pixels to now expect widths in points.

Related GitHub Issues and PRs

Checklist

Fixes: #1582

@rich-iannone

Copy link
Copy Markdown
Member

Hi @kbrevoort , thanks again for your work on the LaTeX parts of the package. To pick this one up where you left off, would you mind regenerating the snapshot (if the output is okay) to settle the merge conflict? I could then review and potentially merge.

@rich-iannone rich-iannone mentioned this pull request Mar 6, 2024
3 tasks done
@kbrevoort

Copy link
Copy Markdown
Collaborator Author

@rich-iannone I've resolved the merge conflict, but I'm having trouble understanding why there's still one check failing. Any insights?

@rich-iannone

Copy link
Copy Markdown
Member

Thanks @kbrevoort ! The failure seems to be from a failure to build the magick package using R 3.6 in Windows. This is totally out of our control so we can safely ignore this.

I’ll review the PR later in the day.

@rich-iannone
rich-iannone self-requested a review March 7, 2024 16:57

@rich-iannone rich-iannone left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rich-iannone
rich-iannone merged commit a6215df into rstudio:master Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting cols_width() in px() fails for Quarto PDF output (illegal unit of measure)

3 participants