advertisement

Overview

Tag Sets provide options to modify the appearance and sequence of tags shown in the person entry. The primary purpose of a Tag Set is to display a set of tags, and you may add multiple Tag Sets to isolate groups of tags and alter their appearance. For example, you might want to exclude Census events from the main narrative and include them after the narrative in a tabular format. That configuration would require two Tag Sets, one for all the non-Census events and another for the Census events.

The Person Entry section must include at least one Tag Set or no tags will appear in the person entries. GedSite adds Tag Sets to new GedSite files that you may customize to suit your preferences. You may also add Tag Sets, if desired.

Example Output

The following image shows a reduced-size screenshot of a Narration Format person entry with three Tag Sets.

1
2
3
  1. Tag Set 1 is for the tags in the main narrative.
  2. Tag Set 2 creates a "call out", a narrative section of the page used to highlight some text.
  3. Tag Set 3 creates a list of Census tags in a tabular format. The group's title appears as a heading above the table.

Using Tag Sets

You manipulate Tag Sets via the list in the Person Entry section. You may enable or disable a Tag Set using the checkbox in the list or via the Enabled property in the edit window. The buttons below the list support adding, editing, and deleting Tag Sets in the list. You may edit an existing Tag Set by double-clicking the item.

You may configure Tag Sets to select a subset of tags, render the tags in a "panel" that is visually distinct from other Tag Sets, choose different formatting structures such as narratives, lists, and tables, and apply CSS styles to increase the visual differences between Tag Sets.

Note If you use a mix of Tag Sets, you may find that the default spacing between panels does not always produce optimal results. This is especially true when using floating panels. The layout may be optimized using the Styles.Tag Set Panels subsections that alter the appearance of Tag Set panels, but in some cases it will be necessary to create User Styles.

Default Tag Sets

When you create a new GedSite file, GedSite automatically adds two Tag Sets. Users may modify the default Tag Sets and add additional Tag Sets to suit their preferences.

  1. The BMDB Only group renders Birth, Marriage, Death, and Burial tags in the first segment of output. It is primarily intended for narrative output, but it may be used with any Format. The group is disabled by default.
  2. The Body group selects all tag types and renders them in the Format chosen for the site. If the BMDB Only group is enabled, BMDB tags will be rendered as part of that group and will not be included in the Body group due to the configuration of the BMDB Only group.

Tag Set Types

Tag Sets are divided into two categories.

CategoryType
BodyBody
PanelList Panel
PanelNarrative Panel
PanelTable Panel
PanelNo Output

You choose the Tag Set Type by adding an item of the proper Type from the [Add Item] pull-down menu beneath the Person Entry list.

Body Sets

A Body Tag Set contributes tags to the main body of the tag list in a person entry. Tags that are part of the body are formatted according to the Format chosen for the site. For example, if your site uses the Narration Format, any tags that are part of a Body Tag Set will be part of the main narrative. Similarly, if your site uses the Two Columns Format, each tag in a Body Tag Set will appear as a row in the main two-column tag grid. In the example above, Tag Set #1 is a Body type in a site that uses the Narration Format.

Panel Sets

A Panel Tag Set contributes tags to a sub-section of the tag list called a "panel". Panel formatting is determined by the Tag Set type rather than by the Format chosen for the site. A panel may be rendered inline with respect to the Body tags, floated left or right, or centered. There are multiple variations of the Panel type: List Panels, Narrative Panels, and Table Panels.

List Panels

List Panels use a list format where each tag contributes an item to the list. List Panel options are described on the List Panel Item help page.

Narrative Panels

Narrative Panels use a narrative format where each tag contributes text to the narrative in the panel. In the example above, Tag Set #2 is a Narrative Panel type. Narrative Panel options are described on the Narrative Panel Item help page.

Table Panels

Table Panels use a tabular format where each tag in the group contributes a row of output. You may configure multiple columns per tag, and you have several content choices for each column. In the example above, Tag Set #3 is a Table Panel type. Table Panel options are described on the Table Panel Item help page.

No Output Sets

The No Output type is unique in that no output is rendered. You can use the No Output type to prevent tags from being visible. Set the Exclude Options to prevent the selected tags from being selected by subsequent Tag Sets.

Common Properties

Remove Leading Whitespace

When Remove Leading Whitespace is checked, GedSite will remove leading whitespace from the output for a Tag. The default value is unchecked for Body Tag Sets and checked for other Tag Sets.

The Remove Leading Whitespace property is useful for table and list Formats because they don't need leading whitespace to separate a tag's output from the output of the previous tag.

Selection Priority

When GedSite divides Name and Event Tags into Tag Sets, it evaluates Tag Sets in order by their Selection Priority. Tag Sets with a lower value select tags before Tag Sets with a higher value, i.e., lower numbers have higher priority.

If a Tag passes the filters for a Tag Set with a priority of 2000, and that Tag Set's filters are configured to exclude selected tags from subsequent Tag Sets, than the Tag will not be included in any Tag Set with a lower priority.

Show Title

The Show Title checkbox controls whether the title of the Tag Set is displayed in the output as a heading.

Tag Sort

The Tag Sort pull-down menu controls the sequence of the tags. There are two choices, By Date and By Tag Group and Date.

If you choose By Date, which is the default, the tags in the group will be sorted by the tag's Sort Date. Note that when two or more tags have the same Sort Date, the output sequence is unpredictable.

If you choose By Tag Group and Date, the tags in the group will be sorted by the Tag Type Group and then by Sort Date. This is an appropriate choice to force BMDB tags into BMDB sequence, for example. The sequence of Tag Type Groups is shown below.

Tag Type Group
Name
Birth
Marriage and Divorce
Death
Burial
Other

When you choose By Tag Group and Date, primary events sort before non-primary events within each Tag Type Set.

Common Tabs

Tag Filter Tab

The Tag Filter Tab appears in all Tag Sets. It includes properties for filtering, i.e., selecting, tags for the Tag Set.

Panel Options Tab

The Panel Options Tab appears in all Panel-type Tag Sets. The properties on this tab affect the layout and appearance of the panel.

Predefined Values

Several Tag Set Types include options to choose which value(s) from a Tag you want to include in the output. The choices are the same in all cases, and they are shown in the following table:

ChoiceDescription
Manual The content is determined by the sentence template typed into the Value property. You may use any of the person or tag variables to specify the output you want.
Label The label from the tag, such as "Birth", "Note", etc.
Role The subject's role, "Principal", "Bride", etc.
Witness Role The subject's role, but only of the subject is a witness. Otherwise empty.
Label and Role The Tag Label and Role concatenated in a single column and separated by a comma.
Role and Label The Role and Label concatenated in the reverse sequence compared to "Label and Role".
Label and Witness Role The Tag Label and Role concatenated in a single column and separated by a comma. If the subject is a principal, the Role part is omitted.
Witness Role and Label The Role and Tag Label concatenated in the reverse sequence compared to "Label and Witness Role". If the subject is a principal, the Role part is omitted.
Label or Role For principals, the Tag Label. For witnesses, the Role.
Subject The name of the subject; the same value as the [S] sentence template variable.
Principals The name of the principals; the same value as the [P] sentence template variable.
Other Principals The name of the other principal(s); the same value as the [PO] sentence template variable.
People A list of the names of all the people attached to the event; the same value as the [A] sentence template variable.
Other People A list of the names of all the people attached to the event except for the subject; the same value as the [AO] sentence template variable.
Age The calculated age of the subject computed from the subject's primary birth date and the date of the event; the same value as the [S:A] sentence template variable.
Age (Text) The age of the subject as provided in the AGE GEDCOM record; the same value as the [S:A:TEXT] sentence template variable.
Age (TorC) The age of the subject as provided in the AGE GEDCOM record, or, if that is empty, the calculated age of the subject computed from the subject's primary birth date and the date of the event; the same value as the [S:A:TORC] sentence template variable.
Date The tag's date.
Date and Place The tag's Date and Place combined in a single column and separated by a comma. The comma is omitted if either element is blank.
Date and Memo The tag's Date and Memo combined in a single column and separated by a comma. The comma is omitted if either element is blank.
Date, Place and Memo The tag's Date, Place and Memo combined in a single column and separated by commas. The commas are omitted for blank elements.
Year The year extracted from the tag's date.
Year and Place The tag's Year and Place combined in a single column and separated by a comma. The comma is omitted if either element is blank.
Year and Memo The tag's Year and Memo combined in a single column and separated by a comma. The comma is omitted if either element is blank.
Year, Place and Memo The tag's Year, Place and Memo combined in a single column and separated by commas. The commas are omitted for blank elements.
Place The primary Place for the tag.
Place2 The text from the tag's second Place record, used for the detail part of a place by some source applications.
Place3 The text from the tag's third Place, used for the detail part of a place by some source applications.
Place and Place2 The combination of Place and Place2, with Place before Place2 and a comma between the two values.
Place2 and Place The combination of Place2 and Place, with Place2 before Place and a comma between the two values.
Place and Memo The tag's Place and Memo combined in a single column and separated by a comma. The comma is omitted if either element is blank.
Memo The tag's Memo.
Sentence The output from processing the tag's sentence.

Special Tag Types

Certain custom Tag Types trigger special handling. The Tag Types are identified via a naming convention where the Tag Type name must begin with the prefix gs- and end with a suffix that is specific to the type of processing desired. This naming convention allows users to create multiple Tag Types for each of the special processing types. Having multiple Tag Types that trigger the same special handling allows users to add different Tag Types to different Tag Sets.

gs-heading

When the name of a Tag Type begins with gs- and ends with -heading, the tag's sentence will be rendered as a heading in the output.

You may create multiple Tag Types that trigger this processing. The following Tag Type names all match the suffix and prefix rule:

gs-heading, gs-census-heading, gs-whatever-heading

Heading tags allow users to generate headings based on events in the GEDCOM file. Typically, when you include a heading tag in a Tag Set, you will want to (A) uncheck the Show Title property and (B) make sure that the heading tags have Sort Dates that make them the first tag in their Tag Set.

The text of the heading is determined by the Tag's Note value. GedSite renders the text using the [M] variable.

By default, GedSite uses an H2 HTML element. You may use a different HTML element by including it in the second part of the Tag's Note value:

Heading Text || h3

You may include multiple heading tags in the same Tag Set, and they may have the same or different Tag Types. In the following example, a single heading Tag Type is used (gs-census-heading), but there are two tags of that type. The table shows a set of events for a particular person. The events are in a single Tag Set, and in the sequence shown:

Tag TypeDateMemo
gs-census-heading1849Canadian Census, 1850-1899
Census18711871
Census18811881
gs-census-heading1899US Census, 1900-1920
Census19001900
Census19101910
Census19201920

When GedSite creates the output for this Tag Set, the heading tags will create two sections of output and the tags after the second heading tag will appear to have come from a separate Tag Set. For a List Panel Set, the output might look like this:

Canadian Census, 1850-1899
  • Census1871, 75 Main Street, Lunenburg, Nova Scotia
  • Census1880, 75 Main Street, Lunenburg, Nova Scotia

US Census, 1900-1920

  • Census1900, 237 Andover Street, Haverhill, Massachusetts
  • Census1910, 237 Andover Street, Haverhill, Massachusetts
  • Census1920, 14 Dunster Street, Harvard, Massachusetts

The "Census 1900-1920" heading tag was not the first output tag in its Tag Set, so GedSite created a new section of output in order to render the heading.

If Show Title is checked and the first output tag is a heading tag, the output will include the Tag Set's Title as a heading, as usual, but the output section that includes the Tag Set's heading will not include any tags. The heading tag will trigger another heading and so there will be two headings in a row followed by the remaining tags in the group.

On This Page