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