<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>The hyperlinks you are seeing in the PDF may not actually be there, and they probably did not come from FrameMaker! For several years, now, Acrobat has had the feature of inferring hyperlinks from text strings that look like URLs. But the feature is a little dumb in just the ways you describe (being unable to properly distinguish surrounding characters from the URL, and not working on URLs that are broken across more than one line).<br><br>The right way to handle URLs in FrameMaker is to explicitly code them as Hypertext markers of the Go To URL type. The marker contains the actual URL, which can be different from what appears in the text of the document, and the "hot-spot" area in the text is delimited by some character format that you apply to the desired string. (The character format does not need to look different than the regular text, but it must be applied or else FrameMaker will treat the entire portion of the paragraph that follows the Hypertext marker as the active area for the link.)<br><br>Then, when you create the PDF from the FrameMaker book, you need to ensure that the "Include Acrobat Data" option is selected so that the real URL from the marker will be passed into the PDF.  <br><br>It sounds more complicated than it is. The steps I use are:<br><ol><li>Select the text that will be the hot-spot. If it's the correct string for the URL, copy it to the clipboard.</li><li>Apply the character format you're using for hyperlinks.</li><li>Go to the Hypertext window and choose "Go to URL" from the command list; "message URL" will appear in the text box.</li><li>In the text box, paste (or type) the URL after the pre-populated string, then click Create Hypertext Marker.</li></ol><br><BR>-Fred Ridder<br><BR><br><div><hr id="stopSpelling">From: dharding@illinois.edu<br>To: framers@lists.frameusers.com<br>Subject: Controlling FrameMaker automatic link generation<br>Date: Thu, 2 Apr 2015 19:37:57 +0000<br><br>



<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxMsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}

.ExternalClass p {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass p.ecxMsoListParagraph, .ExternalClass li.ecxMsoListParagraph, .ExternalClass div.ecxMsoListParagraph {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass span.ecxEmailStyle18 {
font-family:"Calibri","sans-serif";
color:#1F497D;
}

.ExternalClass .ecxMsoChpDefault {
font-size:10.0pt;
}

.ExternalClass div.ecxWordSection1 {
}

.ExternalClass ol {
}

.ExternalClass ul {
}

--></style>


<div class="ecxWordSection1">
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Version: FrameMaker 12, Unstructured.</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">When generating PDFs, Frame automatically converts (SOME!) URLs to hyperlinks, which is great, but it’s not an exact science, and I’d like to be able to fine
 tune some things globally rather than manually inserting and editing a zillion hypertext links:</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<p class="ecxMsoListParagraph" style="text-indent:-.25in;"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"><span style="">1.<span style="font:7.0pt "Times New Roman";">      
</span></span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Frame recognizes
<a href="http://www.xxxxxxxx" target="_blank">www.xxxxxxxx</a> (without an http:// prefix) as a URL and converts it to a link. Fine. Spiffy. How do I get it to automatically recognize non-www domains, e.g. bit.ly, tinyurl.com, etc.? Where is this automatic conversion controlled?<br>
<br>
</span></p>
<p class="ecxMsoListParagraph" style="text-indent:-.25in;"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"><span style="">2.<span style="font:7.0pt "Times New Roman";">      
</span></span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Our formatting is such that we put urls in brackets, e.g., [www.fubar.com]. Problem: Frame automatically appends the closing bracket to the URL when
 creating the link, which of course breaks the link. Only the opening bracket, not the opening bracket. Adding a space, e.g., [
<a href="http://www.fubar.com" target="_blank">www.fubar.com</a> ] does not fix the problem.<br>
<br>
</span></p>
<p class="ecxMsoListParagraph" style="text-indent:-.25in;"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"><span style="">3.<span style="font:7.0pt "Times New Roman";">      
</span></span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">If I wanted to disable automatic link conversion in creation of the PDF (yet maintain conversion of manually created hypertext markers), where and
 how would I do this?<br>
<br>
</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Thanks,</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">-Dan</span></p>
</div>


<br>_______________________________________________


You are currently subscribed to framers as DocuDoc@hotmail.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscribe@lists.frameusers.com
or visit http://lists.frameusers.com/mailman/options/framers/docudoc%40hotmail.com

Send administrative questions to listadmin@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.</div>                                       </div></body>
</html>