14.04LTS: Garbage in pdflatex output with invoice.sty (fix included)

Bug #1324843 reported by Geert Uytterhoeven
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
texlive-extra (Ubuntu)
New
Undecided
Unassigned

Bug Description

When using pdflatex with the graphics and invoice packages in Ubuntu 14.04 LTS, garbage output is present on the first page of the PDF output.

How to reproduce:

Create file test.tex:

-----8>-----
\documentclass{article}

\usepackage[english]{babel}
\usepackage{graphics}
\usepackage{invoice}

\begin{document}
foo
\end{document}
----->8-----

Run "pdflatex test.tex", "evince test.pdf".

The first page shows garbage (a list of dates), followed by the expected output:

-----8>-----
[2007/09/09] ... [2009/07/12]foo
----->8-----

Notes:
  - The problem doesn't show up in Ubuntu 12.04LTS, with a local copy of the invoice LaTeX package (12.04LTS doesn't provide the invoice package),
  - Removing "\usepackage{graphics}" makes the garbage go away,
  - Removing "\usepackage{invoice}" makes the garbage go away.

The following patch fixes the problem:

--- invoice.sty.orig 2014-05-30 11:21:00.621445210 +0200
+++ invoice.sty 2014-05-30 11:21:28.125445149 +0200
@@ -149,7 +149,7 @@
 \RequirePackage{ifthen}
 \RequirePackage{longtable}
 \RequirePackage{calc}
-\input{fp}
+\RequirePackage{fp}
 \input{invoice.def}
 %
 \newcommand{\InvoiceVersion}{0.9}%

Tags: patch
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and help making Ubuntu better.

I have added the "patch"-tag, and subscribed ~ubuntu-reviewers which is the team responsible for reviewing patches.

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.