Public bug reported:

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}%

** Affects: texlive-extra (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1324843

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/texlive-extra/+bug/1324843/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to