texlive[73893] branches/branch2024.final/Master/texmf-dist:

commits+karl at tug.org commits+karl at tug.org
Tue Feb 11 21:55:01 CET 2025


Revision: 73893
          https://tug.org/svn/texlive?view=revision&revision=73893
Author:   karl
Date:     2025-02-11 21:55:00 +0100 (Tue, 11 Feb 2025)
Log Message:
-----------
codedescribe (branch) (11feb25)

Modified Paths:
--------------
    branches/branch2024.final/Master/texmf-dist/doc/latex/codedescribe/README.md
    branches/branch2024.final/Master/texmf-dist/doc/latex/codedescribe/codedescribe.pdf
    branches/branch2024.final/Master/texmf-dist/doc/latex/codedescribe/codedescribe.tex
    branches/branch2024.final/Master/texmf-dist/tex/latex/codedescribe/codedescribe.sty
    branches/branch2024.final/Master/texmf-dist/tex/latex/codedescribe/codelisting.sty

Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/codedescribe/README.md
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/latex/codedescribe/README.md	2025-02-11 20:54:48 UTC (rev 73892)
+++ branches/branch2024.final/Master/texmf-dist/doc/latex/codedescribe/README.md	2025-02-11 20:55:00 UTC (rev 73893)
@@ -86,8 +86,10 @@
 
 ## Changelog
 
+* Version 1.5 (this)
+    - fixing issue #1 (misalignment when missing a `codesyntax` inner environment). 
 
-* Version 1.4 (this)
+* Version 1.4
     - The 'new', 'update' and 'info' keys can, now, be used multiple times when declaring a codedescribe environment. (see documentation).
 
 * Version 1.3
@@ -95,7 +97,7 @@
 
 
 * Version 1.2
-    - Added of format key: basicstyle
+    - Added format key: basicstyle
     
 * Version 1.1
     - Added two commands to allow <obj-types> customization 

Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/codedescribe/codedescribe.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/codedescribe/codedescribe.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/latex/codedescribe/codedescribe.tex	2025-02-11 20:54:48 UTC (rev 73892)
+++ branches/branch2024.final/Master/texmf-dist/doc/latex/codedescribe/codedescribe.tex	2025-02-11 20:55:00 UTC (rev 73893)
@@ -15,7 +15,7 @@
 %%
 %% The Current Maintainer of this work is Alceu Frigeri
 %%
-%% This is version {1.4} {2024/02/17}
+%% This is version {1.5} {2025/02/10}
 %%
 %% The list of files that compose this work can be found in the README.md file at
 %% https://ctan.org/pkg/codedescribe

Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/codedescribe/codedescribe.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/codedescribe/codedescribe.sty	2025-02-11 20:54:48 UTC (rev 73892)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/codedescribe/codedescribe.sty	2025-02-11 20:55:00 UTC (rev 73893)
@@ -12,7 +12,7 @@
 %%
 %% The Current Maintainer of this work is Alceu Frigeri
 %%
-%% This is version {1.4} {2024/02/17}
+%% This is version {1.5} {2025/02/10}
 %%
 %% The list of files that compose this work can be found in the README.md file at
 %% https://ctan.org/pkg/codedescribe
@@ -22,8 +22,8 @@
 
 \ProvidesExplPackage
     {codedescribe}
-    {2024/02/17}
-    {1.4}
+    {2025/02/10}
+    {1.5}
     {LaTeX Code Description/Documentation}
 
 %%%%%%%
@@ -36,8 +36,8 @@
   {
      name        .code:n = {codedescribe} ,
      prefix      .code:n = {codedesc} ,
-     date        .code:n = {2024/02/17} ,
-     version     .code:n = {1.4} ,
+     date        .code:n = {2025/02/10} ,
+     version     .code:n = {1.5} ,
      description .code:n = {\LaTeX~Code~Description/Documentation}
   }
 \cs_if_exist:NF \PkgInfo 
@@ -50,10 +50,6 @@
 %%% End of cut-n-paste
 %%%%%%%
 
-
-
-
-
 \use:c {@reversemargintrue}
 
 \bool_new:N \l__codedesc_loadlisting_bool
@@ -111,8 +107,6 @@
   }
 
 
-
-
 %%%%%%%
 %%%
 %%% 'simplified' bold versions of \hline and \rule
@@ -768,6 +762,23 @@
   {
     \end{minipage}
     \vcoffin_set_end:
+    \bool_if:NF \l__codedesc_syntax_bool
+      {
+        \vcoffin_gset:Nnn \l__codedesc_syntax_coffin {\l__codedesc_syntax_wd_dim}
+          {
+            \__codedesc_metafmt:n {syntax}
+            \hspace*{2em}     %% !!! together with \parindent{-2em}
+            \begin{tabular} { @{} l @{} }
+              \__codedesc_hline:nnnn {\color{white}}{0.5ex}{2}{-1.5ex}
+              \__codedesc_metacolor_tl:
+              \begin{minipage}[t]{\l__codedesc_syntax_wd_dim}
+                \obeylines\obeyspaces\setlength\parindent{-2em}
+              \end{minipage}\\[-2.5ex]
+                  \\                                
+                  \__codedesc_hline:nnnn {\color{white}}{0ex}{2}{1ex}      
+            \end{tabular}
+          }
+      }
     \bool_if:NTF \l__codedesc_longblock_bool
       { % __describeblock starting at marginpar
         \coffin_join:NnnNnnnn \l__codedesc_syntax_coffin {l}{t} \l__codedesc_margin_coffin {r}{t} {-\marginparsep}{0pt}
@@ -805,6 +816,7 @@
     \end{tabular}
     %\color{black}
     \vcoffin_gset_end:
+    \bool_set_true:N \l__codedesc_syntax_bool
   }
 
   

Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/codedescribe/codelisting.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/codedescribe/codelisting.sty	2025-02-11 20:54:48 UTC (rev 73892)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/codedescribe/codelisting.sty	2025-02-11 20:55:00 UTC (rev 73893)
@@ -12,7 +12,7 @@
 %%
 %% The Current Maintainer of this work is Alceu Frigeri
 %%
-%% This is version {1.4} {2024/02/17}
+%% This is version {1.5} {2025/02/10}
 %%
 %% The list of files that compose this work can be found in the README.md file at
 %% https://ctan.org/pkg/codedescribe
@@ -22,8 +22,8 @@
 
 \ProvidesExplPackage
     {codelisting}
-    {2024/02/17}
-    {1.4}
+    {2025/02/10}
+    {1.5}
     {LaTeX Code Listing}
 
 %%%%%%%
@@ -36,8 +36,8 @@
   {
      name        .code:n = {codelisting} ,
      prefix      .code:n = {codelist} ,
-     date        .code:n = {2024/02/17} ,
-     version     .code:n = {1.4} ,
+     date        .code:n = {2025/02/10} ,
+     version     .code:n = {1.5} ,
      description .code:n = {\LaTeX~Code~Listing}
   }
 \cs_if_exist:NF \PkgInfo 



More information about the tex-live-commits mailing list.