From f808c98da8e34907b93b8b1c2ef473539b88c504 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 10 Mar 2021 03:00:54 +0000 Subject: CTAN sync 202103100300 --- macros/latex/contrib/easybook/easybook.cls | 32 +++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'macros/latex/contrib/easybook/easybook.cls') diff --git a/macros/latex/contrib/easybook/easybook.cls b/macros/latex/contrib/easybook/easybook.cls index 29fb884d84..a502518987 100644 --- a/macros/latex/contrib/easybook/easybook.cls +++ b/macros/latex/contrib/easybook/easybook.cls @@ -9,7 +9,7 @@ %% https://creativecommons.org/licenses/by/4.0/legalcode \NeedsTeXFormat{LaTeX2e} \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2021/03/08}{1.23k}{} +\ProvidesExplClass{easybook}{2021/03/09}{1.23l}{} \cs_generate_variant:Nn \keys_define:nn {nx} \cs_generate_variant:Nn \int_to_arabic:n {v} @@ -1039,9 +1039,9 @@ }{#3} \bool_set_true:N \l__backend_bibtex_bool -\tl_new:N \l__bib_mysty_tl \tl_new:N \l__bib_style_tl -\tl_new:N \l__bib_citesty_tl +\tl_new:N \l__bib_otherstyle_tl +\tl_new:N \l__bib_citestyle_tl \tl_new:N \l__bib_file_tl \__ctex_define:nn {bibset} @@ -1056,26 +1056,26 @@ bib-style/numerical .code:n = { \tl_set:Nn \l__bib_style_tl{#1} - \tl_clear:N \l__bib_mysty_tl + \tl_clear:N \l__bib_otherstyle_tl }, bib-style/authoryear .code:n = { \tl_set:Nn \l__bib_style_tl{#1} - \tl_clear:N \l__bib_mysty_tl + \tl_clear:N \l__bib_otherstyle_tl }, bib-style/unknown .code:n = - {\tl_set_eq:NN \l__bib_mysty_tl\l_keys_value_tl}, + {\tl_set_eq:NN \l__bib_otherstyle_tl\l_keys_value_tl}, bib-style .initial:n = numerical, cite-style .code:n = - {\tl_set:Nn \l__bib_citesty_tl{#1}}, + {\tl_set:Nn \l__bib_citestyle_tl{#1}}, bibfile .tl_set:N = \l__bib_file_tl, bibfile .initial:n = ref/refs.bib } \cs_new_protected:Npn \__bibtex_set: { - \tl_if_empty:NTF \l__bib_mysty_tl + \tl_if_empty:NTF \l__bib_otherstyle_tl { \tl_if_eq:VnT \l__bib_style_tl{numerical} { @@ -1086,10 +1086,10 @@ {\bibliographystyle{gbt7714-author-year}} \cs_set_eq:NN \cite\citep }{ - \exp_args:NV \bibliographystyle\l__bib_mysty_tl + \exp_args:NV \bibliographystyle\l__bib_otherstyle_tl } - \tl_if_empty:NF \l__bib_citesty_tl - {\exp_args:NV \setcitestyle\l__bib_citesty_tl} + \tl_if_empty:NF \l__bib_citestyle_tl + {\exp_args:NV \setcitestyle\l__bib_citestyle_tl} \cs_set:Npn \bibsection{\__title_mark_intoc:n \bibname} \skip_set:Nn \bibsep{0ex} \NewDocumentCommand{\printbibliography}{o} @@ -1099,17 +1099,17 @@ {\PassOptionsToPackage{#1}{biblatex}} \cs_new_protected:Npn \__biblatex_pre_set: { - \tl_if_empty:NTF \l__bib_mysty_tl + \tl_if_empty:NTF \l__bib_otherstyle_tl { \tl_if_eq:VnT \l__bib_style_tl{numerical} {\__put_biblatex:n {style = gb7714-2015}} \tl_if_eq:VnT \l__bib_style_tl{authoryear} {\__put_biblatex:n {style = gb7714-2015ay}} }{ - \__put_biblatex:n {style = \l__bib_mysty_tl} + \__put_biblatex:n {style = \l__bib_otherstyle_tl} } - \tl_if_empty:NF \l__bib_citesty_tl - {\__put_biblatex:n {citestyle = \l__bib_citesty_tl}} + \tl_if_empty:NF \l__bib_citestyle_tl + {\__put_biblatex:n {citestyle = \l__bib_citestyle_tl}} \__put_biblatex:n {backend = biber} } \cs_new_protected:Npn \__biblatex_after_set: @@ -1200,7 +1200,7 @@ style = mystyle, breaklines = true, resetmargins = true, - numbers = left, + % numbers = left, numberstyle = \footnotesize, abovecaptionskip = -1ex, belowcaptionskip = 1ex, -- cgit v1.2.3