Bug 194707

Summary: beamer package within tetex (LaTeX) only partially functional
Product: [openSUSE] SUSE Linux 10.1 Reporter: Jan Meyer <janm2>
Component: OtherAssignee: Dr. Werner Fink <werner>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: janm2
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: test latex code for the beamer/pgf bug

Description Jan Meyer 2006-07-25 11:44:40 UTC
Dear Sirs,

I was happily using pdflatex and the beamer presentation package under OpenSuSE v10.1b3 until I upgraded everything to the final verion of openSuSE v10.1.

Now with the tetex-3.0-37 rpm, I have two problems:

1.) pdflatex (pdfeTeX 3.141592-1.21a-2.2) ends with:

---
! Illegal unit of measure (pt inserted).
<to be read again>
                   \relax
l.51 }    <-- this is the line with the \end{frame} command
---

if in that frame any rounded beamer boxes are used AND the slides are shrunk
with the pgf package using:

\documentclass[handout]{beamer}
\usepackage{pgfpages}
\pgfpagesuselayout{resize to}[a4paper,border shrink=10mm,landscape]

in the preamble (independent of the border shrink option).

Could there be some dependency issue with postscript?

2.) definition of \subsubsection is gone --> acc. to beamer Changelog of this latest version of beamer incl. in the rpm this problem has been fixed ?!

Could it be that despite the Changelogs incl. in the rpm, it is actually not the latest beamer package, which is included? Or did the rules for the pdflatex compiler got tightened?

I'd be grateful for any hints, since it prevents me to generate proper looking handouts from my presentations - which is a real show stopper.

Thank you.

best regards,

    Jan Meyer
Comment 1 Dr. Werner Fink 2006-07-26 13:33:50 UTC
AFAIK the version of tetex has not changed between openSuSE v10.1b3
and openSuSE v10.1. Beside this, why do you think that the empty space
between `border' and `shrink=10mm' without any colon will work within
the \pgfpagesuselayout{} macro  And AFAIK there is no latex style `pgfpages'
within the tetex nor within any sub package of tetex like te_latex.

And I've just tested all examples of the latex style `beamer' and all worked
out perfectly if done in the correct order. And just to be noted, there are
many \subsection{} found therein.  Two latex styles `pdfpages' and  the
latex style group around `pgf' (pgfarrows, pgfautomata, pgfheaps, pgfnodes,
pgfshade) are known but I've not found the keywords `border' nor `shrink'
therein. And AFAIK the latex style `hyperref' is providing a \pdfpagelayout{}
macro but use different string values as options. IMHO you just mixing up a
few latex styles, arn't you?
Comment 2 Dr. Werner Fink 2006-07-27 14:28:46 UTC
Jan? Please provide the info I've requested.
Comment 3 Jan Meyer 2006-07-27 15:42:21 UTC
Hi Werner,

I'm currently at a conference in Amsterdam - hence time and net access is limited.

But to give some first bits of information:

The \pgfpagesuselayout{} is defined in:

    pgf/latex/pgf/utilities/pgfpages.sty

and it allows to shrink beamer slides to have borders to make them printable - as suggested in the beamer user manual.

I will attach a sample code for you to see the problem in action.

Regarding the update from b3 to final, I did originally install beta 3 and then only upgraded to the opensuse final rpms. Maybe that was a bad procedure (if so please let me know and inform me of the implications). I remember that there was an update/patch for tetex, which I installed from which point in time on I got the problem. But if my sample code runs without problems on your machine then we have a good hint that I screwed up my installation and it would not be a suse bug.

Thanks for your quick response on this issue.

Viele GrĂ¼sse,

    Jan
Comment 4 Jan Meyer 2006-07-27 15:45:43 UTC
Created attachment 94672 [details]
test latex code for the beamer/pgf bug

this is the error message from pdflatex that I get:

-------
...
(/usr/share/texmf/tex/latex/hyperref/nameref.sty)
No file pgfpagesuselayout_but.nav.
! Illegal unit of measure (pt inserted).
<to be read again>
                   \relax
l.132 \end{frame}
------
Comment 5 Dr. Werner Fink 2006-07-27 15:50:11 UTC
The file pgfpages.sty does not exist within the tetex 3.0

  /suse/werner> locate pgfpages.sty
  /suse/werner>
  /suse/werner> cd /usr/src/werner/tetex/listings/
  tetex/listings> grep pgfpages.sty tetex-list
  tetex/listings> 

... which package includes the file pgfpages.sty? Please
provide me the package name with the help of the
command

   rpm -qf <full_path_to>/pgfpages.sty

where the string <full_path_to> should be the full patch
to the file pgfpages.sty.
Comment 6 Dr. Werner Fink 2006-07-27 15:54:42 UTC
I see this error on your example:

  ! LaTeX Error: File `pgfpages.sty' not found.
  
  Type X to quit or <RETURN> to proceed,
  or enter new name. (Default extension: sty)
  
  Enter file name:

... hmmm, the bug seems to caused by a foreign package
of foreign latex style file.  I'd like to close this
as INVALID.  IMHO you should talk to the author of
the file `pgfpages.sty' about your error.
Comment 7 Dr. Werner Fink 2006-07-27 16:16:30 UTC
If I do the following

export TEXINPUTS=/mirror/server/ftp.dante.de/pub/tex/graphics/pgf/latex/pgf//:/mirror/server/ftp.dante.de/pub/tex/graphics/pgf/generic/pgf//:/mirror/server/ftp.dante.de/pub/tex/macros/latex/contrib/beamer//:/mirror/server/www.tug.org/texlive/Contents/live/texlive/texmf-dist/tex/latex//:

to get the current version of pgf and beamedr file you example runs
without any problem:

Tests/beamer> pdflatex pgfpagesuselayout_but.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./pgfpagesuselayout_but.tex
LaTeX2e <2003/12/01>
[...]
(/mirror/server/www.tug.org/texlive/Contents/live/texlive/texmf-dist/tex/latex/
hyperref/nameref.sty) (./pgfpagesuselayout_but.out)
(./pgfpagesuselayout_but.out)
No file pgfpagesuselayout_but.nav.
[2{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [3]
(./pgfpagesuselayout_but.aux) ){/usr/share/texmf/fonts/enc/dvips/psnfss/8r.enc}
</usr/share/texmf/fonts/type1/urw/helvetic/uhvr8a.pfb>
Output written on pgfpagesuselayout_but.pdf (2 pages, 22375 bytes).
Transcript written on pgfpagesuselayout_but.log.

IMHO you have mixed up two different version of beamer and pgf version,
one from a e.g. texlive system and one from an older teTeX 3.0 which
does not work in your case.
Comment 8 Jan Meyer 2006-08-21 16:55:03 UTC
Dear Werner,

in the meantime I deinstalled the tetex rpm. Then deleted all remaining crap in the /usr/share/texmf directory and reinstalled tetex.

You're right about the latex package pgfpages not being part of the default suse/tetex rpm. Furthermore the beamer package seems to be the older v3.00 version. Therefore I decided to remove the directories containing beamer, xcolor and pgf and replace them with the latest versions from:

   http://latex-beamer.sourceforge.net/

This later version of pgf and beamer works well in the way I intended with my sample .tex code.

Thanks a lot though for the hint that I had screwed up my tetex installation during the upgrade from suse rc4 to final.

best regards,

    Jan