Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi,
I am trying to manually make a table of contents in Mathcad 15 file. I can add a tag to particular text region (Properties--Display---Tag), but when I open "insert hyperlink" menu [to link to this region from another text region], it gives me only the options "Link to a file or url".
Is there a way to link to a particular region in the same file?
Or, otherwise, is there a way to insert an automatic table of contents based on text regions headings?
This says the Help information (for Mathcad 11, it may be slightly different for Mathcad 15):
"
Before you can link to a specific region in a worksheet, you must mark it with a tag. A tag uniquely identifies a region in a worksheet, allowing you to jump directly to that region. A tag can be any collection of words, numbers, or spaces, but no symbols. A tag can not have a period in it, such as Sec1.1 but you can write Sec1,1 or Sec1-1.
To create a region tag:
Right-click on any region in your worksheet for which you would like to create a region tag.
Select Properties from the pop-up menu.
In the Properties dialog box, under the Display tab, type a tag in the text box provided and click "OK."
Now you can link to that region from within the worksheet or from any other worksheet.
To create a hyperlink to a region that has been tagged:
Click a region in your worksheet, and choose Hyperlink from the Insert menu.
Click "Browse" to locate and select the target worksheet, or type the complete path or Internet address (URL) to a worksheet. You must enter the name of the target worksheet even if you are creating a hyperlink to a region within the same worksheet.
At the end of the worksheet path type "#" followed by the region tag. The complete path for your target region will look something like this: C:\filename#region tag
Make further desired specifications in the Hyperlink dialog box and click "OK."
When you link from region to region within or between worksheets, you cannot use the pop-up window option.
"
Other important information:
- Tags are (as it appears) case sensitive, so 'Tag' is different from 'tag'.
- To attach a hyperlink to a text region, instead of the 'insert' menu command you can select 'hyperlink' from the right-mouse-menu.
- If you hover the mouse over a region that has a hyperlink attached, you may see the contents of the 'message that appears...' on the status bar (bottom) of your mathcad window.
See attached file.
Table of Contents is only implemented for 'electronic books', not for mere Mathcad sheets...
Success!
Luc
If you are linking to a location in the worksheet, the file and path are not needed just # and the tag name. eBooks will get you a better table of contents. There is also a basic program that will generate a drop down menu with links to the tabs. I am on travel, but will try to find the program later. One of the missing features in Prime.
Cheers
tietjee wrote:
"If you are linking to a location in the worksheet, the file and path are not needed just # and the tag name."
That may be true for Mathcad 15. With just that in Mathcad 11, I get an error message stating:
"Failed to open file C:\....\Temp\"
The file name is deerly missed!
Luc
Works in 15. I do not know if it works in 11.