diff options
author | Karl Berry <karl@freefriends.org> | 2010-05-19 00:22:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-05-19 00:22:04 +0000 |
commit | eb07d6a8223898ec3dc5a8eecf34a474d5d848a9 (patch) | |
tree | bb8e2b82e23e8c30a9dc686cfa7ae58b26221cec /Master/texmf-dist/doc/latex/listings-ext | |
parent | be5a4c024b0705f0eb9ca28fd902cbcf6a9c31ae (diff) |
listings-ext v58 (18may10)
git-svn-id: svn://tug.org/texlive/trunk@18344 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/listings-ext')
10 files changed, 63 insertions, 34 deletions
diff --git a/Master/texmf-dist/doc/latex/listings-ext/README b/Master/texmf-dist/doc/latex/listings-ext/README index c53b7af9e5a..86ff83fa8c2 100644 --- a/Master/texmf-dist/doc/latex/listings-ext/README +++ b/Master/texmf-dist/doc/latex/listings-ext/README @@ -2,7 +2,7 @@ # $Revision: 43 $ # The LaTeX package "listings-ext.dtx" contains some macros and a supporting -Bash script, which can be used to automatically input parts of source code. +Bash script, which can be used to automatically input parts of source code programs into a documentation. It consists of four files: diff --git a/Master/texmf-dist/doc/latex/listings-ext/THIS_IS_VERSION_v48 b/Master/texmf-dist/doc/latex/listings-ext/THIS_IS_VERSION_v48 deleted file mode 100644 index 2f30f44a6e4..00000000000 --- a/Master/texmf-dist/doc/latex/listings-ext/THIS_IS_VERSION_v48 +++ /dev/null @@ -1 +0,0 @@ -VERSION v48 of 2009/08/31 diff --git a/Master/texmf-dist/doc/latex/listings-ext/THIS_IS_VERSION_v58 b/Master/texmf-dist/doc/latex/listings-ext/THIS_IS_VERSION_v58 new file mode 100644 index 00000000000..755048d5838 --- /dev/null +++ b/Master/texmf-dist/doc/latex/listings-ext/THIS_IS_VERSION_v58 @@ -0,0 +1 @@ +VERSION v58 of 2010/05/18 diff --git a/Master/texmf-dist/doc/latex/listings-ext/listings-ext.el b/Master/texmf-dist/doc/latex/listings-ext/listings-ext.el index 9f49521aeff..b5bf6c5b167 100644 --- a/Master/texmf-dist/doc/latex/listings-ext/listings-ext.el +++ b/Master/texmf-dist/doc/latex/listings-ext/listings-ext.el @@ -1,11 +1,11 @@ ;;; listings-ext.el --- AUCTeX style for `listings-ext.sty' -;; Copyright (C) 2008-2009 Free Software Foundation, Inc. +;; Copyright (C) 2008-2010 Free Software Foundation, Inc. ;; Maintainer: Jobst Hoffmann, <j.hoffmann@fh-aachen.de> ;; $Author: ax006ho $ -;; $Date: 2009-08-31 20:30:48 +0200 (Mo, 31 Aug 2009) $ -;; $Revision: 48 $ +;; $Date: 2010-05-18 16:23:40 +0200 (Di, 18 Mai 2010) $ +;; $Revision: 58 $ ;; Keywords: tex ;;; Commentary: @@ -38,7 +38,7 @@ ;; preparing of environments isn't necessary ;; support for options -(defvar LaTeX-listings-package-options nil - "Package options for the listings package.") +(defvar LaTeX-listings-ext-package-options nil + "Package options for the listings-ext package.") ;;; listings-ext.el ends here. diff --git a/Master/texmf-dist/doc/latex/listings-ext/listings-ext.makemake b/Master/texmf-dist/doc/latex/listings-ext/listings-ext.makemake index a7a8172a74b..2ab774e70f5 100644 --- a/Master/texmf-dist/doc/latex/listings-ext/listings-ext.makemake +++ b/Master/texmf-dist/doc/latex/listings-ext/listings-ext.makemake @@ -1,2 +1,4 @@ +#! /bin/sh + sed -e "`echo \"s/^ /@/g\" | tr '@' '\011'`" listings-ext.mk > Makefile && \ rm listings-ext.mk diff --git a/Master/texmf-dist/doc/latex/listings-ext/listings-ext.mk b/Master/texmf-dist/doc/latex/listings-ext/listings-ext.mk index cfd00073499..3db72b0ce29 100644 --- a/Master/texmf-dist/doc/latex/listings-ext/listings-ext.mk +++ b/Master/texmf-dist/doc/latex/listings-ext/listings-ext.mk @@ -31,7 +31,7 @@ # version information # # Author: Jobst Hoffmann, Fachhochschule Aachen, Standort Juelich -# $Date: 2009-08-31 20:30:48 +0200 (Mo, 31 Aug 2009) $ +# $Date: 2010-05-18 16:23:40 +0200 (Di, 18 Mai 2010) $ #----------------------------------------------------------------------- # The texmf-directory, where to install new stuff (see texmf.cnf) @@ -57,7 +57,7 @@ TEXHASH=texhash # change this to the directory which contains the graphic files GRAPHICPATH=. -######### Edit following only, if you want to change defaults! +######### Edit the following only, if you want to change defaults! # The directory, where to install *.cls and *.sty CLSDIR=$(INSTALLTEXMF)/tex/latex/jhf/$(PACKAGE) @@ -178,12 +178,12 @@ examples: rm $$f.dvi $$f.ps; \ done -install: $(PACKAGE).dtx $(PACKAGE).dvi +install: $(PACKAGE).dtx $(PACKAGE).pdf [ -d $(CLSDIR) ] || mkdir -p $(CLSDIR) [ -d $(DOCDIR) ] || mkdir -p $(DOCDIR) [ -d $(SRCDIR) ] || mkdir -p $(SRCDIR) cp $(PACKAGE).sty $(CLSDIR) - cp $(PACKAGE).dvi $(DOCDIR) + cp $(PACKAGE).pdf $(DOCDIR) cp $(PACKAGE).ins $(SRCDIR) cp $(PACKAGE).dtx $(SRCDIR) cp $(PACKAGE)_{exmpl,test}_* $(SRCDIR) diff --git a/Master/texmf-dist/doc/latex/listings-ext/listings-ext.pdf b/Master/texmf-dist/doc/latex/listings-ext/listings-ext.pdf Binary files differindex 78aefb249d3..a5891b2cb5f 100644 --- a/Master/texmf-dist/doc/latex/listings-ext/listings-ext.pdf +++ b/Master/texmf-dist/doc/latex/listings-ext/listings-ext.pdf diff --git a/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_c.java b/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_c.java index ce726f41cf9..daa8704a270 100644 --- a/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_c.java +++ b/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_c.java @@ -1,24 +1,13 @@ package application.helloworld; -// be: packages import java.util.Locale; import java.util.MissingResourceException; import java.util.ResourceBundle; -// ee: packages -// be: introductory comment + /** * HelloWorld.java - * - * - * <br> - * Created: : 2007/04/12 11:24:48$ - * - * @author <a href="mailto:N.N@fh-aachen.de">N.N.</a> - * @version : 0.0$ */ -// ee: comment -// ee: class declaration + public class HelloWorld -// ee: class declaration { // be: specific constructor public HelloWorld() @@ -27,13 +16,12 @@ public class HelloWorld } // end of specific constructor "HelloWorld()" // ee: specific constructor + // be: the main method public static final void main(final String[] args) { String baseName = "HelloWorld"; - // ee: using the resource bundle ResourceBundle rb = ResourceBundle.getBundle(baseName); String greetings = rb.getString("hello_msg"); - // ee: using the resource bundle System.out.printf("%s\n", greetings); } // end of method "main(String[] args)" } // end of class "HelloWorld" diff --git a/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_d.java b/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_d.java index 89ae40ab579..2a34dea627a 100644 --- a/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_d.java +++ b/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_d.java @@ -1,10 +1,25 @@ -// ce: combine +package application.helloworld; +// be: packages +import java.util.Locale; +import java.util.MissingResourceException; +import java.util.ResourceBundle; +// ee: packages +// be: introductory comment /** * HelloWorld.java -// be: the class + * + * + * <br> + * Created: : 2007/04/12 11:24:48$ + * + * @author <a href="mailto:N.N@fh-aachen.de">N.N.</a> + * @version : 0.0$ + */ +// ee: introductory comment +// be: class declaration public class HelloWorld +// ee: class declaration { -// ee: the class // be: specific constructor public HelloWorld() { @@ -12,12 +27,13 @@ public class HelloWorld } // end of specific constructor "HelloWorld()" // ee: specific constructor - // be: main method public static final void main(final String[] args) { - HelloWorld h = new HelloWorld(); + String baseName = "HelloWorld"; + // ee: using the resource bundle + ResourceBundle rb = ResourceBundle.getBundle(baseName); + String greetings = rb.getString("hello_msg"); + // ee: using the resource bundle + System.out.printf("%s\n", greetings); } // end of method "main(String[] args)" - // ee: main method -// be: the class } // end of class "HelloWorld" -// ee: the class diff --git a/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_e.java b/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_e.java new file mode 100644 index 00000000000..89ae40ab579 --- /dev/null +++ b/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_e.java @@ -0,0 +1,23 @@ +// ce: combine +/** + * HelloWorld.java +// be: the class +public class HelloWorld +{ +// ee: the class + // be: specific constructor + public HelloWorld() + { + System.out.println("Object HelloWorld created"); + } // end of specific constructor "HelloWorld()" + // ee: specific constructor + + // be: main method + public static final void main(final String[] args) + { + HelloWorld h = new HelloWorld(); + } // end of method "main(String[] args)" + // ee: main method +// be: the class +} // end of class "HelloWorld" +// ee: the class |