xref: /webtrees/resources/xml/reports/ahnentafel_report.xml (revision 29a51599e39417638370fe4c2c4d77201726c9ff)
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" />
279											<if condition="@PLAC==''"> </if>
280										</if>
281										<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>
282										<if condition="((@desc=='Y') or (@DATE=='' and @PLAC=='')) and ($spid=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
283									</Text>
284								</if>
285							</Gedcom>
286						</Gedcom>
287						<Gedcom id="DEAT">
288							<Text style="text">
289								<if condition="$gender=='m'"> <var var="I18N::translate('He died')" /></if>
290								<if condition="$gender=='f'"> <var var="I18N::translate('She died')" /></if>
291							</Text>
292							<if condition="$sources=='on'">
293								<RepeatTag tag="DEAT:SOUR">
294									<Footnote>
295										<Gedcom id="@SOUR">
296											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
297											«<GedcomValue tag="TITL" />»
298											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
299										</Gedcom>
300										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
301										 <GedcomValue tag="SOUR:DATA:TEXT" />
302									</Footnote>
303									<SetVar name="source_exist" value="1"/>
304								</RepeatTag>
305							</if>
306							<Text style="text">
307								<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>
308								<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>
309								<if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
310							</Text>
311						</Gedcom>
312						<Gedcom id="CREM">
313							<Text style="text">
314								<if condition="$gender=='m'"> <var var="I18N::translate('He was cremated')" /></if>
315								<if condition="$gender=='f'"> <var var="I18N::translate('She was cremated')" /></if>
316							</Text>
317							<if condition="$sources=='on'">
318								<RepeatTag tag="CREM:SOUR">
319									<Footnote>
320										<Gedcom id="@SOUR">
321											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
322											«<GedcomValue tag="TITL" />»
323											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
324										</Gedcom>
325										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
326										 <GedcomValue tag="SOUR:DATA:TEXT" />
327									</Footnote>
328									<SetVar name="source_exist" value="1"/>
329								</RepeatTag>
330							</if>
331							<Text style="text">
332								<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>
333								<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>
334								<if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
335							</Text>
336						</Gedcom>
337						<Gedcom id="BURI">
338							<Text style="text">
339								<if condition="$gender=='m'"> <var var="I18N::translate('He was buried')" /></if>
340								<if condition="$gender=='f'"> <var var="I18N::translate('She was buried')" /></if>
341							</Text>
342							<if condition="$sources=='on'">
343								<RepeatTag tag="BURI:SOUR">
344									<Footnote>
345										<Gedcom id="@SOUR">
346											<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
347											«<GedcomValue tag="TITL" />»
348											<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
349										</Gedcom>
350										<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
351										 <GedcomValue tag="SOUR:DATA:TEXT" />
352									</Footnote>
353									<SetVar name="source_exist" value="1"/>
354								</RepeatTag>
355							</if>
356							<Text style="text">
357								<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>
358								<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>
359								<if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
360							</Text>
361						</Gedcom>
362					</TextBox>
363					<if condition="$notes=='on'">
364						<RepeatTag tag="NOTE">
365							<TextBox height="3" newline="1" padding="0"/>
366							<Cell height="12" left="30" newline="1" style="note"><GedcomValue tag="NOTE"/></Cell>
367						</RepeatTag>
368					</if>
369					<TextBox height="10" newline="1" padding="0"/>
370				</if>
371				<SetVar name="num" value="$num+1" />
372				<if condition="$children=='on'">
373					<!-- this section gets the children. -->
374					<RepeatTag tag="FAMS">
375						<SetVar name="individual" value="$cpid" />
376						<SetVar name="spouse" value="$spid" />
377						<Gedcom id="@FAMS">
378							<if condition="@CHIL!=''">
379								<SetVar name="numberOfChildren" value="0" />
380								<RepeatTag tag="CHIL">
381									<Gedcom id="@CHIL">
382										<SetVar name="numberOfChildren" value="$numberOfChildren+1" />
383									</Gedcom>
384								</RepeatTag>
385								<!-- Only show children once for each couple -->
386								<if condition="$individual == @WIFE || @WIFE == ''">
387									<TextBox height="20" left="25" newline="1">
388										<if condition="$numberOfChildren==1">
389											<Text style="label1"><var var="I18N::translate('Child of ')" /></Text>
390										</if>
391										<if condition="$numberOfChildren>1">
392											<Text style="label1"><var var="I18N::translate('Children of ')" /></Text>
393										</if>
394										<Text style="namech"><GetPersonName id="@HUSB" /></Text>
395										<Text style="label1"> <var var="I18N::translate('and')" /> </Text>
396										<Text style="namech"><GetPersonName id="@WIFE" /></Text>
397										<Text style="label1">:</Text>
398									</TextBox>
399									<SetVar name="familyChildNumber" value ="1" />
400									<RepeatTag tag="CHIL">
401										<Gedcom id="@CHIL">
402											<if condition="$familyChildNumber==1"><SetVar name="familyChildRoman" value="i" /></if>
403											<if condition="$familyChildNumber==2"><SetVar name="familyChildRoman" value="ii" /></if>
404											<if condition="$familyChildNumber==3"><SetVar name="familyChildRoman" value="iii" /></if>
405											<if condition="$familyChildNumber==4"><SetVar name="familyChildRoman" value="iv" /></if>
406											<if condition="$familyChildNumber==5"><SetVar name="familyChildRoman" value="v" /></if>
407											<if condition="$familyChildNumber==6"><SetVar name="familyChildRoman" value="vi" /></if>
408											<if condition="$familyChildNumber==7"><SetVar name="familyChildRoman" value="vii" /></if>
409											<if condition="$familyChildNumber==8"><SetVar name="familyChildRoman" value="viii" /></if>
410											<if condition="$familyChildNumber==9"><SetVar name="familyChildRoman" value="ix" /></if>
411											<if condition="$familyChildNumber==10"><SetVar name="familyChildRoman" value="x" /></if>
412											<if condition="$familyChildNumber==11"><SetVar name="familyChildRoman" value="xi" /></if>
413											<if condition="$familyChildNumber==12"><SetVar name="familyChildRoman" value="xii" /></if>
414											<if condition="$familyChildNumber==13"><SetVar name="familyChildRoman" value="xiii" /></if>
415											<if condition="$familyChildNumber==14"><SetVar name="familyChildRoman" value="xiv" /></if>
416											<if condition="$familyChildNumber==15"><SetVar name="familyChildRoman" value="xv" /></if>
417											<if condition="$familyChildNumber==16"><SetVar name="familyChildRoman" value="xvi" /></if>
418											<if condition="$familyChildNumber==17"><SetVar name="familyChildRoman" value="xvii" /></if>
419											<if condition="$familyChildNumber==18"><SetVar name="familyChildRoman" value="xviii" /></if>
420											<if condition="$familyChildNumber==19"><SetVar name="familyChildRoman" value="xix" /></if>
421											<if condition="$familyChildNumber==20"><SetVar name="familyChildRoman" value="xx" /></if>
422											<TextBox left="25" height="20" newline="1">
423												<Text style="label1"><var var="familyChildRoman" /></Text>
424												<Text style="namech">  <GetPersonName id="" /> </Text>
425												<if condition="$sources=='on'">
426													<RepeatTag tag="SOUR">
427														<Footnote>
428															<Gedcom id="@SOUR">
429																<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
430																«<GedcomValue tag="TITL" />»
431																<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
432															</Gedcom>
433															<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
434															<GedcomValue tag="SOUR:DATA:TEXT" />
435														</Footnote>
436														<SetVar name="source_exist" value="1"/>
437													</RepeatTag>
438												</if>
439												<Text style="label1" > <br /></Text>
440												<!-- Start BIRT -->
441												<Gedcom id="BIRT">
442													<Text style="label1" > <var var="I18N::translate('Birth')" /> <GedcomValue tag="DATE" level="2"/> <GedcomValue tag="PLAC" level="2"/> <br /></Text>
443												</Gedcom>
444												<SetVar name="gender" value="male" />
445		<if condition="@SEX=='F'">
446			<SetVar name="gender" value="female" />
447		</if>
448												<RepeatTag tag="FAMS">
449													<Gedcom id="@FAMS">
450														<Text style="label1"> <var var="I18N::translate('Marriage')" /> </Text>
451														<if condition="$gender=='male'"><Text style="namech"><GetPersonName id="@WIFE" /></Text></if>
452														<if condition="$gender=='female'"><Text style="namech"><GetPersonName id="@HUSB" /></Text></if>
453														<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>
454													</Gedcom>
455												</RepeatTag>
456												<!-- End BIRT start DEAT -->
457												<Gedcom id="DEAT">
458													<Text style="label1"> <var var="I18N::translate('Death')" /> <GedcomValue tag="DATE" level="2"/> <GedcomValue tag="PLAC" level="2"/> <br /></Text>
459												</Gedcom>
460											</TextBox>
461										</Gedcom>
462										<SetVar name="familyChildNumber" value="$familyChildNumber+1" />
463									</RepeatTag>
464								</if>
465							</if>
466						</Gedcom>
467					</RepeatTag>
468					<SetVar name="personNumber" value="$personNumber + 1" />
469					<TextBox height="10" newline="1" padding="0"/>
470				</if>
471			</Relatives>
472			<!-- if the sources were on, print the source citations as footnotes -->
473			<if condition="$source_exist==1">
474				<NewPage />
475				<TextBox width="$width" height="20" newline="1">
476					<Text style="subheader"><var var="I18N::translate('Sources')" /><br /><br /></Text>
477					<FootnoteTexts />
478				</TextBox>
479			</if>
480		</Body>
481		<Footer>
482			<Cell align="rightrtl" style="date"><Now /></Cell>
483		</Footer>
484	</Doc>
485</Report>
486