<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FrameAutomation.com &#187; Free Scripts</title>
	<atom:link href="http://frameautomation.com/category/freescripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://frameautomation.com</link>
	<description>Making FrameMaker faster and more efficient</description>
	<lastBuildDate>Fri, 27 Jan 2012 15:20:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Setting Acrobat Bookmarks for a Book</title>
		<link>http://frameautomation.com/2010/09/09/setting-acrobat-bookmarks-for-a-book/</link>
		<comments>http://frameautomation.com/2010/09/09/setting-acrobat-bookmarks-for-a-book/#comments</comments>
		<pubDate>Thu, 09 Sep 2010 18:38:16 +0000</pubDate>
		<dc:creator>Rick Quatro</dc:creator>
				<category><![CDATA[Free Scripts]]></category>

		<guid isPermaLink="false">http://frameautomation.com/?p=88</guid>
		<description><![CDATA[When you save a FrameMaker book to PDF, you are presented with the PDF Setup dialog box, where you can set which paragraphs (or elements) you want to appear as bookmarks in the PDF. Often, you will set the Include formats and levels just how you want them, but when you make the PDF, one [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>When you save a FrameMaker book to PDF, you are presented with the PDF Setup dialog box, where you can set which paragraphs (or elements) you want to appear as bookmarks in the PDF. Often, you will set the Include formats and levels just how you want them, but when you make the PDF, one or more paragraphs will be included that you didn&#8217;t specify. In fact, these paragraphs won&#8217;t show up in the Include/Don&#8217;t Include lists in the PDF Setup dialog box. Scott Prentice, in a recent framemaker-dita@yahoogroups.com post, gives the reason behind this:</p>
<blockquote><p>In my testing, I believe that the key factors are that the first file in the book needs to have definitions for all of the para styles in the book, and you have to set the include/exclude values on that file. If it&#8217;s a binary file, these settings would be made there &#8230; if it&#8217;s structured, you&#8217;d need to make those settings in the template that&#8217;s applied to that component.<span id="more-88"></span></p></blockquote>
<p>Let me make this clearer with a couple of screenshots. First, here is the PDF Setup dialog box after I selected all of the files in the book and chose Format &gt; Documents &gt; PDF Setup.</p>
<p><a href="http://frameautomation.com/blog/wp-content/uploads/2010/09/SaveBookAsPDF1.png"><img class="size-full wp-image-92 alignnone" title="PDF Setup Dialog" src="http://frameautomation.com/blog/wp-content/uploads/2010/09/SaveBookAsPDF1.png" alt="PDF Setup Dialog" width="475" height="436" /></a></p>
<p>So far so good. But when I create the PDF file, I get bookmarks to some paragraphs in the TOC. When I look for the paragraphs in the PDF Setup dialog box for the book, they don&#8217;t appear in either of the Include/Don&#8217;t Include lists.</p>
<p>If I select the TOC component in the book and choose Format &gt; Documents &gt; PDF Setup, I discover the source of the problem, as illustrated in the following screenshot:</p>
<p><a href="http://frameautomation.com/blog/wp-content/uploads/2010/09/PDFSetupForTOC.png"><img class="alignnone size-full wp-image-94" title="PDF Setup for TOC" src="http://frameautomation.com/blog/wp-content/uploads/2010/09/PDFSetupForTOC.png" alt="PDF Setup of TOC" width="475" height="436" /></a></p>
<p>You can see that there are two extra paragraph formats in my Include list: title.0TOC and title.0.frontmatterTOC. Because these formats don&#8217;t exist in the first component in the book, they don&#8217;t show up in the Include/Don&#8217;t Include lists when I display the PDF Setup dialog box for the book.</p>
<p>There are three possible solutions to the problem:</p>
<ol>
<li>Make sure all of the paragraph formats from all of your book&#8217;s components exist in the first component of the book. Then they will all be available in the book&#8217;s PDF Setup dialog box so you can move them to the appropriate Include/Don&#8217;t Include list.</li>
<li>Check each book components PDF Setup dialog box individually and make sure the Include list only contains the formats you want. In the above example, I moved the two TOC paragraphs to the Don&#8217;t Include list, and everything worked fine. However, I was fortunate because only the TOC contained the extra formats. For  some books, you may have to check more of the components.</li>
<li>Use FrameScript or the FDK to quickly set up the bookmarks for each of the book&#8217;s components.</li>
</ol>
<p>I have a free FrameScript script for doing this. It uses an INI file to determine which paragraph formats to include for bookmarks; here is an example:<br />
<code><br />
[BookmarkLevels]<br />
; paragraph format name=bookmark level<br />
ctoc.appendix.number=1<br />
ctoc.chapter.number=1<br />
title.0=2<br />
title.0.frontmatter=2<br />
title.1=3<br />
title.2=4<br />
title.3=5<br />
title.4=6<br />
title.a=2<br />
</code><br />
Any paragraph format not specified will have its bookmark level set to 0 (zero), and will not appear in the PDF. Since the script processes all of the components in the book, you don&#8217;t have to worry about having all of the formats in the book&#8217;s first component. You can <a href="http://frameautomation.com/SetBookmarkLevels.zip">download the script here</a>. Please let me know if you have any questions or comments.</p>
<p style="text-align: right;">&#8211;Rick</p>
]]></content:encoded>
			<wfw:commentRss>http://frameautomation.com/2010/09/09/setting-acrobat-bookmarks-for-a-book/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Move Markers to the Beginning of Words</title>
		<link>http://frameautomation.com/2010/03/20/move-markers-to-the-beginning-of-words/</link>
		<comments>http://frameautomation.com/2010/03/20/move-markers-to-the-beginning-of-words/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 02:20:13 +0000</pubDate>
		<dc:creator>Rick Quatro</dc:creator>
				<category><![CDATA[Free Scripts]]></category>

		<guid isPermaLink="false">http://frameautomation.com/?p=51</guid>
		<description><![CDATA[Maxwell Hoffman recently posted &#8220;Top 10 mistakes FM Uses make in content before translation&#8221; on his blog (www.tinyurl.com/gpi-fm1). One of the mistakes is having markers within words instead of at the beginning of words. I decided that this could be solved quickly and easily with a FrameScript script. You can download the free script at [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Maxwell Hoffman recently posted &#8220;Top 10 mistakes FM Uses make in content before translation&#8221; on his blog (<a href="http://www.tinyurl.com/gpi-fm1">www.tinyurl.com/gpi-fm1</a>). One of the mistakes is having markers within words instead of at the beginning of words. I decided that this could be solved quickly and easily with a FrameScript script. You can download the free script at<br />
<a href="http://frameautomation.com/MoveMarkers.zip">http://frameautomation.com/MoveMarkers.zip</a>. It will process all of the markers in the active document or book, allowing you to solve the problem in seconds. Instructions are in the included ReadMe.text file. If you need to purchase FrameScript licenses, please contact me for discount prices. Please let me know if you have any questions or comments.</p>
<p style="text-align: right;">&#8211;Rick</p>
]]></content:encoded>
			<wfw:commentRss>http://frameautomation.com/2010/03/20/move-markers-to-the-beginning-of-words/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

