I'm seeing something kind of odd in my latest TMG > RM import. I have customized witness roles for the Death tag as follows:
[R:Survivor] survived the death of his wife, [R:Deceased], <[D]>
[R:Survivor] survived the death of her husband, [R:Deceased], <[D]>
Let's say Harriet Smith died on 9 Oct 2014, and was survived by her husband, Harry Smith
On import, the resulting RM template is: [Person] survived the death of his wife, [Deceased], <[Date]> . The resulting sentence in the Edit Person screen and narrative reports is:
Harriet Smith survived the death of his wife, , on 9 Oct 2014 .
And of course, that's not what I intended. What I want to see is "Harry Smith survived the death of his wife, Harriet Smith, on 9 Oct 2014.
Is something like this even possible in RM? I set it up in TMG so that, particularly in the case of multiple marriages, I'd have a reminder in the Details window of when each marriage began and ended. In the Timeline view in RM, the death date of a spouse is already there. The presence of this sentence in narrative reports is somewhat less important to me, although it would be nice to have.
In RM, [Person] is the Principal, the person the Death fact was added to. The person who died. That would be the deceased person, Harriett Smith in your TMG sentence.
Survivor would be the Role for the Sharee, the person the Death fact was shared with, Harry Smith. In the sentence for a Sharee, [ThisPerson] designates when to use the Sharee's name.
This is the way I would set it up:
Principal default fact sentence:
<?[Date][Desc][Place][PlaceDetails]|[person:first] died< [Desc]>< [Date]>< [PlaceDetails]>< [Place]>|[person:first] has died>.<?[Survivor]| [Person:HeShe:Caps] was survived by<% his wife, [Survivor:Given] [Person:Surname]| her husband, [Survivor]>>.
The first part is a Value switch [?] which prints one sentence if there are any entries in the Fact fields and another sentence if there is no entries in the fact fields.
For the Survivor sentence, the Value switch [?] says to print this sentence if the fact is shared with a person with the Survivor Sharee role. The Gender switch [%] contols what is printed if the Principal is male or female. >> at the end is needed to close both swithes in that sentence.
Sharee role, Survivor, default sentence:
[ThisPerson:HeShe:Caps] survived the death of<% his wife, [Person:Given] [ThisPerson:Surname]<, [Date]>| her husband, [Person]<, [Date]>>.
The Gender switch [%] controls what to print according to the gender of the Sharee [ThisPerson]. The date will print when the Narrative report is printed.
I am not sure why my post ended up in the quote box.