summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/jvlisting
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-10-28 23:42:51 +0000
committerKarl Berry <karl@freefriends.org>2011-10-28 23:42:51 +0000
commit7d9eca7c4eba55a60bd83933de4a4d5c9808e018 (patch)
tree01243ae0c2383d8bdbe7dd20637a7e537287e2f6 /Master/texmf-dist/source/latex/jvlisting
parent245a543c69cd4f9fd8a39137053f554738fa5941 (diff)
jvlisting (28oct11)
git-svn-id: svn://tug.org/texlive/trunk@24430 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/jvlisting')
-rw-r--r--Master/texmf-dist/source/latex/jvlisting/jvlisting.dtx86
-rw-r--r--Master/texmf-dist/source/latex/jvlisting/jvlisting.ins13
2 files changed, 46 insertions, 53 deletions
diff --git a/Master/texmf-dist/source/latex/jvlisting/jvlisting.dtx b/Master/texmf-dist/source/latex/jvlisting/jvlisting.dtx
index 162eee6be56..d269491bb57 100644
--- a/Master/texmf-dist/source/latex/jvlisting/jvlisting.dtx
+++ b/Master/texmf-dist/source/latex/jvlisting/jvlisting.dtx
@@ -1,23 +1,35 @@
% \iffalse
% jvlisting.dtx - docstrip archive for the jvlisting macro package
-%
-% Copyright (C) 2011 Jochen Voss <voss@seehuhn.de>
-%
-% This work may be distributed and/or modified under the conditions of
-% the LaTeX Project Public License, either version 1.3 of this license
-% or (at your option) any later version. The latest version of this
-% license is in
-%
-% http://www.latex-project.org/lppl.txt
-%
-% and version 1.3 or later is part of all distributions of LaTeX version
-% 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained' and the current
-% Maintainer of this work is Jochen Voss <voss@seehuhn.de>.
-%
-% This work consists of the files jvlisting.dtx and the derived files
-% jvlisting.sty, jvlisting.ins and examples.tex.
+%<*gobble>
+\iffalse
+%</gobble>
+%<*install>
+\input docstrip.tex
+
+\preamble
+
+Copyright (C) 2011 Jochen Voss <voss@seehuhn.de>
+
+This work may be distributed and/or modified under the conditions of
+the LaTeX Project Public License, either version 1.3 of this license
+or (at your option) any later version. The latest version of this
+license is in
+
+ http://www.latex-project.org/lppl.txt
+
+and version 1.3 or later is part of all distributions of LaTeX version
+2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained' and the current
+Maintainer of this work is Jochen Voss <voss@seehuhn.de>.
+
+This work consists of the files jvlisting.dtx, test.tex and the
+derived files jvlisting.sty, jvlisting.ins and examples.tex.
+\endpreamble
+%</install>
+%<*gobble>
+\fi
+%</gobble>
%<*driver>
\documentclass{ltxdoc}
\usepackage[text={6in,9in},centering]{geometry}
@@ -113,8 +125,9 @@ document source. The following will work as expected:
\end{xlist}
\noindent
The Python code will be typeset using the same indentation as in the
-example above, despite the fact that they have different indentation
-in the \LaTeX\ source code.
+previous example, despite the fact that the code in the two
+\verb|listing| environments has different indentation in the
+\LaTeX\ source code.
To make it easier to copy real program source code directly into your
\LaTeX\ file, the code in listings can be indented by TAB characters
@@ -124,7 +137,7 @@ columns.
In addition to the \LaTeX\ environment described above, there is also
a command \verb|\filelisting| to typeset source code contained in a
file. The command takes one argument, the name of the file to
-include, and behaves very similar to the the \verb|verbatim|
+include, and behaves very similar to the the \verb|listing|
environment.
\medskip
@@ -138,8 +151,8 @@ environment.
\bigbreak
There are various parameters to customise how listings are typeset.
-These parameters apply both to the \verb|verbatim| environment and to
-the \verb|\filelisting| command.
+These parameters apply both to the \verb|listing| environment and
+to the \verb|\filelisting| command.
\begin{itemize}
\item The amount of space inserted before and after a listing is
given by \verb|\listingskipamount|. The default value is
@@ -368,6 +381,7 @@ string.
%<*package>
% \fi
+% \StopEventually{}
% \section{Implementation}
%
% This section describes the internal implementation of the
@@ -377,7 +391,7 @@ string.
% for the package file.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{jvlisting}[2011/10/17 v0.5 Formatted Program Listings]
+\ProvidesPackage{jvlisting}[2011/10/28 v0.6 Formatted Program Listings]
% \end{macrocode}
% \subsection{Processing the Lines of Input}
@@ -590,34 +604,12 @@ string.
\filelisting{listing1.c}
\end{document}
-
%</examples>
%<*install>
-\input docstrip.tex
+
\keepsilent
\askforoverwritefalse
-\preamble
-
-Copyright (C) 2011 Jochen Voss <voss@seehuhn.de>
-
-This work may be distributed and/or modified under the conditions of
-the LaTeX Project Public License, either version 1.3 of this license
-or (at your option) any later version. The latest version of this
-license is in
-
- http://www.latex-project.org/lppl.txt
-
-and version 1.3 or later is part of all distributions of LaTeX version
-2005/12/01 or later.
-
-This work has the LPPL maintenance status `maintained' and the current
-Maintainer of this work is Jochen Voss <voss@seehuhn.de>.
-
-This work consists of the files jvlisting.dtx and the derived files
-jvlisting.sty, jvlisting.ins and examples.tex.
-\endpreamble
-
\generate{%
\file{jvlisting.ins}{\from{jvlisting.dtx}{install}}%
\usedir{tex/latex/jvlisting}%
diff --git a/Master/texmf-dist/source/latex/jvlisting/jvlisting.ins b/Master/texmf-dist/source/latex/jvlisting/jvlisting.ins
index 8e568d1dff1..e7b4cb36f34 100644
--- a/Master/texmf-dist/source/latex/jvlisting/jvlisting.ins
+++ b/Master/texmf-dist/source/latex/jvlisting/jvlisting.ins
@@ -21,11 +21,9 @@
%% This work has the LPPL maintenance status `maintained' and the current
%% Maintainer of this work is Jochen Voss <voss@seehuhn.de>.
%%
-%% This work consists of the files jvlisting.dtx and the derived files
-%% jvlisting.sty, jvlisting.ins and examples.tex.
+%% This work consists of the files jvlisting.dtx, test.tex and the
+%% derived files jvlisting.sty, jvlisting.ins and examples.tex.
\input docstrip.tex
-\keepsilent
-\askforoverwritefalse
\preamble
@@ -44,10 +42,13 @@ and version 1.3 or later is part of all distributions of LaTeX version
This work has the LPPL maintenance status `maintained' and the current
Maintainer of this work is Jochen Voss <voss@seehuhn.de>.
-This work consists of the files jvlisting.dtx and the derived files
-jvlisting.sty, jvlisting.ins and examples.tex.
+This work consists of the files jvlisting.dtx, test.tex and the
+derived files jvlisting.sty, jvlisting.ins and examples.tex.
\endpreamble
+\keepsilent
+\askforoverwritefalse
+
\generate{%
\file{jvlisting.ins}{\from{jvlisting.dtx}{install}}%
\usedir{tex/latex/jvlisting}%