Brian,
> Maybe, endnote references on individuals (thing on head right corner
> after event place data) might be placed after event type.
>
> ------------------------------------------------
>
> a bug ?
>
> gramps23/src/plugins/DetAncestralReport.py", line 358, in write_event
> text += _('%(event_name)s: %(place)s%') % {
> ValueError: incomplete format
I was not able to move/display (endnotes) just after event name on
ReportUtils line 1558->1700. Seems, you uses an other way for displaying
(endnotes) on para ...
> On DAR & DDR, GRAMPS uses the same source reference indice for birth and death, but it is not correct with my data.
Here, a patch for fixing typos on DAR and DDR
--- gramps23/src/plugins/DetAncestralReport.py
+++ gramps23/src/plugins/DetAncestralReport.py
@@ -246,7 +246,7 @@
text = ReportUtils.died_str(self.database,person,first,
self.EMPTY_DATE,self.EMPTY_PLACE,age,units)
if text:
- death_ref = person.get_birth_ref()
+ death_ref = person.get_death_ref()
if death_ref:
death = self.database.get_event_from_handle(death_ref.ref)
text = text.rstrip(". ")
@@ -355,7 +355,7 @@
'event_name' : _(evtName),
'date' : date}
elif place:
- text += _('%(event_name)s: %(place)s%') % {
+ text += _('%(event_name)s: %(place)s') % {
'event_name' : _(evtName),
'place' : place }
else:
--- gramps23/src/plugins/DetDescendantReport.py
+++ gramps23/src/plugins/DetDescendantReport.py
@@ -273,7 +273,7 @@
text = ReportUtils.died_str(self.database,person,first,
self.EMPTY_DATE,self.EMPTY_PLACE,age,units)
if text:
- death_ref = person.get_birth_ref()
+ death_ref = person.get_death_ref()
if death_ref:
death = self.database.get_event_from_handle(death_ref.ref)
text = text.rstrip(". ")
@@ -382,7 +382,7 @@
'event_name' : _(evtName),
'date' : date}
elif place:
- text += _('%(event_name)s: %(place)s%') % {
+ text += _('%(event_name)s: %(place)s') % {
'event_name' : _(evtName),
'place' : place }
else:
|