Overview
The Sources Section controls citations, sources, and related options.
Properties
Show Citations
If Show Citations is checked, GedSite will add superscripted citation reference numbers in the person entry for data that has one or more citations. The reference numbers refer to entries in a list of citations that follow the person entry for the current subject. The default value is checked.
Use Application Types
As of version 5.01, the Use Application Types property only applies to GEDCOM files written by RootsMagic. See the RootsMagic help page.
Show Source Number
If Show Source Number is checked, GedSite will add the source number as a prefix to the citation output. The default value is checked.
If Show Source Number is checked, and Show Sources is checked, the source number in the citation will be a link to the source entry.
If Show Source Number is unchecked, Show Sources is disabled and there will be no source entries.
Add Source Exhibits to Citation
If Add Source Exhibits to Citation is checked, GedSite will add both citation exhibits and source exhibits to the citation output. GedSite will treat the source exhibits as citation exhibits, i.e., GedSite will use the Citation group properties to determine if the exhibit should be linked or embedded.
If Add Source Exhibits to Citation is unchecked, which is the default, GedSite will not add source exhibits to the citation output. Source exhibits will only appear on the source page.
Citation Template
The Citation Template pull-down menu controls which citation template is used to construct the output for a citation. There are two templates, "Full" and "Short", and an additional choice, "Full, then Short".
Choice | Description |
---|---|
Full | GedSite will use the Full Citation Template when creating citations. |
Short | GedSite will use the Short Citation Template when creating citations. |
Full, then Short | For each person, GedSite will use the Full Citation Template for the first citation to a particular source. For subsequent references to the same source in the person entry for the same person, GedSite will use the Short Citation Template. |
GedSite provides default values for the Full and Short templates, but you may customize them.
Template | Value |
---|---|
Full | <[Author]><[+:, ][Title]><[+:, ][Comment]> <[+:, ][Note]><[+:, ][Page]> |
Short | <[Author]><[+:, ][Title]><[+:, ][Page]> |
Add or remove variable references according to how your source program exports citations to GEDCOM. See Templates, below, for more information.
Source Notes
If Source Notes is set to "Ignore", notes attached to the citation or source are not subject to special processing. The notes will be included if the template associated with a citation or source includes a field that refers to the note value.
If Source Notes is set to one of the other values, GedSite will add the notes to the citation or source entry as follows:
Choice | Description |
---|---|
Append to Citations | GedSite will append source notes to citation entries only. |
Append to Sources | GedSite will append source notes to source entries only. |
Append to Citations and Sources | GedSite will append source notes to both citation entries and source entries. |
Source Text
If Source Text is set to "Ignore", source text attached to the citation or source are not subject to special processing. The text will be included if the template associated with a citation or source includes a field that refers to the text value.
If Source Text is set to one of the other values, GedSite will add the text to the citation or source entry as follows:
Choice | Description |
---|---|
Append to Citations | GedSite will append source text to citation entries only. |
Append to Sources | GedSite will append source text to source entries only. |
Append to Citations and Sources | GedSite will append source text to both citation entries and source entries. |
Show Sources
If Show Sources is checked, each citation entry includes a link to a source page and positions the page to a source page entry that describes the source in more detail. The default value is checked.
Show Sources is disabled if Show Citations or Show Source Number is unchecked.
Source Template
The Source Template is used to construct the output for source entries that appear on Source pages. The default template is:
<[Author]><[+:, ][Title]><[+: ]([Publication])><[+:, ][Comment]><[+:, ][Note]>
Add or remove variable references according to how your source program exports sources to GEDCOM. See Templates, below, for more information.
Max Length of URL
GedSite searches citation and source entries for URLs. When it finds one, it turns the URL into an HTML link. If Max Length of URL is set to a number other than zero, GedSite will truncate URLs that are longer than that value and substitute an ellipsis ("…"). Truncating URLs prevents long URLs from disrupting page formatting because they do not wrap at the container border.
Citation Repositories
The Citation Repositories feature provides a mechanism to generate links to popular repositories. See the help page for Citation Repositories.
Person Sources
GEDCOM allows citing sources for an INDI (individual) record. These are general sources that do not apply to a specific fact, attribute, or name. GedSite calls these "Person Sources". It is usually best to avoid Person Sources and cite a specific name or event.
To provide control over the inclusion and appearance of Person Sources, GedSite creates a Person Source event and attaches the citations to the event. You can customize the label and sentence template of the Person Source Tag Type via the Utilities > Tag Types menu. You can also configure a Tag Set and select only the Person Source Tag Type. That allows you to customize how and where Person Source events appear in the Person Entry.
To suppress Person Sources, de-select the Tag Type using the Data > Tags filter.
Templates
GedSite constructs citation and source output using templates that arrange source parts into the output text. Each part is available as a variable. The templates use the same syntax rules as Tag Type Sentences but a different list of variables. The part variables are described below.
The default templates arrange parts in a logical sequence and precede the second through last parts with ", " (comma-space) to account for missing parts.
Variables
You may use the variable names from the tables below when constructing templates.
GedSite has been configured to load custom source variables from several genealogy programs. The Record Browser will show the source-specific variable names, and you may use those variable names in addition to the variable names listed below.
Source Variables
GEDCOM Element | Part and Variable Name |
---|---|
SOUR.ABBR | Abbreviation |
SOUR.AUTH | Author |
SOUR.DATA | Data |
SOUR.DATA.DATE | EntryDate |
SOUR.DATA.NOTE | CitationNote |
SOUR.DATA.TEXT | Text |
SOUR.EVEN | Event |
SOUR.EVEN.ROLE | Role |
SOUR.NOTE | Note |
SOUR.PAGE | Page |
SOUR.PUBL | Publication |
SOUR.REFN | ReferenceNumber |
SOUR.REPO | Repository |
SOUR.TEXT | Text |
SOUR.TITL | Title _TITLNote 1 |
The Grid Parameter may be used with the variables above to create HTML tables from specially-formatted text values.
Repository Variables
GEDCOM Element | Part and Variable Name |
---|---|
SOUR.REPO.CALN | Repository.CallNumber |
SOUR.REPO.NAME | Repository.Name |
SOUR.REPO.NOTE | Repository.Note |
SOUR.REPO.PHON | Repository.Phone |
SOUR.REPO.REFN | Repository.ReferenceNumber |
Repository Address Variables
GEDCOM Element | Part and Variable Name |
---|---|
Repository.AddressNote 2 | |
SOUR.REPO.ADDR.ADR1 | Repository.Address1 |
SOUR.REPO.ADDR.ADR2 | Repository.Address2 |
SOUR.REPO.ADDR.CITY | Repository.City |
SOUR.REPO.ADDR.STAE | Repository.State |
SOUR.REPO.ADDR.POST | Repository.Postal |
SOUR.REPO.ADDR.CTRY | Repository.Country |
SOUR.REPO.ADDR._ADDRESSEE | Repository.AddresseeNote 3 |
SOUR.REPO.ADDR._DETAIL | Repository.DetailNote 3 |
Grid Parameter
You may use the Grid
parameter with special text to create HTML tables when formatting citation and source values. The Grid
parameter is intended for use with the [Text]
variable, but it may be used with any source variable.
To create an HTML table, your genealogy application must support the addition of tab characters and newlines in the text field that includes text you want formatted as a table. The tab characters must be in the GEDCOM export file. The newlines must be represented using GEDCOM CONT
records.
Cell values are separated by tab characters. Rows are separated by newline characters.
An example source entry in a GEDCOM file, including tabs and newlines (via CONT
), might look like this:
0 @S1@ SOUR 1 TITL Example Grid Source 1 TEXT NameBirthdateOccupation 2 CONT Doe, John1 Jan 1901Laborer 2 CONT [Doe, ]Mary2 May 1903At home
In the example above, shows the location of tab characters. Tabs are not visible in web browsers, so I have replaced them with in this documentation.
The resulting table will look like this:
Name | Birthdate | Occupation |
---|---|---|
Doe, John | 1 Jan 1901 | Laborer |
[Doe, ]Mary | 2 May 1903 | At home |
To direct GedSite to convert a text value to an HTML table, specify the Grid
parameter on the Text variable:
<[Text:Grid]>
Remove-Bar Option
For Family Historian users who use the Ancestral Sources plug-in, you should also provide the Remove-Bar
option. Ancestral Sources uses a tab delimiter but also adds a bar ("|
") in some cases, but not all. The Remove-Bar
option will remove the "|
" character when it appears as the first character in a cell value:
<[Text:Grid,Remove-Bar]>
No-Header Option
GedSite assumes that the first row of cell values contain column headers as shown in the example above. If your data does not include column headers as the first row of data, add the No-Header
option:
<[Text:Grid,No-Header]>
If a table has only one row, the row will be treated as a data row, not a header row.
Multiple Options
You may combine options, but the Grid
parameter must appear immediately after the source field name:
<[Text:Grid,No-Header,Remove-Bar]>
Mixed Content
If a text field includes some lines with tab characters, and some without, GedSite assumes that the lines without tab characters are not part of a table. It will group each set of contiguous lines into a table, and render the lines without tabs as regular text.
Notes
- GedSite stores the
SOUR.TITL
value in two separate variables because some GEDCOM files specify a part named "Title" in addition to theSOUR.TITL
value. The "_TITL" variable ensures that the originalSOUR.TITL
value remains accessible. - GedSite creates the Repository.Address variable by concatenating the address variables
ADR1
,ADR2
,CITY
,STAE
,POST
, andCTRY
, in that sequence. _ADDRESSEE
and_DETAIL
are not standard GEDCOM tags. GedSite recognizes them as common GEDCOM extensions.