indexnamepattern = full | last | short | firstlast | initlast
default: last

The indexnamepattern command is used to select the formatting of the player names for the game index.

The player's names are taken from the player Tags, White and Black, in each game of the PGN file. PGN expects these names to appear in the same format as they would appear in a telephone directory. That is, last name, followed by a comma, followed by the rest of the name. Bobby Fischer's name would appear in a PGN file as:

Fischer, Robert J.

Using Fischer's name as a model, the various name 'patterns' produce these results:

full

Fischer, Robert J.

last

Fischer

short

Fischer, R.

firstlast

Robert J. Fischer

initlast

R. Fischer

In the example below, indexnamepattern = last was used to generate the game index.