texlive[72068] Master/texmf-dist: lstaddons (19aug24)
commits+karl at tug.org
commits+karl at tug.org
Mon Aug 19 22:14:20 CEST 2024
Revision: 72068
https://tug.org/svn/texlive?view=revision&revision=72068
Author: karl
Date: 2024-08-19 22:14:20 +0200 (Mon, 19 Aug 2024)
Log Message:
-----------
lstaddons (19aug24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/lstaddons/lstautogobble.pdf
trunk/Master/texmf-dist/doc/latex/lstaddons/lstlinebgrd.pdf
trunk/Master/texmf-dist/source/latex/lstaddons/lstautogobble.dtx
trunk/Master/texmf-dist/source/latex/lstaddons/lstlinebgrd.dtx
trunk/Master/texmf-dist/tex/latex/lstaddons/lstautogobble.sty
trunk/Master/texmf-dist/tex/latex/lstaddons/lstlinebgrd.sty
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/lstaddons/README.txt
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/lstaddons/README
Deleted: trunk/Master/texmf-dist/doc/latex/lstaddons/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lstaddons/README 2024-08-19 20:13:39 UTC (rev 72067)
+++ trunk/Master/texmf-dist/doc/latex/lstaddons/README 2024-08-19 20:14:20 UTC (rev 72068)
@@ -1,50 +0,0 @@
-LaTeX bundle 'lstaddons'
-~~~~~~~~~~~~~~~~~~~~~~~~
-Copyright (c) 2011-2012 by Martin Scharrer <martin at scharrer-online.de>
-CTAN: http://www.ctan.org/pkg/lstaddons
-Code repository: https://bitbucket.org/martin_scharrer/lstaddons
-
-This bundle contains a small collections of add-on packages for
-the 'listings' package.
-These packages patch internal macros to provide additional features
-to 'listings'.
-
-The add-ons are so far:
-
-
-lstlinebgrd
-~~~~~~~~~~~
-Provides 'linebackground' options for 'lstlisting' which
-can be used to color the background of each line of the listing.
-The use of conditionals which depend on the line number is supported,
-which allows zebra-effects etc.
-
-This package was originally written in response to the question
-"Creating a zebra effect using listings"
-(http://tex.stackexchange.com/q/18969/2975).
-
-
-lstautogobble
-~~~~~~~~~~~~~
-Provides an 'autogobble=true|false' option for 'listing' which will set the
-standard 'gobble' option to the indention of the first line. This allows
-people to indent their listings code in the source file without having to
-use a suitable value for 'gobble' themselves.
-
-This package was originally written in response to the question
-"How to automatically skip leading white spaces in listings"
-(http://tex.stackexchange.com/q/19953/2975)
-
-
-INSTALLATION
-============
-Run 'tex lstaddons.ins' to extract all package files.
-Compile all .dtx files with pdflatex to produce the package manuals.
-Copy the files to the following subdirectories of your TEXMF tree:
-
- *.sty => tex/latex/lstaddons/
- *.dtx *.ins => source/latex/lstaddons/
- *.pdf README => doc/latex/lstaddons/
-
-Finally update your TeX file list by running 'texhash' or similar tool.
-
Added: trunk/Master/texmf-dist/doc/latex/lstaddons/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lstaddons/README.txt (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/lstaddons/README.txt 2024-08-19 20:14:20 UTC (rev 72068)
@@ -0,0 +1,50 @@
+LaTeX bundle 'lstaddons'
+~~~~~~~~~~~~~~~~~~~~~~~~
+Copyright (c) 2011-2022 by Martin Scharrer <martin.scharrer at web.de>
+CTAN: http://www.ctan.org/pkg/lstaddons
+Code repository: https://github.com/MartinScharrer/lstaddons/
+
+This bundle contains a small collections of add-on packages for
+the 'listings' package.
+These packages patch internal macros to provide additional features
+to 'listings'.
+
+The add-ons are so far:
+
+
+lstlinebgrd
+~~~~~~~~~~~
+Provides 'linebackground' options for 'lstlisting' which
+can be used to color the background of each line of the listing.
+The use of conditionals which depend on the line number is supported,
+which allows zebra-effects etc.
+
+This package was originally written in response to the question
+"Creating a zebra effect using listings"
+(http://tex.stackexchange.com/q/18969/2975).
+
+
+lstautogobble
+~~~~~~~~~~~~~
+Provides an 'autogobble=true|false' option for 'listing' which will set the
+standard 'gobble' option to the indention of the first line. This allows
+people to indent their listings code in the source file without having to
+use a suitable value for 'gobble' themselves.
+
+This package was originally written in response to the question
+"How to automatically skip leading white spaces in listings"
+(http://tex.stackexchange.com/q/19953/2975)
+
+
+INSTALLATION
+============
+Run 'tex lstaddons.ins' to extract all package files.
+Compile all .dtx files with pdflatex to produce the package manuals.
+Copy the files to the following subdirectories of your TEXMF tree:
+
+ *.sty => tex/latex/lstaddons/
+ *.dtx *.ins => source/latex/lstaddons/
+ *.pdf README => doc/latex/lstaddons/
+
+Finally update your TeX file list by running 'texhash' or similar tool.
+
Property changes on: trunk/Master/texmf-dist/doc/latex/lstaddons/README.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/lstaddons/lstautogobble.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/lstaddons/lstlinebgrd.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/lstaddons/lstautogobble.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/lstaddons/lstautogobble.dtx 2024-08-19 20:13:39 UTC (rev 72067)
+++ trunk/Master/texmf-dist/source/latex/lstaddons/lstautogobble.dtx 2024-08-19 20:14:20 UTC (rev 72068)
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%<=*COPYRIGHT>
-%% Copyright (C) 2011-2012 by Martin Scharrer <martin at scharrer-online.de>
+%% Copyright (c) 2011-2022 by Martin Scharrer <martin.scharrer at web.de>
%% -----------------------------------------------------------------------
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -69,9 +69,9 @@
%
% \GetFileInfo{lstautogobble.dtx}
% \author{Martin Scharrer}
-% \email{martin at scharrer-online.de}
+% \email{martin.scharrer at web.de}
% \ifdefined\repository
-% \repository{https://bitbucket.org/martin_scharrer/lstautogobble}
+% \repository{https://github.com/MartinScharrer/lstaddons/}
% \fi
%
% \maketitle
Modified: trunk/Master/texmf-dist/source/latex/lstaddons/lstlinebgrd.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/lstaddons/lstlinebgrd.dtx 2024-08-19 20:13:39 UTC (rev 72067)
+++ trunk/Master/texmf-dist/source/latex/lstaddons/lstlinebgrd.dtx 2024-08-19 20:14:20 UTC (rev 72068)
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%<=*COPYRIGHT>
-%% Copyright (C) 2011-2012 by Martin Scharrer <martin at scharrer-online.de>
+%% Copyright (c) 2011-2024 by Martin Scharrer <martin.scharrer at web.de>
%% ----------------------------------------------------------------------
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -24,10 +24,10 @@
%<*driver>
\ProvidesFile{lstlinebgrd.dtx}[%
%<=*DATE>
- 2012/05/03
+ 2014/08/18
%<=/DATE>
%<=*VERSION>
- v0.1
+ v0.2
%<=/VERSION>
DTX file for 'lstlinebgrd']
\documentclass{ydoc}
@@ -73,14 +73,15 @@
%
% \changes{v0.1}{2012/05/03}{Initial release.}
+% \changes{v0.2}{2024/08/18}{Updated internal separator.}
%
% \DoNotIndex{\newcommand,\newenvironment}
%
% \GetFileInfo{lstlinebgrd.dtx}
% \author{Martin Scharrer}
-% \email{martin at scharrer-online.de}
+% \email{martin.scharrer at web.de}
% \ifdefined\repository
-% \repository{https://bitbucket.org/martin_scharrer/lstlinebgrd}
+% \repository{https://github.com/MartinScharrer/lstaddons/}
% \fi
%
% \maketitle
@@ -238,10 +239,10 @@
\lst at Key{numbers}{none}{%
\def\lst at PlaceNumber{\lst at linebgrd}%
\lstKV at SwitchCases{#1}%
- {none&\\%
- left&\def\lst at PlaceNumber{\llap{\normalfont
+ {none:\\%
+ left:\def\lst at PlaceNumber{\llap{\normalfont
\lst at numberstyle{\thelstnumber}\kern\lst at numbersep}\lst at linebgrd}\\%
- right&\def\lst at PlaceNumber{\rlap{\normalfont
+ right:\def\lst at PlaceNumber{\rlap{\normalfont
\kern\linewidth \kern\lst at numbersep
\lst at numberstyle{\thelstnumber}}\lst at linebgrd}%
}{\PackageError{Listings}{Numbers #1 unknown}\@ehc}}
Modified: trunk/Master/texmf-dist/tex/latex/lstaddons/lstautogobble.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lstaddons/lstautogobble.sty 2024-08-19 20:13:39 UTC (rev 72067)
+++ trunk/Master/texmf-dist/tex/latex/lstaddons/lstautogobble.sty 2024-08-19 20:14:20 UTC (rev 72068)
@@ -1,4 +1,4 @@
-%% Copyright (C) 2011-2012 by Martin Scharrer <martin at scharrer-online.de>
+%% Copyright (c) 2011-2022 by Martin Scharrer <martin.scharrer at web.de>
%% -----------------------------------------------------------------------
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
Modified: trunk/Master/texmf-dist/tex/latex/lstaddons/lstlinebgrd.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lstaddons/lstlinebgrd.sty 2024-08-19 20:13:39 UTC (rev 72067)
+++ trunk/Master/texmf-dist/tex/latex/lstaddons/lstlinebgrd.sty 2024-08-19 20:14:20 UTC (rev 72068)
@@ -1,6 +1,6 @@
-%% Copyright (C) 2011-2012 by Martin Scharrer <martin at scharrer-online.de>
+%% Copyright (c) 2011-2024 by Martin Scharrer <martin.scharrer at web.de>
%% ----------------------------------------------------------------------
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -18,8 +18,8 @@
%% and the derived filebase lstlinebgrd.sty.
%%
\ProvidesPackage{lstlinebgrd}[%
- 2012/05/03
- v0.1
+ 2014/08/18
+ v0.2
Provides 'listings' options to color the background of lines]
\RequirePackage{listings}
\RequirePackage{xcolor}
@@ -27,10 +27,10 @@
\lst at Key{numbers}{none}{%
\def\lst at PlaceNumber{\lst at linebgrd}%
\lstKV at SwitchCases{#1}%
- {none&\\%
- left&\def\lst at PlaceNumber{\llap{\normalfont
+ {none:\\%
+ left:\def\lst at PlaceNumber{\llap{\normalfont
\lst at numberstyle{\thelstnumber}\kern\lst at numbersep}\lst at linebgrd}\\%
- right&\def\lst at PlaceNumber{\rlap{\normalfont
+ right:\def\lst at PlaceNumber{\rlap{\normalfont
\kern\linewidth \kern\lst at numbersep
\lst at numberstyle{\thelstnumber}}\lst at linebgrd}%
}{\PackageError{Listings}{Numbers #1 unknown}\@ehc}}
More information about the tex-live-commits
mailing list.