/usr/share/pybliographer/Pyblio/ConfDir/Refer.py is in pybliographer 1.2.14-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | from Pyblio import Config
Config.define ('refer/mapping',
""" A hash table containing field names
correspondances. The boolean flag specifies if the
mapping should be reversible. """,
vtype = Config.Dict (Config.String (),
Config.Tuple ((Config.String (),
Config.Boolean ()))))
Config.set ('refer/mapping', {
'U' : ('url', 1),
'A' : ('author', 1),
'Q' : ('author', 0),
'T' : ('title', 1),
'S' : ('series', 1),
'J' : ('journal', 1),
'B' : ('booktitle', 1),
'R' : ('type', 1),
'V' : ('volume', 1),
'N' : ('number', 1),
'E' : ('editor', 1),
'D' : ('date', 1),
'P' : ('pages', 1),
'I' : ('publisher', 1),
'C' : ('address', 1),
'K' : ('keywords', 1),
'X' : ('abstract', 1),
'W' : ('location', 1),
'F' : ('label', 1),
'O' : ('note', 1),
})
|