19cad7645SGreg Roach<?xml version="1.0" encoding="UTF-8" ?> 29cad7645SGreg Roach<!-- Includes 2010 work done by John Hawthornthwaite(hagershorn1) for an ancestry report in PhpGedView --> 39cad7645SGreg Roach<Report> 49cad7645SGreg Roach <Title><var var="I18N::translate('Ancestors')" /></Title> 59cad7645SGreg Roach <Description><var var="I18N::translate('A report of an individual’s ancestors, in a narrative style.')" /></Description> 69cad7645SGreg Roach <Input name="pid" lookup="INDI" type="text"><var var="I18N::translate('Individual')" /></Input> 7a3cc55d0SGreg Roach <Input name="maxgen" type="select" options="3=>I18N::number(3)|4=>I18N::number(4)|5=>I18N::number(5)|6=>I18N::number(6)|7=>I18N::number(7)|8=>I18N::number(8)|9=>I18N::number(9)|10=>I18N::number(10)|-1=>I18N::translate('All')"><var var="I18N::translate('Generations')" /></Input> 89cad7645SGreg Roach <Input name="sources" type="checkbox" default="1"><var var="I18N::translate('Show sources')" /></Input> 99cad7645SGreg Roach <Input name="notes" type="checkbox" default="0"><var var="I18N::translate('Show notes')" /></Input> 109cad7645SGreg Roach <Input name="occu" type="checkbox" default="0"><var var="I18N::translate('Show occupations')" /></Input> 119cad7645SGreg Roach <Input name="resi" type="checkbox" default="0"><var var="I18N::translate('Show residences')" /></Input> 129cad7645SGreg Roach <Input name="children" type="checkbox" default="0"><var var="I18N::translate('Show children of ancestors')" /></Input> 134d314e6bSGreg Roach <Input name="pageSize" type="select" options="A4=>I18N::translateContext('paper size','A4')|A3=>I18N::translateContext('paper size', 'A3')|US-Letter=>I18N::translateContext('paper size','Letter')|US-Tabloid=>I18N::translateContext('paper size','Tabloid')"><var var="I18N::translate('Page size')" /></Input> 149cad7645SGreg Roach <!-- 159cad7645SGreg Roach <Input name="fonts" type="select" default="dejavusans" options="arialunicid0=>I18N::translateContext('font name', 'Arial')|dejavusans=>I18N::translateContext('font name', 'DejaVu')|helvetica=>I18N::translateContext('font name', 'Helvetica')"><var var="I18N::translate('Font')"/></Input> 169cad7645SGreg Roach --> 179cad7645SGreg Roach <SetVar name="fonts" value="dejavusans" /> 189cad7645SGreg Roach 199cad7645SGreg Roach <!-- Header --> 209cad7645SGreg Roach <Style name="header" font="$fonts" size="14" style="b" /> 219cad7645SGreg Roach <!-- Page numbers text --> 229cad7645SGreg Roach <Style name="pagenum" font="$fonts" size="8"/> 239cad7645SGreg Roach <!-- Standard text --> 249cad7645SGreg Roach <Style name="text" font="$fonts" size="10"/> 259cad7645SGreg Roach <!-- Links to sources - required style name by the generator --> 269cad7645SGreg Roach <Style name="footnotenum" font="$fonts" size="7"/> 279cad7645SGreg Roach <!-- Source text - FootnoteTexts - required style name by the generator --> 289cad7645SGreg Roach <Style name="footnote" font="$fonts" size="8"/> 299cad7645SGreg Roach <!-- Generated by style - required style name by the generator --> 309cad7645SGreg Roach <Style name="genby" font="$fonts" size="8" /> 319cad7645SGreg Roach <!-- Date Text--> 329cad7645SGreg Roach <Style name="date" font="$fonts" size="8"/> 339cad7645SGreg Roach <!-- Note Text --> 349cad7645SGreg Roach <Style name="note" font="$fonts" size="9"/> 359cad7645SGreg Roach <!-- Individual name --> 369cad7645SGreg Roach <Style name="name" font="$fonts" size="10" style="b" /> 379cad7645SGreg Roach <Style name="namech" font="$fonts" size="8" style="b" /> 389cad7645SGreg Roach <Style name="subheader" font="$fonts" size="12" style="b" /> 399cad7645SGreg Roach <Style name="label1" font="$fonts" size="8"/> 409cad7645SGreg Roach <Style name="label2" font="$fonts" size="10"/> 419cad7645SGreg Roach <SetVar name="num" value="1" /> 429cad7645SGreg Roach <SetVar name="generation" value="0" /> 439cad7645SGreg Roach <SetVar name="empty_name" value="f" /> 449cad7645SGreg Roach <SetVar name="empty_start_value" value="0" /> 459cad7645SGreg Roach <SetVar name="nametokeep" value=" " /> 469cad7645SGreg Roach <SetVar name="personNumber" value="1" /> 479cad7645SGreg Roach <SetVar name="individual" value=" " /> 489cad7645SGreg Roach <SetVar name="spouse" value="" /> 499cad7645SGreg Roach <SetVar name="childNumber" value="1" /> 509cad7645SGreg Roach <!-- New Page for Sources controller if SOUR exist --> 519cad7645SGreg Roach <SetVar name="source_exist" value="0" /> 529cad7645SGreg Roach 539cad7645SGreg Roach <Doc pageSize="$pageSize"> 549cad7645SGreg Roach <Header> 55*b56fa9ddSGreg Roach <Cell style="header" align="center" height="30" newline="1"><var var="I18N::translate('Ancestors of ')" /><GetPersonName id="$pid" /></Cell> 569cad7645SGreg Roach <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell> 579cad7645SGreg Roach </Header> 589cad7645SGreg Roach <Body> 599cad7645SGreg Roach <Relatives id="$pid" group="direct-ancestors" sortby="none" maxgen="$maxgen"> 609cad7645SGreg Roach <SetVar name="gender" value="m" /> 619cad7645SGreg Roach <if condition="@SEX=='F'"> 629cad7645SGreg Roach <SetVar name="gender" value="f" /> 639cad7645SGreg Roach </if> 649cad7645SGreg Roach <if condition="$generation!=@generation"> 659cad7645SGreg Roach <if condition="$empty_name=='t'" > 669cad7645SGreg Roach <TextBox width="50" height="20"> 679cad7645SGreg Roach <SetVar name="empty_end_value" value="$num-1" /> 689cad7645SGreg Roach <Text style="text"><var var="empty_start_value" />-<var var="empty_end_value" />.</Text> 699cad7645SGreg Roach </TextBox> 709cad7645SGreg Roach <TextBox width="475" height="12" newline="1" > 719cad7645SGreg Roach <Text style="text"><br /></Text> 729cad7645SGreg Roach </TextBox> 739cad7645SGreg Roach <TextBox width="25" height="20" newline="1"> 749cad7645SGreg Roach <Text style="text"><br /></Text> 759cad7645SGreg Roach </TextBox> 769cad7645SGreg Roach <SetVar name="empty_start_value" value="$num" /> 779cad7645SGreg Roach </if> 789cad7645SGreg Roach <Cell align="center" height="30" newline="1" style="subheader"><var var="I18N::translate('Generation ')" /><Generation /></Cell> 799cad7645SGreg Roach <SetVar name="generation" value="@generation" /> 809cad7645SGreg Roach </if> 819cad7645SGreg Roach <SetVar name="indiname" value="@NAME" /> 829cad7645SGreg Roach <if condition="$indiname==''"> 839cad7645SGreg Roach <if condition="$empty_name=='f'"> 849cad7645SGreg Roach <SetVar name="empty_name" value="t" /> 859cad7645SGreg Roach <SetVar name="empty_start_value" value="$num" /> 869cad7645SGreg Roach </if> 879cad7645SGreg Roach </if> 889cad7645SGreg Roach <if condition="$indiname!=''"> 899cad7645SGreg Roach <if condition="$empty_name=='t'" > 909cad7645SGreg Roach <TextBox width="50" height="20"> 919cad7645SGreg Roach <SetVar name="empty_end_value" value="$num-1" /> 929cad7645SGreg Roach <Text style="text"><var var="empty_start_value" />-<var var="empty_end_value" />.</Text> 939cad7645SGreg Roach </TextBox> 949cad7645SGreg Roach <TextBox width="475" height="12" newline="1"> 959cad7645SGreg Roach <Text style="text"><br /></Text> 969cad7645SGreg Roach </TextBox> 979cad7645SGreg Roach <TextBox width="25" height="20" newline="1"> 989cad7645SGreg Roach <Text style="text"><br /></Text> 999cad7645SGreg Roach </TextBox> 1009cad7645SGreg Roach <SetVar name="empty_name" value="f" /> 1019cad7645SGreg Roach </if> 1029cad7645SGreg Roach <!-- Generation counter --> 1039cad7645SGreg Roach <TextBox width="25" height="30"> 1049cad7645SGreg Roach <Text style="text"><var var="num" />.</Text> 1059cad7645SGreg Roach </TextBox> 1069cad7645SGreg Roach <!-- Sentence 1 Individual, name... --> 1079cad7645SGreg Roach <TextBox height="12" newline="1"> 1089cad7645SGreg Roach <Text style="name"><GetPersonName id="" /></Text> 1099cad7645SGreg Roach <if condition="$sources=='on'"> 1109cad7645SGreg Roach <!-- print level 1 sources --> 1119cad7645SGreg Roach <RepeatTag tag="SOUR"> 1129cad7645SGreg Roach <Footnote> 1139cad7645SGreg Roach <Gedcom id="@SOUR"> 1149cad7645SGreg Roach <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 1159cad7645SGreg Roach «<GedcomValue tag="TITL" />» 1169cad7645SGreg Roach <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 1179cad7645SGreg Roach </Gedcom> 1189cad7645SGreg Roach <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 1199cad7645SGreg Roach <GedcomValue tag="SOUR:DATA:TEXT" /> 1209cad7645SGreg Roach </Footnote> 1219cad7645SGreg Roach <SetVar name="source_exist" value="1"/> 1229cad7645SGreg Roach </RepeatTag> 1239cad7645SGreg Roach <!-- print level 2 sources attached to NAME --> 1249cad7645SGreg Roach <RepeatTag tag="NAME:SOUR"> 1259cad7645SGreg Roach <Footnote> 1269cad7645SGreg Roach <Gedcom id="@SOUR"> 1279cad7645SGreg Roach <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 1289cad7645SGreg Roach «<GedcomValue tag="TITL" />» 1299cad7645SGreg Roach <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 1309cad7645SGreg Roach </Gedcom> 1319cad7645SGreg Roach <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 1329cad7645SGreg Roach <GedcomValue tag="SOUR:DATA:TEXT" /> 1339cad7645SGreg Roach </Footnote> 1349cad7645SGreg Roach <SetVar name="source_exist" value="1" /> 1359cad7645SGreg Roach </RepeatTag> 1369cad7645SGreg Roach </if> 137*b56fa9ddSGreg Roach <Text style="name"> </Text> 1389cad7645SGreg Roach <!-- Individual, birth... --> 1399cad7645SGreg Roach <Gedcom id="BIRT"> 1409cad7645SGreg Roach <Text style="text"> 1419cad7645SGreg Roach <if condition="$gender=='m'"><var var="I18N::translateContext('MALE', 'was born')" /></if> 1429cad7645SGreg Roach <if condition="$gender=='f'"><var var="I18N::translateContext('FEMALE', 'was born')" /></if> 1439cad7645SGreg Roach </Text> 1449cad7645SGreg Roach <if condition="$sources=='on'"> 1459cad7645SGreg Roach <RepeatTag tag="BIRT:SOUR"> 1469cad7645SGreg Roach <Footnote> 1479cad7645SGreg Roach <Gedcom id="@SOUR"> 1489cad7645SGreg Roach <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 1499cad7645SGreg Roach «<GedcomValue tag="TITL" />» 1509cad7645SGreg Roach <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 1519cad7645SGreg Roach </Gedcom> 1529cad7645SGreg Roach <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 1539cad7645SGreg Roach <GedcomValue tag="SOUR:DATA:TEXT" /> 1549cad7645SGreg Roach </Footnote> 1559cad7645SGreg Roach <SetVar name="source_exist" value="1"/> 1569cad7645SGreg Roach </RepeatTag> 1579cad7645SGreg Roach </if> 1589cad7645SGreg Roach <Text style="text"> 1599cad7645SGreg Roach <if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if> 1609cad7645SGreg Roach <if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if> 1619cad7645SGreg Roach <if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>. 1629cad7645SGreg Roach </Text> 1639cad7645SGreg Roach </Gedcom> 1649cad7645SGreg Roach <!-- Sentence 2 Individual, christened... --> 1659cad7645SGreg Roach <Gedcom id="CHR"> 1669cad7645SGreg Roach <Text style="text"> 1679cad7645SGreg Roach <if condition="$gender=='m'"><var var="I18N::translate('He was christened')" /></if> 1689cad7645SGreg Roach <if condition="$gender=='f'"><var var="I18N::translate('She was christened')" /></if> 1699cad7645SGreg Roach </Text> 1709cad7645SGreg Roach <Text style="label1"> 1719cad7645SGreg Roach <if condition="$sources=='on'"> 1729cad7645SGreg Roach <RepeatTag tag="CHR:SOUR"> 1739cad7645SGreg Roach <Footnote> 1749cad7645SGreg Roach <Gedcom id="@SOUR"> 1759cad7645SGreg Roach <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 1769cad7645SGreg Roach «<GedcomValue tag="TITL" />» 1779cad7645SGreg Roach <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 1789cad7645SGreg Roach </Gedcom> 1799cad7645SGreg Roach <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 1809cad7645SGreg Roach <GedcomValue tag="SOUR:DATA:TEXT" /> 1819cad7645SGreg Roach </Footnote> 1829cad7645SGreg Roach <SetVar name="source_exist" value="1"/> 1839cad7645SGreg Roach </RepeatTag> 1849cad7645SGreg Roach </if> 1859cad7645SGreg Roach </Text> 1869cad7645SGreg Roach <Text style="text"> 1879cad7645SGreg Roach <if condition="@DATE!=''"><var var=" " /><GedcomValue tag="DATE" level="2" /></if> 1889cad7645SGreg Roach <if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /><GedcomValue tag="PLAC" level="2" /></if> 1899cad7645SGreg Roach <if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>. 1909cad7645SGreg Roach </Text> 1919cad7645SGreg Roach </Gedcom> 1929cad7645SGreg Roach <if condition="$occu=='on'"> 1939cad7645SGreg Roach <!-- Individual, occupation... --> 1949cad7645SGreg Roach <RepeatTag tag="OCCU"> 1959cad7645SGreg Roach <Text style="text"> 1969cad7645SGreg Roach <if condition="$gender=='m'"> <var var="I18N::translate('His occupation was')" /> <GedcomValue tag="OCCU" level="1" /></if> 1979cad7645SGreg Roach <if condition="$gender=='f'"> <var var="I18N::translate('Her occupation was')" /> <GedcomValue tag="OCCU" level="1" /></if> 1989cad7645SGreg Roach </Text> 1999cad7645SGreg Roach <if condition="$sources=='on'"> 2009cad7645SGreg Roach <RepeatTag tag="OCCU:SOUR"> 2019cad7645SGreg Roach <Footnote> 2029cad7645SGreg Roach <Gedcom id="@SOUR"> 2039cad7645SGreg Roach <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 2049cad7645SGreg Roach «<GedcomValue tag="TITL" />» 2059cad7645SGreg Roach <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 2069cad7645SGreg Roach </Gedcom> 2079cad7645SGreg Roach <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 2089cad7645SGreg Roach <GedcomValue tag="SOUR:DATA:TEXT" /> 2099cad7645SGreg Roach </Footnote> 2109cad7645SGreg Roach <SetVar name="source_exist" value="1"/> 2119cad7645SGreg Roach </RepeatTag> 2129cad7645SGreg Roach </if> 2139cad7645SGreg Roach <Text style="text"> 2149cad7645SGreg Roach <if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if> 2159cad7645SGreg Roach <if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>. 2169cad7645SGreg Roach </Text> 2179cad7645SGreg Roach </RepeatTag> 2189cad7645SGreg Roach </if> 2199cad7645SGreg Roach <if condition="$resi=='on'"> 2209cad7645SGreg Roach <!-- Individual, residence... --> 2219cad7645SGreg Roach <RepeatTag tag="RESI"> 2229cad7645SGreg Roach <Text style="text"> 2239cad7645SGreg Roach <if condition="$gender=='m'"><var var="I18N::translate('He resided at')" /> </if> 2249cad7645SGreg Roach <if condition="$gender=='f'"><var var="I18N::translate('She resided at')" /> </if> 2259cad7645SGreg Roach <if condition="@ADDR!=''"><GedcomValue tag="RESI:ADDR" level="1" /></if> 2269cad7645SGreg Roach <if condition="@ADDR==''"><if condition="@PLAC!=''"><GedcomValue tag="RESI:PLAC" level="1" /></if></if> 2279cad7645SGreg Roach </Text> 2289cad7645SGreg Roach <if condition="$sources=='on'"> 2299cad7645SGreg Roach <RepeatTag tag="RESI:SOUR"> 2309cad7645SGreg Roach <Footnote> 2319cad7645SGreg Roach <Gedcom id="@SOUR"> 2329cad7645SGreg Roach <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 2339cad7645SGreg Roach «<GedcomValue tag="TITL" />» 2349cad7645SGreg Roach <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 2359cad7645SGreg Roach </Gedcom> 2369cad7645SGreg Roach <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 2379cad7645SGreg Roach <GedcomValue tag="SOUR:DATA:TEXT" /> 2389cad7645SGreg Roach </Footnote> 2399cad7645SGreg Roach <SetVar name="source_exist" value="1"/> 2409cad7645SGreg Roach </RepeatTag> 2419cad7645SGreg Roach </if> 2429cad7645SGreg Roach <Text style="text"> 2439cad7645SGreg Roach <if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>. 2449cad7645SGreg Roach </Text> 2459cad7645SGreg Roach </RepeatTag> 2469cad7645SGreg Roach </if> 2479cad7645SGreg Roach <SetVar name="cpid" value="@ID" /> 2489cad7645SGreg Roach <Gedcom id="@FAMS"> 2499cad7645SGreg Roach <SetVar name="hpid" value="@HUSB"/> 2509cad7645SGreg Roach <SetVar name="wpid" value="@WIFE"/> 2519cad7645SGreg Roach <if condition="$cpid==$hpid"> 2529cad7645SGreg Roach <SetVar name="spid" value="@WIFE" /> 2539cad7645SGreg Roach </if> 2549cad7645SGreg Roach <if condition="$cpid==$wpid"> 2559cad7645SGreg Roach <SetVar name="spid" value="@HUSB" /> 2569cad7645SGreg Roach </if> 2579cad7645SGreg Roach <Gedcom id="MARR"> 2589cad7645SGreg Roach <if condition="(($spid != '') and (@DATE != '' or @PLAC != '' or @desc == 'Y'))"> 2599cad7645SGreg Roach <Text style="text"> 2609cad7645SGreg Roach <if condition="$gender=='m'"> <var var="I18N::translate('He married')" /> </if> 2619cad7645SGreg Roach <if condition="$gender=='f'"> <var var="I18N::translate('She married')" /> </if> 2629cad7645SGreg Roach </Text> 2639cad7645SGreg Roach <if condition="$sources=='on'"> 2649cad7645SGreg Roach <RepeatTag tag="MARR:SOUR"> 2659cad7645SGreg Roach <Footnote> 2669cad7645SGreg Roach <Gedcom id="@SOUR"> 2679cad7645SGreg Roach <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 2689cad7645SGreg Roach «<GedcomValue tag="TITL" />» 2699cad7645SGreg Roach <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 2709cad7645SGreg Roach </Gedcom> 2719cad7645SGreg Roach <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 2729cad7645SGreg Roach <GedcomValue tag="SOUR:DATA:TEXT" /> 2739cad7645SGreg Roach </Footnote> 2749cad7645SGreg Roach <SetVar name="source_exist" value="1"/> 2759cad7645SGreg Roach </RepeatTag> 2769cad7645SGreg Roach </if> 2779cad7645SGreg Roach <Text style="text"> 2789cad7645SGreg Roach <if condition="$spid!=''"><GetPersonName id="$spid" /></if> 279d4af4c00SGreg Roach <if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if> 2809cad7645SGreg Roach <if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /><GedcomValue tag="PLAC" level="2" /></if> 2819cad7645SGreg Roach <if condition="((@desc=='Y') or (@DATE=='' and @PLAC=='')) and ($spid=='')"><var var="I18N::translate(' but the details are unknown')" /></if>. 2829cad7645SGreg Roach </Text> 2839cad7645SGreg Roach </if> 2849cad7645SGreg Roach </Gedcom> 2859cad7645SGreg Roach </Gedcom> 2869cad7645SGreg Roach <Gedcom id="DEAT"> 2879cad7645SGreg Roach <Text style="text"> 2889cad7645SGreg Roach <if condition="$gender=='m'"> <var var="I18N::translate('He died')" /></if> 2899cad7645SGreg Roach <if condition="$gender=='f'"> <var var="I18N::translate('She died')" /></if> 2909cad7645SGreg Roach </Text> 2919cad7645SGreg Roach <if condition="$sources=='on'"> 2929cad7645SGreg Roach <RepeatTag tag="DEAT:SOUR"> 2939cad7645SGreg Roach <Footnote> 2949cad7645SGreg Roach <Gedcom id="@SOUR"> 2959cad7645SGreg Roach <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 2969cad7645SGreg Roach «<GedcomValue tag="TITL" />» 2979cad7645SGreg Roach <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 2989cad7645SGreg Roach </Gedcom> 2999cad7645SGreg Roach <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 3009cad7645SGreg Roach <GedcomValue tag="SOUR:DATA:TEXT" /> 3019cad7645SGreg Roach </Footnote> 3029cad7645SGreg Roach <SetVar name="source_exist" value="1"/> 3039cad7645SGreg Roach </RepeatTag> 3049cad7645SGreg Roach </if> 3059cad7645SGreg Roach <Text style="text"> 3069cad7645SGreg Roach <if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if> 3079cad7645SGreg Roach <if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if> 3089cad7645SGreg Roach <if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>. 3099cad7645SGreg Roach </Text> 3109cad7645SGreg Roach </Gedcom> 3119cad7645SGreg Roach <Gedcom id="CREM"> 3129cad7645SGreg Roach <Text style="text"> 3139cad7645SGreg Roach <if condition="$gender=='m'"> <var var="I18N::translate('He was cremated')" /></if> 3149cad7645SGreg Roach <if condition="$gender=='f'"> <var var="I18N::translate('She was cremated')" /></if> 3159cad7645SGreg Roach </Text> 3169cad7645SGreg Roach <if condition="$sources=='on'"> 3179cad7645SGreg Roach <RepeatTag tag="CREM:SOUR"> 3189cad7645SGreg Roach <Footnote> 3199cad7645SGreg Roach <Gedcom id="@SOUR"> 3209cad7645SGreg Roach <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 3219cad7645SGreg Roach «<GedcomValue tag="TITL" />» 3229cad7645SGreg Roach <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 3239cad7645SGreg Roach </Gedcom> 3249cad7645SGreg Roach <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 3259cad7645SGreg Roach <GedcomValue tag="SOUR:DATA:TEXT" /> 3269cad7645SGreg Roach </Footnote> 3279cad7645SGreg Roach <SetVar name="source_exist" value="1"/> 3289cad7645SGreg Roach </RepeatTag> 3299cad7645SGreg Roach </if> 3309cad7645SGreg Roach <Text style="text"> 3319cad7645SGreg Roach <if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if> 3329cad7645SGreg Roach <if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if> 3339cad7645SGreg Roach <if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>. 3349cad7645SGreg Roach </Text> 3359cad7645SGreg Roach </Gedcom> 3369cad7645SGreg Roach <Gedcom id="BURI"> 3379cad7645SGreg Roach <Text style="text"> 3389cad7645SGreg Roach <if condition="$gender=='m'"> <var var="I18N::translate('He was buried')" /></if> 3399cad7645SGreg Roach <if condition="$gender=='f'"> <var var="I18N::translate('She was buried')" /></if> 3409cad7645SGreg Roach </Text> 3419cad7645SGreg Roach <if condition="$sources=='on'"> 3429cad7645SGreg Roach <RepeatTag tag="BURI:SOUR"> 3439cad7645SGreg Roach <Footnote> 3449cad7645SGreg Roach <Gedcom id="@SOUR"> 3459cad7645SGreg Roach <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 3469cad7645SGreg Roach «<GedcomValue tag="TITL" />» 3479cad7645SGreg Roach <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 3489cad7645SGreg Roach </Gedcom> 3499cad7645SGreg Roach <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 3509cad7645SGreg Roach <GedcomValue tag="SOUR:DATA:TEXT" /> 3519cad7645SGreg Roach </Footnote> 3529cad7645SGreg Roach <SetVar name="source_exist" value="1"/> 3539cad7645SGreg Roach </RepeatTag> 3549cad7645SGreg Roach </if> 3559cad7645SGreg Roach <Text style="text"> 3569cad7645SGreg Roach <if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if> 3579cad7645SGreg Roach <if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if> 3589cad7645SGreg Roach <if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>. 3599cad7645SGreg Roach </Text> 3609cad7645SGreg Roach </Gedcom> 3619cad7645SGreg Roach </TextBox> 3629cad7645SGreg Roach <if condition="$notes=='on'"> 3639cad7645SGreg Roach <RepeatTag tag="NOTE"> 3649cad7645SGreg Roach <TextBox height="3" newline="1" padding="0"/> 3659cad7645SGreg Roach <Cell height="12" left="30" newline="1" style="note"><GedcomValue tag="NOTE"/></Cell> 3669cad7645SGreg Roach </RepeatTag> 3679cad7645SGreg Roach </if> 3689cad7645SGreg Roach <TextBox height="10" newline="1" padding="0"/> 3699cad7645SGreg Roach </if> 3709cad7645SGreg Roach <SetVar name="num" value="$num+1" /> 3719cad7645SGreg Roach <if condition="$children=='on'"> 3729cad7645SGreg Roach <!-- this section gets the children. --> 3739cad7645SGreg Roach <RepeatTag tag="FAMS"> 3749cad7645SGreg Roach <SetVar name="individual" value="$cpid" /> 3759cad7645SGreg Roach <SetVar name="spouse" value="$spid" /> 3769cad7645SGreg Roach <Gedcom id="@FAMS"> 3779cad7645SGreg Roach <if condition="@CHIL!=''"> 3789cad7645SGreg Roach <SetVar name="numberOfChildren" value="0" /> 3799cad7645SGreg Roach <RepeatTag tag="CHIL"> 3809cad7645SGreg Roach <Gedcom id="@CHIL"> 3819cad7645SGreg Roach <SetVar name="numberOfChildren" value="$numberOfChildren+1" /> 3829cad7645SGreg Roach </Gedcom> 3839cad7645SGreg Roach </RepeatTag> 3849cad7645SGreg Roach <!-- Only show children once for each couple --> 3859cad7645SGreg Roach <if condition="$individual == @WIFE || @WIFE == ''"> 3869cad7645SGreg Roach <TextBox height="20" left="25" newline="1"> 3879cad7645SGreg Roach <if condition="$numberOfChildren==1"> 3889cad7645SGreg Roach <Text style="label1"><var var="I18N::translate('Child of ')" /></Text> 3899cad7645SGreg Roach </if> 3909cad7645SGreg Roach <if condition="$numberOfChildren>1"> 3919cad7645SGreg Roach <Text style="label1"><var var="I18N::translate('Children of ')" /></Text> 3929cad7645SGreg Roach </if> 3939cad7645SGreg Roach <Text style="namech"><GetPersonName id="@HUSB" /></Text> 3949cad7645SGreg Roach <Text style="label1"> <var var="I18N::translate('and')" /> </Text> 3959cad7645SGreg Roach <Text style="namech"><GetPersonName id="@WIFE" /></Text> 3969cad7645SGreg Roach <Text style="label1">:</Text> 3979cad7645SGreg Roach </TextBox> 3989cad7645SGreg Roach <SetVar name="familyChildNumber" value ="1" /> 3999cad7645SGreg Roach <RepeatTag tag="CHIL"> 4009cad7645SGreg Roach <Gedcom id="@CHIL"> 4019cad7645SGreg Roach <if condition="$familyChildNumber==1"><SetVar name="familyChildRoman" value="i" /></if> 4029cad7645SGreg Roach <if condition="$familyChildNumber==2"><SetVar name="familyChildRoman" value="ii" /></if> 4039cad7645SGreg Roach <if condition="$familyChildNumber==3"><SetVar name="familyChildRoman" value="iii" /></if> 4049cad7645SGreg Roach <if condition="$familyChildNumber==4"><SetVar name="familyChildRoman" value="iv" /></if> 4059cad7645SGreg Roach <if condition="$familyChildNumber==5"><SetVar name="familyChildRoman" value="v" /></if> 4069cad7645SGreg Roach <if condition="$familyChildNumber==6"><SetVar name="familyChildRoman" value="vi" /></if> 4079cad7645SGreg Roach <if condition="$familyChildNumber==7"><SetVar name="familyChildRoman" value="vii" /></if> 4089cad7645SGreg Roach <if condition="$familyChildNumber==8"><SetVar name="familyChildRoman" value="viii" /></if> 4099cad7645SGreg Roach <if condition="$familyChildNumber==9"><SetVar name="familyChildRoman" value="ix" /></if> 4109cad7645SGreg Roach <if condition="$familyChildNumber==10"><SetVar name="familyChildRoman" value="x" /></if> 4119cad7645SGreg Roach <if condition="$familyChildNumber==11"><SetVar name="familyChildRoman" value="xi" /></if> 4129cad7645SGreg Roach <if condition="$familyChildNumber==12"><SetVar name="familyChildRoman" value="xii" /></if> 4139cad7645SGreg Roach <if condition="$familyChildNumber==13"><SetVar name="familyChildRoman" value="xiii" /></if> 4149cad7645SGreg Roach <if condition="$familyChildNumber==14"><SetVar name="familyChildRoman" value="xiv" /></if> 4159cad7645SGreg Roach <if condition="$familyChildNumber==15"><SetVar name="familyChildRoman" value="xv" /></if> 4169cad7645SGreg Roach <if condition="$familyChildNumber==16"><SetVar name="familyChildRoman" value="xvi" /></if> 4179cad7645SGreg Roach <if condition="$familyChildNumber==17"><SetVar name="familyChildRoman" value="xvii" /></if> 4189cad7645SGreg Roach <if condition="$familyChildNumber==18"><SetVar name="familyChildRoman" value="xviii" /></if> 4199cad7645SGreg Roach <if condition="$familyChildNumber==19"><SetVar name="familyChildRoman" value="xix" /></if> 4209cad7645SGreg Roach <if condition="$familyChildNumber==20"><SetVar name="familyChildRoman" value="xx" /></if> 4219cad7645SGreg Roach <TextBox left="25" height="20" newline="1"> 4229cad7645SGreg Roach <Text style="label1"><var var="familyChildRoman" /></Text> 4239cad7645SGreg Roach <Text style="namech"> <GetPersonName id="" /></Text> 4249cad7645SGreg Roach <if condition="$sources=='on'"> 4259cad7645SGreg Roach <RepeatTag tag="SOUR"> 4269cad7645SGreg Roach <Footnote> 4279cad7645SGreg Roach <Gedcom id="@SOUR"> 4289cad7645SGreg Roach <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 4299cad7645SGreg Roach «<GedcomValue tag="TITL" />» 4309cad7645SGreg Roach <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 4319cad7645SGreg Roach </Gedcom> 4329cad7645SGreg Roach <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 4339cad7645SGreg Roach <GedcomValue tag="SOUR:DATA:TEXT" /> 4349cad7645SGreg Roach </Footnote> 4359cad7645SGreg Roach <SetVar name="source_exist" value="1"/> 4369cad7645SGreg Roach </RepeatTag> 4379cad7645SGreg Roach </if> 4389cad7645SGreg Roach <Text style="label1" > <br /></Text> 4399cad7645SGreg Roach <!-- Start BIRT --> 4409cad7645SGreg Roach <Gedcom id="BIRT"> 4419cad7645SGreg Roach <Text style="label1" > <var var="I18N::translate('Birth')" /> <GedcomValue tag="DATE" level="2"/> <GedcomValue tag="PLAC" level="2"/> <br /></Text> 4429cad7645SGreg Roach </Gedcom> 4439cad7645SGreg Roach <SetVar name="gender" value="male" /> 4449cad7645SGreg Roach <if condition="@SEX=='F'"> 4459cad7645SGreg Roach <SetVar name="gender" value="female" /> 4469cad7645SGreg Roach </if> 4479cad7645SGreg Roach <RepeatTag tag="FAMS"> 4489cad7645SGreg Roach <Gedcom id="@FAMS"> 4499cad7645SGreg Roach <Text style="label1"> <var var="I18N::translate('Marriage')" /> </Text> 4509cad7645SGreg Roach <if condition="$gender=='male'"><Text style="namech"><GetPersonName id="@WIFE" /></Text></if> 4519cad7645SGreg Roach <if condition="$gender=='female'"><Text style="namech"><GetPersonName id="@HUSB" /></Text></if> 4529cad7645SGreg Roach <Text style="label1"><Gedcom id="MARR"><if condition="@DATE!=''"> <GedcomValue tag="DATE" level="2" /></if><if condition="@PLAC!=''"> <GedcomValue tag="PLAC" level="2" /></if></Gedcom> <br /></Text> 4539cad7645SGreg Roach </Gedcom> 4549cad7645SGreg Roach </RepeatTag> 4559cad7645SGreg Roach <!-- End BIRT start DEAT --> 4569cad7645SGreg Roach <Gedcom id="DEAT"> 4579cad7645SGreg Roach <Text style="label1"> <var var="I18N::translate('Death')" /> <GedcomValue tag="DATE" level="2"/> <GedcomValue tag="PLAC" level="2"/> <br /></Text> 4589cad7645SGreg Roach </Gedcom> 4599cad7645SGreg Roach </TextBox> 4609cad7645SGreg Roach </Gedcom> 4619cad7645SGreg Roach <SetVar name="familyChildNumber" value="$familyChildNumber+1" /> 4629cad7645SGreg Roach </RepeatTag> 4639cad7645SGreg Roach </if> 4649cad7645SGreg Roach </if> 4659cad7645SGreg Roach </Gedcom> 4669cad7645SGreg Roach </RepeatTag> 4679cad7645SGreg Roach <SetVar name="personNumber" value="$personNumber + 1" /> 4689cad7645SGreg Roach <TextBox height="10" newline="1" padding="0"/> 4699cad7645SGreg Roach </if> 4709cad7645SGreg Roach </Relatives> 4719cad7645SGreg Roach <!-- if the sources were on, print the source citations as footnotes --> 4729cad7645SGreg Roach <if condition="$source_exist==1"> 4739cad7645SGreg Roach <NewPage /> 4749cad7645SGreg Roach <TextBox width="$width" height="20" newline="1"> 4759cad7645SGreg Roach <Text style="subheader"><var var="I18N::translate('Sources')" /><br /><br /></Text> 4769cad7645SGreg Roach <FootnoteTexts /> 4779cad7645SGreg Roach </TextBox> 4789cad7645SGreg Roach </if> 4799cad7645SGreg Roach </Body> 4809cad7645SGreg Roach <Footer> 4819cad7645SGreg Roach <Cell align="rightrtl" style="date"><Now /></Cell> 4829cad7645SGreg Roach </Footer> 4839cad7645SGreg Roach </Doc> 4849cad7645SGreg Roach</Report> 485