Re: [Framers] ExtendScript for save as text, for Git usage ?

2016-06-09 Thread Monique Semp
> Have you found the Track Changes and Track Text Edits features in FM > inadequate in some ways? No, not at all... *when I’m working in FrameMaker*. And I’ve also used the PDF compare utility, which has improved immensely over the years. But I’m wishing to do something totally different,

Re: [Framers] ExtendScript for save as text, for Git usage ?

2016-06-09 Thread Chris Despopoulos
Coming in late, but I want to chime in on MIF.  As I recall, MIF also includes object IDs, and they get generated every time you open a file.  Note that each object in your document has two IDs...  The ObjectID, which is what you usually use to access the object in a script or the FDK, and the

Re: [Framers] ExtendScript for save as text, for Git usage ?

2016-06-08 Thread Peter Gold
In the days of WebWorks, IIRC, there was a feature or add-on that enabled something like being able to comment FM files, that had been converted to HTML, and perhaps also make changes to the content, then round-trip those changed files back to FM. Perhaps I'm only dreaming. Have you found the

Re: [Framers] ExtendScript for save as text, for Git usage ?

2016-06-08 Thread Monique Semp
Ok, ok—I'll abandon the idea of comparing MIFs. Clearly I didn't realize the complexity (or pointlessness) of the effort. My tiny bit of MIF knowledge, along with a bunch of unfounded assumptions, led me down the wrong path. But I do like the idea of saving as TXT, which supports what I really

Re: [Framers] ExtendScript for save as text, for Git usage ?

2016-06-08 Thread Reng, Dr. Winfried
Hi, I remember that Jeremy Griffith from Omni Systems (the developer of Mif2Go) had tried to do that: conversion to MIF and comparison to previous versions. However, he was not sucessful. MIF code contains too much formatting code which is not relevant for the reader. Maybe you could test an

Re: [Framers] ExtendScript for save as text, for Git usage ?

2016-06-07 Thread Scott Prentice
I wouldn't wish that on anyone. While MIF is a wonderful format for an ASCII description of a FM file, it's really not intended for human consumption. First off, it's not linear. Each FM object is defined in a section, and within that section the objects are declared in reasonably orderly

Re: [Framers] ExtendScript for save as text, for Git usage ?

2016-06-07 Thread Robert Lauriston
There is or at least used to be a third-party product that did that with .fm files. I saw it at a trade show years ago. On Tue, Jun 7, 2016 at 5:17 PM, Monique Semp wrote: >> Do you really find it useful to diff MIF files very often? > > > Well, I haven't done it yet

Re: [Framers] ExtendScript for save as text, for Git usage ?

2016-06-07 Thread Monique Semp
Do you really find it useful to diff MIF files very often? Well, I haven't done it yet because it'd involve so much extra manual work. But what I'd like to be able to do is simply scroll through the commit list in my Git client (SourceTree on Windows) and have the diffs show automatically,

Re: [Framers] ExtendScript for save as text, for Git usage ?

2016-06-02 Thread Robert Lauriston
Git does not support binary files. It assumes that all files under its control are mergeable text. I'd use something like git-annex or Git LFS for unstructured FrameMaker and image binaries. (It's not currently an issue for me since my doc source is in Confluence and the only files I put in Git

[Framers] ExtendScript for save as text, for Git usage ?

2016-06-02 Thread Monique Semp
Would it be an option for you to keep a copy of every FM document in plain text? This is not as cumbersome as it sounds, since you can install an Extendscript which saves the plain text copy automatically whenever you choose File > Save. I've set up something similiar to have a readable copy