From 1a52ee4251e2b2e1f1669a14319a600e0c5f24c9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 7 May 2020 21:25:38 +0000 Subject: l3 (7may20) git-svn-id: svn://tug.org/texlive/trunk@55057 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/l3backend/l3backend-dvipdfmx.def | 4 ++- .../tex/latex/l3backend/l3backend-dvips.def | 30 +++++++++++++++++++--- .../tex/latex/l3backend/l3backend-dvisvgm.def | 3 ++- .../tex/latex/l3backend/l3backend-pdfmode.def | 10 +++++++- .../tex/latex/l3backend/l3backend-xdvipdfmx.def | 4 ++- .../texmf-dist/tex/latex/l3kernel/expl3-code.tex | 29 +++++++++++---------- .../tex/latex/l3kernel/expl3-generic.tex | 2 +- Master/texmf-dist/tex/latex/l3kernel/expl3.ltx | 2 +- Master/texmf-dist/tex/latex/l3kernel/expl3.sty | 2 +- 9 files changed, 62 insertions(+), 24 deletions(-) (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def b/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def index dd22f6005b2..2e4d20ed039 100644 --- a/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def +++ b/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def @@ -25,7 +25,7 @@ %% %% File: l3backend-basics.dtx \ProvidesExplFile - {l3backend-dvipdfmx.def}{2020-03-12}{} + {l3backend-dvipdfmx.def}{2020-05-05}{} {L3 backend support: dvipdfmx} \cs_new_eq:NN \__kernel_backend_literal:e \tex_special:D \cs_new_protected:Npn \__kernel_backend_literal:n #1 @@ -505,6 +505,8 @@ \cs_generate_variant:Nn \__pdf_backend_object_now:nn { nx } \cs_new:Npn \__pdf_backend_object_last: { @pdf.obj \int_use:N \g__pdf_backend_object_int } +\cs_new:Npn \__pdf_backend_pageobject_ref:n #1 + { @page #1 } \bool_new:N \g__pdf_landscape_bool \AtBeginDocument { diff --git a/Master/texmf-dist/tex/latex/l3backend/l3backend-dvips.def b/Master/texmf-dist/tex/latex/l3backend/l3backend-dvips.def index 5dbfcf397b9..bc6e7ba30f7 100644 --- a/Master/texmf-dist/tex/latex/l3backend/l3backend-dvips.def +++ b/Master/texmf-dist/tex/latex/l3backend/l3backend-dvips.def @@ -25,7 +25,7 @@ %% %% File: l3backend-basics.dtx \ProvidesExplFile - {l3backend-dvips.def}{2020-03-12}{} + {l3backend-dvips.def}{2020-05-05}{} {L3 backend support: dvips} \cs_new_eq:NN \__kernel_backend_literal:e \tex_special:D \cs_new_protected:Npn \__kernel_backend_literal:n #1 @@ -516,6 +516,8 @@ \cs_generate_variant:Nn \__pdf_backend_object_now:nn { nx } \cs_new:Npn \__pdf_backend_object_last: { { pdf.obj \int_use:N \g__pdf_backend_object_int } } +\cs_new:Npn \__pdf_backend_pageobject_ref:n #1 + { { Page #1 } } \box_new:N \l__pdf_backend_content_box \box_new:N \l__pdf_backend_model_box \int_new:N \g__pdf_backend_annotation_int @@ -774,8 +776,30 @@ } \group_end: } -\cs_new_protected:Npn \__pdf_backend_compresslevel:n #1 { } -\cs_new_protected:Npn \__pdf_backend_compress_objects:n #1 { } +\cs_new_protected:Npn \__pdf_backend_compresslevel:n #1 + { + \int_compare:nNnT {#1} = 0 + { + \__kernel_backend_literal_postscript:n + { + /setdistillerparams ~ where + { pop << /CompressPages ~ false >> setdistillerparams } + if + } + } + } +\cs_new_protected:Npn \__pdf_backend_compress_objects:n #1 + { + \bool_if:nF {#1} + { + \__kernel_backend_literal_postscript:n + { + /setdistillerparams ~ where + { pop << /CompressStreams ~ false >> setdistillerparams } + if + } + } + } \cs_new_protected:Npn \__pdf_backend_version_major_gset:n #1 { } \cs_new_protected:Npn \__pdf_backend_version_minor_gset:n #1 { } \cs_new:Npn \__pdf_backend_version_major: { -1 } diff --git a/Master/texmf-dist/tex/latex/l3backend/l3backend-dvisvgm.def b/Master/texmf-dist/tex/latex/l3backend/l3backend-dvisvgm.def index 57c28cebbdb..c548b96c3aa 100644 --- a/Master/texmf-dist/tex/latex/l3backend/l3backend-dvisvgm.def +++ b/Master/texmf-dist/tex/latex/l3backend/l3backend-dvisvgm.def @@ -25,7 +25,7 @@ %% %% File: l3backend-basics.dtx \ProvidesExplFile - {l3backend-dvisvgm.def}{2020-03-12}{} + {l3backend-dvisvgm.def}{2020-05-05}{} {L3 backend support: dvisvgm} \cs_new_eq:NN \__kernel_backend_literal:e \tex_special:D \cs_new_protected:Npn \__kernel_backend_literal:n #1 @@ -515,6 +515,7 @@ \cs_new_protected:Npn \__pdf_backend_object_now:nn #1#2 { } \cs_new_protected:Npn \__pdf_backend_object_now:nx #1#2 { } \cs_new:Npn \__pdf_backend_object_last: { } +\cs_new:Npn \__pdf_backend_pageobject_ref:n #1 { } \cs_new_protected:Npn \__pdf_backend_compresslevel:n #1 { } \cs_new_protected:Npn \__pdf_backend_compress_objects:n #1 { } \cs_new_protected:Npn \__pdf_backend_version_major_gset:n #1 { } diff --git a/Master/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def b/Master/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def index 776e0813a14..17ebeeafbdd 100644 --- a/Master/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def +++ b/Master/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def @@ -25,7 +25,7 @@ %% %% File: l3backend-basics.dtx \ProvidesExplFile - {l3backend-pdfmode.def}{2020-03-12}{} + {l3backend-pdfmode.def}{2020-05-05}{} {L3 backend support: PDF mode} \cs_new_eq:NN \__kernel_backend_literal:e \tex_special:D \cs_new_protected:Npn \__kernel_backend_literal:n #1 @@ -673,6 +673,14 @@ { \exp_not:N \tex_pdflastobj:D } \c_space_tl 0 ~ R } +\cs_new:Npx \__pdf_backend_pageobject_ref:n #1 + { + \exp_not:N \int_value:w + \cs_if_exist:NTF \tex_pdffeedback:D + { \exp_not:N \tex_pdffeedback:D pageref } + { \exp_not:N \tex_pdfpageref:D } + \c_space_tl #1 \c_space_tl \c_space_tl \c_space_tl 0 ~ R + } \cs_new_protected:Npx \__pdf_backend_compresslevel:n #1 { \exp_not:N \tex_global:D diff --git a/Master/texmf-dist/tex/latex/l3backend/l3backend-xdvipdfmx.def b/Master/texmf-dist/tex/latex/l3backend/l3backend-xdvipdfmx.def index 4bbc7405d0a..8065a5ce5ca 100644 --- a/Master/texmf-dist/tex/latex/l3backend/l3backend-xdvipdfmx.def +++ b/Master/texmf-dist/tex/latex/l3backend/l3backend-xdvipdfmx.def @@ -25,7 +25,7 @@ %% %% File: l3backend-basics.dtx \ProvidesExplFile - {l3backend-xdvipdfmx.def}{2020-03-12}{} + {l3backend-xdvipdfmx.def}{2020-05-05}{} {L3 backend support: xdvipdfmx} \cs_new_eq:NN \__kernel_backend_literal:e \tex_special:D \cs_new_protected:Npn \__kernel_backend_literal:n #1 @@ -551,6 +551,8 @@ \cs_generate_variant:Nn \__pdf_backend_object_now:nn { nx } \cs_new:Npn \__pdf_backend_object_last: { @pdf.obj \int_use:N \g__pdf_backend_object_int } +\cs_new:Npn \__pdf_backend_pageobject_ref:n #1 + { @page #1 } \bool_new:N \g__pdf_landscape_bool \AtBeginDocument { diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex b/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex index fca41998529..7c496cc6033 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex +++ b/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex @@ -68,7 +68,7 @@ %% and all files in that bundle must be distributed together. %% %% File: expl3.dtx -\def\ExplFileDate{2020-04-06}% +\def\ExplFileDate{2020-05-05}% \begingroup \def\next{\endgroup}% \expandafter\ifx\csname PackageError\endcsname\relax @@ -15364,7 +15364,7 @@ } \cs_new:Npn \__fp_parse_exponent:N #1 { - \if:w e \exp_not:N #1 + \if:w e \if:w E \exp_not:N #1 e \else: \exp_not:N #1 \fi: \exp_after:wN \__fp_parse_exponent_aux:N \exp:w \else: @@ -28559,19 +28559,23 @@ } {#1} {#2} {#3} #4 } -\bool_lazy_or:nnTF - { \sys_if_engine_luatex_p: } - { \sys_if_engine_xetex_p: } +\cs_new:Npn \__text_change_case_char:nnnN #1#2#3#4 { - \cs_new:Npn \__text_change_case_char:nnnN #1#2#3#4 + \token_if_active:NTF #4 + { \__text_change_case_store:n {#4} } { \__text_change_case_store:e { \use:c { char_ #1 case :N } #4 } - \use:c { __text_change_case_char_next_ #2 :nn } {#2} {#3} } + \use:c { __text_change_case_char_next_ #2 :nn } {#2} {#3} } +\bool_lazy_or:nnF + { \sys_if_engine_luatex_p: } + { \sys_if_engine_xetex_p: } { - \cs_new:Npn \__text_change_case_char:nnnN #1#2#3#4 + \cs_new_eq:NN \__text_change_case_char_aux:nnnN + \__text_change_case_char:nnnN + \cs_gset:Npn \__text_change_case_char:nnnN #1#2#3#4 { \int_compare:nNnTF { `#4 } > { "80 } { @@ -28584,10 +28588,7 @@ } {#1} {#2} {#3} #4 } - { - \__text_change_case_store:e{ \use:c { char_ #1 case :N } #4 } - \use:c { __text_change_case_char_next_ #2 :nn } {#2} {#3} - } + { \__text_change_case_char_aux:nnnN {#1} {#2} {#3} #4 } } \cs_new:Npn \__text_change_case_char_UTFviii:nnnNN #1#2#3#4#5 { \__text_change_case_char_UTFviii:nnnn {#1} {#2} {#3} {#4#5} } @@ -30643,8 +30644,8 @@ } \__kernel_msg_new:nnn { kernel } { deprecated-command } { - '#2'~deprecated~on~#1. - \tl_if_empty:nF {#3} { ~Use~'#3'. } + \tl_if_blank:nF {#3} { Use~ \tl_trim_spaces:n {#3} ~not~ } + #2~deprecated~on~#1. \str_if_eq:nnT {#4} { grace } { \c_space_tl diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3-generic.tex b/Master/texmf-dist/tex/latex/l3kernel/expl3-generic.tex index bc2a6fa32dd..e90fd568615 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/expl3-generic.tex +++ b/Master/texmf-dist/tex/latex/l3kernel/expl3-generic.tex @@ -19,7 +19,7 @@ %% and all files in that bundle must be distributed together. %% %% File: expl3.dtx -\def\ExplFileDate{2020-04-06}% +\def\ExplFileDate{2020-05-05}% \let\ExplLoaderFileDate\ExplFileDate \begingroup \def\tempa{LaTeX2e}% diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3.ltx b/Master/texmf-dist/tex/latex/l3kernel/expl3.ltx index 988d8e5b5b7..3308eb7f937 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/expl3.ltx +++ b/Master/texmf-dist/tex/latex/l3kernel/expl3.ltx @@ -19,7 +19,7 @@ %% and all files in that bundle must be distributed together. %% %% File: expl3.dtx -\def\ExplFileDate{2020-04-06}% +\def\ExplFileDate{2020-05-05}% \let\ExplLoaderFileDate\ExplFileDate \everyjob\expandafter{\the\everyjob \message{L3 programming layer <\ExplFileDate>}% diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3.sty b/Master/texmf-dist/tex/latex/l3kernel/expl3.sty index e6865fe5cdd..0817fbd604a 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/expl3.sty +++ b/Master/texmf-dist/tex/latex/l3kernel/expl3.sty @@ -19,7 +19,7 @@ %% and all files in that bundle must be distributed together. %% %% File: expl3.dtx -\def\ExplFileDate{2020-04-06}% +\def\ExplFileDate{2020-05-05}% \let\ExplLoaderFileDate\ExplFileDate \ProvidesPackage{expl3} [% -- cgit v1.2.3