Bug#694382: evince: ghostscript-cropped PDFs in A3 format do not render (seen as em container)
Anonymous
noreply at breaka.net
Mon Nov 19 17:36:07 UTC 2012
Package: evince
Version: 2.30.3-2+squeeze1
Severity: normal
The following LaTeX document initially displays fine with evince, but
after cropping it evince erroneously sees the resulting PDF as an
empty PDF container.
==[latex_a3_paper.tex]================%<-----------------------------
\documentclass[12pt]{minimal}
\usepackage[a3paper,left=1in,right=1in,top=1in,bottom=1in]{geometry}
\begin{document}
\newsavebox{\sometxt}
\sbox{\sometxt}{\begin{tabular}{@{}l@{}}
One line of text.\\
Another line of text.
\end{tabular}}
\newcommand{\row}{\usebox{\sometxt}\hfill\usebox{\sometxt}\\[5mm]}
\row\row\row\row\row\row
\fbox{Crop Me!!\row}
\row\row\row\row\row\row
\begin{verbatim}
pdflatex latex_a3_paper.tex
gs -sDEVICE=pdfwrite -o latex_a3_paper_cropped.pdf -c "[/CropBox [65 850 303 890] /PAGES pdfmark" -f latex_a3_paper.pdf
\end{verbatim}
\end{document}
================%<-------------------------------------------------
To follow this example, save the text above to a file
"latex_a3_paper.tex". Then run:
pdflatex latex_a3_paper.tex
then:
gs -sDEVICE=pdfwrite -o latex_a3_paper_cropped.pdf -c "[/CropBox [65 850 303 890] /PAGES pdfmark" -f latex_a3_paper.pdf
then:
evince latex_a3_paper_cropped.pdf
To see latex_a3_paper_cropped.pdf render properly, open it with "gv"
or "emacs".
-- System Information:
Debian Release: 6.0.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages evince depends on:
ii evince-common 2.30.3-2+squeeze1 Document (PostScript, PDF) viewer
ii gconf2 2.28.1-6 GNOME configuration database syste
ii gnome-icon-theme 2.30.3-2 GNOME Desktop icon theme
ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.24-4+squeeze1 simple interprocess messaging syst
ii libdbus-glib-1-2 0.88-2.1 simple interprocess messaging syst
ii libevince2 2.30.3-2+squeeze1 Document (PostScript, PDF) renderi
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.4.2-2.1+squeeze4 FreeType 2 font engine, shared lib
ii libgconf2-4 2.28.1-6 GNOME configuration database syste
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libgnome-keyring0 2.30.1-1 GNOME keyring services library
ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface
ii libice6 2:1.0.6-2 X11 Inter-Client Exchange library
ii libnautilus-extens 2.30.1-2squeeze1 libraries for nautilus components
ii libpango1.0-0 1.28.3-1+squeeze2 Layout and rendering of internatio
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libx11-6 2:1.3.3-4 X11 client-side library
ii libxml2 2.7.8.dfsg-2+squeeze5 GNOME XML library
ii shared-mime-info 0.71-4 FreeDesktop.org shared MIME databa
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages evince recommends:
ii dbus-x11 1.2.24-4+squeeze1 simple interprocess messaging syst
ii gvfs 1.6.4-3 userspace virtual filesystem - ser
Versions of packages evince suggests:
ii nautilus 2.30.1-2squeeze1 file manager and graphical shell f
ii poppler-data 0.4.3-1 Encoding data for the poppler PDF
ii unrar 1:3.9.10-1 Unarchiver for .rar files (non-fre
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list