[NTG-pdftex] [pdftex-Bugs][4317] \pdfstartlink node doesn't show its node contents

pdftex-bugs at sarovar.org pdftex-bugs at sarovar.org
Thu Aug 26 09:59:24 CEST 2010


Bugs item #4317, was opened at 2010-08-25 13:47
Status: Open
Priority: 3
Submitted By: Heiko Oberdiek (oberdiek)
Assigned to: The Thanh Han (hanthethanh)
Summary: \pdfstartlink node doesn't show its node contents 
Category: Primitives
Group: None
Resolution: Accepted


Initial Comment:
\showlists and \showbox are useful tools for debugging.
However the node generated by \pdfstartlink does not show
its children.

Example for iniTeX or plain TeX:

\catcode`\{=1
\catcode`\}=2
\pdfoutput=1
\hsize=100pt
\parfillskip=0pt plus 1fil
\showboxdepth=1000
\showboxbreadth=1000
\tracingonline=1

\setbox0=\hbox{%
  \pdfstartlink user{}%
    \vrule width 10pt height 10pt
  \pdfendlink
}\showbox0

\noindent
\vrule width 20pt height 20pt
\hbox{\vrule width 30pt height 30pt}%
\pdfstartlink user{}%
\vrule width 40pt height 40pt
\pdfendlink
\par
\showlists
\end

The output does not show the rule for 10pt and 40pt, e.g.
  > \box0=
  \hbox(10.0+0.0)x10.0
  .\pdfstartlink(*+*)x* action user{}

Yours sincerely
  Heiko

----------------------------------------------------------------------

>Comment By: The Thanh Han (hanthethanh)
Date: 2010-08-26 07:59

Message:
many thanks Heiko, patch applied to stable.

----------------------------------------------------------------------

Comment By: Heiko Oberdiek (oberdiek)
Date: 2010-08-26 03:28

Message:
The analysis of the sources revealed that inside the case
pdf_start_link_node inside <Display the whatsit...> an
errornous `return' occurs, if the action is `user'.
The fix replaces the `return' by an else branch for the
other action cases.

I try to add the patch file right here to avoid
the overhead of a new patch item.

Yours sincerely
  Heiko


----------------------------------------------------------------------

You can respond by visiting: 
http://sarovar.org/tracker/?func=detail&atid=493&aid=4317&group_id=106


More information about the ntg-pdftex mailing list