Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15029 - app-text/tetex-1.0.7-r12: pdflatex doesn't accept jpg images, gives unsupported type of compression error.
Summary: app-text/tetex-1.0.7-r12: pdflatex doesn't accept jpg images, gives unsupport...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Matthew Turk (RETIRED)
URL: http://www.drfox.com/sandbox/pdflatex...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-03 08:33 UTC by Jon Fox
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Fox 2003-02-03 08:33:22 UTC
Latex documents using jpg images in \includegraphics{filename.jpg} produce an
error in gentoo but work in debian. This is an annoyance bug because I can run this:

jpegtopnm filename.jpg | pnmtopng > filename.png 

Converting the files to png's however increases file size significantly, and I
am forced to convert my old documents to use png files. 

Reproducible: Always
Steps to Reproduce:
1. Write a simple latex document that uses an image (Example at link above). 
The gtop_s.jpg on the gentoo.org webpages is a good example image. 
2. Run pdflatex filename.tex
3. Returns error in gentoo. No error in Debian tetex.

Actual Results:  
Error: pdflatex (file gtop-s.jpg): unsupported type of compression

Expected Results:  
Make a pdf file using the jpg. Source code includes writejpg.c, but doesn't seem
to be reading the jpeg file.

Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi encode gif jpeg libg++ mikmod mmx mpeg ncurses
nls pdflib png qtmt quicktime sdl spell truetype xml2 xmms xv zlib gdbm berkdb
slang readline tetex svga java guile gpm tcpd pam libwww perl esd imlib
oggvorbis motif opengl mozilla gphoto2 X gtk gnome python ssl cups kerberos
crypt alsa bonobo postgres tcltk -kde -qt"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Jon Fox 2003-02-04 07:34:01 UTC
Just emerged tetex-2.0 and the pdflatex works as advertised using jpegs. 
Thanks satai!
Comment 2 Matthew Turk (RETIRED) gentoo-dev 2003-02-04 11:36:35 UTC
No problem.  :)  The version of pdfTeX that is packaged with tetex-1.0.7 is woefully out 
of date...