[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

Re: Referencing cross-reference text



*** The original message appeared on the FrameUsers mailing list.
*** This reply is copied only to the framers@omsys.com mailing list.
*** If this message is useful, consider sending it to FrameUsers.

From: "Douglas S. Bailey (AL)" <dbailey@commandalkon.com>
> When I create a cross-ref, the <$paratext> building block uses the entire
> paragraph's text as part of the reference.  Is there a way to use only the
> text contained in the cross-reference marker, instead of the entire
> paragraph containing the marker, when creating the cross-reference link?
> 
> For instance: with the sentence, "See the dog run," and a cross-reference
> marker containing only "the dog",

No, the actual text stored in the cross-ref marker has no bearing on the
text used for the cross-reference. FrameMaker only uses the paragraph ID
number in the marker text to locate the referenced paragraph. The rest
of the marker text is discarded. (Changing the paragraph text doesn't
change the text in the marker.)

You have the following choices:
1. Separate the referenced paragraph into two; the first one containing
   the text you wish to cross-ref and acting as a run-in paragraph, the
   second one having the rest of the text and placed on the same line.
   Then cross-ref the first paragraph.
2. If the referenced paragraph uses no autonumbering, put the text you
   wish to cross-ref as the autonumbering string, but use a character
   tag for the autonumber that makes the text very small and white, and
   place it at End of Paragraph. Then cross-ref <$paranum> instead.
   This creates an override for each referenced paragraph, and may
   cause problems when creating PDF or HTML.
3. A variation of case 1 and 2, where you put the text in a separate
   invisible paragraph preceding the actual paragraph. Again, may cause
   problems for PDF and HTML, and can become an editing nightmare.
4. Create a hypertext link instead of a cross-reference. You can have
   any text you like in the hypertext link. You add hypertext markers
   to the referenced paragraph ("newlink X") and to the hypertext link
   itself ("gotolink X").


- - - - - - - - - - - - - - - - - - - - - -
Thomas Michanek, FrameMaker/UNIX/MIF expert
mailto:Thomas.Michanek@telia.com   (Sweden)
http://go.to/framers/
- - - - - - - - - - - - - - - - - - - - - -
Join the low-volume "Free Framers" mailing list: send an email
to majordomo@omsys.com with "subscribe framers" in the body


** To unsubscribe, send a message to majordomo@omsys.com **
** with "unsubscribe framers" (no quotes) in the body.   **