From bb88380c39955ed093fc8d2edef96bb704b0d467 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 4 May 2012 23:49:12 +0000 Subject: new package lstaddons 0.1 (3may12) git-svn-id: svn://tug.org/texlive/trunk@26196 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/lstaddons/README | 50 +++++++++++++++++++++ .../doc/latex/lstaddons/lstautogobble.pdf | Bin 0 -> 183234 bytes .../texmf-dist/doc/latex/lstaddons/lstlinebgrd.pdf | Bin 0 -> 213449 bytes 3 files changed, 50 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/lstaddons/README create mode 100644 Master/texmf-dist/doc/latex/lstaddons/lstautogobble.pdf create mode 100644 Master/texmf-dist/doc/latex/lstaddons/lstlinebgrd.pdf (limited to 'Master/texmf-dist/doc/latex/lstaddons') diff --git a/Master/texmf-dist/doc/latex/lstaddons/README b/Master/texmf-dist/doc/latex/lstaddons/README new file mode 100644 index 00000000000..7306f47deb0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/lstaddons/README @@ -0,0 +1,50 @@ +LaTeX bundle 'lstaddons' +~~~~~~~~~~~~~~~~~~~~~~~~ +Copyright (c) 2011-2012 by Martin Scharrer +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. + diff --git a/Master/texmf-dist/doc/latex/lstaddons/lstautogobble.pdf b/Master/texmf-dist/doc/latex/lstaddons/lstautogobble.pdf new file mode 100644 index 00000000000..5321a973198 Binary files /dev/null and b/Master/texmf-dist/doc/latex/lstaddons/lstautogobble.pdf differ diff --git a/Master/texmf-dist/doc/latex/lstaddons/lstlinebgrd.pdf b/Master/texmf-dist/doc/latex/lstaddons/lstlinebgrd.pdf new file mode 100644 index 00000000000..55843f75a68 Binary files /dev/null and b/Master/texmf-dist/doc/latex/lstaddons/lstlinebgrd.pdf differ -- cgit v1.2.3