TMG-L Archives

Archiver > TMG > 2006-02 > 1138820210


From: J&K Cooper <>
Subject: Re: [TMG] List of Source TYPES?
Date: Wed, 01 Feb 2006 10:56:50 -0800
References: <43DFB210.9090206@gmail.com> <7.0.0.16.2.20060131145420.04d129e8@acm.org>
In-Reply-To: <7.0.0.16.2.20060131145420.04d129e8@acm.org>


Lee,

Thanks, that works. It's been a long time since I had to do this kind of
editing, but it comes back fast. The curious thing is there are very few
'periods' but a lot of '[Period].' I opened the file both in OOWriter
and Notepad with the same result. Not a problem, just odd.

Kathleen

on 1/31/2006 12:47 PM Lee Hoffman said the following:
> J&K Cooper wrote:
>> Is there any way to produce a list of Source Types? After some
>> customization, I've ended up with some duplicates and it would help
>> to have a printed list in front of me to determine what needs to be
>> deleted/name changed, etc.
>
> There is no provision for such a report from TMG. If you have a copy
> of Visual FoxPro (the database language in which TMG is written) [or a
> compatible program] then you can produce reports from that.
> Otherwise, there isn't much,
>
> A possible work-around is available, but it requires some work and
> that may or may not be acceptable. Here's how it can be done. Do the
> following steps:
> 1. Using Windows Explorer, browse to the folder in which your
> project files are located.
> 2. Find the file that has a file name ending in "_a.FPT" (no
> quotes". If your project is named "COOPER" then the correct file
> would be "COOPER_A.FPT". The case (upper or lower) does not matter.
> 3. Highlight that file.
> 4. COPY that file to a work folder somewhere on your hard
> drive. The purpose of this is that you will be directly manipulating
> the file and you do not want to make any changes to the actual file.
> 5. Rename the file to some new name (e.g., Source Types.TXT
> or Source Types.DOC)
> 6. Open the file in a text editor (e.g., NOTEPAD) or in your
> word processor.
>
> I suggest the word processor may be easier to use because the file
> contains a lot of information that does not translate into
> recognizable characters. The word processor will try to render those
> characters into something that might be recognizable. While most of
> these will appear to be valid characters, they're just garbage as far
> as you are concerned for this purpose. So what you need to do is
> delete the garbage characters and what will be left will be the Source
> Templates. Keep in mind that each Source Type will have three Source
> Types (Full Footnote, Short Footnote, and Bibliography, in that
> order). So after deleting the garbage characters, you should wind up
> with groups of three Source Templates. Each group will be one Source
> Type. The name of the Source Types are not in this file, but you can
> add these easily enough by comparing the Source Types Source Templates
> in TMG to the file.
>
> Remember that most Source Templates will start with either "<" or "["
> and will end with a period. Be sure to hit [Enter] after each
> period. Then each Source Template will start on it own line. Due to
> the length of some (most) Source Templates, they will wrap around to
> two or more lines. Add an extra carriage return after each third
> Source Template to separate the Source Types. You may want more
> spacing between Source Templates and Source Types and that is fine
> depending on the style report that you want. I do suggest that you
> may want to use Landscape printing to reduce the number of wrapped
> Source Templates.
>
> The downside of using the word processor is that spaces are eliminated
> also and you will have to add them back in. The text editor does not
> display most garbage characters except by a space, but it leaves in
> the spaces that should remain. Other than this, there is not much
> difference between the two.
>
> Note also that this procedure really works best on a single data set
> project. But if you have multiple projects, it should still work
> although you may wind up with multiple copies of some (all?) Source
> Types.
>
> As noted, this is a bit of work, but it goes fairly fast.
>
> Hope this helps -
>
> Lee Hoffman/KY
> TMG Tips: <http://www.tmgtips.com>;
> My website: <http://www.tmgtips.com/lhoffman>;
> A user of the best genealogy program, The Master Genealogist (TMG)


This thread: