summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/listings/lstlang2.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-08-06 22:25:34 +0000
committerKarl Berry <karl@freefriends.org>2013-08-06 22:25:34 +0000
commitf7542e8c8eb40cdaf2f500bae11970fa96a3b11b (patch)
tree1d534d36d82fedb13df870f7dc0db400000149e0 /Master/texmf-dist/tex/latex/listings/lstlang2.sty
parent9f80cea7a79d9ea05c8ac3497aba15bb07ddbdc7 (diff)
listings (6aug13)
git-svn-id: svn://tug.org/texlive/trunk@31366 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/listings/lstlang2.sty')
-rw-r--r--Master/texmf-dist/tex/latex/listings/lstlang2.sty29
1 files changed, 25 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/listings/lstlang2.sty b/Master/texmf-dist/tex/latex/listings/lstlang2.sty
index ab296a3e372..4a69722b82c 100644
--- a/Master/texmf-dist/tex/latex/listings/lstlang2.sty
+++ b/Master/texmf-dist/tex/latex/listings/lstlang2.sty
@@ -7,9 +7,10 @@
%% lstdrvrs.dtx (with options: `lang2')
%%
%% The listings package is copyright 1996--2004 Carsten Heinz, and
-%% continued maintenance on the package is copyright 2006--2007 Brooks Moses.
+%% 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 any individual author listed in this file.
+%% 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.
@@ -18,10 +19,10 @@
%% This file is completely free and comes without any warranty.
%%
%% Send comments and ideas on the package, error reports and additional
-%% programming languages to Brooks Moses at <bmoses@dpdx.net>.
+%% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>.
%%
\ProvidesFile{lstlang2.sty}
- [2013/06/27 1.5pre1 listings language file]
+ [2013/08/05 1.5a listings language file]
%%
%% Abap definition by Knut Lickert
%%
@@ -256,6 +257,26 @@
morestring=[d]"%
}[keywords,comments,strings]%
%%
+%% GAP definition
+%% (c) 2013 Heiko Oberdiek
+%%
+\lst@definelanguage{GAP}{%
+ morekeywords={%
+ Assert,Info,IsBound,QUIT,%
+ TryNextMethod,Unbind,and,break,%
+ continue,do,elif,%
+ else,end,false,fi,for,%
+ function,if,in,local,%
+ mod,not,od,or,%
+ quit,rec,repeat,return,%
+ then,true,until,while%
+ },%
+ sensitive,%
+ morecomment=[l]\#,%
+ morestring=[b]",%
+ morestring=[b]',%
+}[keywords,comments,strings]
+%%
%% Guarded Command Language (GCL) definition
%% (c) 2002 Mark van Eijk
%%