[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

Re: Conditional Text in MIF Files



[ The original message appeared on the FrameUsers mailing list.
  This reply is sent only to the "Free Framers" mailing list.
  If this reply is useful, consider copying it to FrameUsers. ]

From: Jody Wright [mailto:jody.wright@watchmark.com]
> We single-source our guides, applying condition tags for each company, and
> then showing/hiding applicable conditions when producing company-specific
> guides. Is it possible to "remove" the unwanted conditional text from the
> MIF file and give them the resulting MIF files instead? In looking at the
> Adobe "MIF Reference" guide, it seems within the realm of possibility to
> delete all `HIDDEN' text flows and their corresponding MType 10 Markers.
>  
> Something I forgot to mention, (mea culpa) is that our guides are heavily
> conditioned and that we will providing these files on a monthly basis.
> This is why we're looking for an automated solution.

Jody,
If you have access to a UNIX machine, I have made scripts that operate on
MIF files that does exactly what you're describing. The script "mifremove"
is part of my "mifscripts" package, available for free from my web site.
On UNIX, you can automate the MIF creation and editing in just a few lines
of script code. To automate the MIF creation on Windows, you can use
dzBatcher or other similar utilities.

If you don't have access to UNIX, you'll have to invest in and write a
FrameScript, or write a Perl script or similar. There are possibly other
commercial plug-ins for Windows that can do this, but I'm not aware of any.

Disclaimer: my scripts are not tested and verified for FM6/FM7.

- - - - - - - - - - - - - - - - - - - - - -
Thomas Michanek, FrameMaker/UNIX/MIF expert
Technical Communicator, Uppsala, Sweden
mailto:Thomas.Michanek@telia.com
http://go.to/framers/  (updated on Oct. 18)
- - - - - - - - - - - - - - - - - - - - - -



** To unsubscribe, send a message to majordomo@omsys.com **
** with "unsubscribe framers" (no quotes) in the body.   **