From f72a057ce40ad9584aea72697aa5e5ea20192e9b Mon Sep 17 00:00:00 2001 From: Bastien Dumont Date: Tue, 5 Aug 2025 14:13:17 +0200 Subject: [PATCH] Bug fix in the test file for ConTeXt --- test/main-test.tex | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/main-test.tex b/test/main-test.tex index d76ff18..d1ce348 100644 --- a/test/main-test.tex +++ b/test/main-test.tex @@ -468,8 +468,6 @@ \input data-lines -\ifcontext{\stoptext} -\iflatex{ - \def\crfnmtheend{\end{document}} - \expandafter\crfnmtheend -} \ No newline at end of file +\ifcontext{\let\crfnmtheend\stoptext} +\iflatex{\def\crfnmtheend{\end{document}}} +\crfnmtheend