diff options
author | Karl Berry <karl@freefriends.org> | 2023-09-28 21:18:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-09-28 21:18:36 +0000 |
commit | 755d66cda858e523a28c32ff6486709d115cc51b (patch) | |
tree | 6cb09ab1f4d83a94fd9eb72193833eb45c7e281b /Master/texmf-dist/tex/latex | |
parent | 4c935724290ce71e98c2430f17428246c1ca876f (diff) |
jwjournal (28sep23)
git-svn-id: svn://tug.org/texlive/trunk@68390 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/jwjournal/jwjournal.cls | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/jwjournal/jwjournal.cls b/Master/texmf-dist/tex/latex/jwjournal/jwjournal.cls index 9b1e23804f0..9c208c88a89 100644 --- a/Master/texmf-dist/tex/latex/jwjournal/jwjournal.cls +++ b/Master/texmf-dist/tex/latex/jwjournal/jwjournal.cls @@ -12,7 +12,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplClass {jwjournal} - {2023/09/01} {} + {2023/09/28} {} {JW's journal class} \keys_define:nn { jwjournal } @@ -105,6 +105,8 @@ \RequirePackage { enumitem } \setlist [ description ] { font = \normalfont\sffamily, leftmargin = 3em, topsep = 0pt, labelsep = 1em } +\newlist { jwjournal-continued-text } { itemize } { 1 } +\setlist [ jwjournal-continued-text ] { leftmargin = 3em, topsep = 0pt, label = {} } \dim_new:N \l_jwjournal_labelsep_dim \dim_set:Nn \l_jwjournal_labelsep_dim { \labelsep } \setlist [ 2 ] { labelsep = \l_jwjournal_labelsep_dim, labelwidth = !} @@ -124,6 +126,12 @@ \item[#1] #2 \end{description} } +\NewDocumentCommand \JWJournalContinue { m } + { + \begin{jwjournal-continued-text} + \item #1 + \end{jwjournal-continued-text} + } \NewDocumentCommand \JWJournalNote { m } { @@ -338,7 +346,7 @@ { \c{hfill} } \l_jwjournal_tmp_tl \regex_replace_all:nnN - { // } + { [^\:]// } { \c{c_jwjournal_new_line_with_skip_tl} } \l_jwjournal_tmp_tl @@ -423,6 +431,11 @@ { \c{JWJournalItem} {\1} {\2} } \l_jwjournal_tmp_tl + \regex_replace_once:nnN + { ❄️ \ *? \~\~ \ *? (.*) } + { \c{JWJournalContinue} {\1} } + \l_jwjournal_tmp_tl + \regex_replace_once:nnN { ❄️ } { } \l_jwjournal_tmp_tl \tl_gput_right:NV \g_jwjournal_content_tl \l_jwjournal_tmp_tl |