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