-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rename \@@eat@space to \lx@column@trimright to avoid confusion (it's NOT a LaTeX name), and to only trim explicit spaces, not spacing commands * Let space take up space when sizing alignment cells * IsEmpty should NOT count spaces as empty; define new IsEmptyOrSpace in case that's actually needed * Avoid some confusions about space vs empty * Update changed tests * Removed tentative general IsEmptyOrSpace since any practical usecase has peculiar, specific needs * Whatsit property the_box (typically one of the arguments) stands in for the content when checking emptiness and related tests * Define \lx@intercol as analog for LaTeX's \@acol; manage and record spacing added around alignment columns * Distinguish empty vs spacing alignment cells; Careful about pruning Alignment rows/columns that contain spaces if bordered; prepare for CSS padding to deal with spacing * Update test cases for careful alignment pruning * Add to tabular test case for rows & columns that should not be pruned * Dont prematurely strip empty boxes from alignment; repair regression in test cases * Recognize alignment cell padding (\lx@intercol) and record * Update test cases for better handling of cell padding * Disabling intercolumn spacing is more a general Template thing, than a specific column * Record all alignment cell leading/trailing space as potential padding; use to determine css; simplify \lx@intercol and its usage * Update CSS for alignment cell padding control * Update tabbing for alignment padding * Update test cases for better padding control * Make grouping commands { and } be alignment skippable so we detect spacing within groups * Don't prematurely increment cell with by l/rpadding; do account for vertical size of l/rpadding * Fix typo * Fix tests again for latest tweaks * Rename the_body to content_box
- Loading branch information
1 parent
faa73d9
commit ec9cb83
Showing
21 changed files
with
694 additions
and
468 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.