[latex3-commits] [latex3/latex3] main: Force OT1 CMR starting from preamble (d85d9e369)

github at latex-project.org github at latex-project.org
Thu Feb 29 21:27:06 CET 2024


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/d85d9e3697f8eb6f33709cb3b7f329d46099a823

>---------------------------------------------------------------

commit d85d9e3697f8eb6f33709cb3b7f329d46099a823
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Thu Feb 29 16:27:49 2024 +0800

    Force OT1 CMR starting from preamble


>---------------------------------------------------------------

d85d9e3697f8eb6f33709cb3b7f329d46099a823
 support/regression-test.cfg | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/support/regression-test.cfg b/support/regression-test.cfg
index 321f762e9..70b9db141 100644
--- a/support/regression-test.cfg
+++ b/support/regression-test.cfg
@@ -45,8 +45,10 @@
 
 % Force OT1 CMR for all engines
 \ifx\RequirePackage\@undefined\else
-  \RequirePackage[OT1]{fontenc}
+  % ensure new \rmdefault is applied right after fontenc, so boxes can
+  % be shown freely in preamble
   \renewcommand{\rmdefault}{cmr}
   \renewcommand{\sfdefault}{cmss}
   \renewcommand{\ttdefault}{cmtt}
+  \RequirePackage[OT1]{fontenc}
 \fi





More information about the latex3-commits mailing list.