Commit 319c1f4
authored
Fix non-deterministic tcolorbox option ordering in LaTeX output (#14026)
* Fix non-deterministic tcolorbox option ordering in LaTeX output
`tColorOptions()` used `pairs()` which iterates Lua table keys in
non-deterministic order, causing `.tex` output to differ between
renders of the same document. Switch to `spairs()` for sorted
iteration so tcolorbox options are always emitted alphabetically.
* Add to changelog1 parent 1b9b5e4 commit 319c1f4
3 files changed
Lines changed: 20 additions & 1 deletion
File tree
- news
- src/resources/filters/common
- tests/docs/smoke-all/2026/02/11
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments