John MacFarlane and Claude
ff53ffe73a
LaTeX reader: keep nested conditionals balanced in \iftrue etc.
...
The parser for \iftrue, \iffalse, and \ifmmode stopped at the first
\else or \fi it saw, so a nested conditional inside a skipped branch
(e.g. an unsupported primitive like \ifdim) made the outer
conditional end early and leaked tokens from the skipped branch.
Replace the sub-parse with a pure token scan that tracks nesting
depth, recognizing TeX's primitive conditionals as well as
\newif-defined ones, and (like TeX) does not expand tokens while
skipping a branch.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-09-08 16:10:11 -07:00
..
2026-09-08 16:10:11 -07:00
2026-09-04 10:07:36 -07:00
2026-02-16 13:54:34 +01:00
2026-07-12 12:51:11 +02:00
2026-08-18 10:24:49 -07:00
2026-06-03 12:23:44 +02:00
2026-09-08 16:10:11 -07:00
2026-09-08 14:44:20 -07:00
2026-07-10 22:42:10 +02:00
2026-01-03 12:36:19 -05:00
2026-01-03 12:36:19 -05:00
2026-05-30 19:11:14 +02:00
2026-08-26 09:51:03 -07:00
2026-05-26 22:44:17 +02:00
2026-08-26 09:51:03 -07:00
2026-08-26 09:51:03 -07:00
2026-07-08 00:41:30 +02:00
2026-07-12 12:50:54 +02:00
2026-09-07 04:55:13 +00:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-09-05 22:06:06 -07:00
2026-09-05 22:06:06 -07:00
2026-07-09 01:12:18 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-08-16 16:25:00 -07:00
2026-08-26 09:51:03 -07:00
2026-08-26 09:51:03 -07:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-08-31 18:12:23 -07:00
2026-08-31 18:12:23 -07:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-14 17:34:15 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-04 18:52:14 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-08 00:41:30 +02:00
2026-07-12 12:50:54 +02:00
2026-07-01 11:17:21 +02:00
2026-07-11 10:57:33 +02:00
2026-07-01 11:17:21 +02:00
2026-09-04 09:37:08 -07:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-07-01 11:17:21 +02:00
2026-03-22 10:36:15 +01:00