diff options
author | Matthew Turk <satai@gentoo.org> | 2003-07-14 03:07:30 +0000 |
---|---|---|
committer | Matthew Turk <satai@gentoo.org> | 2003-07-14 03:07:30 +0000 |
commit | d2f23d9bf98387b203ec76be39c55d022cda3834 (patch) | |
tree | fa263a1cd8c68339f02043c97821acb8e91d8c94 /dev-tex/cweb_latex/files | |
parent | Adding ebuild for cweb code directly in LaTeX. Fixes bug 16908. (diff) | |
download | historical-d2f23d9bf98387b203ec76be39c55d022cda3834.tar.gz historical-d2f23d9bf98387b203ec76be39c55d022cda3834.tar.bz2 historical-d2f23d9bf98387b203ec76be39c55d022cda3834.zip |
Adding ebuild for cweb code directly in LaTeX. Fixes bug 16908.
Diffstat (limited to 'dev-tex/cweb_latex/files')
-rw-r--r-- | dev-tex/cweb_latex/files/cweb.cls.patch | 36 | ||||
-rw-r--r-- | dev-tex/cweb_latex/files/digest-cweb_latex-1.1.1 | 1 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-tex/cweb_latex/files/cweb.cls.patch b/dev-tex/cweb_latex/files/cweb.cls.patch new file mode 100644 index 000000000000..07f20ff7fa3e --- /dev/null +++ b/dev-tex/cweb_latex/files/cweb.cls.patch @@ -0,0 +1,36 @@ +This patch fixes cweb.cls so that it works with new versions of the +LaTeX format. (Any format later than 1997/06/30 or thereabouts is +affected.) + +This patch may be freely redistributed. + +To use it, run the command "patch -p0 < cweb.cls.patch" in the +directory containing cweb.cls if you have a UNIX-type system with the +patch command. If not, just make the necessary changes by hand to +lines 846 and 848 as shown in the patch below. + + Julian Gilbey <jdg@debian.org>, November 1999 + +--- cweb.cls.orig ++++ 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 + + diff --git a/dev-tex/cweb_latex/files/digest-cweb_latex-1.1.1 b/dev-tex/cweb_latex/files/digest-cweb_latex-1.1.1 new file mode 100644 index 000000000000..6527f3d8c29f --- /dev/null +++ b/dev-tex/cweb_latex/files/digest-cweb_latex-1.1.1 @@ -0,0 +1 @@ +MD5 3913f44e9270494f43bf0fbaf01e7d47 cweb-sty-1.1.1.tar.gz 178654 |