Difference between revisions of "RootsMagic 8:Customizing Sentences"
Line 15: | Line 15: | ||
After you add the default fact to the person, the sentence preview is shown at the bottom of the fact pane. Above the preview is a link to a command, Customize, that displays the Customize Sentence window. | After you add the default fact to the person, the sentence preview is shown at the bottom of the fact pane. Above the preview is a link to a command, Customize, that displays the Customize Sentence window. | ||
− | CustomizeSentence | + | [[File:RM8_EditPerson-CustomizeSentence.jpg|Customize Sentence]] |
Let's apply a few fairly typical scenarios to this sentence template to show you further examples of the flexibility of this feature. (You are probably more creative that the examples shown here, but they are meant to get you thinking of the possibilities.) | Let's apply a few fairly typical scenarios to this sentence template to show you further examples of the flexibility of this feature. (You are probably more creative that the examples shown here, but they are meant to get you thinking of the possibilities.) |
Revision as of 02:50, 10 September 2021
Navigation: RootsMagic 8 > Working With Facts > Fact Sentences >
The methods described in the Using sentence templates help topic to use conditional switches and field options can also be applied to the local version of a sentence template for an individual. This has the effect of creating a variation of the sentence that is different from the default.
Lets look at a basic example discussed in the the Using sentence templates topic.
[person:Given:Surname] was born< [date]>< [placedetails]>< [place]>.
which would display the following in the narrative report:
John Harold Doe was born in 1827 in Barnet, Caledonia County, Vermont.
After you add the default fact to the person, the sentence preview is shown at the bottom of the fact pane. Above the preview is a link to a command, Customize, that displays the Customize Sentence window.
Let's apply a few fairly typical scenarios to this sentence template to show you further examples of the flexibility of this feature. (You are probably more creative that the examples shown here, but they are meant to get you thinking of the possibilities.)
Example 1: Rearranging elements in the Sentence Template to add variety to your sentences.
The arrangement of elements in the example sentence above is typical of the Modified Register form (date before place). The Register form of sentences is typically (place before data) as in
[person:Given:Surname] was born< [placedetails]>< [place]>< [date]>.
which would displayed the following in the narrative report:
John Harold Doe was born at 123 Any Street in Barnet, Caledonia County, Vermont in 1827.
You could just change some of the sentences this was for variety. If you prefer the Register form, you could change the default templates for all the facts in the database to put the date field at the end.
For further variety, you may want to put the date at the beginning of the template, as in this example using the Living fact type:
< [date]>[person:Given:Surname] was living< [placedetails]>< [place]>.
This would produce something like:
in February 1964John Harold Doe was living in Honolulu, Hawaii.
Notice the issues with this: there is a space at the start of the sentence, the word "in" is not capitalized, and there is no space or comma between 1964 and John. (note that "in" is used because the date is incomplete.) This is easily corrected by changing < [date]> to <[date:caps], > to produce:
In February 1964, John Harold Doe was living in Honolulu, Hawaii.
This type of change will add variety to your sentences. Tip: If you have a number of fact types that you use regularly, you could modify of few of them to rearrange elements so the sentence construction varies in a person's life story.
Example 2: Adding a twin
Suppose our John Doe had a twin sister, Elizabeth, and she was entered separately into the database. How can we show that John and Elizabeth are twins, but not add this detail to all instances where the birth fact is used. This is where we can use the Customize feature to modify the local instance of the sentence template.
First let's add them sharing each others birth facts with a new role [Twin]. In this case, I am not going to add a sentence template when I add them to share this event, because I am going to include them in each other's customized birth fact. (If I added a role sentence for them, that sentence would appear as well as the phrase I'm about to enter – creating a duplication.)
Since Elizabeth is in the database, we would add her to share John's birth fact via the "Add a Person, Choose witness from list" menu adding the role [Twin]. When we add John to Elizabeth's birth fact, we can select the role [Twin] since it is now in the list of roles associated with the birth fact. (It can also be used for other sets of twins as well.)
Now in the Customize birth sentences for John and Elizabeth, lets inset the phrase "<, twin <%brother |sister |>of [Twin:First],>" without the quotes so the customize sentence template reads:
[person:Given:Surname]<, twin <%brother |sister |>of [Twin:First],> was born< [date]>< [placedetails]>< [place]>.
This phrase uses the gender switch <%...> to tell RootsMagic to insert "brother" if the subject is male, "sister" if the subject is female, or no word or space if the sex is unknown. It also uses the :First
field option to tell RootsMagic to only display the first name. You could also use :Given
if desired.
The resulting sentences that would be displayed in the narrative report are, respectively:
John Harold Doe, twin brother of Elizabeth, was born in 1827 in Barnet, Caledonia County, Vermont.
Elizabeth Doe, twin sister of John, was born in 1827 in Barnet, Caledonia County, Vermont.
Example 3: Adding a triplet (or quadruplet, quintuplets, etc.)
This technique can be use with triplets or quads, etc. Note that you only have to create one role, say [Triplet]. When you encounter this (and haven't pre-entered the role), you can add this new role to the first of the triplets. For the others, you can then select the role already entered.
Let's say Josephine, Elizabeth and Mary Jane Stevens were identical triplets. Follow the above instructions, but use the phrase "<, identical triplet <%brother |sister |>of [Triplet:First],>" without the quotes so the customized sentence template reads:
[person:Given:Surname]<, identical triplet <%brother |sister |>of [Triplet:First],> was born< [date]>< [placedetails]>< [place]>.
The resulting sentences would read:
Josephine Stevens, identical triplet sister of Elizabeth and Mary, was born in 1827 in Barnet, Caledonia County, Vermont.
Elizabeth Stevens, identical triplet sister of Josephine and Mary, was born in 1827 in Barnet, Caledonia County, Vermont.
Mary Jane Stevens, identical triplet sister of Josephine and Elizabeth, was born in 1827 in Barnet, Caledonia County, Vermont.
This works because RootsMagic accepts multiple people assigned a role, and when it does, it creates a list of people separated by commas, and inserts "and" before the last person. If the triplets were not identical, you would leave that word out.
Saving phrases for reuse
Tip: Each time you create a new phrase such as these (and have the "bugs" worked out), you may want to reuse them in the future. Open a document in your favorite word processor and copy the phrases there for quick access. (It is easier than trying to remember where in the database you used a specific phrase.) Whether you use it exactly as you initially entered it or not, it can be a basis for additional creativity and can save time extending the basic fact sentence for shared roles.