Skip to content

Commit

Permalink
Use \c_sys_engine_format_str whether ConTeXt is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Jul 21, 2022
1 parent bcd1d1f commit 8c9fcfd
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions l3kernel/l3file.dtx
Expand Up @@ -981,7 +981,9 @@
\int_step_inline:nnn
{ 0 }
{
\cs_if_exist:NTF \normalend
\str_if_eq:VnTF
\c_sys_engine_format_str
{ cont-en }
{ \tex_count:D 38 ~ }
{
\tex_count:D 16 ~ %
Expand Down Expand Up @@ -1061,7 +1063,9 @@
% \begin{macrocode}
\exp_args:NNf \cs_new_protected:Npn \@@_new:N
{ \exp_args:NNc \exp_after:wN \exp_stop_f: { newread } }
\cs_if_exist:NT \normalend
\str_if_eq:VnT
\c_sys_engine_format_str
{ cont-en }
{
\cs_new_eq:NN \@@_new_aux:N \@@_new:N
\cs_gset_protected:Npn \@@_new:N #1
Expand Down Expand Up @@ -1441,7 +1445,9 @@
\int_step_inline:nnn
{ 0 }
{
\cs_if_exist:NTF \normalend
\str_if_eq:VnTF
\c_sys_engine_format_str
{ cont-en }
{ \tex_count:D 39 ~ }
{
\tex_count:D 17 ~
Expand Down Expand Up @@ -1505,7 +1511,9 @@
% \begin{macrocode}
\exp_args:NNf \cs_new_protected:Npn \@@_new:N
{ \exp_args:NNc \exp_after:wN \exp_stop_f: { newwrite } }
\cs_if_exist:NT \normalend
\str_if_eq:VnT
\c_sys_engine_format_str
{ cont-en }
{
\cs_new_eq:NN \@@_new_aux:N \@@_new:N
\cs_gset_protected:Npn \@@_new:N #1
Expand Down

0 comments on commit 8c9fcfd

Please sign in to comment.