1<?xml version="1.0" encoding="UTF-8" ?> 2<Report> 3 <Title><var var="I18N::translate('Descendants')" /></Title> 4 <Description><var var="I18N::translate('A report of an individual’s descendants, in a narrative style.')" /></Description> 5 <Input name="pid" lookup="INDI" type="text" default=""><var var="I18N::translate('Individual')" /></Input> 6 <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> 7 <Input name="sources" type="checkbox" default="1"><var var="I18N::translate('Show sources')" /></Input> 8 <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> 9 <!-- 10 <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> 11 --> 12 <SetVar name="fonts" value="dejavusans" /> 13 14 <!-- Header --> 15 <Style name="header" font="$fonts" size="18"/> 16 <!-- Page numbers text --> 17 <Style name="pagenum" font="$fonts" size="8"/> 18 <!-- Standard text --> 19 <Style name="text" font="$fonts" size="9"/> 20 <!-- Source text - FootnoteTexts - required style name by the generator --> 21 <Style name="footnote" font="$fonts" size="8"/> 22 <!-- Links to sources - required style name by the generator --> 23 <Style name="footnotenum" font="$fonts" size="7"/> 24 <!-- Generated by style - required style name by the generator --> 25 <Style name="genby" font="$fonts" size="8" /> 26 <!-- Date text --> 27 <Style name="date" font="$fonts" size="8"/> 28 <Style name="subheader" font="$fonts" size="12" style="b" /> 29 <Style name="label1" font="$fonts" size="8"/> 30 <Style name="label2" font="$fonts" size="10"/> 31 <Style name="name" font="$fonts" size="9"/> 32 <Style name="name1" font="$fonts" size="14"/> 33 34 <SetVar name="personNumber" value="1" /> 35 <SetVar name="childNumber" value="2" /> 36 <SetVar name="generation" value="0" /> 37 <!-- New Page for Sources controller if SOUR exist --> 38 <SetVar name="source_exist" value="0" /> 39 40 <Doc pageSize="$pageSize"> 41 <Header> 42 <Cell align="center" height="30" newline="1" style="header"><var var="I18N::translate('Descendants of ')" /><GetPersonName id="$pid" /></Cell> 43 <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell> 44 </Header> 45 <Body> 46 <Relatives id="$pid" group="descendants" sortby="generation" maxgen="$maxgen"> 47 <SetVar name="showPerson" value="F" /> 48 <RepeatTag tag="FAMS"> 49 <Gedcom id="@FAMS:@CHIL"> 50 <SetVar name="showPerson" value="T" /> 51 </Gedcom> 52 </RepeatTag> 53 <if condition="$showPerson=='T'"> 54 <if condition="$generation!=@generation"> 55 <Cell align="center" height="20" newline="1" style="subheader"><var var="I18N::translate('Generation ')" /> <Generation /></Cell> 56 <SetVar name="generation" value="@generation" /> 57 </if> 58 <TextBox border="" width="25" height="40"> 59 <Text style="name"><var var="personNumber" />.</Text> 60 </TextBox> 61 62 <TextBox border="" height="40" newline="1"> 63 <Text style="name"><GetPersonName id="" /> </Text> 64 <if condition="$sources==1"> 65 <!-- print level 1 sources --> 66 <RepeatTag tag="SOUR"> 67 <Footnote> 68 <Gedcom id="@SOUR"> 69 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 70 «<GedcomValue tag="TITL" />» 71 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 72 </Gedcom> 73 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 74 <GedcomValue tag="SOUR:DATA:TEXT" /> 75 </Footnote> 76 <SetVar name="source_exist" value="1"/> 77 </RepeatTag> 78 <!-- print level 2 sources attached to NAME --> 79 <RepeatTag tag="NAME:SOUR"> 80 <Footnote> 81 <Gedcom id="@SOUR"> 82 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 83 «<GedcomValue tag="TITL" />» 84 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 85 </Gedcom> 86 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 87 <GedcomValue tag="SOUR:DATA:TEXT" /> 88 </Footnote> 89 <SetVar name="source_exist" value="1" /> 90 </RepeatTag> 91 </if> 92 <SetVar name="printPeriod" value="false" /> 93 <SetVar name="gender" value="male" /> 94 <if condition="@SEX=='F'"> 95 <SetVar name="gender" value="female" /> 96 </if> 97 <SetVar name="birtExists" value="false" /> 98 <Gedcom id="BIRT"> 99 <SetVar name="birtExists" value="true" /> 100 <SetVar name="printPeriod" value="true" /> 101 <if condition="$gender=='male'"> 102 <Text style="label1"> <var var="I18N::translateContext('MALE', 'was born')" /> </Text> 103 </if> 104 <if condition="$gender=='female'"> 105 <Text style="label1"> <var var="I18N::translateContext('FEMALE', 'was born')" /> </Text> 106 </if> 107 <if condition="$sources==1"> 108 <RepeatTag tag="BIRT:SOUR"> 109 <Footnote> 110 <Gedcom id="@SOUR"> 111 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 112 «<GedcomValue tag="TITL" />» 113 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 114 </Gedcom> 115 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 116 <GedcomValue tag="SOUR:DATA:TEXT" /> 117 </Footnote> 118 <SetVar name="source_exist" value="1"/> 119 </RepeatTag> 120 </if> 121 <if condition="@DATE!=''"> 122 <Text style="label1"> <var var=" " /> <GedcomValue tag="DATE" level="2" /></Text> 123 </if> 124 <if condition="@PLAC!=''"> 125 <Text style="label1"> <var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></Text> 126 </if> 127 </Gedcom> 128 <Gedcom id="DEAT"> 129 <SetVar name="printPeriod" value="true" /> 130 <if condition="$birtExists=='true'"> 131 <Text style="label1"> <var var="I18N::translate('and')" /></Text> 132 </if> 133 <if condition="$gender=='male'"> 134 <Text style="label1"> <var var="I18N::translateContext('MALE', 'died')" /> </Text> 135 </if> 136 <if condition="$gender=='female'"> 137 <Text style="label1"> <var var="I18N::translateContext('FEMALE', 'died')" /> </Text> 138 </if> 139 <if condition="$sources==1"> 140 <RepeatTag tag="DEAT:SOUR"> 141 <Footnote> 142 <Gedcom id="@SOUR"> 143 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 144 «<GedcomValue tag="TITL" />» 145 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 146 </Gedcom> 147 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 148 <GedcomValue tag="SOUR:DATA:TEXT" /> 149 </Footnote> 150 <SetVar name="source_exist" value="1"/> 151 </RepeatTag> 152 </if> 153 <if condition="@DATE!=''"> 154 <Text style="label1"> <var var=" " /> <GedcomValue tag="DATE" level="2" /></Text> 155 </if> 156 <if condition="@PLAC!=''"> 157 <Text style="label1"> <var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></Text> 158 </if> 159 </Gedcom> 160 <SetVar name="printPronoun" value="false" /> 161 <if condition="$printPeriod=='true'"> 162 <Text style="label1">.</Text> 163 <SetVar name="printPronoun" value="true" /> 164 </if> 165 <RepeatTag tag="FAMS"> 166 <SetVar name="printPeriod" value="false" /> 167 <Gedcom id="@FAMS"> 168 <SetVar name="marrExists" value="false" /> 169 <if condition="$gender=='male'"> 170 <Gedcom id="MARR"> 171 <SetVar name="marrExists" value="true" /> 172 <if condition="$printPronoun=='true'" > 173 <Text style="label1"> <var var="I18N::translate('He married')" /> </Text> 174 </if> 175 <if condition="$printPronoun=='false'" > 176 <Text style="label1"> <var var="I18N::translateContext('MALE', 'married')" /> </Text> 177 </if> 178 <SetVar name="printPeriod" value="true" /> 179 <if condition="$sources==1"> 180 <RepeatTag tag="MARR:SOUR"> 181 <Footnote> 182 <Gedcom id="@SOUR"> 183 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 184 «<GedcomValue tag="TITL" />» 185 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 186 </Gedcom> 187 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 188 <GedcomValue tag="SOUR:DATA:TEXT" /> 189 </Footnote> 190 <SetVar name="source_exist" value="1"/> 191 </RepeatTag> 192 </if> 193 </Gedcom> 194 <if condition="$marrExists=='true'"> 195 <Gedcom id="@WIFE"> 196 <Text style="name"> <GetPersonName id="" /> </Text> 197 <if condition="$sources==1"> 198 <!-- print level 1 sources --> 199 <RepeatTag tag="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 <!-- print level 2 sources attached to NAME --> 212 <RepeatTag tag="NAME:SOUR"> 213 <Footnote> 214 <Gedcom id="@SOUR"> 215 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 216 «<GedcomValue tag="TITL" />» 217 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 218 </Gedcom> 219 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 220 <GedcomValue tag="SOUR:DATA:TEXT" /> 221 </Footnote> 222 <SetVar name="source_exist" value="1" /> 223 </RepeatTag> 224 </if> 225 <Gedcom id="@FAMC"> 226 <Text style="label1"> <var var="I18N::translate('daughter of')" /></Text> 227 <Text style="name"> <GetPersonName id="@HUSB" /> </Text> 228 <Gedcom id="@HUSB"> 229 <Gedcom id="@FAMS:@WIFE"> 230 <Text style="label1"> <var var="I18N::translate('and')" /></Text> 231 </Gedcom> 232 </Gedcom> 233 <Text style="name"> <GetPersonName id="@WIFE" /> </Text> 234 </Gedcom> 235 </Gedcom> 236 </if> 237 </if> 238 <if condition="$gender=='female'"> 239 <Gedcom id="MARR"> 240 <SetVar name="marrExists" value="true" /> 241 <if condition="$printPronoun=='true'" > 242 <Text style="label1"> <var var="I18N::translate('She married')" /> </Text> 243 </if> 244 <if condition="$printPronoun=='false'" > 245 <Text style="label1"> <var var="I18N::translateContext('FEMALE', 'married')" /> </Text> 246 </if> 247 <SetVar name="printPeriod" value="true" /> 248 <if condition="$sources==1"> 249 <RepeatTag tag="MARR:SOUR"> 250 <Footnote> 251 <Gedcom id="@SOUR"> 252 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 253 «<GedcomValue tag="TITL" />» 254 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 255 </Gedcom> 256 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 257 <GedcomValue tag="SOUR:DATA:TEXT" /> 258 </Footnote> 259 <SetVar name="source_exist" value="1"/> 260 </RepeatTag> 261 </if> 262 </Gedcom> 263 <if condition="$marrExists=='true'"> 264 <Gedcom id="@HUSB"> 265 <Text style="name"> <GetPersonName id="" /> </Text> 266 <if condition="$sources==1"> 267 <!-- print level 1 sources --> 268 <RepeatTag tag="SOUR"> 269 <Footnote> 270 <Gedcom id="@SOUR"> 271 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 272 «<GedcomValue tag="TITL" />» 273 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 274 </Gedcom> 275 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 276 <GedcomValue tag="SOUR:DATA:TEXT" /> 277 </Footnote> 278 <SetVar name="source_exist" value="1"/> 279 </RepeatTag> 280 <!-- print level 2 sources attached to NAME --> 281 <RepeatTag tag="NAME:SOUR"> 282 <Footnote> 283 <Gedcom id="@SOUR"> 284 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 285 «<GedcomValue tag="TITL" />» 286 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 287 </Gedcom> 288 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 289 <GedcomValue tag="SOUR:DATA:TEXT" /> 290 </Footnote> 291 <SetVar name="source_exist" value="1" /> 292 </RepeatTag> 293 </if> 294 <Gedcom id="@FAMC"> 295 <Text style="label1"> <var var="I18N::translate('son of')" /></Text> 296 <Text style="name"> <GetPersonName id="@HUSB" /></Text> 297 <Gedcom id="@HUSB"> 298 <Gedcom id="@FAMS:@WIFE"> 299 <Text style="label1"> <var var="I18N::translate('and')" /></Text> 300 </Gedcom> 301 </Gedcom> 302 <Text style="name"> <GetPersonName id="@WIFE" /></Text> 303 </Gedcom> 304 </Gedcom> 305 </if> 306 </if> 307 <Gedcom id="MARR"> 308 <Text style="label1"> <var var=" " /></Text> 309 <if condition="@DATE!=''"> 310 <SetVar name="printPeriod" value="true" /> 311 <Text style="label1"> <var var=" " /> <GedcomValue tag="DATE" level="2"/></Text> 312 </if> 313 <if condition="@PLAC!=''"> 314 <SetVar name="printPeriod" value="true" /> 315 <Text style="label1"> <var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2"/></Text> 316 </if> 317 </Gedcom> 318 <if condition="$printPeriod=='true'"> 319 <Text style="label1">.</Text> 320 <SetVar name="printPronoun" value="true" /> 321 </if> 322 <if condition="$marrExists=='true'"> 323 <if condition="$gender=='male'"> 324 <Gedcom id="@WIFE"> 325 <SetVar name="printPeriod" value="false" /> 326 <SetVar name="birtExist" value="false" /> 327 <SetVar name="printPronoun" value="true" /> 328 <Gedcom id="BIRT"> 329 <if condition="$printPronoun=='true'"> 330 <SetVar name="printPeriod" value="true" /> 331 <Text style="label1"> <var var="I18N::translate('She was born')" /></Text> 332 <SetVar name="printPronoun" value="false" /> 333 </if> 334 <SetVar name="birtExist" value="true" /> 335 <if condition="$sources==1"> 336 <RepeatTag tag="BIRT:SOUR"> 337 <Footnote> 338 <Gedcom id="@SOUR"> 339 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 340 «<GedcomValue tag="TITL" />» 341 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 342 </Gedcom> 343 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 344 <GedcomValue tag="SOUR:DATA:TEXT" /> 345 </Footnote> 346 <SetVar name="source_exist" value="1"/> 347 </RepeatTag> 348 </if> 349 <if condition="@DATE!=''"> 350 <Text style="label1"> <var var=" " /> <GedcomValue tag="DATE" level="2" /></Text> 351 </if> 352 <if condition="@PLAC!=''"> 353 <Text style="label1"> <var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></Text> 354 </if> 355 </Gedcom> 356 <Gedcom id="DEAT"> 357 <if condition="$printPronoun=='true'"> 358 <Text style="label1"> <var var="I18N::translate('She ')" /></Text> 359 <SetVar name="printPronoun" value="false" /> 360 </if> 361 <SetVar name="printPeriod" value="true" /> 362 <if condition="$birtExist=='true'"> 363 <Text style="label1"> <var var="I18N::translate('and')" /></Text> 364 </if> 365 <Text style="label1"> <var var="I18N::translateContext('FEMALE', 'died')" /> </Text> 366 <if condition="$sources==1"> 367 <RepeatTag tag="DEAT:SOUR"> 368 <Footnote> 369 <Gedcom id="@SOUR"> 370 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 371 «<GedcomValue tag="TITL" />» 372 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 373 </Gedcom> 374 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 375 <GedcomValue tag="SOUR:DATA:TEXT" /> 376 </Footnote> 377 <SetVar name="source_exist" value="1"/> 378 </RepeatTag> 379 </if> 380 <if condition="@DATE!=''"> 381 <Text style="label1"> <var var=" " /> <GedcomValue tag="DATE" level="2" /></Text> 382 </if> 383 <if condition="@PLAC!=''"> 384 <Text style="label1"> <var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></Text> 385 </if> 386 </Gedcom> 387 <if condition="$printPeriod=='true'"> 388 <Text style="label1">.</Text> 389 <SetVar name="printPronoun" value="true" /> 390 </if> 391 </Gedcom> 392 </if> 393 <if condition="$gender=='female'"> 394 <Gedcom id="@HUSB"> 395 <SetVar name="printPronoun" value="true" /> 396 <SetVar name="printPeriod" value="false" /> 397 <SetVar name="birtExist" value="false" /> 398 <Gedcom id="BIRT"> 399 <SetVar name="printPeriod" value="true" /> 400 <if condition="$printPronoun=='true'"> 401 <Text style="label1"> <var var="I18N::translate('He was born')" /></Text> 402 <SetVar name="printPronoun" value="false" /> 403 </if> 404 <SetVar name="birtExist" value="true" /> 405 <if condition="$sources==1"> 406 <RepeatTag tag="BIRT:SOUR"> 407 <Footnote> 408 <Gedcom id="@SOUR"> 409 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 410 «<GedcomValue tag="TITL" />» 411 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 412 </Gedcom> 413 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 414 <GedcomValue tag="SOUR:DATA:TEXT" /> 415 </Footnote> 416 <SetVar name="source_exist" value="1"/> 417 </RepeatTag> 418 </if> 419 <if condition="@DATE!=''"> 420 <Text style="label1"> <var var=" " /> <GedcomValue tag="DATE" level="2" /></Text> 421 </if> 422 <if condition="@PLAC!=''"> 423 <Text style="label1"> <var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></Text> 424 </if> 425 </Gedcom> 426 <Gedcom id="DEAT"> 427 <if condition="$printPronoun=='true'"> 428 <Text style="label1"> <var var="I18N::translate('He ')" /></Text> 429 <SetVar name="printPronoun" value="true" /> 430 </if> 431 <SetVar name="printPeriod" value="true" /> 432 <if condition="$birtExist=='true'"> 433 <Text style="label1"> <var var="I18N::translate('and')" /></Text> 434 </if> 435 <Text style="label1"> <var var="I18N::translateContext('MALE', 'died')" /> </Text> 436 <if condition="$sources==1"> 437 <RepeatTag tag="DEAT:SOUR"> 438 <Footnote> 439 <Gedcom id="@SOUR"> 440 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 441 «<GedcomValue tag="TITL" />» 442 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 443 </Gedcom> 444 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 445 <GedcomValue tag="SOUR:DATA:TEXT" /> 446 </Footnote> 447 <SetVar name="source_exist" value="1"/> 448 </RepeatTag> 449 </if> 450 <if condition="@DATE!=''"> 451 <Text style="label1"> <var var=" " /> <GedcomValue tag="DATE" level="2" /></Text> 452 </if> 453 <if condition="@PLAC!=''"> 454 <Text style="label1"> <var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></Text> 455 </if> 456 </Gedcom> 457 <if condition="$printPeriod=='true'"> 458 <Text style="label1">.</Text> 459 <SetVar name="printPronoun" value="true" /> 460 </if> 461 </Gedcom> 462 </if> 463 </if> 464 </Gedcom> 465 </RepeatTag> 466 </TextBox> 467 468 <RepeatTag tag="FAMS"> 469 <Gedcom id="@FAMS"> 470 <if condition="@CHIL!=''"> 471 <SetVar name="numberOfChildren" value="0" /> 472 <RepeatTag tag="CHIL"> 473 <Gedcom id="@CHIL"> 474 <SetVar name="numberOfChildren" value="$numberOfChildren+1" /> 475 </Gedcom> 476 </RepeatTag> 477 478 <TextBox height="20" left="25" newline="1"> 479 <if condition="$numberOfChildren==1"> 480 <Text style="label1"><var var="I18N::translate('Child of ')" /></Text> 481 </if> 482 <if condition="$numberOfChildren>1"> 483 <Text style="label1"><var var="I18N::translate('Children of ')" /></Text> 484 </if> 485 <Text style="name"><GetPersonName id="@HUSB" /></Text> 486 <Text style="label1"> <var var="I18N::translate('and')" /> </Text> 487 <Text style="name"><GetPersonName id="@WIFE" /></Text> 488 <Text style="label1">:</Text> 489 </TextBox> 490 491 <SetVar name="familyChildNumber" value ="1" /> 492 <RepeatTag tag="CHIL"> 493 <Gedcom id="@CHIL"> 494 <if condition="$familyChildNumber==1"><SetVar name="familyChildRoman" value="i" /></if> 495 <if condition="$familyChildNumber==2"><SetVar name="familyChildRoman" value="ii" /></if> 496 <if condition="$familyChildNumber==3"><SetVar name="familyChildRoman" value="iii" /></if> 497 <if condition="$familyChildNumber==4"><SetVar name="familyChildRoman" value="iv" /></if> 498 <if condition="$familyChildNumber==5"><SetVar name="familyChildRoman" value="v" /></if> 499 <if condition="$familyChildNumber==6"><SetVar name="familyChildRoman" value="vi" /></if> 500 <if condition="$familyChildNumber==7"><SetVar name="familyChildRoman" value="vii" /></if> 501 <if condition="$familyChildNumber==8"><SetVar name="familyChildRoman" value="viii" /></if> 502 <if condition="$familyChildNumber==9"><SetVar name="familyChildRoman" value="ix" /></if> 503 <if condition="$familyChildNumber==10"><SetVar name="familyChildRoman" value="x" /></if> 504 <if condition="$familyChildNumber==11"><SetVar name="familyChildRoman" value="xi" /></if> 505 <if condition="$familyChildNumber==12"><SetVar name="familyChildRoman" value="xii" /></if> 506 <if condition="$familyChildNumber==13"><SetVar name="familyChildRoman" value="xiii" /></if> 507 <if condition="$familyChildNumber==14"><SetVar name="familyChildRoman" value="xiv" /></if> 508 <if condition="$familyChildNumber==15"><SetVar name="familyChildRoman" value="xv" /></if> 509 <if condition="$familyChildNumber==16"><SetVar name="familyChildRoman" value="xvi" /></if> 510 <if condition="$familyChildNumber==17"><SetVar name="familyChildRoman" value="xvii" /></if> 511 <if condition="$familyChildNumber==18"><SetVar name="familyChildRoman" value="xviii" /></if> 512 <if condition="$familyChildNumber==19"><SetVar name="familyChildRoman" value="xix" /></if> 513 <if condition="$familyChildNumber==20"><SetVar name="familyChildRoman" value="xx" /></if> 514 <SetVar name="showChildNumber" value="false" /> 515 <RepeatTag tag="FAMS"> 516 <Gedcom id="@FAMS:@CHIL"> 517 <SetVar name="showChildNumber" value="true" /> 518 </Gedcom> 519 </RepeatTag> 520 <TextBox left="25" height="20" width="25"> 521 <if condition="$showChildNumber=='true'"> 522 <Text style="name"><var var="childNumber" />.</Text> 523 <SetVar name="childNumber" value="$childNumber + 1" /> 524 </if> 525 </TextBox> 526 527 <TextBox height="20" newline="1"> 528 <Text style="label1"><var var="familyChildRoman" /></Text> 529 <Text style="name"> <GetPersonName id="" /> </Text> 530 <if condition="$sources==1"> 531 <!-- print level 1 sources --> 532 <RepeatTag tag="SOUR"> 533 <Footnote> 534 <Gedcom id="@SOUR"> 535 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 536 «<GedcomValue tag="TITL" />» 537 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 538 </Gedcom> 539 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 540 <GedcomValue tag="SOUR:DATA:TEXT" /> 541 </Footnote> 542 <SetVar name="source_exist" value="1"/> 543 </RepeatTag> 544 <!-- print level 2 sources attached to NAME --> 545 <RepeatTag tag="NAME:SOUR"> 546 <Footnote> 547 <Gedcom id="@SOUR"> 548 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 549 «<GedcomValue tag="TITL" />» 550 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 551 </Gedcom> 552 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 553 <GedcomValue tag="SOUR:DATA:TEXT" /> 554 </Footnote> 555 <SetVar name="source_exist" value="1" /> 556 </RepeatTag> 557 <Text style="label1"> </Text> 558 </if> 559 <Gedcom id="BIRT"> 560 <Text style="label1"> <var var="I18N::translate('Birth')" />: <GedcomValue tag="DATE" level="2"/> <GedcomValue tag="PLAC" level="2"/></Text> 561 </Gedcom> 562 <SetVar name="showMarraige" value="T" /> 563 <RepeatTag tag="FAMS"> 564 <Gedcom id="@FAMS:@CHIL"> 565 <SetVar name="showMarraige" value="F" /> 566 </Gedcom> 567 </RepeatTag> 568 <if condition="$showMarraige=='T'"> 569 <SetVar name="gender" value="male" /> 570 <if condition="@SEX=='F'"> 571 <SetVar name="gender" value="female" /> 572 </if> 573 <RepeatTag tag="FAMS"> 574 <Gedcom id="@FAMS"> 575 <Text style="label1"> <var var="I18N::translate('Marriage')" />: </Text> 576 <if condition="$gender=='male'"> 577 <Text style="name"><GetPersonName id="@WIFE" /></Text> 578 </if> 579 <if condition="$gender=='female'"> 580 <Text style="name"><GetPersonName id="@HUSB" /></Text> 581 </if> 582 <Gedcom id="MARR"> 583 <if condition="@DATE!=''"> 584 <Text style="label1">, <GedcomValue tag="DATE" level="2" /></Text> 585 </if> 586 <if condition="@PLAC!=''"> 587 <Text style="label1">, <GedcomValue tag="PLAC" level="2" /></Text> 588 </if> 589 </Gedcom> 590 </Gedcom> 591 </RepeatTag> 592 </if> 593 <Gedcom id="DEAT"> 594 <Text style="label1"> <var var="I18N::translate('Death')" />: <GedcomValue tag="DATE" level="2"/> <GedcomValue tag="PLAC" level="2"/></Text> 595 </Gedcom> 596 </TextBox> 597 </Gedcom> 598 <SetVar name="familyChildNumber" value="$familyChildNumber+1" /> 599 </RepeatTag> 600 </if> 601 </Gedcom> 602 </RepeatTag> 603 <SetVar name="personNumber" value="$personNumber + 1" /> 604 <TextBox height="10" newline="1" padding="0"/> 605 </if> 606 </Relatives> 607 <!-- if the sources were on, print the source citations as footnotes --> 608 <if condition="$source_exist==1"> 609 <NewPage/> 610 <TextBox newline="1"> 611 <Text style="subheader"><var var="I18N::translate('Sources')" /><br /><br /></Text> 612 <FootnoteTexts /> 613 </TextBox> 614 </if> 615 </Body> 616 <Footer> 617 <Cell align="rightrtl" newline="1" style="date"><Now /></Cell> 618 </Footer> 619 </Doc> 620</Report> 621