From a6b7d8438d77cd23031644b6cae4b86422b78772 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 6 Sep 2014 22:11:55 +0000 Subject: move listings .prf files git-svn-id: svn://tug.org/texlive/trunk@35114 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/listings/listings-acm.prf | 53 +++++++++++++++++ .../tex/latex/listings/listings-fortran.prf | 66 ++++++++++++++++++++++ .../texmf-dist/tex/latex/listings/listings-lua.prf | 39 +++++++++++++ .../tex/latex/listings/listings-python.prf | 49 ++++++++++++++++ 4 files changed, 207 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/listings/listings-acm.prf create mode 100644 Master/texmf-dist/tex/latex/listings/listings-fortran.prf create mode 100644 Master/texmf-dist/tex/latex/listings/listings-lua.prf create mode 100644 Master/texmf-dist/tex/latex/listings/listings-python.prf (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/listings/listings-acm.prf b/Master/texmf-dist/tex/latex/listings/listings-acm.prf new file mode 100644 index 00000000000..1437efb337b --- /dev/null +++ b/Master/texmf-dist/tex/latex/listings/listings-acm.prf @@ -0,0 +1,53 @@ +%% +%% This is file `listings-acm.prf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lstdrvrs.dtx (with options: `acm-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-acm.prf} + [2014/03/04 1.5c listings language file] +\usepackage[rgb, x11names]{xcolor} + +\definecolor{Comments}{rgb}{0.00,0.50,0.00} +\definecolor{KeyWords}{rgb}{0.00,0.00,0.63} +\definecolor{Strings}{rgb}{0.84,0.00,0.00} + +\lstdefinestyle{ACM}{% + basicstyle=\scriptsize\ttfamily,% + keywordstyle=\color{KeyWords},% + showstringspaces=false,% + identifierstyle=\color{black},% + commentstyle=\color{Comments},% + stringstyle=\color{Strings},% + frame=shadowbox,% % for ACM-Code scrartcl commented out + rulesepcolor=\color{black},% + numbers=left,% % left + firstnumber=1,% + stepnumber=5,% + columns=fixed,% % to prevent inserting spaces + fontadjust=true,% + basewidth=0.5em,% + captionpos=t,% + abovecaptionskip=\smallskipamount,% same amount as default + belowcaptionskip=\smallskipamount,% in caption package +}% +\endinput +%% +%% End of file `listings-acm.prf'. diff --git a/Master/texmf-dist/tex/latex/listings/listings-fortran.prf b/Master/texmf-dist/tex/latex/listings/listings-fortran.prf new file mode 100644 index 00000000000..f80fffba336 --- /dev/null +++ b/Master/texmf-dist/tex/latex/listings/listings-fortran.prf @@ -0,0 +1,66 @@ +%% +%% This is file `listings-fortran.prf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lstdrvrs.dtx (with options: `fortran-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-fortran.prf} + [2014/03/04 1.5c listings language file] +\usepackage[rgb, x11names]{xcolor} + +\lstset{% + frame=tlb,% the frame is open on the right side + resetmargins=false,% + rulesepcolor=\color{black},% + numbers=left,% % left + numberstyle=\tiny,% + numbersep=5pt,% + firstnumber=1,% + stepnumber=5,% + columns=fixed,% % to prevent inserting spaces + fontadjust=true,% + keepspaces=true,% + basewidth=0.5em,% + captionpos=t,% + abovecaptionskip=\smallskipamount,% same amount as default + belowcaptionskip=\smallskipamount,% in caption package +} +\lstdefinestyle{fortran}{% + backgroundcolor=\color{yellow!10},% + basicstyle=\small\ttfamily,% + identifierstyle=\color{black},% + keywordstyle=\color{blue},% + keywordstyle={[2]\color{cyan}},% + keywordstyle={[3]\color{olive}},% + stringstyle=\color{teal},% + commentstyle=\itshape\color{orange},% +}% +\lstdefinestyle{fortranbw}{% + backgroundcolor={},% + basicstyle=\small\ttfamily,% + identifierstyle={},% + keywordstyle=\bfseries,% + stringstyle=\itshape,% + commentstyle=\slshape,% + rulesepcolor=\color{black},% +}% +\endinput +%% +%% End of file `listings-fortran.prf'. diff --git a/Master/texmf-dist/tex/latex/listings/listings-lua.prf b/Master/texmf-dist/tex/latex/listings/listings-lua.prf new file mode 100644 index 00000000000..7e02a99dac6 --- /dev/null +++ b/Master/texmf-dist/tex/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} + [2014/03/04 1.5c 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/tex/latex/listings/listings-python.prf b/Master/texmf-dist/tex/latex/listings/listings-python.prf new file mode 100644 index 00000000000..3cf2c02a01c --- /dev/null +++ b/Master/texmf-dist/tex/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} + [2014/03/04 1.5c 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'. -- cgit v1.2.3