2010/11/21 Jérôme <romjerome@yahoo.fr>
>    GEVENT is it a Gedcom tag ?

No ! It seems to be a token used by Gramps for validating a Gedcom
event. If you know that a TOKEN is listed on plugins/lib/libgedcom.py,
maybe your custom Gedcom might try GEVENT/TYPE association ?

GEVENT: Checks to see if the token maps a known GEDCOM event. If so, we
        change the type from UNKNOWN to TOKEN_GEVENT (gedcom event), and
        the data is assigned to the associated GRAMPS EventType
TYPE is the EVENT_DESCRIPTOR

It is not the standard way, but maybe this could work for relation type!

> Warning "Civil Union" is like PACS (French contract) !
> I just want to link cohabitants.

What does "Union" mean ?

Try "Unmarried" ?

see gen/lib/familyreltype.py

Jerome, this is the gramps _users_ list. Try to avoid speaking with code, users want to do genealogy, not program.

Benny



Genearic a écrit :
>    GEVENT is it a Gedcom tag ?
> I don't know in the draft 5.5.1.
> I have not tried neither one nor the other.
> Warning "Civil Union" is like PACS (French contract) ! I just want to
> link cohabitants.
>
>
> Le 20/11/2010 16:16, Jérôme a écrit :
>> Hi,
>>
>>
>> A quick look at plugins/lib/libgedcom.py says that:
>>
>> ENGA is set on familyConstantEvents (gen.lib.EventType.ENGAGEMENT)
>> EVEN is used on __family_even()
>> TYPE is the EVENT_DESCRIPTOR
>> GEVENT: Checks to see if the token maps a known GEDCOM event. If so, we
>>         change the type from UNKNOWN to TOKEN_GEVENT (gedcom event), and
>>         the data is assigned to the associated GRAMPS EventType
>>
>> I suppose Gramps will create a custom family event : Union
>> and to import engagement family event.
>>
>> Did you try this:
>>
>> 0 @F753@ FAM
>> 1 HUSB @I1@
>> 1 WIFE @I2222@
>> 1 ENGA <- (for common-law)
>> 2 TYPE Union <- for common-law
>>
>> or
>>
>> 0 @F753@ FAM
>> 1 HUSB @I1@
>> 1 WIFE @I2222@
>> 1 GEVENT
>> 2 TYPE Civil Union
>>
>>
>>
>> Jérôme
>>
>>
>> Genearic a écrit :
>>> Hi,
>>>
>>> How to fill common-law on Gramps ?
>>>
>>> Gramps it seems not to recognize the following syntaxwhen import a
>>> Gedcom file :
>>>
>>> 0 @F753@ FAM
>>> 1 HUSB @I1@
>>> 1 WIFE @I2222@
>>> 1 ENGA <- (for common-law)
>>> 1 EVEN
>>> 2 TYPE Union <- for common-law
>>> 1 NCHI 0
>>>
>>> Regards
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> Beautiful is writing same markup. Internet Explorer 9 supports
>>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>>> Spend less time writing and  rewriting code and more time creating great
>>> experiences on the web. Be a part of the beta today
>>> http://p.sf.net/sfu/msIE9-sfdev2dev
>>> _______________________________________________
>>> Gramps-users mailing list
>>> Gramps-users@lists.sourceforge.net
>>> <mailto:Gramps-users@lists.sourceforge.net>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Gramps-users mailing list
Gramps-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-users