xref: /webtrees/resources/xml/reports/individual_ext_report.xml (revision b56fa9dd6a5e9075de5337fd34748412e9e559a7)
19cad7645SGreg Roach<?xml version="1.0" encoding="UTF-8" ?>
29cad7645SGreg Roach<Report>
39cad7645SGreg Roach	<Title><var var="I18N::translate('Related families')" /></Title>
49cad7645SGreg Roach	<Description><var var="I18N::translate('A report of the families that are closely related to an individual.')" /></Description>
59cad7645SGreg Roach	<Input name="pid" type="text" default="" lookup="INDI"><var var="I18N::translate('Individual')"/></Input>
69cad7645SGreg Roach	<Input name="relatives" type="select" options="child-family=>I18N::translate('Parents and siblings')|spouse-family=>I18N::translate('Spouses and children')|direct-ancestors=>I18N::translate('Direct line ancestors')|ancestors=>I18N::translate('Direct line ancestors and their families')|descendants=>I18N::translate('Descendants')|all=>I18N::translate('All')"><var var="I18N::translate('Choose relatives')"/></Input>
7a3cc55d0SGreg Roach	<Input name="maxgen" type="select" default="4" options="1=>I18N::number(1)|2=>I18N::number(2)|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="sortby" type="select" default="BIRT:DATE" options="BIRT:DATE=>I18N::translate('sort by date of birth')|NAME=>I18N::translate('sort by name')"><var var="I18N::translate('Sort order')"/></Input>
99cad7645SGreg Roach	<Input name="sources" type="checkbox" default="1"><var var="I18N::translate('Show sources')"/></Input>
109cad7645SGreg Roach	<Input name="notes" type="checkbox" default="1"><var var="I18N::translate('Show notes')"/></Input>
119cad7645SGreg Roach	<Input name="photos" type="select" default="highlighted" options="none=>I18N::translate('None')|all=>I18N::translate('All')|highlighted=>I18N::translate('Highlighted image')"><var var="I18N::translate('Show photos')"/></Input>
124d314e6bSGreg 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>
139cad7645SGreg Roach	<Input name="colors" type="checkbox" default="1"><var var="I18N::translate('Use colors')"/></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="18"/>
219cad7645SGreg Roach	<!-- Generated by style - required style name by the generator -->
229cad7645SGreg Roach	<Style name="genby" font="$fonts" size="8"/>
239cad7645SGreg Roach	<!-- Links to sources - required style name by the generator -->
249cad7645SGreg Roach	<Style name="footnotenum" font="$fonts" size="6"/>
259cad7645SGreg Roach	<!-- Source text - FootnoteTexts - required style name by the generator -->
269cad7645SGreg Roach	<Style name="footnote" font="$fonts" size="8"/>
279cad7645SGreg Roach	<!-- Section title -->
289cad7645SGreg Roach	<Style name="title" font="$fonts" size="9" style="B"/>
299cad7645SGreg Roach	<!-- Page numbers text -->
309cad7645SGreg Roach	<Style name="pagenum" font="$fonts" size="8"/>
319cad7645SGreg Roach	<!-- Page Header text -->
329cad7645SGreg Roach	<Style name="pageheader" font="$fonts" size="14"/>
339cad7645SGreg Roach	<!-- Standard text -->
349cad7645SGreg Roach	<Style name="text" font="$fonts" size="9"/>
359cad7645SGreg Roach	<!-- Facts text -->
369cad7645SGreg Roach	<Style name="fact" font="$fonts" size="8"/>
379cad7645SGreg Roach	<!-- Individual names in text boxes -->
389cad7645SGreg Roach	<Style name="name" font="$fonts" size="10"/>
399cad7645SGreg Roach	<!-- Date text -->
409cad7645SGreg Roach	<Style name="date" font="$fonts" size="8"/>
419cad7645SGreg Roach
429cad7645SGreg Roach	<SetVar name="ignore" value="CHAN,CHIL,FAMC,FAMS,HUSB,NAME,NOTE,OBJE,RESN,SEX,SOUR,TITL,WIFE,_UID,_WT_OBJE_SORT"/>
439cad7645SGreg Roach	<!-- Setup colors -->
449cad7645SGreg Roach	<!-- Section title background color -->
459cad7645SGreg Roach	<SetVar name="stbgcolor" value="#AAAAAA"/>
469cad7645SGreg Roach	<SetVar name="mbgcolor" value=""/>
479cad7645SGreg Roach	<SetVar name="fbgcolor" value=""/>
489cad7645SGreg Roach	<SetVar name="ugbgcolor" value=""/>
499cad7645SGreg Roach	<SetVar name="fbbgcolor" value=""/>
509cad7645SGreg Roach	<SetVar name="tcolor" value=""/>
519cad7645SGreg Roach	<!-- Use colors -->
52e0dcab18SGreg Roach	<if condition="$colors=='on'">
539cad7645SGreg Roach		<!-- Section title background color -->
549cad7645SGreg Roach		<SetVar name="stbgcolor" value="#9CA3D4"/>
559cad7645SGreg Roach		<!-- Male background color -->
569cad7645SGreg Roach		<SetVar name="mbgcolor" value="#D6E0EA"/>
579cad7645SGreg Roach		<!-- Female background color -->
589cad7645SGreg Roach		<SetVar name="fbgcolor" value="#E9DAF1"/>
599cad7645SGreg Roach		<!-- Unknown gender -->
609cad7645SGreg Roach		<SetVar name="ugbgcolor" value="#FFFFFF"/>
619cad7645SGreg Roach		<!-- Fact boxes -->
629cad7645SGreg Roach		<SetVar name="fbbgcolor" value="#D1D9FF"/>
639cad7645SGreg Roach		<!-- Text color - black -->
649cad7645SGreg Roach		<SetVar name="tcolor" value="#000000"/>
659cad7645SGreg Roach	</if>
669cad7645SGreg Roach
679cad7645SGreg Roach	<!-- New Page controller -->
689cad7645SGreg Roach	<SetVar name="newpage" value="0"/>
699cad7645SGreg Roach	<!-- New Page for Sources controller if SOUR exist -->
709cad7645SGreg Roach	<SetVar name="source_exist" value="0"/>
719cad7645SGreg Roach
729cad7645SGreg Roach	<!-- set the default widths -->
739cad7645SGreg Roach	<SetVar name="dwidth" value="200"/>
749cad7645SGreg Roach	<SetVar name="pwidth" value="436"/>
759cad7645SGreg Roach	<!-- space height -->
769cad7645SGreg Roach	<SetVar name="sheight" value="15"/>
779cad7645SGreg Roach
789cad7645SGreg Roach	<SetVar name="width" value="433"/>
799cad7645SGreg Roach	<SetVar name="width1" value="418"/>
809cad7645SGreg Roach	<SetVar name="width2" value="233"/>
819cad7645SGreg Roach
829cad7645SGreg Roach	<!-- change the widths for no pictures -->
839cad7645SGreg Roach	<if condition="$photos=='none'">
849cad7645SGreg Roach		<SetVar name="width" value="0"/>
859cad7645SGreg Roach		<SetVar name="width1" value="0"/>
869cad7645SGreg Roach		<SetVar name="width2" value="0"/>
879cad7645SGreg Roach	</if>
889cad7645SGreg Roach
89*b56fa9ddSGreg Roach	<if condition="$relatives=='child-family'"><SetVar name="explain" value="I18N::translate('Parents and siblings')"/></if>
90*b56fa9ddSGreg Roach	<if condition="$relatives=='spouse-family'"><SetVar name="explain" value="I18N::translate('Spouses and children')"/></if>
91*b56fa9ddSGreg Roach	<if condition="$relatives=='direct-ancestors'"><SetVar name="explain" value="I18N::translate('Direct line ancestors')"/></if>
92*b56fa9ddSGreg Roach	<if condition="$relatives=='ancestors'"><SetVar name="explain" value="I18N::translate('Direct line ancestors and their families')"/></if>
93*b56fa9ddSGreg Roach	<if condition="$relatives=='descendants'"><SetVar name="explain" value="I18N::translate('Descendants')"/></if>
94*b56fa9ddSGreg Roach	<if condition="$relatives=='all'"><SetVar name="explain" value="I18N::translate('All')"/></if>
95*b56fa9ddSGreg Roach
96*b56fa9ddSGreg Roach
979cad7645SGreg Roach	<Doc pageSize="$pageSize">
989cad7645SGreg Roach		<Header>
99*b56fa9ddSGreg Roach			<Cell align="center" newline="1" style="header"><GetPersonName id="$pid" /> — <var var="$explain"/></Cell>
1009cad7645SGreg Roach			<Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')"/> <PageNum/> / <TotalPages/></Cell>
1019cad7645SGreg Roach		</Header>
1029cad7645SGreg Roach
1039cad7645SGreg Roach		<Body>
1049cad7645SGreg Roach			<!-- set the gedcom context for this individual -->
1059cad7645SGreg Roach			<Relatives id="$pid" group="$relatives" maxgen="$maxgen" sortby="$sortby">
1069cad7645SGreg Roach				<if condition="$newpage==1">
1079cad7645SGreg Roach					<NewPage/>
1089cad7645SGreg Roach				</if>
1099cad7645SGreg Roach				<SetVar name="newpage" value="1"/>
1109cad7645SGreg Roach				<SetVar name="sex" value="@SEX"/>
1119cad7645SGreg Roach				<SetVar name="mid" value="@ID"/>
1129cad7645SGreg Roach				<!-- Individual name -->
1139cad7645SGreg Roach				<TextBox newline="1">
1149cad7645SGreg Roach					<Text style="pageheader"><GetPersonName id=""/></Text>
115e0dcab18SGreg Roach					<if condition="$sources=='on'">
1169cad7645SGreg Roach						<!-- print level 1 sources -->
1179cad7645SGreg Roach						<RepeatTag tag="SOUR">
1189cad7645SGreg Roach							<Footnote>
1199cad7645SGreg Roach								<Gedcom id="@SOUR">
1209cad7645SGreg Roach									<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
1219cad7645SGreg Roach									«<GedcomValue tag="TITL" />»
1229cad7645SGreg Roach									<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
1239cad7645SGreg Roach								</Gedcom>
1249cad7645SGreg Roach								<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
1259cad7645SGreg Roach								 <GedcomValue tag="SOUR:DATA:TEXT" />
1269cad7645SGreg Roach							</Footnote>
1279cad7645SGreg Roach							<SetVar name="source_exist" value="1"/>
1289cad7645SGreg Roach						</RepeatTag>
1299cad7645SGreg Roach						<!-- print level 2 sources attached to NAME -->
1309cad7645SGreg Roach						<RepeatTag tag="NAME:SOUR">
1319cad7645SGreg Roach							<Footnote>
1329cad7645SGreg Roach								<Gedcom id="@SOUR">
1339cad7645SGreg Roach									<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
1349cad7645SGreg Roach									«<GedcomValue tag="TITL" />»
1359cad7645SGreg Roach									<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
1369cad7645SGreg Roach								</Gedcom>
1379cad7645SGreg Roach								<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
1389cad7645SGreg Roach								 <GedcomValue tag="SOUR:DATA:TEXT" />
1399cad7645SGreg Roach							</Footnote>
1409cad7645SGreg Roach							<SetVar name="source_exist" value="1" />
1419cad7645SGreg Roach						</RepeatTag>
1429cad7645SGreg Roach					</if>
1439cad7645SGreg Roach				</TextBox>
1449cad7645SGreg Roach				<!-- show the persons images -->
1459cad7645SGreg Roach				<if condition="$photos=='all'">
1469cad7645SGreg Roach					<!-- This is an image not a text, so don't use text padding
1479cad7645SGreg Roach					Reset also the last height after all the images has been printed
1489cad7645SGreg Roach					set pagecheck to 0, the image function check is too
1499cad7645SGreg Roach					and "trick" the X-position back to the margin with a newline -->
1509cad7645SGreg Roach					<TextBox left="$pwidth" newline="1" pagecheck="0" padding="0" reseth="1" width="80">
1519cad7645SGreg Roach						<RepeatTag tag="OBJE">
1529cad7645SGreg Roach							<Image file="@FILE" width="80" ln="N"/>
1539cad7645SGreg Roach						</RepeatTag>
1549cad7645SGreg Roach					</TextBox>
1559cad7645SGreg Roach				</if>
1569cad7645SGreg Roach				<!-- show the person's Highlighted Image -->
1579cad7645SGreg Roach				<if condition="$photos=='highlighted'">
1589cad7645SGreg Roach					<HighlightedImage left="$pwidth" width="80"/>
1599cad7645SGreg Roach				</if>
1609cad7645SGreg Roach				<!-- Print the individuals facts -->
1619cad7645SGreg Roach				<Cell tcolor="$tcolor" bgcolor="$stbgcolor" border="1" newline="1" style="title" width="$width"><var var="I18N::translate('Facts and events')"/></Cell>
1629cad7645SGreg Roach				<Facts ignore="$ignore" families="1">
1639cad7645SGreg Roach					<TextBox bgcolor="$fbbgcolor" border="1" width="$dwidth">
1649cad7645SGreg Roach						<Text color="$tcolor" style="fact"><var var="@fact"/>  </Text>
1659cad7645SGreg Roach						<Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE"/>  </Text>
1669cad7645SGreg Roach						<!-- look for fact level 2 sources -->
167e0dcab18SGreg Roach						<if condition="$sources=='on'">
1689cad7645SGreg Roach							<RepeatTag tag="@fact:SOUR">
1699cad7645SGreg Roach								<Footnote>
1709cad7645SGreg Roach									<Gedcom id="@SOUR">
1719cad7645SGreg Roach										<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
1729cad7645SGreg Roach										«<GedcomValue tag="TITL" />»
1739cad7645SGreg Roach										<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
1749cad7645SGreg Roach									</Gedcom>
1759cad7645SGreg Roach									<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
1769cad7645SGreg Roach									 <GedcomValue tag="SOUR:DATA:TEXT" />
1779cad7645SGreg Roach								</Footnote>
1789cad7645SGreg Roach								<SetVar name="source_exist" value="1" />
1799cad7645SGreg Roach							</RepeatTag>
1809cad7645SGreg Roach						</if>
1819cad7645SGreg Roach					</TextBox>
1829cad7645SGreg Roach					<!-- print a different layout for facts with descriptions -->
1839cad7645SGreg Roach					<if condition="@desc!=''">
1849cad7645SGreg Roach						<TextBox bgcolor="$fbbgcolor" border="1" newline="1" width="$width2">
1859cad7645SGreg Roach							<Text color="$tcolor" style="text">
1869cad7645SGreg Roach								<if condition="@desc=='Y'">
1879cad7645SGreg Roach									<var var="I18N::translate('yes')" />  <GedcomValue tag="@fact:PLAC"/>
1889cad7645SGreg Roach								</if>
1899cad7645SGreg Roach								<if condition="@desc=='N'">
1909cad7645SGreg Roach									<var var="I18N::translate('no')" />  <GedcomValue tag="@fact:PLAC"/>
1919cad7645SGreg Roach								</if>
1929cad7645SGreg Roach								<if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!=''">
1939cad7645SGreg Roach									<GedcomValue tag="@desc"/>  <GedcomValue tag="@fact:PLAC"/>
1949cad7645SGreg Roach								</if>
1959cad7645SGreg Roach								<if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC==''">
1969cad7645SGreg Roach									<GedcomValue tag="@desc"/>
1979cad7645SGreg Roach								</if>
1989cad7645SGreg Roach							</Text>
1999cad7645SGreg Roach							<Gedcom id="@ASSO">
2009cad7645SGreg Roach								 <GetPersonName id=""/>
2019cad7645SGreg Roach							</Gedcom>
2029cad7645SGreg Roach							<Gedcom id="@_WTS">
2039cad7645SGreg Roach								<if condition="@SEX=='M'">
2049cad7645SGreg Roach									<Text color="$tcolor" style="fact">  <var var="I18N::translate('Husband')"/></Text>
2059cad7645SGreg Roach								</if>
2069cad7645SGreg Roach								<if condition="@SEX=='F'">
2079cad7645SGreg Roach									<Text color="$tcolor" style="fact">  <var var="I18N::translate('Wife')"/></Text>
2089cad7645SGreg Roach								</if>
2099cad7645SGreg Roach								<if condition="@SEX=='U'">
2109cad7645SGreg Roach									<Text color="$tcolor" style="fact">  <var var="I18N::translate('Spouse')"/></Text>
2119cad7645SGreg Roach								</if>
2129cad7645SGreg Roach								<Text color="$tcolor" style="text"> <GetPersonName id=""/></Text>
2139cad7645SGreg Roach							</Gedcom>
2149cad7645SGreg Roach						</TextBox>
2159cad7645SGreg Roach					</if>
2169cad7645SGreg Roach					<!-- facts without descriptions -->
2179cad7645SGreg Roach					<if condition="@desc==''">
2189cad7645SGreg Roach						<TextBox bgcolor="$fbbgcolor" border="1" newline="1" width="$width2">
2199cad7645SGreg Roach							<Gedcom id="@_WTS">
2209cad7645SGreg Roach								<if condition="@SEX=='M'">
2219cad7645SGreg Roach									<Text color="$tcolor" style="fact">  <var var="I18N::translate('Husband')"/></Text>
2229cad7645SGreg Roach								</if>
2239cad7645SGreg Roach								<if condition="@SEX=='F'">
2249cad7645SGreg Roach									<Text color="$tcolor" style="fact">  <var var="I18N::translate('Wife')"/></Text>
2259cad7645SGreg Roach								</if>
2269cad7645SGreg Roach								<if condition="@SEX=='U'">
2279cad7645SGreg Roach									<Text color="$tcolor" style="fact">  <var var="I18N::translate('Spouse')"/></Text>
2289cad7645SGreg Roach								</if>
2299cad7645SGreg Roach								<Text color="$tcolor" style="text"> <GetPersonName id=""/></Text>
2309cad7645SGreg Roach							</Gedcom>
2319cad7645SGreg Roach						</TextBox>
2329cad7645SGreg Roach					</if>
2339cad7645SGreg Roach				</Facts>
2349cad7645SGreg Roach				<!-- print any level 1 notes, but only if exist -->
235946aed71SGreg Roach				<if condition="($notes=='on') and (@NOTE!='')">
2369cad7645SGreg Roach					<TextBox height="$sheight" newline="1" padding="0" width="15"/>
2379cad7645SGreg Roach					<Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><var var="I18N::translate('Notes')"/></Cell>
2389cad7645SGreg Roach					<RepeatTag tag="NOTE">
2399cad7645SGreg Roach						<Cell bgcolor="$fbbgcolor" border="1" newline="1" style="text" tcolor="$tcolor" width="$width"><GedcomValue tag="NOTE"/></Cell>
2409cad7645SGreg Roach					</RepeatTag>
2419cad7645SGreg Roach				</if>
2429cad7645SGreg Roach
2439cad7645SGreg Roach				<!-- print family with parents and siblings -->
2449cad7645SGreg Roach				<TextBox height="$sheight" newline="1" padding="0" width="15"/>
2459cad7645SGreg Roach				<Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><var var="I18N::translate('Family with parents')"/></Cell>
2469cad7645SGreg Roach				<RepeatTag tag="FAMC">
2479cad7645SGreg Roach					<Gedcom id="@FAMC">
2489cad7645SGreg Roach						<!-- father -->
2499cad7645SGreg Roach						<Gedcom id="@HUSB">
2509cad7645SGreg Roach							<TextBox bgcolor="$mbgcolor" border="1" newline="1" width="$width">
2519cad7645SGreg Roach								<Text color="$tcolor" style="text"><var var="I18N::translate('Father')"/>  </Text>
2529cad7645SGreg Roach								<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
253e0dcab18SGreg Roach								<if condition="$sources=='on'">
2549cad7645SGreg Roach									<!-- print level 1 sources -->
2559cad7645SGreg Roach									<RepeatTag tag="SOUR">
2569cad7645SGreg Roach										<Footnote>
2579cad7645SGreg Roach											<Gedcom id="@SOUR">
2589cad7645SGreg Roach												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
2599cad7645SGreg Roach												«<GedcomValue tag="TITL" />»
2609cad7645SGreg Roach												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
2619cad7645SGreg Roach											</Gedcom>
2629cad7645SGreg Roach											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
2639cad7645SGreg Roach											 <GedcomValue tag="SOUR:DATA:TEXT" />
2649cad7645SGreg Roach										</Footnote>
2659cad7645SGreg Roach										<SetVar name="source_exist" value="1"/>
2669cad7645SGreg Roach									</RepeatTag>
2679cad7645SGreg Roach									<!-- print level 2 sources attached to NAME -->
2689cad7645SGreg Roach									<RepeatTag tag="NAME:SOUR">
2699cad7645SGreg Roach										<Footnote>
2709cad7645SGreg Roach											<Gedcom id="@SOUR">
2719cad7645SGreg Roach												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
2729cad7645SGreg Roach												«<GedcomValue tag="TITL" />»
2739cad7645SGreg Roach												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
2749cad7645SGreg Roach											</Gedcom>
2759cad7645SGreg Roach											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
2769cad7645SGreg Roach											 <GedcomValue tag="SOUR:DATA:TEXT" />
2779cad7645SGreg Roach										</Footnote>
2789cad7645SGreg Roach										<SetVar name="source_exist" value="1" />
2799cad7645SGreg Roach									</RepeatTag>
2809cad7645SGreg Roach								</if>
2819cad7645SGreg Roach								<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
2829cad7645SGreg Roach							</TextBox>
2839cad7645SGreg Roach						</Gedcom>
2849cad7645SGreg Roach						<!-- mother -->
2859cad7645SGreg Roach						<Gedcom id="@WIFE">
2869cad7645SGreg Roach							<TextBox bgcolor="$fbgcolor" border="1" newline="1" width="$width">
2879cad7645SGreg Roach								<Text color="$tcolor" style="text"><var var="I18N::translate('Mother')"/>  </Text>
2889cad7645SGreg Roach								<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
289e0dcab18SGreg Roach								<if condition="$sources=='on'">
2909cad7645SGreg Roach									<!-- print level 1 sources -->
2919cad7645SGreg Roach									<RepeatTag tag="SOUR">
2929cad7645SGreg Roach										<Footnote>
2939cad7645SGreg Roach											<Gedcom id="@SOUR">
2949cad7645SGreg Roach												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
2959cad7645SGreg Roach												«<GedcomValue tag="TITL" />»
2969cad7645SGreg Roach												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
2979cad7645SGreg Roach											</Gedcom>
2989cad7645SGreg Roach											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
2999cad7645SGreg Roach											 <GedcomValue tag="SOUR:DATA:TEXT" />
3009cad7645SGreg Roach										</Footnote>
3019cad7645SGreg Roach										<SetVar name="source_exist" value="1"/>
3029cad7645SGreg Roach									</RepeatTag>
3039cad7645SGreg Roach									<!-- print level 2 sources attached to NAME -->
3049cad7645SGreg Roach									<RepeatTag tag="NAME:SOUR">
3059cad7645SGreg Roach										<Footnote>
3069cad7645SGreg Roach											<Gedcom id="@SOUR">
3079cad7645SGreg Roach												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
3089cad7645SGreg Roach												«<GedcomValue tag="TITL" />»
3099cad7645SGreg Roach												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
3109cad7645SGreg Roach											</Gedcom>
3119cad7645SGreg Roach											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
3129cad7645SGreg Roach											 <GedcomValue tag="SOUR:DATA:TEXT" />
3139cad7645SGreg Roach										</Footnote>
3149cad7645SGreg Roach										<SetVar name="source_exist" value="1" />
3159cad7645SGreg Roach									</RepeatTag>
3169cad7645SGreg Roach								</if>
3179cad7645SGreg Roach								<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
3189cad7645SGreg Roach							</TextBox>
3199cad7645SGreg Roach						</Gedcom>
3209cad7645SGreg Roach						<!-- siblings -->
3219cad7645SGreg Roach						<RepeatTag tag="CHIL">
3229cad7645SGreg Roach						<if condition="@CHIL!=$mid">
3239cad7645SGreg Roach							<Gedcom id="@CHIL">
3249cad7645SGreg Roach								<!-- Brother -->
3259cad7645SGreg Roach								<if condition="@SEX=='M'">
3269cad7645SGreg Roach									<TextBox bgcolor="$mbgcolor" border="1" left="15" newline="1" width="$width1">
3279cad7645SGreg Roach										<Text color="$tcolor" style="text"><var var="I18N::translate('Brother')"/>  </Text>
3289cad7645SGreg Roach										<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
329e0dcab18SGreg Roach										<if condition="$sources=='on'">
3309cad7645SGreg Roach											<!-- print level 1 sources -->
3319cad7645SGreg Roach											<RepeatTag tag="SOUR">
3329cad7645SGreg Roach												<Footnote>
3339cad7645SGreg Roach													<Gedcom id="@SOUR">
3349cad7645SGreg Roach														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
3359cad7645SGreg Roach														«<GedcomValue tag="TITL" />»
3369cad7645SGreg Roach														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
3379cad7645SGreg Roach													</Gedcom>
3389cad7645SGreg Roach													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
3399cad7645SGreg Roach													 <GedcomValue tag="SOUR:DATA:TEXT" />
3409cad7645SGreg Roach												</Footnote>
3419cad7645SGreg Roach												<SetVar name="source_exist" value="1"/>
3429cad7645SGreg Roach											</RepeatTag>
3439cad7645SGreg Roach											<!-- print level 2 sources attached to NAME -->
3449cad7645SGreg Roach											<RepeatTag tag="NAME:SOUR">
3459cad7645SGreg Roach												<Footnote>
3469cad7645SGreg Roach													<Gedcom id="@SOUR">
3479cad7645SGreg Roach														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
3489cad7645SGreg Roach														«<GedcomValue tag="TITL" />»
3499cad7645SGreg Roach														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
3509cad7645SGreg Roach													</Gedcom>
3519cad7645SGreg Roach													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
3529cad7645SGreg Roach													 <GedcomValue tag="SOUR:DATA:TEXT" />
3539cad7645SGreg Roach												</Footnote>
3549cad7645SGreg Roach												<SetVar name="source_exist" value="1" />
3559cad7645SGreg Roach											</RepeatTag>
3569cad7645SGreg Roach										</if>
3579cad7645SGreg Roach										<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
3589cad7645SGreg Roach									</TextBox>
3599cad7645SGreg Roach								</if>
3609cad7645SGreg Roach								<!-- Sister -->
3619cad7645SGreg Roach								<if condition="@SEX=='F'">
3629cad7645SGreg Roach									<TextBox bgcolor="$fbgcolor" border="1" left="15" newline="1" width="$width1">
3639cad7645SGreg Roach										<Text color="$tcolor" style="text"><var var="I18N::translate('Sister')"/>  </Text>
3649cad7645SGreg Roach										<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
365e0dcab18SGreg Roach										<if condition="$sources=='on'">
3669cad7645SGreg Roach											<!-- print level 1 sources -->
3679cad7645SGreg Roach											<RepeatTag tag="SOUR">
3689cad7645SGreg Roach												<Footnote>
3699cad7645SGreg Roach													<Gedcom id="@SOUR">
3709cad7645SGreg Roach														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
3719cad7645SGreg Roach														«<GedcomValue tag="TITL" />»
3729cad7645SGreg Roach														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
3739cad7645SGreg Roach													</Gedcom>
3749cad7645SGreg Roach													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
3759cad7645SGreg Roach													 <GedcomValue tag="SOUR:DATA:TEXT" />
3769cad7645SGreg Roach												</Footnote>
3779cad7645SGreg Roach												<SetVar name="source_exist" value="1"/>
3789cad7645SGreg Roach											</RepeatTag>
3799cad7645SGreg Roach											<!-- print level 2 sources attached to NAME -->
3809cad7645SGreg Roach											<RepeatTag tag="NAME:SOUR">
3819cad7645SGreg Roach												<Footnote>
3829cad7645SGreg Roach													<Gedcom id="@SOUR">
3839cad7645SGreg Roach														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
3849cad7645SGreg Roach														«<GedcomValue tag="TITL" />»
3859cad7645SGreg Roach														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
3869cad7645SGreg Roach													</Gedcom>
3879cad7645SGreg Roach													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
3889cad7645SGreg Roach													 <GedcomValue tag="SOUR:DATA:TEXT" />
3899cad7645SGreg Roach												</Footnote>
3909cad7645SGreg Roach												<SetVar name="source_exist" value="1" />
3919cad7645SGreg Roach											</RepeatTag>
3929cad7645SGreg Roach										</if>
3939cad7645SGreg Roach										<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
3949cad7645SGreg Roach									</TextBox>
3959cad7645SGreg Roach								</if>
3969cad7645SGreg Roach								<!-- Unknown gender for Sibling -->
3979cad7645SGreg Roach								<if condition="@SEX=='U'">
3989cad7645SGreg Roach									<TextBox bgcolor="$ugbgcolor" border="1" left="15" newline="1" width="$width1">
3999cad7645SGreg Roach										<Text color="$tcolor" style="text"><var var="I18N::translate('Gender')"/> <var var="I18N::translateContext('unknown gender', 'Unknown')"/>  </Text>
4009cad7645SGreg Roach										<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
401e0dcab18SGreg Roach										<if condition="$sources=='on'">
4029cad7645SGreg Roach											<!-- print level 1 sources -->
4039cad7645SGreg Roach											<RepeatTag tag="SOUR">
4049cad7645SGreg Roach												<Footnote>
4059cad7645SGreg Roach													<Gedcom id="@SOUR">
4069cad7645SGreg Roach														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
4079cad7645SGreg Roach														«<GedcomValue tag="TITL" />»
4089cad7645SGreg Roach														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
4099cad7645SGreg Roach													</Gedcom>
4109cad7645SGreg Roach													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
4119cad7645SGreg Roach													 <GedcomValue tag="SOUR:DATA:TEXT" />
4129cad7645SGreg Roach												</Footnote>
4139cad7645SGreg Roach												<SetVar name="source_exist" value="1"/>
4149cad7645SGreg Roach											</RepeatTag>
4159cad7645SGreg Roach											<!-- print level 2 sources attached to NAME -->
4169cad7645SGreg Roach											<RepeatTag tag="NAME:SOUR">
4179cad7645SGreg Roach												<Footnote>
4189cad7645SGreg Roach													<Gedcom id="@SOUR">
4199cad7645SGreg Roach														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
4209cad7645SGreg Roach														«<GedcomValue tag="TITL" />»
4219cad7645SGreg Roach														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
4229cad7645SGreg Roach													</Gedcom>
4239cad7645SGreg Roach													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
4249cad7645SGreg Roach													 <GedcomValue tag="SOUR:DATA:TEXT" />
4259cad7645SGreg Roach												</Footnote>
4269cad7645SGreg Roach												<SetVar name="source_exist" value="1" />
4279cad7645SGreg Roach											</RepeatTag>
4289cad7645SGreg Roach										</if>
4299cad7645SGreg Roach										<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
4309cad7645SGreg Roach									</TextBox>
4319cad7645SGreg Roach								</if>
4329cad7645SGreg Roach							</Gedcom>
4339cad7645SGreg Roach						  </if>
4349cad7645SGreg Roach						</RepeatTag>
4359cad7645SGreg Roach					</Gedcom>
4369cad7645SGreg Roach				</RepeatTag>
4379cad7645SGreg Roach				<!-- print family with spouse and children -->
4389cad7645SGreg Roach				<RepeatTag tag="FAMS">
4399cad7645SGreg Roach					<Gedcom id="@FAMS">
4409cad7645SGreg Roach						<!-- print wife if person is husband -->
4419cad7645SGreg Roach						<if condition="$sex=='M'">
4429cad7645SGreg Roach							<TextBox height="$sheight" newline="1" padding="0" width="15"/>
4439cad7645SGreg Roach							<Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><var var="I18N::translate('Family with wife')"/></Cell>
4449cad7645SGreg Roach							<SetVar name="spid" value="@WIFE"/>
4459cad7645SGreg Roach						</if>
4469cad7645SGreg Roach						<!-- print husband if person is wife -->
4479cad7645SGreg Roach						<if condition="$sex=='F'">
4489cad7645SGreg Roach							<TextBox height="$sheight" newline="1" padding="0" width="15"/>
4499cad7645SGreg Roach							<Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><var var="I18N::translate('Family with husband')"/></Cell>
4509cad7645SGreg Roach							<SetVar name="spid" value="@HUSB"/>
4519cad7645SGreg Roach						</if>
4529cad7645SGreg Roach						<!-- print information for spouse -->
4539cad7645SGreg Roach						<Gedcom id="$spid">
4549cad7645SGreg Roach							<!-- husband -->
4559cad7645SGreg Roach							<if condition="@SEX!='F'">
4569cad7645SGreg Roach								<TextBox bgcolor="$mbgcolor" border="1" newline="1" width="$width">
4579cad7645SGreg Roach									<Text color="$tcolor" style="text"><var var="I18N::translate('Husband')"/>  </Text>
4589cad7645SGreg Roach									<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
459e0dcab18SGreg Roach									<if condition="$sources=='on'">
4609cad7645SGreg Roach										<!-- print level 1 sources -->
4619cad7645SGreg Roach										<RepeatTag tag="SOUR">
4629cad7645SGreg Roach											<Footnote>
4639cad7645SGreg Roach												<Gedcom id="@SOUR">
4649cad7645SGreg Roach													<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
4659cad7645SGreg Roach													«<GedcomValue tag="TITL" />»
4669cad7645SGreg Roach													<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
4679cad7645SGreg Roach												</Gedcom>
4689cad7645SGreg Roach												<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
4699cad7645SGreg Roach												 <GedcomValue tag="SOUR:DATA:TEXT" />
4709cad7645SGreg Roach											</Footnote>
4719cad7645SGreg Roach											<SetVar name="source_exist" value="1"/>
4729cad7645SGreg Roach										</RepeatTag>
4739cad7645SGreg Roach										<!-- print level 2 sources attached to NAME -->
4749cad7645SGreg Roach										<RepeatTag tag="NAME:SOUR">
4759cad7645SGreg Roach											<Footnote>
4769cad7645SGreg Roach												<Gedcom id="@SOUR">
4779cad7645SGreg Roach													<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
4789cad7645SGreg Roach													«<GedcomValue tag="TITL" />»
4799cad7645SGreg Roach													<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
4809cad7645SGreg Roach												</Gedcom>
4819cad7645SGreg Roach												<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
4829cad7645SGreg Roach												 <GedcomValue tag="SOUR:DATA:TEXT" />
4839cad7645SGreg Roach											</Footnote>
4849cad7645SGreg Roach											<SetVar name="source_exist" value="1" />
4859cad7645SGreg Roach										</RepeatTag>
4869cad7645SGreg Roach									</if>
4879cad7645SGreg Roach									<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
4889cad7645SGreg Roach								</TextBox>
4899cad7645SGreg Roach							</if>
4909cad7645SGreg Roach							<!-- wife -->
4919cad7645SGreg Roach							<if condition="@SEX=='F'">
4929cad7645SGreg Roach								<TextBox bgcolor="$fbgcolor" border="1" newline="1" width="$width">
4939cad7645SGreg Roach									<Text color="$tcolor" style="text"><var var="I18N::translate('Wife')"/>  </Text>
4949cad7645SGreg Roach									<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
495e0dcab18SGreg Roach									<if condition="$sources=='on'">
4969cad7645SGreg Roach										<!-- print level 1 sources -->
4979cad7645SGreg Roach										<RepeatTag tag="SOUR">
4989cad7645SGreg Roach											<Footnote>
4999cad7645SGreg Roach												<Gedcom id="@SOUR">
5009cad7645SGreg Roach													<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
5019cad7645SGreg Roach													«<GedcomValue tag="TITL" />»
5029cad7645SGreg Roach													<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
5039cad7645SGreg Roach												</Gedcom>
5049cad7645SGreg Roach												<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
5059cad7645SGreg Roach												 <GedcomValue tag="SOUR:DATA:TEXT" />
5069cad7645SGreg Roach											</Footnote>
5079cad7645SGreg Roach											<SetVar name="source_exist" value="1"/>
5089cad7645SGreg Roach										</RepeatTag>
5099cad7645SGreg Roach										<!-- print level 2 sources attached to NAME -->
5109cad7645SGreg Roach										<RepeatTag tag="NAME:SOUR">
5119cad7645SGreg Roach											<Footnote>
5129cad7645SGreg Roach												<Gedcom id="@SOUR">
5139cad7645SGreg Roach													<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
5149cad7645SGreg Roach													«<GedcomValue tag="TITL" />»
5159cad7645SGreg Roach													<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
5169cad7645SGreg Roach												</Gedcom>
5179cad7645SGreg Roach												<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
5189cad7645SGreg Roach												 <GedcomValue tag="SOUR:DATA:TEXT" />
5199cad7645SGreg Roach											</Footnote>
5209cad7645SGreg Roach											<SetVar name="source_exist" value="1" />
5219cad7645SGreg Roach										</RepeatTag>
5229cad7645SGreg Roach									</if>
5239cad7645SGreg Roach									<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
5249cad7645SGreg Roach								</TextBox>
5259cad7645SGreg Roach							</if>
5269cad7645SGreg Roach						</Gedcom>
5279cad7645SGreg Roach						<!-- print children with spouse -->
5289cad7645SGreg Roach						<RepeatTag tag="CHIL">
5299cad7645SGreg Roach							<if condition="@CHIL!=$mid">
5309cad7645SGreg Roach								<Gedcom id="@CHIL">
5319cad7645SGreg Roach								<!-- Son -->
5329cad7645SGreg Roach								<if condition="@SEX=='M'">
5339cad7645SGreg Roach									<TextBox bgcolor="$mbgcolor" border="1" left="15" newline="1" width="$width1">
5349cad7645SGreg Roach										<Text color="$tcolor" style="text"><var var="I18N::translate('Son')"/>  </Text>
5359cad7645SGreg Roach										<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
536e0dcab18SGreg Roach										<if condition="$sources=='on'">
5379cad7645SGreg Roach											<!-- print level 1 sources -->
5389cad7645SGreg Roach											<RepeatTag tag="SOUR">
5399cad7645SGreg Roach												<Footnote>
5409cad7645SGreg Roach													<Gedcom id="@SOUR">
5419cad7645SGreg Roach														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
5429cad7645SGreg Roach														«<GedcomValue tag="TITL" />»
5439cad7645SGreg Roach														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
5449cad7645SGreg Roach													</Gedcom>
5459cad7645SGreg Roach													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
5469cad7645SGreg Roach													 <GedcomValue tag="SOUR:DATA:TEXT" />
5479cad7645SGreg Roach												</Footnote>
5489cad7645SGreg Roach												<SetVar name="source_exist" value="1"/>
5499cad7645SGreg Roach											</RepeatTag>
5509cad7645SGreg Roach											<!-- print level 2 sources attached to NAME -->
5519cad7645SGreg Roach											<RepeatTag tag="NAME:SOUR">
5529cad7645SGreg Roach												<Footnote>
5539cad7645SGreg Roach													<Gedcom id="@SOUR">
5549cad7645SGreg Roach														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
5559cad7645SGreg Roach														«<GedcomValue tag="TITL" />»
5569cad7645SGreg Roach														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
5579cad7645SGreg Roach													</Gedcom>
5589cad7645SGreg Roach													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
5599cad7645SGreg Roach													 <GedcomValue tag="SOUR:DATA:TEXT" />
5609cad7645SGreg Roach												</Footnote>
5619cad7645SGreg Roach												<SetVar name="source_exist" value="1" />
5629cad7645SGreg Roach											</RepeatTag>
5639cad7645SGreg Roach										</if>
5649cad7645SGreg Roach										<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
5659cad7645SGreg Roach									</TextBox>
5669cad7645SGreg Roach								</if>
5679cad7645SGreg Roach								<!-- Daughter -->
5689cad7645SGreg Roach								<if condition="@SEX=='F'">
5699cad7645SGreg Roach									<TextBox bgcolor="$fbgcolor" border="1" left="15" newline="1" width="$width1">
5709cad7645SGreg Roach										<Text color="$tcolor" style="text"><var var="I18N::translate('Daughter')"/>  </Text>
5719cad7645SGreg Roach										<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
572e0dcab18SGreg Roach										<if condition="$sources=='on'">
5739cad7645SGreg Roach											<!-- print level 1 sources -->
5749cad7645SGreg Roach											<RepeatTag tag="SOUR">
5759cad7645SGreg Roach												<Footnote>
5769cad7645SGreg Roach													<Gedcom id="@SOUR">
5779cad7645SGreg Roach														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
5789cad7645SGreg Roach														«<GedcomValue tag="TITL" />»
5799cad7645SGreg Roach														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
5809cad7645SGreg Roach													</Gedcom>
5819cad7645SGreg Roach													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
5829cad7645SGreg Roach													 <GedcomValue tag="SOUR:DATA:TEXT" />
5839cad7645SGreg Roach												</Footnote>
5849cad7645SGreg Roach												<SetVar name="source_exist" value="1"/>
5859cad7645SGreg Roach											</RepeatTag>
5869cad7645SGreg Roach											<!-- print level 2 sources attached to NAME -->
5879cad7645SGreg Roach											<RepeatTag tag="NAME:SOUR">
5889cad7645SGreg Roach												<Footnote>
5899cad7645SGreg Roach													<Gedcom id="@SOUR">
5909cad7645SGreg Roach														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
5919cad7645SGreg Roach														«<GedcomValue tag="TITL" />»
5929cad7645SGreg Roach														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
5939cad7645SGreg Roach													</Gedcom>
5949cad7645SGreg Roach													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
5959cad7645SGreg Roach													 <GedcomValue tag="SOUR:DATA:TEXT" />
5969cad7645SGreg Roach												</Footnote>
5979cad7645SGreg Roach												<SetVar name="source_exist" value="1" />
5989cad7645SGreg Roach											</RepeatTag>
5999cad7645SGreg Roach										</if>
6009cad7645SGreg Roach										<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
6019cad7645SGreg Roach									</TextBox>
6029cad7645SGreg Roach								</if>
6039cad7645SGreg Roach								<!-- Unknown gender for Child -->
6049cad7645SGreg Roach								<if condition="@SEX=='U'">
6059cad7645SGreg Roach									<TextBox bgcolor="$ugbgcolor" border="1" left="15" newline="1" width="$width1">
6069cad7645SGreg Roach										<Text color="$tcolor" style="text"><var var="I18N::translate('Gender')"/> <var var="I18N::translateContext('unknown gender', 'Unknown')"/>  </Text>
6079cad7645SGreg Roach										<Text color="$tcolor" style="name"><GetPersonName id=""/></Text>
608e0dcab18SGreg Roach										<if condition="$sources=='on'">
6099cad7645SGreg Roach											<!-- print level 1 sources -->
6109cad7645SGreg Roach											<RepeatTag tag="SOUR">
6119cad7645SGreg Roach												<Footnote>
6129cad7645SGreg Roach													<Gedcom id="@SOUR">
6139cad7645SGreg Roach														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
6149cad7645SGreg Roach														«<GedcomValue tag="TITL" />»
6159cad7645SGreg Roach														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
6169cad7645SGreg Roach													</Gedcom>
6179cad7645SGreg Roach													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
6189cad7645SGreg Roach													 <GedcomValue tag="SOUR:DATA:TEXT" />
6199cad7645SGreg Roach												</Footnote>
6209cad7645SGreg Roach												<SetVar name="source_exist" value="1"/>
6219cad7645SGreg Roach											</RepeatTag>
6229cad7645SGreg Roach											<!-- print level 2 sources attached to NAME -->
6239cad7645SGreg Roach											<RepeatTag tag="NAME:SOUR">
6249cad7645SGreg Roach												<Footnote>
6259cad7645SGreg Roach													<Gedcom id="@SOUR">
6269cad7645SGreg Roach														<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
6279cad7645SGreg Roach														«<GedcomValue tag="TITL" />»
6289cad7645SGreg Roach														<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
6299cad7645SGreg Roach													</Gedcom>
6309cad7645SGreg Roach													<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
6319cad7645SGreg Roach													 <GedcomValue tag="SOUR:DATA:TEXT" />
6329cad7645SGreg Roach												</Footnote>
6339cad7645SGreg Roach												<SetVar name="source_exist" value="1" />
6349cad7645SGreg Roach											</RepeatTag>
6359cad7645SGreg Roach										</if>
6369cad7645SGreg Roach										<Text color="$tcolor" style="text">  (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
6379cad7645SGreg Roach									</TextBox>
6389cad7645SGreg Roach								</if>
6399cad7645SGreg Roach							</Gedcom>
6409cad7645SGreg Roach						  </if>
6419cad7645SGreg Roach						</RepeatTag>
6429cad7645SGreg Roach					</Gedcom>
6439cad7645SGreg Roach				</RepeatTag>
6449cad7645SGreg Roach			</Relatives>
6459cad7645SGreg Roach		</Body>
6469cad7645SGreg Roach		<!-- if the sources were on, print the source citations as footnotes -->
6479cad7645SGreg Roach		<if condition="$source_exist==1">
6489cad7645SGreg Roach			<!-- add a new page -->
6499cad7645SGreg Roach			<NewPage/>
6509cad7645SGreg Roach				<TextBox newline="1">
6519cad7645SGreg Roach					<Text style="pageheader"><var var="I18N::translate('Sources')"/><br /><br /></Text>
6529cad7645SGreg Roach					<FootnoteTexts/>
6539cad7645SGreg Roach				</TextBox>
6549cad7645SGreg Roach		</if>
6559cad7645SGreg Roach		<Footer>
6569cad7645SGreg Roach			<Cell align="rightrtl" newline="1" style="date"><Now/></Cell>
6579cad7645SGreg Roach		</Footer>
6589cad7645SGreg Roach	</Doc>
6599cad7645SGreg Roach</Report>
660