texlive[64654] Master/texmf-dist: algpseudocodex (8oct22)

commits+karl at tug.org commits+karl at tug.org
Sat Oct 8 22:04:35 CEST 2022


Revision: 64654
          http://tug.org/svn/texlive?view=revision&revision=64654
Author:   karl
Date:     2022-10-08 22:04:35 +0200 (Sat, 08 Oct 2022)
Log Message:
-----------
algpseudocodex (8oct22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.pdf
    trunk/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.tex
    trunk/Master/texmf-dist/tex/latex/algpseudocodex/algpseudocodex.sty

Modified: trunk/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.tex	2022-10-08 20:04:23 UTC (rev 64653)
+++ trunk/Master/texmf-dist/doc/latex/algpseudocodex/algpseudocodex.tex	2022-10-08 20:04:35 UTC (rev 64654)
@@ -1,5 +1,5 @@
 %% documentation.tex
-%% Copyright 2020-2021 Christian Matt
+%% Copyright 2020-2022 Christian Matt
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
@@ -29,7 +29,7 @@
 
 \title{\bf{Algpseudocodex Package Documentation}}
 \author{Christian Matt \\ \url{https://github.com/chrmatt/algpseudocodex}}
-\date{\today\\v1.0.1}
+\date{\today\\v1.0.2}
 
 \begin{document}
 
@@ -681,6 +681,11 @@
 
 \section{Revision History}
 
+\subsection*{v1.0.2 (2022-10-07)}
+\begin{itemize}
+	\item Fixed bug with incorrectly ended indent block for nested statements.
+\end{itemize}
+
 \subsection*{v1.0.1 (2021-12-05)}
 \begin{itemize}
 	\item Fixed bug regarding alignment of comments after end if, end for etc.

Modified: trunk/Master/texmf-dist/tex/latex/algpseudocodex/algpseudocodex.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/algpseudocodex/algpseudocodex.sty	2022-10-08 20:04:23 UTC (rev 64653)
+++ trunk/Master/texmf-dist/tex/latex/algpseudocodex/algpseudocodex.sty	2022-10-08 20:04:35 UTC (rev 64654)
@@ -1,5 +1,5 @@
 %% algpseudocodex.sty
-%% Copyright 2017, 2020-2021 Christian Matt
+%% Copyright 2017, 2020-2022 Christian Matt
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
@@ -20,7 +20,7 @@
 % Based on Szasz Janos' algpseudocode.sty
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{algpseudocodex}[2021-12-05 v1.0.1 pseudocode typesetting]
+\ProvidesPackage{algpseudocodex}[2022-10-07 v1.0.2 pseudocode typesetting]
 \RequirePackage{kvoptions}
 \RequirePackage{algorithmicx}
 \RequirePackage{etoolbox}
@@ -465,7 +465,7 @@
 		\@tikzmarkNow{algpx at indentEnd-\FSTop{algpx at indentStack}}%
 		\tikz[overlay,remember picture]{%
 			\pgfextractx{\algpx at indStartX}{\pgfpointanchor{algpx at indentStart-\FSTop{algpx at indentStack}}{center}}%
-			\ifbool{algpx at indJustEnded}{%
+			\ifboolexpr{bool{algpx at indJustEnded} and test{\ifstrequal{#1}{0}}}{%
 				% use same coordinates as for previous end
 				\pgfextracty{\algpx at indEndY}{\pgfpointanchor{algpx at indentEnd-\thealgpx at justUsedIndentCount}{center}}%
 				\draw[algpxIndentLine] ($(algpx at indentStart-\FSTop{algpx at indentStack})+(0.12em,-0.8ex)$) -- ($(\algpx at indStartX,\algpx at indEndY)+(0.12em,0ex)$) -- +(0.5em,0);%



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