Bug#689634: texlive-latex-extra: cweb-latex doesn't work: a missing file and a necessary patch
Package: texlive-latex-extra
Version: 2012.20120611-2
Severity: normal
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these lines ***
-- Package-specific info:
IMPORTANT INFORMATION: We will only consider bug reports concerning
the packaging of TeX Live as relevant. If you have problems with
combination of packages in a LaTeX document, please consult your
local TeX User Group, the comp.text.tex user group, the author of
the original .sty file, or any other help resource.
*** The Debian TeX Team is *no* LaTeX Help Desk ***
If you report an error when running one of the TeX-related binaries
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.
Please run your example with
(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.
Don't forget to also include minimal examples of other files that are
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!
If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at
http://www.minimalbeispiel.de/mini-en.html (english)
or
http://www.minimalbeispiel.de/mini.html (german)
##################################
minimal input file
minimal.cweb::::::::
\documentclass{cweb}
\begin{document}
@* Section
Test
@
\end{document}
#################################
Commands to reproduce error
$ cweave minimal.cweb
(no warnings neither errors. Generate minimal.tex)
pdflatex minimal.tex
FIRST error::::::::::
! LaTeX Error: File `cwebbase.tex' not found.
FIRST MESSAGE END::::
If I put cwebbase.tex in path...
SECOND error:
LaTeX Warning: Command \end has changed.
Check if current package is valid.
) (./minimal.aux)
Runaway argument?
Section
! Paragraph ended before \N was complete.
<to be read again>
\par
l.9
?
SECOND MESSAGE END:::::
If I apply patch from original author (taken from:
http://www.literateprogramming.com/best/cwebp4.html
the last one) it works ok.
So to solve it's necessary repackage cwebbase.tex and modify cweb.cls
##################################
other files
minimal.fls:::::::::::
PWD /home/javi/leon/Codigo
INPUT /etc/texmf/web2c/texmf.cnf
INPUT /usr/share/texlive/texmf/web2c/texmf.cnf
INPUT /var/lib/texmf/web2c/pdftex/pdflatex.fmt
INPUT minimal.tex
OUTPUT minimal.log
INPUT /usr/share/texlive/texmf-dist/tex/plain/cweb/cwebmac.tex
INPUT /usr/share/texlive/texmf-dist/tex/latex/cweb-latex/cweb.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/cweb-latex/cweb.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/cweb-latex/keyvald.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/cweb-latex/keyvald.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
######################################
List of ls-R files
-rw-r--r-- 1 root root 2458 Sep 21 12:34 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Jun 18 03:25 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Sep 1 02:28 /usr/share/texlive/texmf/ls-R -> /var/lib/texmf/ls-R-TEXLIVEMAIN
-rw-rw-r-- 1 root staff 80 Jul 2 22:17 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 31 Sep 1 02:28 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Sep 1 02:28 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Sep 1 02:28 /usr/share/texlive/texmf/ls-R -> /var/lib/texmf/ls-R-TEXLIVEMAIN
######################################
Config files
-rw-r--r-- 1 root root 475 Jun 21 18:30 /etc/texmf/web2c/texmf.cnf
-rw-r--r-- 1 root root 5106 Sep 21 12:34 /var/lib/texmf/web2c/fmtutil.cnf
lrwxrwxrwx 1 root root 32 Sep 1 02:28 /usr/share/texmf/web2c/updmap.cfg -> /var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 3752 Sep 21 12:34 /var/lib/texmf/tex/generic/config/language.dat
######################################
Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root 283 Jun 20 2007 mktex.cnf
-rw-r--r-- 1 root root 475 Jun 21 18:30 texmf.cnf
######################################
md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c /etc/texmf/texmf.d/00debian.cnf
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages texlive-latex-extra depends on:
ii dpkg 1.16.8
ii preview-latex-style 11.86-10.1
ii tex-common 3.13
ii texlive-binaries 2012.20120628-3
ii texlive-common 2012.20120611-4
ii texlive-latex-recommended 2012.20120611-4
ii texlive-pictures 2012.20120611-4
Versions of packages texlive-latex-extra recommends:
ii texlive-latex-extra-doc 2012.20120611-2
Versions of packages texlive-latex-extra suggests:
ii libfile-which-perl 1.09-1
Versions of packages tex-common depends on:
ii debconf [debconf-2.0] 1.5.46
ii dpkg 1.16.8
ii ucf 3.0025+nmu3
Versions of packages tex-common suggests:
ii debhelper 9.20120909
Versions of packages texlive-latex-extra is related to:
ii tex-common 3.13
ii texlive-binaries 2012.20120628-3
-- debconf information:
tex-common/check_texmf_wrong:
tex-common/check_texmf_missing:
Reply to: