I would like to know how to handle custom data in my genealogytree database.
For the first step I added the new key to the database entries:
p{
birth- = {1872-10-11},
death- = {1948-05-14},
deathage = {75},
}
In the options I set /gtr/database unknown key=save according to p. 157 of the manual which should put the data to /gtr/database/save/deathage.
Now I am wondering how to access those data. How can I check if they custom key is set (\gtrif…?) and how can I print the content in a custom database format?
Edit: Testing with a minimal example makes me believe that my custom data are not available at \grtDBdeathage like other pieces of data.
I ended up defining a new database format derived from
fulland added this part:
– jœ. Dec 06 '18 at 20:21\pgfkeysifdefined{/gtr/database/save/deathage}{ (\pgfkeysvalueof{/gtr/database/save/deathage})}{}