Index: doc/LaTeXmacros/common.sty
===================================================================
--- doc/LaTeXmacros/common.sty	(revision ead38584cd23fbdbd03d98b96cc4f1099187e9b6)
+++ doc/LaTeXmacros/common.sty	(revision 562ccf932b7dc92cecba9eba886b69bf1da126b0)
@@ -11,6 +11,6 @@
 %% Created On       : Sat Apr  9 10:06:17 2016
 %% Last Modified By : Peter A. Buhr
-%% Last Modified On : Mon Jun 24 08:03:28 2024
-%% Update Count     : 659
+%% Last Modified On : Sun Aug 25 11:52:19 2024
+%% Update Count     : 661
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
@@ -267,4 +267,6 @@
 \usepackage{listings}									% format program code
 \usepackage{lstlang}
+
+\lst@AddToHook{OnEmptyLine}{\addtocounter{lstnumber}{-1}}% remove empty line number increment from listings
 
 \newcommand{\LstBasicStyle}[1]{{\lst@basicstyle{#1}}}
Index: doc/LaTeXmacros/common.tex
===================================================================
--- doc/LaTeXmacros/common.tex	(revision ead38584cd23fbdbd03d98b96cc4f1099187e9b6)
+++ doc/LaTeXmacros/common.tex	(revision 562ccf932b7dc92cecba9eba886b69bf1da126b0)
@@ -11,6 +11,6 @@
 %% Created On       : Sat Apr  9 10:06:17 2016
 %% Last Modified By : Peter A. Buhr
-%% Last Modified On : Mon Jun 24 08:01:50 2024
-%% Update Count     : 667
+%% Last Modified On : Sun Aug 25 11:52:20 2024
+%% Update Count     : 673
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
@@ -271,4 +271,6 @@
 
 \makeatletter
+\lst@AddToHook{OnEmptyLine}{\addtocounter{lstnumber}{-1}}% remove empty line number increment from listings
+
 \newcommand{\LstBasicStyle}[1]{{\lst@basicstyle{#1}}}
 \newcommand{\LstKeywordStyle}[1]{{\lst@basicstyle{\lst@keywordstyle{#1}}}}
