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: Resolve KeyError with LaTeX headers in to_latex method #60077

Closed
wants to merge 1 commit into from

Conversation

timapage
Copy link

@timapage timapage requested a review from attack68 as a code owner October 20, 2024 20:48
- Fixed an issue with LaTeX headers by preventing format interpretation in style_render.py.
- Added test cases to validate proper handling of LaTeX headers without index columns.
@attack68
Copy link
Contributor

This is not a sensible fix. It is a hard coded direct string replacement for the exact issue presented. What about the flip case where the user actually wants to display what they have input and don't expect it to be directly replaced by your fix?

I will take a look at the underlying issue but I am not entirely convinced it even warrants a fix yet.

@timapage
Copy link
Author

Yeah you are right. I did not consider this case. Thank you for your feedback.

@mroeschke
Copy link
Member

Appears it may be too early to submit a PR at this point so closing

@mroeschke mroeschke closed this Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: to_latex() does not handle braces in new headers gracefully
3 participants