Package: texlive-latex-extra Version: 2012.20120611-2 Severity: normal Tags: upstream patch
Dear Maintainer, The invoice package uses \input instead of \RequirePackage to include package fp. Line 152 from file invoice.sty uses the following code: \input{fp} This seems to create incompatibilities with other packages such as wallpaper or datatool (and probably many others). Those problems could be avoided by replacing \input{fp} with \RequirePackage{fp}. Note: having seen the warnings provided by reportbug when preparing a report for the TeX Team, I was truly hesitant about submitting this bug. I realize that this issue is in no way the maintainers' fault, and it's something that should be fixed upstream. However, considering that the fix is trivial and could probably help other people, I finally decided to file the report. I apologize in advance if you consider that this bug shouldn't have been reported. -------- Additional information ------------------------------------------------------- 1) Minimum working example %---------------------------------------------- \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{invoice} \usepackage{wallpaper} \begin{document} Minimum working example \end{document} %---------------------------------------------- Running pdflatex on this file will produce the following error: (/usr/share/texlive/texmf-dist/tex/latex/wallpaper/wallpaper.sty ! LaTeX Error: Missing \begin{document}. 2) The problem described affects not only stable (texlive 2012.20120611) but also the testing branch (texlive 2013.20140215) (the invoice.sty file is exactly the same in both versions of texlive) 3) Here are some external links taken from tex.stackexchange which illustrate the problem : http://tex.stackexchange.com/questions/133566/combining-invoice-and- datatool-to-create-serial-invoices http://tex.stackexchange.com/questions/162446/problem-using-invoice-and- wallpaper-packages-together -- 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 ################################## other files ###################################### List of ls-R files -rw-r--r-- 1 root root 1285 Feb 26 01:55 /var/lib/texmf/ls-R lrwxrwxrwx 1 root root 29 Jan 9 2013 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN lrwxrwxrwx 1 root root 31 Oct 3 2012 /usr/share/texlive/texmf/ls-R -> /var/lib/texmf/ls-R-TEXLIVEMAIN -rw-rw-r-- 1 root staff 80 Feb 26 01:55 /usr/local/share/texmf/ls-R lrwxrwxrwx 1 root root 31 Oct 3 2012 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST lrwxrwxrwx 1 root root 31 Oct 3 2012 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST lrwxrwxrwx 1 root root 31 Oct 3 2012 /usr/share/texlive/texmf/ls-R -> /var/lib/texmf/ls-R-TEXLIVEMAIN ###################################### Config files -rw-r--r-- 1 root root 475 Feb 21 23:01 /etc/texmf/web2c/texmf.cnf -rw-r--r-- 1 root root 3806 Feb 26 01:18 /var/lib/texmf/web2c/fmtutil.cnf lrwxrwxrwx 1 root root 32 Oct 3 2012 /usr/share/texmf/web2c/updmap.cfg -> /var/lib/texmf/updmap.cfg-DEBIAN -rw-r--r-- 1 root root 3752 Feb 26 01:18 /var/lib/texmf/tex/generic/config/language.dat ###################################### Files in /etc/texmf/web2c/ total 8 -rw-r--r-- 1 root root 283 Jan 9 2013 mktex.cnf -rw-r--r-- 1 root root 475 Feb 21 23:01 texmf.cnf ###################################### md5sums of texmf.d ca40c66f144b4bafc3e59a2dd32ecb9c /etc/texmf/texmf.d/00debian.cnf -- System Information: Debian Release: 7.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages texlive-latex-extra depends on: ii dpkg 1.16.12 ii preview-latex-style 11.86-11 ii tex-common 3.15 ii texlive-binaries 2012.20120628-4 ii texlive-common 2012.20120611-5 ii texlive-latex-recommended 2012.20120611-5 ii texlive-pictures 2012.20120611-5 Versions of packages texlive-latex-extra recommends: ii texlive-latex-extra-doc 2012.20120611-2 Versions of packages texlive-latex-extra suggests: pn libfile-which-perl <none> Versions of packages tex-common depends on: ii debconf [debconf-2.0] 1.5.49 ii dpkg 1.16.12 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.15 ii texlive-binaries 2012.20120628-4 -- debconf information: tex-common/check_texmf_wrong: tex-common/check_texmf_missing:
--- invoice.sty.wheezy 2011-10-04 00:00:00.000000000 -0300 +++ invoice.sty 2014-02-27 02:58:46.239307099 -0300 @@ -149,7 +149,7 @@ \RequirePackage{ifthen} \RequirePackage{longtable} \RequirePackage{calc} -\input{fp} +\RequirePackage{fp} \input{invoice.def} % \newcommand{\InvoiceVersion}{0.9}%