From 01312ede8e1f6790ec0410527c08006e9d176fcf Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 30 Aug 2013 19:33:47 +0000 Subject: listings (29aug13) git-svn-id: svn://tug.org/texlive/trunk@31543 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/listings/Makefile | 8 ++-- .../texmf-dist/doc/latex/listings/listings-lua.prf | 39 ++++++++++++++++ .../doc/latex/listings/listings-python.prf | 49 +++++++++++++++++++++ Master/texmf-dist/doc/latex/listings/listings.pdf | Bin 715984 -> 717293 bytes Master/texmf-dist/doc/latex/listings/lstdrvrs.pdf | Bin 474219 -> 479989 bytes 5 files changed, 92 insertions(+), 4 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/listings/listings-lua.prf create mode 100644 Master/texmf-dist/doc/latex/listings/listings-python.prf (limited to 'Master/texmf-dist/doc/latex/listings') diff --git a/Master/texmf-dist/doc/latex/listings/Makefile b/Master/texmf-dist/doc/latex/listings/Makefile index 0ae8d1a1cdc..37805082dec 100644 --- a/Master/texmf-dist/doc/latex/listings/Makefile +++ b/Master/texmf-dist/doc/latex/listings/Makefile @@ -2,7 +2,7 @@ # # This file generates files required to use the listings package. # -# $Id: Makefile 65 2013-08-03 11:02:22Z j_hoffmann $ +# $Id: Makefile 80 2013-08-05 17:46:11Z j_hoffmann $ # # (c) 2007 Brooks Moses # (c) 2013 Jobst Hoffmann @@ -97,13 +97,13 @@ clean: -rm -f *.bbl *.blg *.brf clean-results: - -rm -f *.cfg *.pdf *.sty + -rm -f *.cfg *.pdf *.prf *.sty realclean: clean clean-results ### create packed files tar-src: - $(MAKE) realclean; \ + @$(MAKE) realclean; \ sed -i -e "s+fileversion{[a-z0-9\.\-]*}+fileversion{$(VERSION)}+g" \ -e "s+filedate{[0-9/]*}+filedate{$(DATE)}+g" \ -e "s+date{[0-9/]*\\\\enspace+date{$(DATE)\\\\enspace+g" \ @@ -116,7 +116,7 @@ tar-src: cd ..; tar $(EXsvn) -czvf $(PACKAGE)/$(TAR_SRC) $(PACKAGE) tar-dist: $(DISTRIBUTION_FILES) - $(MAKE) realclean; \ + @$(MAKE) realclean; \ sed -i -e "s+fileversion{[a-z0-9\.\-]*}+fileversion{$(VERSION)}+g" \ -e "s+filedate{[0-9/]*}+filedate{$(DATE)}+g" \ -e "s+date{[0-9/]*\\\\enspace+date{$(DATE)\\\\enspace+g" \ diff --git a/Master/texmf-dist/doc/latex/listings/listings-lua.prf b/Master/texmf-dist/doc/latex/listings/listings-lua.prf new file mode 100644 index 00000000000..05b79095d3f --- /dev/null +++ b/Master/texmf-dist/doc/latex/listings/listings-lua.prf @@ -0,0 +1,39 @@ +%% +%% This is file `listings-lua.prf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lstdrvrs.dtx (with options: `lua-prf') +%% +%% The listings package is copyright 1996--2004 Carsten Heinz, and +%% continued maintenance on the package is copyright 2006--2007 Brooks +%% Moses. From 2013 on the maintenance is done by Jobst Hoffmann. +%% The drivers are copyright 1997/1998/1999/2000/2001/2002/2003/2004/2006/ +%% 2007/2013 any individual author listed in this file. +%% +%% This file is distributed under the terms of the LaTeX Project Public +%% License from CTAN archives in directory macros/latex/base/lppl.txt. +%% Either version 1.3 or, at your option, any later version. +%% +%% This file is completely free and comes without any warranty. +%% +%% Send comments and ideas on the package, error reports and additional +%% programming languages to Jobst Hoffmann at . +%% +\ProvidesFile{listings-lua.prf} + [2013/08/26 1.5b listings language file] +\usepackage[rgb, x11names]{xcolor} +\lstdefinestyle{Lua}{% + language=[5.2]Lua, + basicstyle=\ttfamily, + columns=spaceflexible, + keywordstyle=\bfseries\color{Blue4},% language keywords + keywordstyle=[2]\bfseries\color{RoyalBlue3},% std. library identifiers + keywordstyle=[3]\bfseries\color{Purple3},% labels + stringstyle=\bfseries\color{Coral4},% strings + commentstyle=\itshape\color{Green4},% comments +} +\endinput +%% +%% End of file `listings-lua.prf'. diff --git a/Master/texmf-dist/doc/latex/listings/listings-python.prf b/Master/texmf-dist/doc/latex/listings/listings-python.prf new file mode 100644 index 00000000000..da85a1210c3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/listings/listings-python.prf @@ -0,0 +1,49 @@ +%% +%% This is file `listings-python.prf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lstdrvrs.dtx (with options: `python-prf') +%% +%% The listings package is copyright 1996--2004 Carsten Heinz, and +%% continued maintenance on the package is copyright 2006--2007 Brooks +%% Moses. From 2013 on the maintenance is done by Jobst Hoffmann. +%% The drivers are copyright 1997/1998/1999/2000/2001/2002/2003/2004/2006/ +%% 2007/2013 any individual author listed in this file. +%% +%% This file is distributed under the terms of the LaTeX Project Public +%% License from CTAN archives in directory macros/latex/base/lppl.txt. +%% Either version 1.3 or, at your option, any later version. +%% +%% This file is completely free and comes without any warranty. +%% +%% Send comments and ideas on the package, error reports and additional +%% programming languages to Jobst Hoffmann at . +%% +\ProvidesFile{listings-python.prf} + [2013/08/26 1.5b listings language file] +\usepackage{xcolor} +\usepackage{textcomp} + +%% Actual colors from idlelib/config-highlight.def --> corrected to ``web-safe'' +%% strings = #00aa00 / 0,170,0 (a darker green) +%% builtins = #900090 / 144,0,144 (purple-ish) +%% keywords = #FF7700 / 255,119,0 (quite close to plain `orange') +%% Corrected to ``web-safe'' +\definecolor{purple2}{RGB}{153,0,153} % there's actually no standard purple +\definecolor{green2}{RGB}{0,153,0} % a darker green + +\lstdefinestyle{python-idle-code}{% + language=Python, % the language + basicstyle=\normalsize\ttfamily, % size of the fonts for the code + % Color settings to match IDLE style + keywordstyle=\color{orange}, % core keywords + keywordstyle={[2]\color{purple2}}, % built-ins + stringstyle=\color{green2}, + commentstyle=\color{red}, + upquote=true, % requires textcomp +} +\endinput +%% +%% End of file `listings-python.prf'. diff --git a/Master/texmf-dist/doc/latex/listings/listings.pdf b/Master/texmf-dist/doc/latex/listings/listings.pdf index a28605f59af..2e8f263ba6b 100644 Binary files a/Master/texmf-dist/doc/latex/listings/listings.pdf and b/Master/texmf-dist/doc/latex/listings/listings.pdf differ diff --git a/Master/texmf-dist/doc/latex/listings/lstdrvrs.pdf b/Master/texmf-dist/doc/latex/listings/lstdrvrs.pdf index e9f2f3bad5c..5258adba134 100644 Binary files a/Master/texmf-dist/doc/latex/listings/lstdrvrs.pdf and b/Master/texmf-dist/doc/latex/listings/lstdrvrs.pdf differ -- cgit v1.2.3