-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Subfigure model enhancements (#2302)
* WIP on figure grid tests * add trickier figure cases * WIP auto-grouping panels * update mixed figure test with some algorithms * introduce Document::removeClass helper * new approach: ltx_figure_panel class with auto-wrapping into panels, when needed * more care for lead/mid/trail-ing captions; edge case checks * more advanced handling of subfigures, via ltx:caption partitions * also try ltx:figure for _CaptureBlock_; some more careful edge case testing * update 3 new tests for complex figure grids * remove leftover asset * drop diagnostic xsl:messages * use the local none.png asset, easier CI * update CI-only SI test to use ltx_figure_panel class * ensure a hard linebreak in flex figures for most Block elements * re-add partition by breaks to compute ltx_flex_size_ value * drop diagnostic message * only use graphics candidates if they already point to physical file * fix subtle delimiter bug in loadCompiledSchema; add getSchemaClassNames; ensure schema is loaded when accessed * rely on schema class information for classifying figure pieces * remove leftover debug print * fix edge case for insertBlock over empty Document; see arXiv:1706.03762 * add Document::removeSSValues helper * recognize edge case when a ltx:figure begins with a ltx:caption, without the lead-in tags * initialize figure panel tag names on first call
- Loading branch information
Showing
23 changed files
with
3,416 additions
and
162 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
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
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.