diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-27 19:55:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-27 19:55:46 +0000 |
commit | 320846e8206ce020a038e0f44bd24a18f7b0e881 (patch) | |
tree | fb693659157f36ee2f0fac599f4b659728949668 /Master/texmf-dist/tex/latex/l3experimental/xgalley/l3galley.sty | |
parent | ad4ddc33e3bcfed3e2ac7b06a93bc9e61c41d8fb (diff) |
l3 (27may21)
git-svn-id: svn://tug.org/texlive/trunk@59371 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3experimental/xgalley/l3galley.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3experimental/xgalley/l3galley.sty | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/l3experimental/xgalley/l3galley.sty b/Master/texmf-dist/tex/latex/l3experimental/xgalley/l3galley.sty index cb3484818c0..40c9f3cc3e0 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/xgalley/l3galley.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/xgalley/l3galley.sty @@ -32,7 +32,7 @@ }% \endinput } -\ProvidesExplPackage{l3galley}{2021-02-18}{} +\ProvidesExplPackage{l3galley}{2021-05-27}{} {L3 Experimental galley code} \int_new:N \l__galley_tmp_int \seq_new:N \g__galley_tmpa_seq @@ -539,10 +539,10 @@ \bool_lazy_and:nnTF { \dim_compare_p:nNn \l_galley_total_left_margin_dim = \c_zero_dim } { \dim_compare_p:nNn \l_galley_total_right_margin_dim = \c_zero_dim } - { \tex_parshape:D 0 \exp_stop_f: } + { \tex_parshape:D \c_zero_int } { \tex_parshape:D - 1 \exp_stop_f: + \c_one_int \l_galley_total_left_margin_dim \l_galley_text_width_dim } @@ -731,7 +731,7 @@ \tex_displaywidowpenalties:D \int_eval:n { \clist_count:n {#1} + 1 } \exp_stop_f: \clist_map_function:nN {#1} \__galley_set_aux:n - 0 \exp_stop_f: + \c_zero_int } \cs_generate_variant:Nn \galley_display_widow_penalties_set:n { V , v } \cs_new_protected:Npn \galley_widow_penalties_set:n #1 @@ -739,7 +739,7 @@ \tex_widowpenalties:D \int_eval:n { \clist_count:n {#1} + 1 } \exp_stop_f: \clist_map_function:nN {#1} \__galley_set_aux:n - 0 \exp_stop_f: + \c_zero_int } \cs_generate_variant:Nn \galley_widow_penalties_set:n { V , v } \cs_new:Npn \__galley_set_aux:n #1 { \int_eval:n {#1} ~ } @@ -760,7 +760,7 @@ \tex_clubpenalties:D \int_eval:n { \clist_count:n {#1} + 1 } \exp_stop_f: \clist_map_function:nN {#1} \__galley_set_aux:n - 0 \exp_stop_f: + \c_zero_int \__galley_calc_interline_penalties: } \cs_generate_variant:Nn \galley_display_club_penalties_set:n { V , v } @@ -789,7 +789,7 @@ \cs_new_protected:Npn \__galley_set_interline_penalty:nn #1#2 { \tex_interlinepenalties:D - \tex_interlinepenalties:D 0 \exp_stop_f: + \tex_interlinepenalties:D \c_zero_int \int_step_function:nN {#1} \__galley_set_interline_penalty_auxi:n \int_step_function:nnN { #1 + 1 } { \tex_interlinepenalties:D 0 - 1 } @@ -820,7 +820,7 @@ \__galley_calc_interline_penalties_auxi:n \int_step_function:nnN { #2 + 1 } { #1 - 1 } \__galley_calc_interline_penalties_auxii:n - \tex_interlinepenalties:D \tex_interlinepenalties:D 0 \exp_stop_f: + \tex_interlinepenalties:D \tex_interlinepenalties:D \c_zero_int } \cs_new:Npn \__galley_calc_interline_penalties_auxi:n #1 { @@ -836,7 +836,7 @@ { \int_eval:n { - \tex_interlinepenalties:D \tex_interlinepenalties:D 0 \exp_stop_f: + \tex_interlinepenalties:D \tex_interlinepenalties:D \c_zero_int + 0 \clist_item:Nn \l_galley_club_penalties_clist {#1} - \tex_clubpenalties:D #1 ~ } @@ -880,7 +880,7 @@ \cs_new:Npn \__galley_save_widow_penalties:n #1 { \int_value:w \tex_widowpenalties:D \int_eval:n {#1} , } \cs_new_protected:Npn \galley_interline_penalty: - { \int_value:w \tex_interlinepenalties:D \tex_interlinepenalties:D 0 \exp_stop_f: } + { \int_value:w \tex_interlinepenalties:D \tex_interlinepenalties:D \c_zero_int } \__kernel_msg_new:nnn { galley } { no-line-to-end } { There's~no~line~here~to~end. } \cs_set:Npn \clearpage |