TMG-L Archives

Archiver > TMG > 2001-08 > 0996753266


From: "William M Roberts" <>
Subject: Re: [TMG] Help: "in near" in journal narrative
Date: Thu, 2 Aug 2001 07:55:09 -0400
References: <16.1033b025.289a0f3e@aol.com>


Patt

Following is from TMG Help under prepositions:

"If the sentence construction rules include prepositions (at, in, on, etc.,)
outside of conditional brackets these prepositions will be specifically
output, regardless of any other factors. If prepositions are included within
conditional brackets, they will be output only if the variable is known. If
no preposition is included, TMG will supply one if conditional brackets (<>)
are used.

Lookup: Unknown Variables, Conditional Variables

Dates: If the day (1-31) is known, then the date is preceded by "on."
Otherwise, the date is preceded by "in." If a date is unknown and included
inside of conditional brackets, the phrase "on an unknown date" will be
generated.

Places: The place is preceded with "at," "in," or nothing, according to the
setting in the Report Definition screen for the report being generated.
Memos: No preposition is automatically inserted. Any necessary preposition
should be given within the sentence construction rules or within the memo
itself.

Following are some examples of sentence construction and possible output:

[P] died on <[D]>

He died on. (date is unknown)

He died on in 1842. ("on" not appropriate but specified)
[P] died on [D].
He died on at an unknown date. (an unknown date)
He died on 1842. ("on" not appropriate but specified)

[P] died <on [D]>

He died. (date unknown)
He died on 1842. ("on" not appropriate but specified)

[P] died [D]

He died at an unknown date. (date unknown)
He died 1842. (no preposition generated)

[P] died <[D]>

He died. (date unknown)
He died in 1842. (preposition automatically generated)

As demonstrated in the above examples, it is usually better to let TMG
generate prepositions automatically for dates by including the conditional
brackets in the sentence. The same is true for places:

[P] graduated from< [L]>

He graduated from. (place is unknown)

[P] graduated< from [L]>

He graduated. (place is unknown)


Many reports allow you to choose whether to use the word "in," the word
"at," or "
blank" before place fields. The way you have structured your sentences will
determine which choice you make when printing reports.
Lookup: Conditional Variables, Unknown Variables, Sentence
Construction, Sentence Structures

Copyright (c) 2000, Wholly Genes, Inc."

Myrnice

<> wrote on Wednesday, August 01, 2001 10:04 PM
Subject: Re: [TMG] Help: "in near" in journal narrative


> I already asked this question and got no answer. Maybe by rephrasing it,
> it'll ring a bell with someone.
>
> The following is an excerpt from a journal narrative I generated:
>
> 1. George1 O'Neal (133)...
> 6. viii. Lewis (1069), born 20 April 1799 in near Nealton,
Jessamine
> County, Kentucky; married Louisa Ann Young Lowry (1103); married Nancy E.
> Kent (2754).
>
> 6. Lewis2 Neal (1069) (George1O'Neal) was born on 20 April 1799 near
Nealton,
>
> The first entry for Lewis is under his father's heading (He's the sixth
> child.). This one ALWAYS contains "in" and then "near Nealton." However,
> for Lewis himself (the second line for him), I have modified the sentence
> format to take away the angle brackets and the sentence prints fine, i.e.,
> without the "in".
>
> I notice that I can find no way to modify the sentence which is printed
> under his father's heading.
>
> If I tell the report generator not to generate an automatic "in", it
screws
> up all the other sentences.
>
> Help, please. What can I do?
>
> John
>
> John,
>
> I've noticed the same thing and have found no way to correct other than in
> word processor.
>
> I've selected "at" for the preposition I whan to print before locations.
When
> I just know the county or U.S. state I change the sentence to read e.g.
<in
> [L]>
> When the person is listed under the father it prints e.g.
> "John was born at France"
> But in his section it is correct "John was born in France"
>
> If you find a solution, let me know
> Patt Ricketts
> Redondo Beach, CA




This thread: