Article View: adobe.framemaker
Article #21943Re: MIF Variable Replacement
From: Thomas Michanek
Date: Sat, 18 Jan 2003 11:57
Date: Sat, 18 Jan 2003 11:57
22 lines
1852 bytes
1852 bytes
> Set-up your script so that it just writes out the complete MIF with > the new contents. A MIF file doesn't have to be complex. In your case, > you only need the starting header line and the variable section with > the new entries. Exactly. You visualized my point beatifully :-) > Now all you have to do is import (by COPY) this file into your > existing FM file and all of the identically named variables will be > updated. The problem is that I believe Jennifer wants an automated batch/script solution for this. Then she can either use fmbatch to import variables from that MIF file (which will be augmented with the standard system variable definitions as soon as it's opened by FM, though), or use some Perl/shell scripting to directly edit other MIF files (which I wouldn't do if the first solution works out). -- /Thomas Michanek, FrameMaker/UNIX/MIF expert http://go.to/framers/
Technical Details
Message-ID:
<9C0B6C464328EEA3A988FD159D789381@in.WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de76b5d.-1@WebX.la2eafNXanI> <1de76b5d.9@WebX.la2eafNXanI> <ghhh2vgt928o1357rhctc9bk4ovo4ij4tk@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fd315,1e4a97ead2a55469 X-Google-Attributes: gidfd315,public X-Google-ArrivalTime: 2003-01-18 05:17:09 PST From: "Thomas Michanek" <thomas.michanek@telia.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.framemaker Subject: Re: MIF Variable Replacement Message-ID: <9C0B6C464328EEA3A988FD159D789381@in.WebX.la2eafNXanI> Date: Sat, 18 Jan 2003 03:57:22 -0800 References: <1de76b5d.-1@WebX.la2eafNXanI> <1de76b5d.9@WebX.la2eafNXanI> <ghhh2vgt928o1357rhctc9bk4ovo4ij4tk@4ax.com> Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit