Hello Bertrand
You can link to a paragraph using Hypertext markers rather than
cross-refs. Note: Hypertext markers make the text "live" (a link) in the
section of text where the source marker is. To limit the extent of the
link text, apply a character format to the text you want to be a link.
In your case apply the char format to "chilli sauce". Any char format
will do, but you will probably want to define one called Linktext or
something, with the format set to As Is.
Follow these steps:
1. In your source paragraph, click Special > Hypertext.
2. In the Hypertext dialog box, click Command and choose Jump to Named
Destination.
3. In the same dialog, where it will now say gotolink, type the name of
your marker. This is case-sensitive. Click New Hypertext Marker.
4. Go to the beginning of the destination paragraph.
5. Repeat the steps above, but this time choose Specify Named
Destination. The dialog will now say newlink. Type the same name of the
marker (case-sensitive) and click New Hypertext Marker.
Hope this helps.
Roger
P.S. Chilli and peaches? You may want to consider taking a cookery
course also!
On 26/05/2017 10:45, Bertrand Meyer wrote:
Is there a way to create a link to a paragraph in the same document?
In the list of possible destinations I see page numbers, but that is not
good, since page boundaries move around and in fact I need finer-grain
targets.
I just want to select a paragraph and create a link to it. Not a
cross-reference; at least I don't see how to do this with a cross-reference,
since a cross-reference has a format which depends on the target paragraph,
not the source paragraph. What I need is links in sentences such as
first prepare a chili sauce, then a Peach Melba, then mix
them
where "chili sauce" and "Peach Melba" are underlined, and are links going to
the corresponding destinations. Each of these destinations is a paragraph in
the document.
This is very easy to do for URLs (Hypertext: message URL http://whatever, I
have been doing this for years) but paradoxically I don't see a simple
equivalent for intra-document links. Maybe I am missing something obvious.
The alternative that I can use now is to add destinations explicitly: in the
chili sauce paragraph add a marker
newlink chili sauce
and at the point of the link add a marker
gotolink chili sauce
This works but does not scale up: I will have hundreds, in fact several
thousands, of such links; it is an enormous waste of time to have to type
"newlink P" for each one of them and "gotolink P" for each reference, when
each of these "P" is already a paragraph. I would like to do as with
cross-references: be presented with a list of the existing paragraphs and
select one of them.
I do see a workaround: I have looked at the generated MIF and see where
exactly the "newlink P" and "gotolink P" appear. Since my target paragraphs
are all of one specific paragraph type, I can write a script that massages
the MIF and inserts at least a "newlink P" for every P of that type. But
this is a heavy-artillery solution, and means I must regenerate the MIF,
close the document, run the script and go back to FrameMaker after each
significant change. If there is a way to achieve the result through the
normal UI I would like to know about it.
I am using FrameMaker 15, although the question seems version-independent.
Thanks in advance!
-- Bertrand Meyer
_______________________________________________
This message is from the Framers mailing list
Send messages to [email protected]
Visit the list's homepage at http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to [email protected]
_______________________________________________
This message is from the Framers mailing list
Send messages to [email protected]
Visit the list's homepage at http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to [email protected]