🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker
Article #22012

Re: MIF Variable Replacement

#22012
From: Jennifer Olker
Date: Fri, 17 Jan 2003 21:02
12 lines
1684 bytes
Thank you both for the suggestions. I am aware of fmbatch to convert to MIF and have looked up the commands to update the book and import formats, so that is great.

My question then is still is there a simple method for replacing variable definitions in the MIF file to implement this all in the script. For example, if I have variables such as DocumentTitle and DocumentNumber below and want to replace their defs (w/o know what the existing def is) is there a proven search/replace that will find the variable name and then replace the def on the next line? If I could do that, it sounds like I could then import the changes to the other files, update the book, convert back to FM all thru fmbatch.

<VariableFormat
  <VariableName `DocumentTitle'>
  <VariableDef `Product Requirement Specification Template'>
 > # end of VariableFormat
 <VariableFormat
  <VariableName `DocumentNumber'>
  <VariableDef `QCA-00001-PRS'>
 > # end of VariableFormat
Technical Details
Message-ID: <1de76b5d.6@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de76b5d.-1@WebX.la2eafNXanI>

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-17 13:08:18 PST
From: "Jennifer Olker" <jennifer@nms.fnc.fujitsu.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.framemaker
Subject: Re: MIF Variable Replacement
Message-ID: <1de76b5d.6@WebX.la2eafNXanI>
Date: Fri, 17 Jan 2003 13:02:59 -0800
References: <1de76b5d.-1@WebX.la2eafNXanI>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit