xref: /webtrees/resources/xml/reports/ahnentafel_report.xml (revision c2ed51d13a57743094c11c8fe84befd9d4f158cd)
1<?xml version="1.0" encoding="UTF-8" ?>
2<!-- Includes 2010 work done by John Hawthornthwaite(hagershorn1) for an ancestry report in PhpGedView -->
3<Report>
4	<Title><var var="I18N::translate('Ancestors')" /></Title>
5	<Description><var var="I18N::translate('A report of an individual’s ancestors, in a narrative style.')" /></Description>
6	<Input name="pid" lookup="INDI" type="text"><var var="I18N::translate('Individual')" /></Input>
7	<Input name="maxgen" type="select" options="3=>I18N::number(3)|4=>I18N::number(4)|5=>I18N::number(5)|6=>I18N::number(6)|7=>I18N::number(7)|8=>I18N::number(8)|9=>I18N::number(9)|10=>I18N::number(10)|-1=>I18N::translate('All')"><var var="I18N::translate('Generations')" /></Input>
8	<Input name="sources" type="checkbox" default="1"><var var="I18N::translate('Show sources')" /></Input>
9	<Input name="notes" type="checkbox" default="0"><var var="I18N::translate('Show notes')" /></Input>
10	<Input name="occu" type="checkbox" default="0"><var var="I18N::translate('Show occupations')" /></Input>
11	<Input name="resi" type="checkbox" default="0"><var var="I18N::translate('Show residences')" /></Input>
12	<Input name="children" type="checkbox" default="0"><var var="I18N::translate('Show children of ancestors')" /></Input>
13	<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>
14	<!--
15	<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>
16	-->
17	<SetVar name="fonts" value="dejavusans" />
18
19	<!-- Header -->
20	<Style name="header" font="$fonts" size="14" style="b" />
21	<!-- Page numbers text -->
22	<Style name="pagenum" font="$fonts" size="8"/>
23	<!-- Standard text -->
24	<Style name="text" font="$fonts" size="10"/>
25	<!-- Links to sources - required style name by the generator -->
26	<Style name="footnotenum" font="$fonts" size="7"/>
27	<!-- Source text - FootnoteTexts - required style name by the generator -->
28	<Style name="footnote" font="$fonts" size="8"/>
29	<!-- Generated by style - required style name by the generator -->
30	<Style name="genby" font="$fonts" size="8" />
31	<!-- Date Text-->
32	<Style name="date" font="$fonts" size="8"/>
33	<!-- Note Text -->
34	<Style name="note" font="$fonts" size="9"/>
35	<!-- Individual name -->
36	<Style name="name" font="$fonts" size="10" style="b" />
37	<Style name="namech" font="$fonts" size="8" style="b" />
38	<Style name="subheader" font="$fonts" size="12" style="b" />
39	<Style name="label1" font="$fonts" size="8"/>
40	<Style name="label2" font="$fonts" size="10"/>
41	<SetVar name="num" value="1" />
42	<SetVar name="generation" value="0" />
43	<SetVar name="empty_name" value="f" />
44	<SetVar name="empty_start_value" value="0" />
45	<SetVar name="nametokeep" value=" " />
46	<SetVar name="personNumber" value="1" />
47	<SetVar name="individual" value=" " />
48	<SetVar name="spouse" value="" />
49	<SetVar name="childNumber" value="1" />
50	<!-- New Page for Sources controller if SOUR exist -->
51	<SetVar name="source_exist" value="0" />
52
53	<Doc pageSize="$pageSize">
54		<Header>
55			<Cell align="center" height="30" newline="1" style="header"><var var="I18N::translate('Ancestors of ')" /><GetPersonName id="$pid" /></Cell>
56			<Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
57		</Header>
58		<Body>
59			<Relatives id="$pid" group="direct-ancestors" sortby="none" maxgen="$maxgen">
60				<SetVar name="gender" value="m" />
61				<if condition="@SEX=='F'">
62					<SetVar name="gender" value="f" />
63				</if>
64				<if condition="$generation!=@generation">
65					<if condition="$empty_name=='t'" >
66						<TextBox width="50" height="20">
67							<SetVar name="empty_end_value" value="$num-1" />
68							<Text style="text"><var var="empty_start_value" />-<var var="empty_end_value" />.</Text>
69						</TextBox>
70						<TextBox width="475" height="12" newline="1" >
71							<Text style="text"><br /></Text>
72						</TextBox>
73						<TextBox width="25" height="20" newline="1">
74							<Text style="text"><br /></Text>
75						</TextBox>
76						<SetVar name="empty_start_value" value="$num" />
77					</if>
78					<Cell align="center" height="30" newline="1" style="subheader"><var var="I18N::translate('Generation ')" /><Generation /></Cell>
79					<SetVar name="generation" value="@generation" />
80				</if>
81				<SetVar name="indiname" value="@NAME" />
82				<if condition="$indiname==''">
83					<if condition="$empty_name=='f'">
84						<SetVar name="empty_name" value="t" />
85						<SetVar name="empty_start_value" value="$num" />
86					</if>
87				</if>
88				<if condition="$indiname!=''">
89					<if condition="$empty_name=='t'" >
90						<TextBox width="50" height="20">
91							<SetVar name="empty_end_value" value="$num-1" />
92							<Text style="text"><var var="empty_start_value" />-<var var="empty_end_value" />.</Text>
93						</TextBox>
94						<TextBox width="475" height="12" newline="1">
95							<Text style="text"><br /></Text>
96						</TextBox>
97						<TextBox width="25" height="20" newline="1">
98							<Text style="text"><br /></Text>
99						</TextBox>
100						<SetVar name="empty_name" value="f" />
101					</if>
102					<!-- Generation counter -->
103					<TextBox width="25" height="30">
104						<Text style="text"><var var="num" />.</Text>
105					</TextBox>
106					<!-- Sentence 1 Individual, name... -->
107					<TextBox height="12" newline="1">
108						<Text style="name"><GetPersonName id="" /> </Text>
109						<if condition="$sources=='on'">
110							<!-- print level 1 sources -->
111							<RepeatTag tag="SOUR">
112								<Footnote>
113									<Gedcom id="@SOUR">
114										<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
115										«<GedcomValue tag="TITL" />»
116										<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
117									</Gedcom>
118									<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
119									  <GedcomValue tag="SOUR:DATA:TEXT" />
120								</Footnote>
121								<SetVar name="source_exist" value="1"/>
122							</RepeatTag>
123							<!-- print level 2 sources attached to NAME -->
124							<RepeatTag tag="NAME:SOUR">
125								<Footnote>
126									<Gedcom id="@SOUR">
127										<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
128										«<GedcomValue tag="TITL" />»
129										<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
130									</Gedcom>
131									<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
132									 <GedcomValue tag="SOUR:DATA:TEXT" />
133								</Footnote>
134								<SetVar name="source_exist" value="1" />
135							</RepeatTag>
136						</if>
137						<!-- Individual, birth... -->
138						<Gedcom id="BIRT">
139							<Text style="text">
140								<if condition="$gender=='m'"><var var="I18N::translateContext('MALE', 'was born')" /></if>
141								<if condition="$gender=='f'"><var var="I18N::translateContext('FEMALE', 'was born')" /></if>
142							</Text>
143							<if condition="$sources=='on'">
144								<RepeatTag tag="BIRT:SOUR">
145									<Footnote>
146										<Gedcom id="@SOUR">
147											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
148											«<GedcomValue tag="TITL" />»
149											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
150										</Gedcom>
151										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
152										 <GedcomValue tag="SOUR:DATA:TEXT" />
153									</Footnote>
154									<SetVar name="source_exist" value="1"/>
155								</RepeatTag>
156							</if>
157							<Text style="text">
158								<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>
159								<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>
160								<if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
161							</Text>
162						</Gedcom>
163						<!-- Sentence 2 Individual, christened... -->
164						<Gedcom id="CHR">
165							<Text style="text">
166								<if condition="$gender=='m'"><var var="I18N::translate('He was christened')" /></if>
167								<if condition="$gender=='f'"><var var="I18N::translate('She was christened')" /></if>
168							</Text>
169							<Text style="label1">
170							<if condition="$sources=='on'">
171								<RepeatTag tag="CHR:SOUR">
172									<Footnote>
173										<Gedcom id="@SOUR">
174											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
175											«<GedcomValue tag="TITL" />»
176											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
177										</Gedcom>
178										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
179										 <GedcomValue tag="SOUR:DATA:TEXT" />
180									</Footnote>
181									<SetVar name="source_exist" value="1"/>
182								</RepeatTag>
183							</if>
184							</Text>
185							<Text style="text">
186								<if condition="@DATE!=''"><var var=" " /><GedcomValue tag="DATE" level="2" /></if>
187								<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /><GedcomValue tag="PLAC" level="2" /></if>
188								<if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
189							</Text>
190						</Gedcom>
191						<if condition="$occu=='on'">
192							<!-- Individual, occupation... -->
193							<RepeatTag tag="OCCU">
194								<Text style="text">
195									<if condition="$gender=='m'"> <var var="I18N::translate('His occupation was')" /> <GedcomValue tag="OCCU" level="1" /></if>
196									<if condition="$gender=='f'"> <var var="I18N::translate('Her occupation was')" /> <GedcomValue tag="OCCU" level="1" /></if>
197								</Text>
198								<if condition="$sources=='on'">
199									<RepeatTag tag="OCCU:SOUR">
200										<Footnote>
201											<Gedcom id="@SOUR">
202												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
203												«<GedcomValue tag="TITL" />»
204												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
205											</Gedcom>
206											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
207											 <GedcomValue tag="SOUR:DATA:TEXT" />
208										</Footnote>
209										<SetVar name="source_exist" value="1"/>
210									</RepeatTag>
211								</if>
212								<Text style="text">
213									<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>
214									<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>.
215								</Text>
216							</RepeatTag>
217						</if>
218						<if condition="$resi=='on'">
219							<!-- Individual, residence... -->
220							<RepeatTag tag="RESI">
221								<Text style="text">
222									<if condition="$gender=='m'"><var var="I18N::translate('He resided at')" /> </if>
223									<if condition="$gender=='f'"><var var="I18N::translate('She resided at')" /> </if>
224									<if condition="@ADDR!=''"><GedcomValue tag="RESI:ADDR" level="1" /></if>
225									<if condition="@ADDR==''"><if condition="@PLAC!=''"><GedcomValue tag="RESI:PLAC" level="1" /></if></if>
226								</Text>
227								<if condition="$sources=='on'">
228									<RepeatTag tag="RESI:SOUR">
229										<Footnote>
230											<Gedcom id="@SOUR">
231												<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
232												«<GedcomValue tag="TITL" />»
233												<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
234											</Gedcom>
235											<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
236											 <GedcomValue tag="SOUR:DATA:TEXT" />
237										</Footnote>
238										<SetVar name="source_exist" value="1"/>
239									</RepeatTag>
240								</if>
241								<Text style="text">
242									<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>.
243								</Text>
244							</RepeatTag>
245						</if>
246						<SetVar name="cpid" value="@ID" />
247						<Gedcom id="@FAMS">
248							<SetVar name="hpid" value="@HUSB"/>
249							<SetVar name="wpid" value="@WIFE"/>
250							<if condition="$cpid==$hpid">
251								<SetVar name="spid" value="@WIFE" />
252							</if>
253							<if condition="$cpid==$wpid">
254								<SetVar name="spid" value="@HUSB" />
255							</if>
256							<Gedcom id="MARR">
257								<if condition="(($spid != '') and (@DATE != '' or @PLAC != '' or @desc == 'Y'))">
258									<Text style="text">
259										<if condition="$gender=='m'"> <var var="I18N::translate('He married')" /> </if>
260										<if condition="$gender=='f'"> <var var="I18N::translate('She married')" /> </if>
261									</Text>
262									<if condition="$sources=='on'">
263										<RepeatTag tag="MARR:SOUR">
264											<Footnote>
265												<Gedcom id="@SOUR">
266													<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
267													«<GedcomValue tag="TITL" />»
268													<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
269												</Gedcom>
270												<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
271												<GedcomValue tag="SOUR:DATA:TEXT" />
272											</Footnote>
273											<SetVar name="source_exist" value="1"/>
274										</RepeatTag>
275									</if>
276									<Text style="text">
277										<if condition="$spid!=''"><GetPersonName id="$spid" /></if>
278										<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>
279										<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /><GedcomValue tag="PLAC" level="2" /></if>
280										<if condition="((@desc=='Y') or (@DATE=='' and @PLAC=='')) and ($spid=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
281									</Text>
282								</if>
283							</Gedcom>
284						</Gedcom>
285						<Gedcom id="DEAT">
286							<Text style="text">
287								<if condition="$gender=='m'"> <var var="I18N::translate('He died')" /></if>
288								<if condition="$gender=='f'"> <var var="I18N::translate('She died')" /></if>
289							</Text>
290							<if condition="$sources=='on'">
291								<RepeatTag tag="DEAT:SOUR">
292									<Footnote>
293										<Gedcom id="@SOUR">
294											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
295											«<GedcomValue tag="TITL" />»
296											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
297										</Gedcom>
298										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
299										 <GedcomValue tag="SOUR:DATA:TEXT" />
300									</Footnote>
301									<SetVar name="source_exist" value="1"/>
302								</RepeatTag>
303							</if>
304							<Text style="text">
305								<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>
306								<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>
307								<if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
308							</Text>
309						</Gedcom>
310						<Gedcom id="CREM">
311							<Text style="text">
312								<if condition="$gender=='m'"> <var var="I18N::translate('He was cremated')" /></if>
313								<if condition="$gender=='f'"> <var var="I18N::translate('She was cremated')" /></if>
314							</Text>
315							<if condition="$sources=='on'">
316								<RepeatTag tag="CREM:SOUR">
317									<Footnote>
318										<Gedcom id="@SOUR">
319											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
320											«<GedcomValue tag="TITL" />»
321											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
322										</Gedcom>
323										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
324										 <GedcomValue tag="SOUR:DATA:TEXT" />
325									</Footnote>
326									<SetVar name="source_exist" value="1"/>
327								</RepeatTag>
328							</if>
329							<Text style="text">
330								<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>
331								<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>
332								<if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
333							</Text>
334						</Gedcom>
335						<Gedcom id="BURI">
336							<Text style="text">
337								<if condition="$gender=='m'"> <var var="I18N::translate('He was buried')" /></if>
338								<if condition="$gender=='f'"> <var var="I18N::translate('She was buried')" /></if>
339							</Text>
340							<if condition="$sources=='on'">
341								<RepeatTag tag="BURI:SOUR">
342									<Footnote>
343										<Gedcom id="@SOUR">
344											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
345											«<GedcomValue tag="TITL" />»
346											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
347										</Gedcom>
348										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
349										 <GedcomValue tag="SOUR:DATA:TEXT" />
350									</Footnote>
351									<SetVar name="source_exist" value="1"/>
352								</RepeatTag>
353							</if>
354							<Text style="text">
355								<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>
356								<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>
357								<if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
358							</Text>
359						</Gedcom>
360					</TextBox>
361					<if condition="$notes=='on'">
362						<RepeatTag tag="NOTE">
363							<TextBox height="3" newline="1" padding="0"/>
364							<Cell height="12" left="30" newline="1" style="note"><GedcomValue tag="NOTE"/></Cell>
365						</RepeatTag>
366					</if>
367					<TextBox height="10" newline="1" padding="0"/>
368				</if>
369				<SetVar name="num" value="$num+1" />
370				<if condition="$children=='on'">
371					<!-- this section gets the children. -->
372					<RepeatTag tag="FAMS">
373						<SetVar name="individual" value="$cpid" />
374						<SetVar name="spouse" value="$spid" />
375						<Gedcom id="@FAMS">
376							<if condition="@CHIL!=''">
377								<SetVar name="numberOfChildren" value="0" />
378								<RepeatTag tag="CHIL">
379									<Gedcom id="@CHIL">
380										<SetVar name="numberOfChildren" value="$numberOfChildren+1" />
381									</Gedcom>
382								</RepeatTag>
383								<!-- Only show children once for each couple -->
384								<if condition="$individual == @WIFE || @WIFE == ''">
385									<TextBox height="20" left="25" newline="1">
386										<if condition="$numberOfChildren==1">
387											<Text style="label1"><var var="I18N::translate('Child of ')" /></Text>
388										</if>
389										<if condition="$numberOfChildren>1">
390											<Text style="label1"><var var="I18N::translate('Children of ')" /></Text>
391										</if>
392										<Text style="namech"><GetPersonName id="@HUSB" /></Text>
393										<Text style="label1"> <var var="I18N::translate('and')" /> </Text>
394										<Text style="namech"><GetPersonName id="@WIFE" /></Text>
395										<Text style="label1">:</Text>
396									</TextBox>
397									<SetVar name="familyChildNumber" value ="1" />
398									<RepeatTag tag="CHIL">
399										<Gedcom id="@CHIL">
400											<if condition="$familyChildNumber==1"><SetVar name="familyChildRoman" value="i" /></if>
401											<if condition="$familyChildNumber==2"><SetVar name="familyChildRoman" value="ii" /></if>
402											<if condition="$familyChildNumber==3"><SetVar name="familyChildRoman" value="iii" /></if>
403											<if condition="$familyChildNumber==4"><SetVar name="familyChildRoman" value="iv" /></if>
404											<if condition="$familyChildNumber==5"><SetVar name="familyChildRoman" value="v" /></if>
405											<if condition="$familyChildNumber==6"><SetVar name="familyChildRoman" value="vi" /></if>
406											<if condition="$familyChildNumber==7"><SetVar name="familyChildRoman" value="vii" /></if>
407											<if condition="$familyChildNumber==8"><SetVar name="familyChildRoman" value="viii" /></if>
408											<if condition="$familyChildNumber==9"><SetVar name="familyChildRoman" value="ix" /></if>
409											<if condition="$familyChildNumber==10"><SetVar name="familyChildRoman" value="x" /></if>
410											<if condition="$familyChildNumber==11"><SetVar name="familyChildRoman" value="xi" /></if>
411											<if condition="$familyChildNumber==12"><SetVar name="familyChildRoman" value="xii" /></if>
412											<if condition="$familyChildNumber==13"><SetVar name="familyChildRoman" value="xiii" /></if>
413											<if condition="$familyChildNumber==14"><SetVar name="familyChildRoman" value="xiv" /></if>
414											<if condition="$familyChildNumber==15"><SetVar name="familyChildRoman" value="xv" /></if>
415											<if condition="$familyChildNumber==16"><SetVar name="familyChildRoman" value="xvi" /></if>
416											<if condition="$familyChildNumber==17"><SetVar name="familyChildRoman" value="xvii" /></if>
417											<if condition="$familyChildNumber==18"><SetVar name="familyChildRoman" value="xviii" /></if>
418											<if condition="$familyChildNumber==19"><SetVar name="familyChildRoman" value="xix" /></if>
419											<if condition="$familyChildNumber==20"><SetVar name="familyChildRoman" value="xx" /></if>
420											<TextBox left="25" height="20" newline="1">
421												<Text style="label1"><var var="familyChildRoman" /></Text>
422												<Text style="namech">  <GetPersonName id="" /> </Text>
423												<if condition="$sources=='on'">
424													<RepeatTag tag="SOUR">
425														<Footnote>
426															<Gedcom id="@SOUR">
427																<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
428																«<GedcomValue tag="TITL" />»
429																<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
430															</Gedcom>
431															<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
432															<GedcomValue tag="SOUR:DATA:TEXT" />
433														</Footnote>
434														<SetVar name="source_exist" value="1"/>
435													</RepeatTag>
436												</if>
437												<Text style="label1" > <br /></Text>
438												<!-- Start BIRT -->
439												<Gedcom id="BIRT">
440													<Text style="label1" > <var var="I18N::translate('Birth')" /> <GedcomValue tag="DATE" level="2"/> <GedcomValue tag="PLAC" level="2"/> <br /></Text>
441												</Gedcom>
442												<SetVar name="gender" value="male" />
443		<if condition="@SEX=='F'">
444			<SetVar name="gender" value="female" />
445		</if>
446												<RepeatTag tag="FAMS">
447													<Gedcom id="@FAMS">
448														<Text style="label1"> <var var="I18N::translate('Marriage')" /> </Text>
449														<if condition="$gender=='male'"><Text style="namech"><GetPersonName id="@WIFE" /></Text></if>
450														<if condition="$gender=='female'"><Text style="namech"><GetPersonName id="@HUSB" /></Text></if>
451														<Text style="label1"><Gedcom id="MARR"><if condition="@DATE!=''"> <GedcomValue tag="DATE" level="2" /></if><if condition="@PLAC!=''"> <GedcomValue tag="PLAC" level="2" /></if></Gedcom> <br /></Text>
452													</Gedcom>
453												</RepeatTag>
454												<!-- End BIRT start DEAT -->
455												<Gedcom id="DEAT">
456													<Text style="label1"> <var var="I18N::translate('Death')" /> <GedcomValue tag="DATE" level="2"/> <GedcomValue tag="PLAC" level="2"/> <br /></Text>
457												</Gedcom>
458											</TextBox>
459										</Gedcom>
460										<SetVar name="familyChildNumber" value="$familyChildNumber+1" />
461									</RepeatTag>
462								</if>
463							</if>
464						</Gedcom>
465					</RepeatTag>
466					<SetVar name="personNumber" value="$personNumber + 1" />
467					<TextBox height="10" newline="1" padding="0"/>
468				</if>
469			</Relatives>
470			<!-- if the sources were on, print the source citations as footnotes -->
471			<if condition="$source_exist==1">
472				<NewPage />
473				<TextBox width="$width" height="20" newline="1">
474					<Text style="subheader"><var var="I18N::translate('Sources')" /><br /><br /></Text>
475					<FootnoteTexts />
476				</TextBox>
477			</if>
478		</Body>
479		<Footer>
480			<Cell align="rightrtl" style="date"><Now /></Cell>
481		</Footer>
482	</Doc>
483</Report>
484