


David,
I don't think that technique works in TMG Sentence structures. Try putting similar text in the Memo of an event.
John Cardinal
Products: ORA, GedSite, Gedcom Publisher, Second Site, TMG Utility, TMG to GEDCOM
Web Hosting for Genealogists: Family History Hosting
From: t2...@googlegroups.com <t2...@googlegroups.com> On Behalf Of David Crouch
Sent: Monday, August 19, 2024 8:51 PM
To: TMG to GEDCOM <t2...@googlegroups.com>
Subject: [T2G] Content Codes
I am trying to implement a technique from the Printer Codes Section of the TMG to GEDCOM manual. it reads:
Reverse Start and End
If you specify the usual "end code" for a Content Code as the "Code (start)" value, and specify the usual "start code" as the "Code (end)" value, the text removal is reversed. So, for example, some Second Site users use this technique in text values:
[HID:][SS:]Text for Second Site only[:SS][:HID]
If you want the text enclosed by [SS:] and [:SS] to be included in the GEDCOM output, add a Content Code item as follows:
Title: SS
Action: Remove printer code and content
Code (start): [:SS]
Code (end): [SS:]
The code definitions used above will reverse the effects of the enclosing [HID:] and [:HID] codes.
So, I created a test project with one person with one tag (birth). The tag sentence is:

In TMG to GEDCOM, I added a new Content Code called SS, as follows:

The existing Content Code for HID I left untouched, as follows:
