[latex3-commits] [git/LaTeX3-latex3-tex-ini-files] master: In IniTeX mode, so need to deal with {/} (7ae44f8)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Jul 19 22:40:33 CEST 2019


Repository : https://github.com/latex3/tex-ini-files
On branch  : master
Link       : https://github.com/latex3/tex-ini-files/commit/7ae44f891ba030ff0cba654e256d78eac0225c32

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

commit 7ae44f891ba030ff0cba654e256d78eac0225c32
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Jul 19 21:40:33 2019 +0100

    In IniTeX mode, so need to deal with {/}


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

7ae44f891ba030ff0cba654e256d78eac0225c32
 dvilualatex.ini   | 7 ++++++-
 dvipdfmxlatex.ini | 7 ++++++-
 latex.ini         | 8 +++++++-
 lualatex.ini      | 7 ++++++-
 pdflatex.ini      | 7 ++++++-
 svglatex.ini      | 7 ++++++-
 xelatex.ini       | 7 ++++++-
 7 files changed, 43 insertions(+), 7 deletions(-)

diff --git a/dvilualatex.ini b/dvilualatex.ini
index 3610ca6..3b88fb3 100644
--- a/dvilualatex.ini
+++ b/dvilualatex.ini
@@ -2,5 +2,10 @@
 
 \let\dvimode\relax
 
-\expandafter\def\csname c_sys_backend_tl\endcsname{dvips}
+\begingroup
+  \catcode`\{=1 %
+  \catcode`\}=2 %
+  \expandafter\gdef\csname c_sys_backend_tl\endcsname{dvips}
+\endgroup
+
 \input lualatex.ini
diff --git a/dvipdfmxlatex.ini b/dvipdfmxlatex.ini
index 5d83796..ebec6f2 100644
--- a/dvipdfmxlatex.ini
+++ b/dvipdfmxlatex.ini
@@ -3,6 +3,11 @@
 \input pdftexconfig
 \pdfoutput=0
 
-\expandafter\def\csname c_sys_backend_tl\endcsname{dvipdfmx}
+\begingroup
+  \catcode`\{=1 %
+  \catcode`\}=2 %
+  \expandafter\gdef\csname c_sys_backend_tl\endcsname{dvipdfmx}
+\endgroup
+
 \input latex.ltx
 \endinput
diff --git a/latex.ini b/latex.ini
index c609306..58b56e5 100644
--- a/latex.ini
+++ b/latex.ini
@@ -21,6 +21,12 @@
 % the usual format initialization.
 
 \scrollmode
-\expandafter\def\csname c_sys_backend_tl\endcsname{dvips}
+
+\begingroup
+  \catcode`\{=1 %
+  \catcode`\}=2 %
+  \expandafter\gdef\csname c_sys_backend_tl\endcsname{dvips}
+\endgroup
+
 \input latex.ltx
 \endinput
diff --git a/lualatex.ini b/lualatex.ini
index 7f235fd..243a243 100644
--- a/lualatex.ini
+++ b/lualatex.ini
@@ -16,5 +16,10 @@
   \global\everyjob{\directlua{require("lualatexquotejobname.lua")}}
 \endgroup
 
-\expandafter\def\csname c_sys_backend_tl\endcsname{pdfmode}
+\begingroup
+  \catcode`\{=1 %
+  \catcode`\}=2 %
+  \expandafter\gdef\csname c_sys_backend_tl\endcsname{pdfmode}
+\endgroup
+
 \input latex.ltx
diff --git a/pdflatex.ini b/pdflatex.ini
index 44901ef..1552feb 100644
--- a/pdflatex.ini
+++ b/pdflatex.ini
@@ -4,6 +4,11 @@
 \input pdftexconfig.tex
 \scrollmode
 
-\expandafter\def\csname c_sys_backend_tl\endcsname{pdfmode}
+\begingroup
+  \catcode`\{=1 %
+  \catcode`\}=2 %
+  \expandafter\gdef\csname c_sys_backend_tl\endcsname{pdfmode}
+\endgroup
+
 \input latex.ltx
 \endinput
diff --git a/svglatex.ini b/svglatex.ini
index 485bf86..0b6cda1 100644
--- a/svglatex.ini
+++ b/svglatex.ini
@@ -3,6 +3,11 @@
 \input pdftexconfig
 \pdfoutput=0
 
-\expandafter\def\csname c_sys_backend_tl\endcsname{dvisvgm}
+\begingroup
+  \catcode`\{=1 %
+  \catcode`\}=2 %
+  \expandafter\gdef\csname c_sys_backend_tl\endcsname{dvisvgm}
+\endgroup
+
 \input latex.ltx
 \endinput
diff --git a/xelatex.ini b/xelatex.ini
index 4aab098..52874f3 100644
--- a/xelatex.ini
+++ b/xelatex.ini
@@ -14,5 +14,10 @@
   \csname protected\endcsname\gdef\pdfmapline#1{\special{pdf:mapline #1}}%
 \endgroup
 
-\expandafter\def\csname c_sys_backend_tl\endcsname{xdvipdfmx}
+\begingroup
+  \catcode`\{=1 %
+  \catcode`\}=2 %
+  \expandafter\gdef\csname c_sys_backend_tl\endcsname{xdvipdfmx}
+\endgroup
+
 \input latex.ltx





More information about the latex3-commits mailing list