Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1582 #1595

Merged
merged 3 commits into from
Mar 7, 2024
Merged

Fix #1582 #1595

merged 3 commits into from
Mar 7, 2024

Conversation

kbrevoort
Copy link
Collaborator

@kbrevoort kbrevoort commented Feb 28, 2024

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
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
@kbrevoort
Copy link
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
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
Copy link
Member

@rich-iannone rich-iannone left a comment

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
11 of 12 checks passed
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