ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* link to component
@ 2013-01-11 14:52 Daniel Schopper
  2013-01-11 14:58 ` Daniel Schopper
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Schopper @ 2013-01-11 14:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I'm using a product/component structure with interaction but it seems 
that hyperlink targets pointing to manually set pagereferences in 
another component file do not work as they should: The line/page numbers 
on the link is correct, but the hyperlinks points to  _component.pdf_ 
(which opens, if it has been compiled by itself before, otherwise the 
link is just going nowhere) instead of the page in product.pdf

On the other hand, hyperlinks to a chapter/... head work as expected.

I haven't used interaction much until now, so I might well be missing 
something, but this seems like a bug to me.

Thanks in advance!
Daniel


Working minimal example:
---------------------------
My product.tex looks like this:


\setupinteraction[state=start]

\startproduct product

\startbodymatter
	%\at and \inline -> \pagereference[knuth] don't work
	cf. Knuth at \at{p.}[knuthpage] \inline{line}[knuth]
	% \in -> \chapter[knuthchap] works
	in \in{Chapter}[knuthchap].
\stopbodymatter

\startappendices
	\component appendix
\stopappendices

\stopproduct


--------------
And my appendix.tex looks like this:

\startcomponent appendix
	\product product
	\chapter[knuthchap]{Knuth}
	\startlinenumbering
	\startline[knuth]\input knuth\stopline[knuth]
	\stoplinenumbering
	\page
	Some problem here.\pagereference[knuthpage]
\stopcomponent
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-11 14:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-11 14:52 link to component Daniel Schopper
2013-01-11 14:58 ` Daniel Schopper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).