Re: Error: "Incompatible list can't be unboxed"
THIL Stéphane <stephane.thil <at> univ-perp.fr>
2009-03-05 15:24:54 GMT
Le 5 mars 09 à 13:29, Heiko Oberdiek a écrit :
> On Wed, Mar 04, 2009 at 08:01:46PM +0100, Heiko Oberdiek wrote:
>
>> On Wed, Mar 04, 2009 at 07:26:49PM +0100, Jobst Hoffmann wrote:
>>
>>> I attach an example and the log-files, one is the result from
>>> pdflatex
>>> using hpdftex.def v6.78n - this one doesn't produce any error, the
>>> other
>>> one is produced using hpdftex.def v6.78p - this one produces the
>>> above
>>> mentioned error. From that I would conclude that the latter
>>> introduces
>>> the error.
>>>
>>> The difference between both versions is
>>>
>>> \def\Hy <at> FixNotFirstPage{%
>>> \gdef\Hy <at> FixNotFirstPage{%
>>> \setbox\AtBeginShipoutBox=\hbox{%
>>> \copy\AtBeginShipoutBox
>>> }%
>>> }%
>>> }
>>> \AtBeginShipout{\Hy <at> FixNotFirstPage}
>>>
>>> so this may be the source of all evil
>>
>> First there is no bug here in hyperref. In contrary, I must do this,
>> because the first page has an additional box level to insert some
>> whatits. Without the code above, there would be an error of pdfTeX,
>> if links are broken between the first and second page.
>>
>> Thus beamer or whatever should be updated to support this code in
>> hyperref v6.78p.
>>
>> I cannot reproduce the problem with the beamer version of TL2008.
>> It runs fine with hyperref 6.78p.
>
> The problem is the CVS version of pgf. A more minimal example:
>
> \documentclass{article}
> \usepackage{pgf}
> \usepackage{hyperref}
> \begin{document}
> Hello
> \newpage
> World
> \end{document}
>
> Workaround, load package atbegshi before pgf:
>
> \usepackage{atbegshi}
> \usepackage{pgf}
>
> In case of class beamer that loads packages pgf and hyperref:
>
> \RequirePackage{atbegshi}
> \documentclass{beamer}
>
> Yours sincerely
> Heiko <oberdiek <at> uni-freiburg.de>
>
> Viele Grüße
> Heiko <oberdiek <at> uni-freiburg.de>
Hi,
First, thanks for looking into the problem.
Your discussion is way above my head, but here are my 2 cents: I
didn't have any problems since I undid the TeX distribution update,
and I am using hyperref and the CVS version of pgf. I updated the
hyperref package just a minut ago [hyperref (12074 -> 12222)] and now
the error is back again.
Your workaround (loading package atbegshi before pgf/tikz) is working,
though.
Regards,
Stéphane.
--
--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
CRI UPVD http://www.univ-perp.fr
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H