script for batch PDF generation

Scott Prentice sp10 at leximation.com
Mon Sep 30 08:33:32 PDT 2013


Hi Wim...

Mif2Go includes a batch utility called RunFm. You might take a look to see if it will work for your needs. 

Also, Leximation (my company) offers a plugin called AutoFM that should do exactly what you want. 

http://leximation.com/tools/info/autofm.php

Cheers,

...scott

Sent from my phone. Please excuse any typos or unexpected brevity. 

> On Sep 30, 2013, at 7:35 AM, Wim Hooghwinkel - idtp <wim at idtp.eu> wrote:
> 
> Hi all,
> 
> I'm looking for a way to automate the pdf generation of FM books (unstructured) in FM11. Use case: 6 books, each in 24 languages to be printed to PDF once a day. Has anyone such a script (ExtendScript) available or knows of a plugin that performs it? Would be nice if the script will allow additional modification like importing variable definitions etc.
> 
> I'm not sure if FMBatch still exists and can work with FM11?
> 
> any suggestion appreciated…..
> 
> Vriendelijke groet / Kind regards,
>  
> Wim Hooghwinkel
> 
> Information Energy 2013 – Leading Conference on Innovation in Knowledge and Information Exchange
> IEn2013
>  
> tel. +31652036811
> Skype wimhooghwinkel
> Twitter @idtp @ien2013
> info at idtp.eu 
> www.idtp.eu
>  
> FrameMaker support: framemaker at idtp.eu 
> 
>> Op 23 aug. 2013, om 19:00 heeft framers-request at lists.frameusers.com het volgende geschreven:
>> 
>> Send framers mailing list submissions to
>> 	framers at lists.frameusers.com
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://lists.frameusers.com/mailman/listinfo/framers
>> or, via email, send a message with subject or body 'help' to
>> 	framers-request at lists.frameusers.com
>> 
>> You can reach the person managing the list at
>> 	framers-owner at lists.frameusers.com
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of framers digest..."
>> 
>> 
>> Today's Topics:
>> 
>>   1. Hypertext links not working (Dave.Stamm at gdc4s.com)
>>   2. RE: Hypertext links not working (Dave.Stamm at gdc4s.com)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Thu, 22 Aug 2013 13:00:46 -0700
>> From: <Dave.Stamm at gdc4s.com>
>> To: <framers at lists.frameusers.com>
>> Subject: Hypertext links not working
>> Message-ID:
>> 	<31A5A925033707429B15A6DAC8BF48BA0354138F at AZ25EXM06.gddsi.com>
>> Content-Type: text/plain;	charset="iso-8859-1"
>> 
>> 2013-08-22-04T20:00Z
>> 
>> Windows 7 Enterprise Service Pack 1
>> 4?GB RAM
>> 64-bit operating system
>> FrameMaker 11.0.2.384
>> FrameMaker installed on workstation
>> Folder and all files on a server on the local area network in accordance with corporate policy
>> 
>> I am unable to consistently encode hypertext links among five files in one unstructured book.
>> 
>> Here's how the files are arranged:
>> 
>> 	NOTE:  The .book file and all the target files are "children" of folder \Abc_Def.  File BEGIN_HERE.fm is "sibling" of folder \Abc_Def and is to contain links to all four targets.
>> 
>> Folder \Abc_Def
>> 	File dir_Abc_Def.book
>> 	File targetA.fm
>> 	File targetB.fm
>> 	File targetC.fm
>> 	File targetD.fm
>> File BEGIN_HERE.fm
>> 
>> I moved File BEGIN_HERE.fm out of folder \Abc_Def because a recipient of the informational product (portable document format files) wants it that way.  I am using a character tag to constrain both the newlinks and gotolinks to small amounts of text.  Before I moved file BEGIN_HERE.fm out of folder \Abc_Def, crossreferences among all files worked flawlessly.
>> 
>> My latest attempt has been to specify named destinations (for example, newlink dir_About.fm) and jumps to named destinations (for example, gotolink dir_About.fm).
>> 
>> In the source .fm files, these jumps work only a small part of the time.  In the deliverable .pdf files, they don't work at all.
>> 
>> Dave Stamm
>> Information Engineer
>> 
>> 
>> 
>> ------------------------------
>> 
>> Message: 2
>> Date: Fri, 23 Aug 2013 04:39:13 -0700
>> From: <Dave.Stamm at gdc4s.com>
>> To: <robert at lauriston.com>
>> Cc: framers at lists.frameusers.com
>> Subject: RE: Hypertext links not working
>> Message-ID:
>> 	<31A5A925033707429B15A6DAC8BF48BA0354167F at AZ25EXM06.gddsi.com>
>> Content-Type: text/plain;	charset="us-ascii"
>> 
>> 2013-08-23-05T11:40Z
>> 
>> Robert -
>> 
>> Thanks for the info.  I, too, haven't done this since years ago.  So
>> long ago, in fact that I've tracked down my materials from Shlomo
>> Perets' training back in 2002.
>> 
>> Yes, all the files are part of dir_Abc_Def.book.  The odd thing, for
>> myself, is that the "child" file, is outside the folder that contains
>> the rest of the book.
>> 
>> Nothing I've tried so far works, so I'm hoping that someone on the list
>> can help me find the "secret sauce" that I'm missing from the "recipe."
>> 
>> Regards,
>> Dave Stamm
>> Information Engineer
>> General Dynamics C4 Systems, Inc.
>> 
>> -----Original Message-----
>> From: robert.lauriston at gmail.com [mailto:robert.lauriston at gmail.com] On
>> Behalf Of Robert Lauriston
>> Sent: 2013-08-22-Thursday 16:24
>> To: Stamm, David-P45904
>> Cc: framers at lists.frameusers.com
>> Subject: Re: Hypertext links not working
>> 
>> I haven't done that sort of thing in some years, but it used to be that
>> if you defined cross-references between .fm files in different
>> directories, all the files had to be open when you saved a book as PDF.
>> 
>> Also, the PDFs have to have the same relative directory relationship.
>> If you have ./foo/foo.book and ./bar/bar.book, links in foo.pdf will be
>> to ../bar/bar.pdf.
>> 
>> If BEGIN_HERE.pdf is generated from an .fm file instead of a .book, that
>> might be a problem.
>> 
>>> On Thu, Aug 22, 2013 at 1:00 PM,  <Dave.Stamm at gdc4s.com> wrote:
>>> 2013-08-22-04T20:00Z
>>> 
>>> Windows 7 Enterprise Service Pack 1
>>> 4 GB RAM
>>> 64-bit operating system
>>> FrameMaker 11.0.2.384
>>> FrameMaker installed on workstation
>>> Folder and all files on a server on the local area network in 
>>> accordance with corporate policy
>>> 
>>> I am unable to consistently encode hypertext links among five files in
>> one unstructured book.
>>> 
>>> Here's how the files are arranged:
>>> 
>>>        NOTE:  The .book file and all the target files are "children"
>> of folder \Abc_Def.  File BEGIN_HERE.fm is "sibling" of folder \Abc_Def
>> and is to contain links to all four targets.
>>> 
>>> Folder \Abc_Def
>>>        File dir_Abc_Def.book
>>>        File targetA.fm
>>>        File targetB.fm
>>>        File targetC.fm
>>>        File targetD.fm
>>> File BEGIN_HERE.fm
>>> 
>>> I moved File BEGIN_HERE.fm out of folder \Abc_Def because a recipient
>> of the informational product (portable document format files) wants it
>> that way.  I am using a character tag to constrain both the newlinks and
>> gotolinks to small amounts of text.  Before I moved file BEGIN_HERE.fm
>> out of folder \Abc_Def, crossreferences among all files worked
>> flawlessly.
>>> 
>>> My latest attempt has been to specify named destinations (for example,
>> newlink dir_About.fm) and jumps to named destinations (for example,
>> gotolink dir_About.fm).
>>> 
>>> In the source .fm files, these jumps work only a small part of the
>> time.  In the deliverable .pdf files, they don't work at all.
>>> 
>>> Dave Stamm
>>> Information Engineer
>>> 
>>> _______________________________________________
>>> 
>>> 
>>> You are currently subscribed to framers as robert at lauriston.com.
>>> 
>>> Send list messages to framers at lists.frameusers.com.
>>> 
>>> To unsubscribe send a blank email to
>>> framers-unsubscribe at lists.frameusers.com
>>> or visit 
>>> http://lists.frameusers.com/mailman/options/framers/robert%40lauriston
>>> .com
>>> 
>>> Send administrative questions to listadmin at frameusers.com. Visit 
>>> http://www.frameusers.com/ for more resources and info.
>> 
>> 
>> ------------------------------
>> 
>> _______________________________________________
>> You are currently subscribed to
>> framers.
>> To unsubscribe send a blank email to
>> http://lists.frameusers.com/mailman/listinfo/framers
>> Send administrative questions to listadmin at frameusers.com. Visit
>> http://www.frameusers.com/ for more resources and info.
>> 
>> End of framers Digest, Vol 94, Issue 20
>> ***************************************
> 
> _______________________________________________
> 
> 
> You are currently subscribed to framers as sp10 at leximation.com.
> 
> Send list messages to framers at lists.frameusers.com.
> 
> To unsubscribe send a blank email to
> framers-unsubscribe at lists.frameusers.com
> or visit http://lists.frameusers.com/mailman/options/framers/sp10%40leximation.com
> 
> Send administrative questions to listadmin at frameusers.com. Visit
> http://www.frameusers.com/ for more resources and info.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frameusers.com/pipermail/framers-frameusers.com/attachments/20130930/5be6a0da/attachment.htm>


More information about the framers mailing list