Skip to content

Revise render/latex.py and render/text.py for box attributes#1677

Merged
rocky merged 2 commits intomasterfrom
box-attribute-separation-part2
Feb 5, 2026
Merged

Revise render/latex.py and render/text.py for box attributes#1677
rocky merged 2 commits intomasterfrom
box-attribute-separation-part2

Conversation

@rocky
Copy link
Member

@rocky rocky commented Feb 5, 2026

Revise render/latex.py and render/text.py for box attributes

@rocky rocky marked this pull request as draft February 5, 2026 13:42
@rocky rocky marked this pull request as ready for review February 5, 2026 14:24
@rocky rocky requested a review from mmatera February 5, 2026 14:24
Copy link
Contributor

@mmatera mmatera left a comment

Choose a reason for hiding this comment

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

Lgtm

@rocky
Copy link
Member Author

rocky commented Feb 5, 2026

These changes are now pretty straightforward.

However, in making the changes, I see that there is a bit of duplication across the form rendering that can be eliminated and simplified.

We could add this to this PR, but I'm thinking another smallish PR for DRYing the code.

Also in the grand scheme of things, there is removing hard-coding characters, and related to that, whether some of the code that does this can't be directed more by table properties from YAML files.

@mmatera: your thoughts?

@mmatera
Copy link
Contributor

mmatera commented Feb 5, 2026

As you prefer. Any of these changes should be too disturbing to the existing prs

@rocky
Copy link
Member Author

rocky commented Feb 5, 2026

As you prefer. Any of these changes should be too disturbing to the existing prs

We will merge an interate then.

@rocky rocky merged commit 1d915c5 into master Feb 5, 2026
21 checks passed
@rocky rocky deleted the box-attribute-separation-part2 branch February 5, 2026 14:36
@rocky rocky changed the title Revise render/latex.py for box attributes Revise render/latex.py and render/text.py for box attributes Feb 5, 2026
@rocky rocky changed the title Revise render/latex.py and render/text.py for box attributes Revise render/latex.py and render/text.py for box attributes Feb 5, 2026
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.

2 participants