Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to create links or bookmarks to jump to sections inside a notebook

433 views
Skip to first unread message

luke wallace

unread,
Aug 29, 2012, 1:19:19 AM8/29/12
to
I'm trying to make an interactive e-book in mathematica.

I know how to hyperlink to jump from one notebook to another, or to a helpfile in mathematica using 'hyperlink' symbol http://reference.wolfram.com/mathematica/ref/Hyperlink.html

but how do I make text click-able which will make it jump to a certain picture inside the nb.

So for example if I have a cell of text that has the text "Figure 1.1" somewhere in there, I need to be able to click the "Figure 1.1" text like a hyperlink to jump to the figure which is in the same lengthy notebook but in a different section. Is it possible?

If it is possible, how would I make a stylesheet that would automatically interlink textual "Figure X.X" with the actual picture (by tagging the picture), and then clicking the picture would jump back to the text?


Jason Ebaugh

unread,
Sep 2, 2012, 4:46:06 AM9/2/12
to
Select the cell that you want to link to. In the menu, go Cell>>Cell Tags>> Add/Remove Cell Tags. Add a tag to that cell.

Make the hyperlink like so:
[In]: Hyperlink["Go", {SelectedNotebook[], "TagOnDestinationCell"}]


Of course, swap "TagOnDestinationCell" with whatever tag you used.

If your picture is in a different .nb, you will need to link there, rather than to SelectedNotebook[].



Jason

Jason Ebaugh
jasonebaugh[at]jasonebaugh.info



On Wednesday, August 29, 2012 12:20:42 AM UTC-5, luke wallace wrote:
> I'm trying to make an interactive e-book in mathematica.
>
>
>
> I know how to hyperlink to jump from one notebook to another, or to a helpfile in mathematica using 'hyperlink' symbol http://reference.wolfram.com/mathematica/ref/Hyperlink.html
>
>
>
> but how do I make text click-able which will make it jump to a certain picture inside the nb.
>
>
>
> So for example if I have a cell of text that has the text "Figure 1.1" so mewhere in there, I need to be able to click the "Figure 1.1" text like a hyperlink to jump to the figure which is in the same lengthy notebook but in a different section. Is it possible?
0 new messages