--- cweb-latex-1.1.1.orig/cweb.cls +++ cweb-latex-1.1.1/cweb.cls @@ -836,16 +836,16 @@ %%% \sect Let's make sure that the expansion of |\end| is the one that we %%% expect. Then we can define |\cweb@skip_end| appropriately, we have to -%%% skip 5~tokens. +%%% skip 4~tokens. %%% \beginprog \CheckCommand*\end[1]{% \csname end#1\endcsname\@checkend{#1}% \expandafter\endgroup\if@endpe\@doendpe\fi -% 1 2 3 4 5 - \if@ignore\global\@ignorefalse\ignorespaces\fi} +% 1 2 3 4 + \if@ignore\@ignorefalse\ignorespaces\fi} -\def\cweb@skip_end#1#2#3#4#5{\cweb@check_fi} +\def\cweb@skip_end#1#2#3#4{\cweb@check_fi} %%% \endprog --- cweb-latex-1.1.1.orig/cweb-latex.1 +++ cweb-latex-1.1.1/cweb-latex.1 @@ -0,0 +1,25 @@ +.TH CWEB-LATEX 1 +.SH NAME +cweb-sty \- LaTeX support for CWEB +.SH "DESCRIPTION" +This manual page documents briefly the +.BR cweb-sty +package. +This manual page was written for the Debian GNU/Linux distribution +(but may be used by others), because the original program does not +have a manual page. +.PP +This is the distribution of LaTeX CWEB, a bundle that allows you to +use LaTeX for the documentation markup of your CWEB program. Your CWEB +programs may be LaTeX documents now -- with sections, subsections, +environments, figures, graphics inclusion, etc. + +.SH "SEE ALSO" +This LaTeX class is fully documented in +\fI/usr/doc/cweb-latex/cweb-user.dvi\fR. This can be read using xdvi, +or transformed to PostScript using dvips. + +.SH AUTHOR +This manual page was written by Milan Zamazal and +modified by Julian Gilbey for the Debian GNU/Linux +system. --- cweb-latex-1.1.1.orig/contrib/Index +++ cweb-latex-1.1.1/contrib/Index @@ -13,4 +13,4 @@ cwebzw.sty - by Zden\v{e}k Wagner Created for cweb.sty 1.8; - most probably doesn't run any more, moved to wagner/. + most probably doesn't run any more, moved to examples directory. --- cweb-latex-1.1.1.orig/examples/Makefile +++ cweb-latex-1.1.1/examples/Makefile @@ -5,8 +5,8 @@ all:: wcltx.dvi -wcltx.dvi: wcltx.tex wcltx.bib ../cweb.cls - tex-it latex wcltx +wcltx.dvi: wcltx.tex wcltx.bib + ./tex-it latex wcltx rm -f wcltx.blg wcltx.tex: wcltx.w --- cweb-latex-1.1.1.orig/examples/README +++ cweb-latex-1.1.1/examples/README @@ -0,0 +1,30 @@ +Examples for cweb-latex under Debian +------------------------------------ + +This directory contains one example program: wcltx.w, a LaTeX +version of Knuth & Levy's wc program (which can be found in +/usr/doc/cweb/examples). It depends on the LaTeX rcs package (which +is in the Debian package rcs-latex). If you do not have this, the +wcltx.w example can still be used, simply by commenting out the two +lines in wcltx.w which read: + +\usepackage{rcs} + +and + +\RCSdate $Date: 1998/11/25 02:40:34 $ + +The shell script tex-it is a nice script which runs latex as many +times as necessary for all changed references to be resolved. + +It also contains the contributed style file: cwebzw.sty, which was +written for an older version and probably doesn't work any more. +(See /usr/doc/cweb-latex/Index for details.) + +Finally, it contains a couple of files from the src/ directory of the +original distribution: cwebparts.doc, the description of an initial +version of a package for embedding CWEB code in a LaTeX document, and +cwebx.sty, an enhancement of cweb.cls. As these are not released, I +am only putting them in the examples directory. + + Julian Gilbey , Wed, 25 Nov 1998 01:50:24 +0000 --- cweb-latex-1.1.1.orig/debian/compat +++ cweb-latex-1.1.1/debian/compat @@ -0,0 +1 @@ +5 --- cweb-latex-1.1.1.orig/debian/changelog +++ cweb-latex-1.1.1/debian/changelog @@ -0,0 +1,120 @@ +cweb-latex (1.1.1-15ubuntu1) lucid; urgency=low + + * debian/control: + Replace versioned recommends on texlive-base-bin to its successor + texlive-binaries. + + -- Michael Bienia Sat, 23 Jan 2010 00:01:12 +0100 + +cweb-latex (1.1.1-15) unstable; urgency=low + + * Update dependencies for tetex -> texlive migration (Closes: #419237) + + -- Julian Gilbey Sun, 15 Apr 2007 23:26:39 +0100 + +cweb-latex (1.1.1-14) unstable; urgency=low + + * Update dependencies for cweb -> tetex-bin merger (closes: #182138) + + -- Julian Gilbey Wed, 5 Mar 2003 16:02:42 +0000 + +cweb-latex (1.1.1-13) unstable; urgency=low + + * Depend on cweb (>= 3.63-4) which forces the cweave +e option + (needed, otherwise cweb-latex doesn't work) + + -- Julian Gilbey Wed, 6 Jun 2001 16:58:31 +0100 + +cweb-latex (1.1.1-12) unstable; urgency=low + + * Fixed up examples/Makefile (bad line in it...) + + -- Julian Gilbey Wed, 10 May 2000 20:15:51 +0100 + +cweb-latex (1.1.1-11) unstable; urgency=low + + * Removed install-stamp from debian/rules + * Standards 3.1.1 (FHS, Build-Depends) + + -- Julian Gilbey Tue, 23 Nov 1999 12:28:02 +0000 + +cweb-latex (1.1.1-10) unstable; urgency=low + + * Moved tex input files from /usr/lib/texmf to /usr/share/texmf in line + with the change in tetex-*, moving towards FHS compliance + + -- Julian Gilbey Fri, 9 Apr 1999 13:11:50 +0100 + +cweb-latex (1.1.1-9) unstable; urgency=low + + * New maintainer + * Changed debian/rules to use debhelper + * Removed rcs.sty (which had very dubious license) from package; put it + in a separate rcs-latex package which will have GPL license + * Added a few more things from the distribution to the examples + directory + * Added a symlink from the texmf documentation tree to the docs for the + package + * Add a dependency on tetex-base: the package is not very meaningful + without it + * Add a suggestion for rcs-latex; the example requires it + + -- Julian Gilbey Wed, 25 Nov 1998 02:29:18 +0000 + +cweb-latex (1.1.1-8) unstable; urgency=low + + * Use `dh_md5sums'. + * Lintian 0.2.2 satisfied. + + -- Milan Zamazal Wed, 18 Feb 1998 19:01:43 +0100 + +cweb-latex (1.1.1-7) unstable; urgency=low + + * `checksums' renamed to `md5sums'. + * Standards 2.4.0.0. + + -- Milan Zamazal Fri, 13 Feb 1998 18:13:43 +0100 + +cweb-latex (1.1.1-6) unstable; urgency=low + + * `-isp' flag added to dpkg-gencontrol. + * `README.debian' renamed to `README.Debian'. + * More error safe `rules'. + * Dot added after description synopsis in `control'. + * Gzip `changelog.Debian'. + * Use `$(package)' rather than package name in `rules'. + * `History' file renamed to `changelog' and gzipped. + * Standards 2.3.0.1. + + -- Milan Zamazal Mon, 12 Jan 1998 19:38:24 +0100 + +cweb-latex (1.1.1-5) unstable; urgency=low + + * LaTeX files installed into `litprog' subdirectory. + + -- Milan Zamazal Mon, 1 Dec 1997 16:46:32 +0100 + +cweb-latex (1.1.1-4) unstable; urgency=low + + * Wrong contents of `README.debian' corrected. + + -- Milan Zamazal Fri, 19 Sep 1997 14:36:56 +0200 + +cweb-latex (1.1.1-3) unstable; urgency=low + + * Corrected policy bug in the `rules' file (Bug #12741). + * Does not use debstd anymore. + + -- Milan Zamazal Thu, 18 Sep 1997 16:23:35 +0200 + +cweb-latex (1.1.1-2) frozen unstable; urgency=low + + * Corrected bad looking description formatting. + + -- Milan Zamazal Wed, 9 Apr 1997 17:12:53 +0200 + +cweb-latex (1.1.1-1) unstable; urgency=low + + * Initial Release. + + -- Milan Zamazal Thu, 13 Mar 1997 15:40:28 +0100 --- cweb-latex-1.1.1.orig/debian/postrm +++ cweb-latex-1.1.1/debian/postrm @@ -0,0 +1,12 @@ +#!/bin/sh + +# Postrm for cweb-latex. If we are removing this package, we +# rebuild the ls-R database after we have removed the files. + +set -e + +if [ "$1" = "remove" -a -x /usr/bin/mktexlsr ]; then + /usr/bin/mktexlsr /usr/share/texmf +fi + +#DEBHELPER# --- cweb-latex-1.1.1.orig/debian/postinst +++ cweb-latex-1.1.1/debian/postinst @@ -0,0 +1,12 @@ +#!/bin/sh + +# Postinst for cweb-latex. If tetex-base is already installed, we +# rebuild the ls-R database. + +set -e + +if [ -x /usr/bin/mktexlsr ]; then + /usr/bin/mktexlsr /usr/share/texmf +fi + +#DEBHELPER# --- cweb-latex-1.1.1.orig/debian/README.Debian +++ cweb-latex-1.1.1/debian/README.Debian @@ -0,0 +1,26 @@ +cweb-sty for DEBIAN +------------------- + +1. If you want to read the manual you may want to convert it from the + DVI format to another readable format. + + If you want to receive Postscript output, apply the following + command at your shell prompt (you must have installed TeX to do it) + + dvips -o cweb-user.ps cweb-user.dvi + + If you prefer less readable ASCII version, you can create it by the + `catdvi' program: + + catdvi -s cweb-user.dvi > cweb-user.txt + +2. The definition of \end in LaTeX has changed, so the \CheckCommand + and \cweb@skip_end commands have been modified appropriately. + +3. The style file rcs.sty has not been included in this package, + although it is needed to LaTeX the provided example. This is due + to the version distributed in this package having a rather strange + and restrictive license. It is available in the rcs-latex package. + +Original by Milan Zamazal , Thu, 13 Mar 1997 17:40:11 +0100 +Modified by Julian Gilbey , Wed, 21 Nov 2001 13:13:50 +0000 --- cweb-latex-1.1.1.orig/debian/copyright +++ cweb-latex-1.1.1/debian/copyright @@ -0,0 +1,22 @@ +This package was debianized by Milan Zamazal on +Thu, 13 Mar 1997 15:40:28 +0100. + +It was downloaded from +ftp://ftp.th-darmstadt.de/pub/programming/literate-programming/c.c++/cweb-sty-1.1.1.tar.gz . + +Copyright: + +Written by Joachim Schrod . + +This is freely distributable software; you can redistribute it +and/or modify it under the terms of the GNU General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +This software is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +The GNU General Public License is available on Debian systems in the +file /usr/share/common-licenses/GPL. --- cweb-latex-1.1.1.orig/debian/rules +++ cweb-latex-1.1.1/debian/rules @@ -0,0 +1,58 @@ +#!/usr/bin/make -f +# debian/rules file for cweb-latex using debhelper. +# Based on Joey Hess's sample rules.indep. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + # Nothing needs doing to compile the package. + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + # Nothing needs doing to clean the package. + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + cp -p *.cls *.sty *.tex contrib/*.sty \ + debian/cweb-latex/usr/share/texmf/tex/latex/litprog + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installman cweb-latex.1 + dh_installchangelogs History + # We put in a symlink: + ln -s ../../../cweb-latex/cweb-user.dvi \ + debian/cweb-latex/usr/share/doc/texmf/latex/litprog/cweb-user.dvi + ln -s ../../../cweb-latex/cweb-conf.dvi \ + debian/cweb-latex/usr/share/doc/texmf/latex/litprog/cweb-conf.dvi + dh_compress -Xtex-it + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install + +# Local variables: +# mode: makefile +# End: --- cweb-latex-1.1.1.orig/debian/examples +++ cweb-latex-1.1.1/debian/examples @@ -0,0 +1,9 @@ +examples/README +examples/Makefile +examples/tex-it +examples/wcltx.w +examples/wcltx.bib +contrib/wagner/cwebzw.sty +src/cwebparts.doc +src/cwebx.sty + --- cweb-latex-1.1.1.orig/debian/control +++ cweb-latex-1.1.1/debian/control @@ -0,0 +1,27 @@ +Source: cweb-latex +Section: devel +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Julian Gilbey +Standards-Version: 3.7.2 +Build-Depends-Indep: debhelper (>= 5.0.0) + +Package: cweb-latex +Architecture: all +Depends: texlive-extra-utils (>= 2007-2) +Recommends: texlive-binaries +Suggests: rcs-latex +Description: LaTeX support for CWEB + This is the distribution of LaTeX CWEB, a bundle that allows you to + use LaTeX as the documentation markup of your CWEB program. Your CWEB + programs may be LaTeX documents now -- with sections, subsections, + environments, figures, graphics inclusion, etc. + . + You will want to use this bundle if you + - are a CWEB programmer and use LaTeX elsewhere, + - haven't used CWEB up to now, because you wanted structured markup + (and you didn't want to develop it yourself), or + - want a hierarchic document structure for CWEB programs. + . + If you want to LaTeX the example program, you will need the rcs-latex + package, although this is not essential. --- cweb-latex-1.1.1.orig/debian/dirs +++ cweb-latex-1.1.1/debian/dirs @@ -0,0 +1,2 @@ +usr/share/texmf/tex/latex/litprog +usr/share/doc/texmf/latex/litprog --- cweb-latex-1.1.1.orig/debian/docs +++ cweb-latex-1.1.1/debian/docs @@ -0,0 +1,5 @@ +README +History +cweb-conf.dvi +cweb-user.dvi +contrib/Index