Group Abstract Group Abstract

Message Boards Message Boards

How do you hyperlink to a cell in a local notebook in 12.3?

Posted 4 years ago
POSTED BY: Samuel Graham
3 Replies
Posted 2 months ago

The front-end-based local "Insert>Hyperlink… " works fine if the notebooks remain in their original folders. Moving them to another folder apparently breaks the local links because they use an absolute file-path.

The method with the inline Hyperlink-commands circumvents this by permitting to use a relative file-path. I didn't find an equivalent method using the front-end. Thus it may be possible to move a set of interlinked notebooks while conserving the functionality of the links.

POSTED BY: Haiko Schmarsow

Thanks. The simple dialog box was restored in versions 13 and 14. Just select the text you want to use as the link, type [CommandKey] [Shift] H. Dialog box lets you choose the target for the link: Web, same notebook, different notebook. Then, if the target cell within the notebook has been tagged, you can select it

Dialog box

POSTED BY: Samuel Graham
Posted 3 months ago

Up to now I have used the following procedure – still wondering if there can be found an easier way:

Position insertion-line on link-place within the (text-) cell of the notebook.

Type ctrl-9 to produce inline cell.

Enter Hyperlink-expression into inline-cell:

Hyperlink["text to be shown",{"HyperlinkTarget.nb","targettag"}]

(be sure the inline cell content is selected) then menu-draw "Evaluation>Evaluate in place" or Ctrl+Shift+Return

The (text-)cell with the hyperlink text "text to be shown" should be working. (Mathematica 14.2)

POSTED BY: Haiko Schmarsow
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard