🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.framemaker
11 messages
11 total messages Started by cushlomockree Fri, 18 Jul 2008 11:21
Prob: Word2003 internal hyperlinks imported as visible <XREF> Options
#2749
Author: cushlomockree
Date: Fri, 18 Jul 2008 11:21
23 lines
1460 bytes
Hi,
I have a very large Word document that is extensively hyperlinked to
locations within the same document.
The links are Character formatted as 'Hyperlink' style and are
functional in the Word document.

This document is eventually going to be targeted to PDF.

When I import into Framemaker 7.1, each link has a <XREF> field
immediately preceding it that contains the cross-reference information
that was hidden in Word.

Example:
MSWord: AA. See Adipic acid. (where "Adipic acid" is underlined and
hot)
Framemaker: AA. See <XREF>Adipic acid. (where "Adipic acid" is
underlined and NOT hot, but <XREF> is)

If I hold down Ctrl+Alt over <XREF>, the cursor changes to a hand and
will jump to the correct document location if the mouse is clicked.

How do I hide the <XREF> and make the word "Adipic acid" into the
hypertext as it was in MSWord?
Re: Prob: Word2003 internal hyperlinks imported as visible <XREF> Options
#2750
Author: Art Campbell
Date: Fri, 18 Jul 2008 11:57
3 lines
768 bytes
Have you cleaned out the hidden Word characters by saving the FM file as MIF and opening that?

Art
Re: Prob: Word2003 internal hyperlinks imported as visible <XREF> Options
#2752
Author: cushlomockree
Date: Fri, 18 Jul 2008 13:48
8 lines
1487 bytes
On Jul 18, 7:57 am, "Art Campbell" <art.campb...@gmail.com> wrote:
> Have you cleaned out the hidden Word characters by saving the FM file as MIF and opening that?
>
> Art

I tried that. Everything appears the same.
Thanks
Re: Prob: Word2003 internal hyperlinks imported as visible <XREF> Options
#2764
Author: cushlomockree
Date: Sat, 19 Jul 2008 20:35
2 lines
724 bytes
I tried that. Everything still appears the same.
Thanks
Word2003 internal hyperlinks imported as visible <XREF> Options
#2765
Author: Thomas_Michanek
Date: Sun, 20 Jul 2008 01:41
57 lines
3613 bytes
Assuming you cannot get this working by importing the Word
document in some other way, I would take a closer look on
how the resulting hyperlinks look in FM.

It sounds like the link you get is a working Hypertext link
rather than a cross-ref. Turn on Text Symbols so that you can
see the marker symbols (looks like a "T").
Hopefully, you have a marker symbol just at the beginning
of the "<XREF>" text. Select it and open the Marker window
to check that it's a Hypertext marker of the form "gotolink"
or "openlink".

Try this: put the cursor before the link, search for "<XREF>"
and replace by nothing. Do not manually delete the text, use
the Find & Replace function in FM, and only do it for a single
link. The end result should be that the Hypertext marker is
now placed just at the beginning of the underlined text, without
anything in between. If that's the case, try the link in FM.
If it works, you may have found a simple Find & Replace that
hopefully will work for all the Word-created links.

If the link doesn't work (I suspect it won't), it's probably
because the Hypertext marker has a different character formatting
compared to the link text (no underline). A Hypertext link in
FM starts at the Hypertext marker and ends as soon as any change
in character formatting is encountered, which in your case may
be immediately...

There is a possible way to solve this problem without manually
having to edit each link. First, check if the underlining in
the link text is applied using a character format, or if it's
a manual override to the formatting (select parts of the underlined
text and look in the Character Designer).
If it's a character format, add it to the Catalog by clicking Apply.
You will have a greater chance of success if it's a named format.
Next, select a part of the underlined text and then choose
Edit > Copy Special > Character formatting
Once again, place the cursor before the link and open the Find
dialog. If you think you only got Hypertext markers coming from
Word, search for "Marker of type" and enter "Hypertext".
Alternatively, search for "Marker text" and enter "gotolink" or
"openlink" or whatever you found in the Marker window earlier.
In the replace field, select "By pasting" (this is the trick!)

Do the Find & Replace for the single link. Now try the link in
FM again. If it works, you have found a second Find & Replace
that will make your links working. In the ideal situation, you
can now perform both of the Find & Replace actions on each
document to make all links working. Just watch out for any
other Hypertext links in the documents, like the links in the
TOC or manually created links to web pages etc. You don't want
to change those...

Let us know if it works.

-- 
/Thomas Michanek
Re: Prob: Word2003 internal hyperlinks imported as visible <XREF> Options
#2767
Author: cushlomockree
Date: Sun, 20 Jul 2008 14:51
7 lines
1187 bytes
Thanks
I attempted the procedures you outlined.
The markers that were imported from Word were of type "Index".
The only way I could get the Find/Change to locate the "<XREF>" portion was by selecting "Cross-Reference of Format:" in the Find drop-down list and entering <XREF> in the text to find box.
The "By-pasting" does change the char format of <XREF> as you specified, but it still remains the only "hot" portion of the link.
Can't get Find/Change to locate <XREF> by selecting "Marker Text"
Mike
Re: Prob: Word2003 internal hyperlinks imported as visible <XREF> Options
#2768
Author: Thomas_Michanek
Date: Sun, 20 Jul 2008 15:21
31 lines
2110 bytes
Your findings surprises me, even though I realize that Word does
things in weird ways...

There's no way that a marker of type "Index" can result in a
workable link to another place in the document. So, either
there are multiple markers in the same place, or the text "<XREF>"
is indeed a FrameMaker cross-reference. The problem is that a
FM cross-ref always picks up the contents of the cross-ref'd
text or paragraph, so I cannot understand how all your cross-refs
from Word could say "<XREF>".

Are the "<XREF>" texts cross-refs? (double-click to see if you
get the cross-ref dialog) What is the definition of the cross-
ref format used?

Are the Index markers you find placed directly in front of the
"<XREF>" text, or where in the text are they located?

The "by-pasting" method I described would only work if you managed
to get rid of the "<XREF>" texts. It was not intended to change
the format of the "<XREF>" text, but the format of the (presumed)
hypertext marker.

By your description I get the following idea on how your link looks:

AA. See [Index marker][Cross-ref saying "<XREF>"][Underlined text
"Adipic acid" using some character format].

If not, try to describe how it looks.

/Thomas
Re: Prob: Word2003 internal hyperlinks imported as visible <XREF> Options
#2769
Author: cushlomockree
Date: Sun, 20 Jul 2008 18:53
13 lines
1082 bytes
Yes. If I double-click, the FM Cross-Reference dialog appears, with the correct Word-defined Bookmark location highlighted.

In FM with Text-symbols displayed:

AA. See T<XREF>Adipic Acid

Where:
1. "T" is the text-symbol
2. <XREF> is the FM Cross-Reference mapped to a Word-defined Bookmark
3. "Adipic Acid: is character formatted (underlined, blue)

All this happens when I import the Wprd doc.
Mike
Re: Prob: Word2003 internal hyperlinks imported as visible <XREF> Options
#2770
Author: Thomas_Michanek
Date: Sun, 20 Jul 2008 19:23
20 lines
1639 bytes
I would like you to be a little bit more specific regarding
the cross-ref:

Open the cross-ref dialog and tell me:
Is the "source type" set to "paragraph tags" or "cross-ref markers"?
If paragraph tags, what does the "paragraph tags" list say?
What is the "format" used in the reference (name and definition)?

If you click "Go to source", do you end up in a paragraph (a heading
perhaps?) that contains the text "Adipic Acid"? If not, what does
the text of the paragraph say?

I'm not sure how much you know about FM cross-refs, so I want 
to go through this step by step.

Another thing: if you select the "T"-shaped marker ahead of the
cross-ref and open the Marker dialog, what is the content of
the Index marker?

/Thomas
Re: Prob: Word2003 internal hyperlinks imported as visible <XREF> Options
#2773
Author: cushlomockree
Date: Sun, 20 Jul 2008 21:03
36 lines
1681 bytes
"source type"="cross-ref markers" NOT "paragraph tags"
If I click "Go to source" it jumps to the correct place in the document that was "Bookmarked" in Word.
The cursor is to the right of the T-marker located there:

TAdipic Acid�
Where:
1. "T" is the T-marker
If I right-click and select Marker...
The Marker dialog appears:
Marker Type=Cross-Ref
Marker Text: is empty

RE:>>Another thing: if you select the "T"-shaped marker ahead of the
cross-ref...
Cannot select T-marker by itself. If I try, T<XREF> gets selected.
The Marker dialog says
Marker Type=Index
Marker Text: <XREF>

Please note: I have tried this several times and seem to getting Different results when I select "T<XREF>" and right-click for the Marker Dialog.

I have gotten:
Marker Type=Index
Marker Text: <XREF>

Marker Type=Conditional Text
Marker Text: <XREF>

Marker Type=Conditional Text
Marker Text: +910622

Marker Type=Cross Ref
Marker Text: <XREF>

Something seems flakey! However the jump still works.
Thanks for all your trouble.
Re: Prob: Word2003 internal hyperlinks imported as visible <XREF> Options
#2774
Author: Thomas_Michanek
Date: Sun, 20 Jul 2008 21:47
28 lines
2103 bytes
> Thanks for all your trouble.

The turn-around time in this conversation is a bit too long,
and I have to get to bed now...

I think I know a way to get your links right, but you need
to give me the following info:

What is the "format" used in the cross-reference (name and definition)?

Is this a unique cross-ref format for the "Word" links?

The paragraphs that contain the linked text, the ones you
identify by "TAdipic Acid�", do they always contain just
the text to include in the link, or do they sometimes contain
more text that you don't want to include in the link, such as
"TAdipic Acid some more text�"?
If the former, there is a way to solve this, provided the
cross-refs use a unique format.
If the latter, each link has to be fixed manually...

BTW, you can select a marker by putting the cursor just before
the marker (press "Home" if at the beginning of a line) and
then press Shift+RightArrow to select the next "character"
(which may be a marker). Have the Marker window open and
continue selecting until you get the Marker info.

/Thomas
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads