VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /var/www/html/webtrees/resources/xml/reports/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/webtrees/resources/xml/reports/family_group_report.xml
<?xml version="1.0" encoding="UTF-8" ?>
<Report>
	<Title><var var="I18N::translate('Family')" /></Title>
	<Description><var var="I18N::translate('A report of family members and their details.')" /></Description>
	<!-- User inputs for the report -->
	<Input name="famid" lookup="FAM" type="text" default=""><var var="I18N::translate('Family')" /></Input>
	<Input name="sources" type="checkbox" default="1"><var var="I18N::translate('Show sources')" /></Input>
	<Input name="notes" type="checkbox" default="1"><var var="I18N::translate('Show notes')" /></Input>
	<Input name="photos" type="checkbox" default="1"><var var="I18N::translate('Show photos')" /></Input>
	<Input name="blanks" type="checkbox" default="0"><var var="I18N::translate('Print basic events when blank')" /></Input>
	<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>
	<Input name="colors" type="checkbox" default="1"><var var="I18N::translate('Use colors')"/></Input>
	<!--
	<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>
	-->
	<SetVar name="fonts" value="dejavusans" />

	<!-- Header -->
	<Style name="header" font="$fonts" size="18" />
	<!-- Generated by style - required style name by the generator -->
	<Style name="genby" font="$fonts" size="8" />
	<!-- Links to sources - required style name by the generator -->
	<Style name="footnotenum" font="$fonts" size="6" />
	<!-- Source text - FootnoteTexts - required style name by the generator -->
	<Style name="footnote" font="$fonts" size="8" />
	<!-- Page numbers text -->
	<Style name="pagenum" font="$fonts" size="8" />
	<!-- Page Header text -->
	<Style name="pageheader" font="$fonts" size="14"/>
	<!-- Individual names in text boxes -->
	<Style name="name" font="$fonts" size="10" style="b"/>
	<!-- Standard text -->
	<Style name="text" font="$fonts" size="9" />
	<!-- Facts text -->
	<Style name="fact" font="$fonts" size="8"/>
	<!-- Date -->
	<Style name="date" font="$fonts" size="8"/>

	<SetVar name="ignore" value="CHAN,NAME,SEX,SOUR,NOTE,OBJE,RESN,FAMC,FAMS,TITL,CHIL,HUSB,WIFE,MARR,BIRT,CHR,BAPM,DEAT,CREM,BURI,_UID,_WT_OBJE_SORT" />
	<!-- Setup colors -->
	<!-- Section title background color -->
	<SetVar name="sectionbox_bgcolor" value="#AAAAAA"/>
	<SetVar name="malebox_bgcolor" value=""/>
	<SetVar name="femalebox_bgcolor" value=""/>
	<SetVar name="unknowngenderbox_bgcolor" value=""/>
	<SetVar name="factbox_bgcolor" value=""/>
	<SetVar name="tcolor" value=""/>
	<!-- Use colors -->
	<if condition="$colors=='on'">
		<!-- Section title background color -->
		<SetVar name="sectionbox_bgcolor" value="#9CA3D4"/>
		<!-- Male background color -->
		<SetVar name="malebox_bgcolor" value="#D6E0EA"/>
		<!-- Female background color -->
		<SetVar name="femalebox_bgcolor" value="#E9DAF1"/>
		<!-- Unknown gender -->
		<SetVar name="unknowngenderbox_bgcolor" value="#FFFFFF"/>
		<!-- Fact boxes -->
		<SetVar name="factbox_bgcolor" value="#D1D9FF"/>
		<!-- Text color - black -->
		<SetVar name="tcolor" value="#000000"/>
	</if>

	<!-- space height -->
	<SetVar name="sheight" value="15"/>

	<!-- set the default widths -->
	<SetVar name="width" value="0" />
	<SetVar name="width1" value="0" />
	<SetVar name="width2" value="0" />
	<SetVar name="dwidth" value="185" />
	<SetVar name="pwidth" value="436" />
	<!-- reset the widths if the photos are shown -->
	<if condition="$photos=='on'">
		<SetVar name="width" value="433" />
		<SetVar name="width1" value="418" />
		<SetVar name="width2" value="233" />
	</if>
	<!-- New Page for Sources controller if SOUR exist -->
	<SetVar name="source_exist" value="0"/>

	<!-- start of main report document -->
	<Doc pageSize="$pageSize">
		<SetVar name="husbid" value="@HUSB" />
		<SetVar name="wifeid" value="@WIFE" />

		<Header>
			<Cell align="center" newline="1" style="header"><var var="I18N::translate('Family')" /></Cell>
			<Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
		</Header>

		<Body>
			<Gedcom id="$famid">
				<!-- Print the Family name with Level 1 sources -->
				<TextBox newline="1">
					<Text style="pageheader"><var var="I18N::translate('Family')" /> <GetPersonName id=""/> </Text>
					<if condition="$sources=='on'">
						<!-- print level 1 sources -->
						<RepeatTag tag="SOUR">
							<Footnote>
								<Gedcom id="@SOUR">
									<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
									«<GedcomValue tag="TITL" />»
									<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
								</Gedcom>
								<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
								 <GedcomValue tag="SOUR:DATA:TEXT" />
							</Footnote>
							<SetVar name="source_exist" value="1"/>
						</RepeatTag>
						<!-- print level 2 sources attached to NAME -->
						<RepeatTag tag="NAME:SOUR">
							<Footnote>
								<Gedcom id="@SOUR">
									<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
									«<GedcomValue tag="TITL" />»
									<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
								</Gedcom>
								<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
								 <GedcomValue tag="SOUR:DATA:TEXT" />
							</Footnote>
							<SetVar name="source_exist" value="1" />
						</RepeatTag>
					</if>
				</TextBox>

				<!-- Show all family images -->
				<if condition="$photos=='on'">
					<!-- This is an image not a text, so don't use text padding
					Reset also the last height after all the images has been printed
					set pagecheck to 0, the image function check is too
					and "trick" the X-position back to the margin with a newline -->
					<TextBox left="$pwidth" newline="1" pagecheck="0" padding="0" reseth="1" width="80">
						<RepeatTag tag="OBJE">
							<Image file="@FILE" width="80" ln="N"/>
						</RepeatTag>
					</TextBox>
				</if>

				<!-- Print the husband -->
				<Gedcom id="@HUSB">
					<if condition="$photos=='on'">
						<HighlightedImage left="$pwidth" width="80"/>
					</if>
					<!-- print the name and any level 1 sources -->
					<TextBox bgcolor="$malebox_bgcolor" border="1" left ="0" width="$width" newline="1">
						<Text color="$tcolor" style="text"><var var="I18N::translate('Husband')" />  </Text>
						<Text color="$tcolor" style="name"><GetPersonName id="" /> </Text>
						<if condition="$sources=='on'">
							<!-- print level 1 sources -->
							<RepeatTag tag="SOUR">
								<Footnote>
									<Gedcom id="@SOUR">
										<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
										«<GedcomValue tag="TITL" />»
										<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
									</Gedcom>
									<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
									 <GedcomValue tag="SOUR:DATA:TEXT" />
								</Footnote>
								<SetVar name="source_exist" value="1"/>
							</RepeatTag>
							<!-- print level 2 sources attached to NAME -->
							<RepeatTag tag="NAME:SOUR">
								<Footnote>
									<Gedcom id="@SOUR">
										<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
										«<GedcomValue tag="TITL" />»
										<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
									</Gedcom>
									<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
									 <GedcomValue tag="SOUR:DATA:TEXT" />
								</Footnote>
								<SetVar name="source_exist" value="1" />
							</RepeatTag>
						</if>
					</TextBox>

					<if condition="$blanks==='on' or @BIRT:DATE!='' or @BIRT:PLAC!=''">
						<!-- print Birth -->
						<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
							<Text color="$tcolor" style="fact"><var var="I18N::translate('Birth')" />  </Text>
							<Text color="$tcolor" style="text"><GedcomValue tag="BIRT:DATE" /> </Text>
							<if condition="$sources=='on'">
								<RepeatTag tag="BIRT:SOUR">
									<Footnote>
										<Gedcom id="@SOUR">
											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
											«<GedcomValue tag="TITL" />»
											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
										</Gedcom>
										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
										 <GedcomValue tag="SOUR:DATA:TEXT" />
									</Footnote>
									<SetVar name="source_exist" value="1"/>
								</RepeatTag>
							</if>
						</TextBox>
						<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
							<Text color="$tcolor" style="text"><GedcomValue tag="BIRT:PLAC" /></Text>
						</TextBox>
					</if>
					<if condition="$blanks==='on' or @CHR:DATE!='' or @CHR:PLAC!=''">
						<!-- print Christening -->
						<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
							<Text color="$tcolor" style="fact"><var var="I18N::translate('Christening')" />  </Text>
							<Text color="$tcolor" style="text"><GedcomValue tag="CHR:DATE" /> </Text>
							<if condition="$sources=='on'">
								<RepeatTag tag="CHR:SOUR">
									<Footnote>
										<Gedcom id="@SOUR">
											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
											«<GedcomValue tag="TITL" />»
											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
										</Gedcom>
										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
										 <GedcomValue tag="SOUR:DATA:TEXT" />
									</Footnote>
									<SetVar name="source_exist" value="1"/>
								</RepeatTag>
							</if>
						</TextBox>
						<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
							<Text color="$tcolor" style="text"><GedcomValue tag="CHR:PLAC" /></Text>
						</TextBox>
					</if>

					<!-- print all of the other facts -->
					<Facts ignore="$ignore">
						<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
							<Text color="$tcolor" style="fact"><var var="@fact" />  </Text>
							<Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE" /> </Text>
							<if condition="$sources=='on'">
								<RepeatTag tag="@fact:SOUR">
									<Footnote>
										<Gedcom id="@SOUR">
											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
											«<GedcomValue tag="TITL" />»
											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
										</Gedcom>
										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
										 <GedcomValue tag="SOUR:DATA:TEXT" />
									</Footnote>
									<SetVar name="source_exist" value="1"/>
								</RepeatTag>
							</if>
						</TextBox>
						<if condition="@desc!=''">
							<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
								<Text color="$tcolor" style="text">
									<if condition="@desc=='Y'">
										<var var="I18N::translate('yes')" />  <GedcomValue tag="@fact:PLAC"/>
									</if>
									<if condition="@desc=='N'">
										<var var="I18N::translate('no')" />  <GedcomValue tag="@fact:PLAC"/>
									</if>
								<if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!=''">
									<GedcomValue tag="@desc"/>  <GedcomValue tag="@fact:PLAC"/>
								</if>
								<if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC==''">
									<GedcomValue tag="@desc"/>
								</if>
								</Text>
								<Gedcom id="@ASSO">
									 <GetPersonName id=""/>
								</Gedcom>
							</TextBox>
						</if>
						<if condition="@desc==''">
							<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
								<Text color="$tcolor" style="text">
									<if condition="@PLAC!='' and @TEMP!=''">
										<GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" />
									</if>
									<if condition="@PLAC!='' and @TEMP==''">
										<GedcomValue tag="@fact:PLAC" />
									</if>
									<if condition="@PLAC=='' and @TEMP!=''">
										<GedcomValue tag="@fact:TEMP" />
									</if>
								</Text>
							</TextBox>
						</if>
					</Facts>

					<if condition="$blanks==='on' or @DEAT:DATE!='' or @DEAT:PLAC!=''">
						<!-- print Death -->
						<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
							<Text color="$tcolor" style="fact"><var var="I18N::translate('Death')" />  </Text>
							<Text color="$tcolor" style="text"><GedcomValue tag="DEAT:DATE" /> </Text>
							<if condition="$sources=='on'">
								<RepeatTag tag="DEAT:SOUR">
									<Footnote>
										<Gedcom id="@SOUR">
											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
											«<GedcomValue tag="TITL" />»
											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
										</Gedcom>
										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
										 <GedcomValue tag="SOUR:DATA:TEXT" />
									</Footnote>
									<SetVar name="source_exist" value="1"/>
								</RepeatTag>
							</if>
						</TextBox>
						<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
							<Text color="$tcolor" style="text"><GedcomValue tag="DEAT:PLAC" /></Text>
						</TextBox>
					</if>
					<!-- indicates that a Level 1 CREM record is not present -->
					<SetVar name="level1CREM" value="0" />
					<if condition="$blanks==='on' or @CREM:DATE!='' or @CREM:PLAC!=''">
						<!-- print Cremation -->
						<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
							<Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" />  </Text>
							<Text color="$tcolor" style="text"><GedcomValue tag="CREM:DATE" /> </Text>
							<if condition="$sources=='on'">
								<RepeatTag tag="CREM:SOUR">
									<Footnote>
										<Gedcom id="@SOUR">
											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
											«<GedcomValue tag="TITL" />»
											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
										</Gedcom>
										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
										 <GedcomValue tag="SOUR:DATA:TEXT" />
									</Footnote>
									<SetVar name="source_exist" value="1"/>
								</RepeatTag>
							</if>
						</TextBox>
						<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
							<Text color="$tcolor" style="text"><GedcomValue tag="CREM:PLAC" /></Text>
						</TextBox>
						<!-- indicates that a Level 1 CREM record is present -->
						<SetVar name="level1CREM" value="1" />
					</if>
					<if condition="$blanks==='on' or @BURI:CREM!='' or @BURI:DATE!='' or @BURI:PLAC!=''">
						<!-- Look for Level 2 CREM subordinate to BURI (should have been at Level 1) -->
						<if condition="@BURI:CREM!='' and $level1CREM!=1">
							<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
								<Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" />  </Text>
								<Text color="$tcolor" style="text"> </Text>
							</TextBox>
							<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
								<Text color="$tcolor" style="text"> </Text>
							</TextBox>
						</if>
						<!-- Now for the real BURI information -->
						<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
							<Text color="$tcolor" style="fact"><var var="I18N::translate('Burial')" />  </Text>
							<Text color="$tcolor" style="text"><GedcomValue tag="BURI:DATE" /> </Text>
							<if condition="$sources=='on'">
								<RepeatTag tag="BURI:SOUR">
									<Footnote>
										<Gedcom id="@SOUR">
											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
											«<GedcomValue tag="TITL" />»
											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
										</Gedcom>
										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
										 <GedcomValue tag="SOUR:DATA:TEXT" />
									</Footnote>
									<SetVar name="source_exist" value="1"/>
								</RepeatTag>
							</if>
						</TextBox>
						<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
							<Text color="$tcolor" style="text"><GedcomValue tag="BURI:PLAC" /></Text>
						</TextBox>
					</if>

					<Gedcom id="$famid">
						<if condition="$blanks==='on' or @MARR:DATE!='' or @MARR:PLAC!=''">
							<!-- print Marriage -->
							<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
								<Text color="$tcolor" style="fact"><var var="I18N::translate('Marriage')" />  </Text>
								<Text color="$tcolor" style="text"><GedcomValue tag="MARR:DATE" /> </Text>
								<if condition="$sources=='on'">
									<RepeatTag tag="MARR:SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1"/>
									</RepeatTag>
								</if>
							</TextBox>
							<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
								<Text color="$tcolor" style="text"><GedcomValue tag="MARR:PLAC" /></Text>
							</TextBox>
						</if>

						<!-- print all of the other family facts -->
						<Facts ignore="$ignore">
							<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
								<Text color="$tcolor" style="fact"><var var="@fact" />  </Text>
								<Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE" /> </Text>
								<if condition="$sources=='on'">
									<RepeatTag tag="@fact:SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1"/>
									</RepeatTag>
								</if>
							</TextBox>
							<if condition="@desc!=''">
								<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
									<Text color="$tcolor" style="text">
										<if condition="@desc=='Y'">
											<var var="I18N::translate('yes')" />  <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" />
										</if>
										<if condition="@desc=='N'">
											<var var="I18N::translate('no')" />  <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" />
										</if>
										<if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!='' and @TEMP!=''">
											<GedcomValue tag="@desc"/>  <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" />
										</if>
										<if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC=='' and @TEMP!=''">
											<GedcomValue tag="@desc"/>  <GedcomValue tag="@fact:TEMP" />
										</if>
										<if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!='' and @TEMP==''">
											<GedcomValue tag="@desc"/>  <GedcomValue tag="@fact:PLAC" />
										</if>
										<if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC=='' and @TEMP==''">
											<GedcomValue tag="@desc" />
										</if>
									</Text>
									<Gedcom id="@ASSO">
										 <GetPersonName id=""/>
									</Gedcom>
								</TextBox>
							</if>
							<if condition="@desc==''">
								<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
									<Text color="$tcolor" style="text">
										<if condition="@PLAC!='' and @TEMP!=''">
											<GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" />
										</if>
										<if condition="@PLAC!='' and @TEMP==''">
											<GedcomValue tag="@fact:PLAC" />
										</if>
										<if condition="@PLAC=='' and @TEMP!=''">
											<GedcomValue tag="@fact:TEMP" />
										</if>
									</Text>
								</TextBox>
							</if>
						</Facts>
					</Gedcom>

					<!-- print the father and mother of the main husband -->
					<Gedcom id="@FAMC">
						<TextBox bgcolor="$malebox_bgcolor" border="1" left="15" width="$width1" newline="1">
							<Text color="$tcolor" style="fact"><var var="I18N::translate('Father')" />  </Text>
							<Text color="$tcolor" style="name"><GetPersonName id="@HUSB" /></Text>
							<Gedcom id="@HUSB">
								<Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text>
							</Gedcom>
						</TextBox>
						<TextBox bgcolor="$femalebox_bgcolor" border="1" left="15" width="$width1" newline="1">
							<Text color="$tcolor" style="fact"><var var="I18N::translate('Mother')" />  </Text>
							<Text color="$tcolor" style="name"><GetPersonName id="@WIFE" /></Text>
							<Gedcom id="@WIFE">
								<Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text>
							</Gedcom>
						</TextBox>
					</Gedcom>
					<!-- print any notes for the husband -->
					<if condition="$notes=='on'">
						<RepeatTag tag="NOTE">
							<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$width1" newline="1">
								<Text color="$tcolor" style="name"><var var="I18N::translate('Note')" />  </Text>
								<Text color="$tcolor" style="text"><GedcomValue tag="NOTE" /></Text>
							</TextBox>
						</RepeatTag>
					</if>
					<TextBox height="$sheight" newline="1"/>
				</Gedcom>
				<!-- end of main husband -->

				<!-- Print the wife -->
				<Gedcom id="@WIFE">
					<if condition="$photos=='on'">
						<HighlightedImage left="$pwidth" width="80"/>
					</if>
					<!-- print the name and sources -->
					<TextBox bgcolor="$femalebox_bgcolor" border="1" left="0" width="$width" newline="1">
						<Text color="$tcolor" style="text"><var var="I18N::translate('Wife')" />  </Text>
						<Text color="$tcolor" style="name"><GetPersonName id="" /> </Text>
						<if condition="$sources=='on'">
							<!-- print level 1 sources -->
							<RepeatTag tag="SOUR">
								<Footnote>
									<Gedcom id="@SOUR">
										<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
										«<GedcomValue tag="TITL" />»
										<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
									</Gedcom>
									<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
									 <GedcomValue tag="SOUR:DATA:TEXT" />
								</Footnote>
								<SetVar name="source_exist" value="1"/>
							</RepeatTag>
							<!-- print level 2 sources attached to NAME -->
							<RepeatTag tag="NAME:SOUR">
								<Footnote>
									<Gedcom id="@SOUR">
										<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
										«<GedcomValue tag="TITL" />»
										<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
									</Gedcom>
									<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
									 <GedcomValue tag="SOUR:DATA:TEXT" />
								</Footnote>
								<SetVar name="source_exist" value="1" />
							</RepeatTag>
						</if>
					</TextBox>

					<if condition="$blanks==='on' or @BIRT:DATE!='' or @BIRT:PLAC!=''">
						<!-- print Birth -->
						<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
							<Text color="$tcolor" style="fact"><var var="I18N::translate('Birth')" />  </Text>
							<Text color="$tcolor" style="text"><GedcomValue tag="BIRT:DATE" /> </Text>
							<if condition="$sources=='on'">
								<RepeatTag tag="BIRT:SOUR">
									<Footnote>
										<Gedcom id="@SOUR">
											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
											«<GedcomValue tag="TITL" />»
											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
										</Gedcom>
										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
										 <GedcomValue tag="SOUR:DATA:TEXT" />
									</Footnote>
									<SetVar name="source_exist" value="1"/>
								</RepeatTag>
							</if>
						</TextBox>
						<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
							<Text color="$tcolor" style="text"><GedcomValue tag="BIRT:PLAC" /></Text>
						</TextBox>
					</if>
					<if condition="$blanks==='on' or @CHR:DATE!='' or @CHR:PLAC!=''">
						<!-- print Christening -->
						<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
							<Text color="$tcolor" style="fact"><var var="I18N::translate('Christening')" />  </Text>
							<Text color="$tcolor" style="text"><GedcomValue tag="CHR:DATE" /> </Text>
							<if condition="$sources=='on'">
								<RepeatTag tag="CHR:SOUR">
									<Footnote>
										<Gedcom id="@SOUR">
											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
											«<GedcomValue tag="TITL" />»
											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
										</Gedcom>
										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
										 <GedcomValue tag="SOUR:DATA:TEXT" />
									</Footnote>
									<SetVar name="source_exist" value="1"/>
								</RepeatTag>
							</if>
						</TextBox>
						<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
							<Text color="$tcolor" style="text"><GedcomValue tag="CHR:PLAC" /></Text>
						</TextBox>
					</if>

					<!-- print all of the other facts -->
					<Facts ignore="$ignore">
						<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
							<Text color="$tcolor" style="fact"><var var="@fact" />  </Text>
							<Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE" /> </Text>
							<if condition="$sources=='on'">
								<RepeatTag tag="@fact:SOUR">
									<Footnote>
										<Gedcom id="@SOUR">
											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
											«<GedcomValue tag="TITL" />»
											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
										</Gedcom>
										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
										 <GedcomValue tag="SOUR:DATA:TEXT" />
									</Footnote>
									<SetVar name="source_exist" value="1"/>
								</RepeatTag>
							</if>
						</TextBox>
						<if condition="@desc!=''">
							<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
								<Text color="$tcolor" style="text">
									<if condition="@desc=='Y'">
										<var var="I18N::translate('yes')" />  <GedcomValue tag="@fact:PLAC"/>
									</if>
									<if condition="@desc=='N'">
										<var var="I18N::translate('no')" />  <GedcomValue tag="@fact:PLAC"/>
									</if>
									<if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!=''">
										<GedcomValue tag="@desc"/>  <GedcomValue tag="@fact:PLAC"/>
									</if>
									<if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC==''">
										<GedcomValue tag="@desc"/>
									</if>
								</Text>
								<Gedcom id="@ASSO">
									 <GetPersonName id=""/>
								</Gedcom>
							</TextBox>
						</if>
						<if condition="@desc==''">
							<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
								<Text color="$tcolor" style="text">
								<if condition="@PLAC!='' and @TEMP!=''">
									<GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" />
								</if>
								<if condition="@PLAC!='' and @TEMP==''">
									<GedcomValue tag="@fact:PLAC" />
								</if>
								<if condition="@PLAC=='' and @TEMP!=''">
									<GedcomValue tag="@fact:TEMP" />
								</if>
								</Text>
							</TextBox>
						</if>
					</Facts>

					<if condition="$blanks==='on' or @DEAT:DATE!='' or @DEAT:PLAC!=''">
						<!-- print Death -->
						<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
							<Text color="$tcolor" style="fact"><var var="I18N::translate('Death')" />  </Text>
							<Text color="$tcolor" style="text"><GedcomValue tag="DEAT:DATE" /> </Text>
							<if condition="$sources=='on'">
								<RepeatTag tag="DEAT:SOUR">
									<Footnote>
										<Gedcom id="@SOUR">
											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
											«<GedcomValue tag="TITL" />»
											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
										</Gedcom>
										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
										 <GedcomValue tag="SOUR:DATA:TEXT" />
									</Footnote>
									<SetVar name="source_exist" value="1"/>
								</RepeatTag>
							</if>
						</TextBox>
						<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
							<Text color="$tcolor" style="text"><GedcomValue tag="DEAT:PLAC" /></Text>
						</TextBox>
					</if>
					<!-- indicates that a Level 1 CREM record is not present -->
					<SetVar name="level1CREM" value="0" />
					<if condition="$blanks==='on' or @CREM:DATE!='' or @CREM:PLAC!=''">
						<!-- print Cremation -->
						<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
							<Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" />  </Text>
							<Text color="$tcolor" style="text"><GedcomValue tag="CREM:DATE" /> </Text>
							<if condition="$sources=='on'">
								<RepeatTag tag="CREM:SOUR">
									<Footnote>
										<Gedcom id="@SOUR">
											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
											«<GedcomValue tag="TITL" />»
											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
										</Gedcom>
										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
										 <GedcomValue tag="SOUR:DATA:TEXT" />
									</Footnote>
									<SetVar name="source_exist" value="1"/>
								</RepeatTag>
							</if>
						</TextBox>
						<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
							<Text color="$tcolor" style="text"><GedcomValue tag="CREM:PLAC" /></Text>
						</TextBox>
						<!-- indicates that a Level 1 CREM record is present -->
						<SetVar name="level1CREM" value="1" />
					</if>
					<if condition="$blanks==='on' or @BURI:CREM!='' or @BURI:DATE!='' or @BURI:PLAC!=''">
						<!-- Look for Level 2 CREM subordinate to BURI (should have been at Level 1) -->
						<if condition="@BURI:CREM!='' and $level1CREM!=1">
							<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
								<Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" />  </Text>
								<Text color="$tcolor" style="text"> </Text>
							</TextBox>
							<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
								<Text color="$tcolor" style="text"> </Text>
							</TextBox>
						</if>
						<!-- Now for the real BURI information -->
						<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
							<Text color="$tcolor" style="fact"><var var="I18N::translate('Burial')" />  </Text>
							<Text color="$tcolor" style="text"><GedcomValue tag="BURI:DATE" /> </Text>
							<if condition="$sources=='on'">
								<RepeatTag tag="BURI:SOUR">
									<Footnote>
										<Gedcom id="@SOUR">
											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
											«<GedcomValue tag="TITL" />»
											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
										</Gedcom>
										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
										 <GedcomValue tag="SOUR:DATA:TEXT" />
									</Footnote>
									<SetVar name="source_exist" value="1"/>
								</RepeatTag>
							</if>
						</TextBox>
						<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
							<Text color="$tcolor" style="text"><GedcomValue tag="BURI:PLAC" /></Text>
						</TextBox>
					</if>

					<!-- print the wife's parents -->
					<Gedcom id="@FAMC">
						<TextBox bgcolor="$malebox_bgcolor" border="1" left="15" width="$width1" newline="1">
							<Text color="$tcolor" style="fact"><var var="I18N::translate('Father')" />  </Text>
							<Text color="$tcolor" style="name"><GetPersonName id="@HUSB" /></Text>
							<Gedcom id="@HUSB">
								<Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text>
							</Gedcom>
						</TextBox>
						<TextBox bgcolor="$femalebox_bgcolor" border="1" left="15" width="$width1" newline="1">
							<Text color="$tcolor" style="fact"><var var="I18N::translate('Mother')" />  </Text>
							<Text color="$tcolor" style="name"><GetPersonName id="@WIFE" /></Text>
							<Gedcom id="@WIFE">
								<Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text>
							</Gedcom>
						</TextBox>
					</Gedcom>

					<!-- print the wife's notes -->
					<if condition="$notes=='on'">
						<RepeatTag tag="NOTE">
							<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$width1" newline="1">
								<Text color="$tcolor" style="name"><var var="I18N::translate('Note')" />  </Text>
								<Text color="$tcolor" style="text"><GedcomValue tag="NOTE" /></Text>
							</TextBox>
						</RepeatTag>
					</if>
					<TextBox height="$sheight" newline="1"/>
				</Gedcom>
				<!-- end of main wife -->

				<!-- print the children box in gray or color -->
				<TextBox border="1" width="$width" newline="1" bgcolor="$sectionbox_bgcolor">
					<Text color="$tcolor" style="text">
						<var var="I18N::translate('Children')" />
					</Text>
				</TextBox>

				<!-- find and print all of the children in the family -->
				<RepeatTag tag="CHIL">
					<Gedcom id="@CHIL">
						<if condition="$photos=='on'">
							<HighlightedImage left="$pwidth" width="80"/>
						</if>
						<!-- Son -->
						<if condition="@SEX=='M'">
							<TextBox bgcolor="$malebox_bgcolor" border="1" left="15" newline="1" width="$width1">
								<Text color="$tcolor" style="text"><var var="I18N::translate('Son')"/>  </Text>
								<Text color="$tcolor" style="name"><GetPersonName id="" /> </Text>
								<if condition="$sources=='on'">
									<!-- print level 1 sources -->
									<RepeatTag tag="SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1"/>
									</RepeatTag>
									<!-- print level 2 sources attached to NAME -->
									<RepeatTag tag="NAME:SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1" />
									</RepeatTag>
								</if>
							</TextBox>
						</if>
						<!-- Daughter -->
						<if condition="@SEX=='F'">
							<TextBox bgcolor="$femalebox_bgcolor" border="1" left="15" newline="1" width="$width1">
								<Text color="$tcolor" style="text"><var var="I18N::translate('Daughter')"/>  </Text>
								<Text color="$tcolor" style="name"><GetPersonName id="" /> </Text>
								<if condition="$sources=='on'">
									<!-- print level 1 sources -->
									<RepeatTag tag="SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1"/>
									</RepeatTag>
									<!-- print level 2 sources attached to NAME -->
									<RepeatTag tag="NAME:SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1" />
									</RepeatTag>
								</if>
							</TextBox>
						</if>
						<!-- Child -->
						<if condition="@SEX=='U'">
							<TextBox bgcolor="$unknowngenderbox_bgcolor" border="1" left="15" newline="1" width="$width1">
								<Text color="$tcolor" style="text"><var var="I18N::translate('Gender')"/> <var var="I18N::translateContext('unknown gender', 'Unknown')"/>  </Text>
								<Text color="$tcolor" style="name"><GetPersonName id="" /> </Text>
								<if condition="$sources=='on'">
									<!-- print level 1 sources -->
									<RepeatTag tag="SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1"/>
									</RepeatTag>
									<!-- print level 2 sources attached to NAME -->
									<RepeatTag tag="NAME:SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1" />
									</RepeatTag>
								</if>
							</TextBox>
						</if>

						<if condition="$blanks==='on' or @BIRT:DATE!='' or @BIRT:PLAC!=''">
							<!-- print Birth -->
							<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
								<Text color="$tcolor" style="fact"><var var="I18N::translate('Birth')" />  </Text>
								<Text color="$tcolor" style="text"><GedcomValue tag="BIRT:DATE" /> </Text>
								<if condition="$sources=='on'">
									<RepeatTag tag="BIRT:SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1"/>
									</RepeatTag>
								</if>
							</TextBox>
							<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
								<Text color="$tcolor" style="text"><GedcomValue tag="BIRT:PLAC" /></Text>
							</TextBox>
						</if>
						<if condition="$blanks==='on' or @CHR:DATE!='' or @CHR:PLAC!=''">
							<!-- print Christening -->
							<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
								<Text color="$tcolor" style="fact"><var var="I18N::translate('Christening')" />  </Text>
								<Text color="$tcolor" style="text"><GedcomValue tag="CHR:DATE" /> </Text>
								<if condition="$sources=='on'">
									<RepeatTag tag="CHR:SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1"/>
									</RepeatTag>
								</if>
							</TextBox>
							<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
								<Text color="$tcolor" style="text"><GedcomValue tag="CHR:PLAC" /></Text>
							</TextBox>
						</if>

						<!-- print all of the other facts -->
						<Facts ignore="$ignore">
							<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
								<Text color="$tcolor" style="fact"><var var="@fact" />  </Text>
								<Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE" /> </Text>
								<if condition="$sources=='on'">
									<RepeatTag tag="@fact:SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1"/>
									</RepeatTag>
								</if>
							</TextBox>
							<if condition="@desc!=''">
								<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
									<Text color="$tcolor" style="text">
										<if condition="@desc=='Y'">
											<var var="I18N::translate('yes')" />  <GedcomValue tag="@fact:PLAC"/>
										</if>
										<if condition="@desc=='N'">
											<var var="I18N::translate('no')" />  <GedcomValue tag="@fact:PLAC"/>
										</if>
										<if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!=''">
											<GedcomValue tag="@desc"/>  <GedcomValue tag="@fact:PLAC"/>
										</if>
										<if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC==''">
											<GedcomValue tag="@desc"/>
										</if>
									</Text>
									<Gedcom id="@ASSO">
										 <GetPersonName id=""/>
									</Gedcom>
								</TextBox>
							</if>
							<if condition="@desc==''">
								<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
									<Text color="$tcolor" style="text">
									<if condition="@PLAC!='' and @TEMP!=''">
										<GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" />
									</if>
									<if condition="@PLAC!='' and @TEMP==''">
										<GedcomValue tag="@fact:PLAC" />
									</if>
									<if condition="@PLAC=='' and @TEMP!=''">
										<GedcomValue tag="@fact:TEMP" />
									</if>
									</Text>
								</TextBox>
							</if>
						</Facts>

						<if condition="$blanks==='on' or @DEAT:DATE!='' or @DEAT:PLAC!=''">
							<!-- print Death -->
							<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
								<Text color="$tcolor" style="fact"><var var="I18N::translate('Death')" />  </Text>
								<Text color="$tcolor" style="text"><GedcomValue tag="DEAT:DATE" /> </Text>
								<if condition="$sources=='on'">
									<RepeatTag tag="DEAT:SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1"/>
									</RepeatTag>
								</if>
							</TextBox>
							<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
								<Text color="$tcolor" style="text"><GedcomValue tag="DEAT:PLAC" /></Text>
							</TextBox>
						</if>
						<!-- indicates that a Level 1 CREM record is not present -->
						<SetVar name="level1CREM" value="0" />
						<if condition="$blanks==='on' or @CREM:DATE!='' or @CREM:PLAC!=''">
							<!-- print Cremation -->
							<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
								<Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" />  </Text>
								<Text color="$tcolor" style="text"><GedcomValue tag="CREM:DATE" /> </Text>
								<if condition="$sources=='on'">
									<RepeatTag tag="CREM:SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1"/>
									</RepeatTag>
								</if>
							</TextBox>
							<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
								<Text color="$tcolor" style="text"><GedcomValue tag="CREM:PLAC" /></Text>
							</TextBox>
							<!-- indicates that a Level 1 CREM record is present -->
							<SetVar name="level1CREM" value="1" />
						</if>
						<if condition="$blanks==='on' or @BURI:CREM!='' or @BURI:DATE!='' or @BURI:PLAC!=''">
							<!-- Look for Level 2 CREM subordinate to BURI (should have been at Level 1) -->
							<if condition="@BURI:CREM!='' and $level1CREM!=1">
								<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
									<Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" />  </Text>
									<Text color="$tcolor" style="text"> </Text>
								</TextBox>
								<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
									<Text color="$tcolor" style="text"> </Text>
								</TextBox>
							</if>
							<!-- Now for the real BURI information -->
							<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
								<Text color="$tcolor" style="fact"><var var="I18N::translate('Burial')" />  </Text>
								<Text color="$tcolor" style="text"><GedcomValue tag="BURI:DATE" /> </Text>
								<if condition="$sources=='on'">
									<RepeatTag tag="BURI:SOUR">
										<Footnote>
											<Gedcom id="@SOUR">
												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
												«<GedcomValue tag="TITL" />»
												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
											</Gedcom>
											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
											 <GedcomValue tag="SOUR:DATA:TEXT" />
										</Footnote>
										<SetVar name="source_exist" value="1"/>
									</RepeatTag>
								</if>
							</TextBox>
							<TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
								<Text color="$tcolor" style="text"><GedcomValue tag="BURI:PLAC" /></Text>
							</TextBox>
						</if>

						<!-- set the $spid variable so that we know who this person is and can print the correct spouse later -->
						<SetVar name="spid" value="@ID" />
						<RepeatTag tag="FAMS">
							<!-- get this child's family as spouse -->
							<Gedcom id="@FAMS">
								<if condition="$spid==@HUSB">
									<TextBox bgcolor="$femalebox_bgcolor" border="1" left="15" width="$width1" newline="1">
										<Text color="$tcolor" style="fact"><var var="I18N::translate('Wife')" />  </Text>
										<Text color="$tcolor" style="name"><GetPersonName id="@WIFE" /></Text>
										<Gedcom id="@WIFE">
											<Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text>
										</Gedcom>
									</TextBox>
								</if>
								<if condition="$spid==@WIFE">
									<TextBox bgcolor="$malebox_bgcolor" border="1" left="15" width="$width1" newline="1">
										<Text color="$tcolor" style="fact"><var var="I18N::translate('Husband')" />  </Text>
										<Text color="$tcolor" style="name"><GetPersonName id="@HUSB" /></Text>
										<Gedcom id="@HUSB">
											<Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text>
										</Gedcom>
									</TextBox>
								</if>
							</Gedcom>
						</RepeatTag>

						<!-- print any notes for the child -->
						<if condition="$notes=='on'">
							<RepeatTag tag="NOTE">
								<TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$width1" newline="1">
									<Text color="$tcolor" style="name"><var var="I18N::translate('Note')" />  </Text>
									<Text color="$tcolor" style="text"><GedcomValue tag="NOTE" /></Text>
								</TextBox>
							</RepeatTag>
						</if>
					</Gedcom>
					<!-- end of child gedcom -->
					<TextBox height="$sheight" newline="1"/>
				</RepeatTag>
				<!-- end of children repeat -->
			</Gedcom>
			<!-- end of main family gedcom -->

			<!-- if the sources were on, print the source citations as footnotes -->
			<if condition="$source_exist==1">
				<NewPage />
				<TextBox newline="1" width="$width">
					<Text style="pageheader"><br /><var var="I18N::translate('Sources')" /><br /><br /></Text>
					<FootnoteTexts />
				</TextBox>
			</if>
		</Body>
		<Footer>
			<Cell align="rightrtl" newline="1" style="date"><Now /></Cell>
		</Footer>
	</Doc>
</Report>

VaKeR 2022