source: trunk/aeres/scripts/define_loceanaffectation.py @ 181

Last change on this file since 181 was 181, checked in by pinsard, 12 years ago

progress in authors list

File size: 905 bytes
Line 
1#!/usr/bin/env python
2# -*- coding: iso-8859-1 -*-
3
4__docformat__ = "restructuredtext en"
5
6def define_loceanaffectation():
7    """define affectation for :
8         - search in bibtex file (in loceanaffectation field)
9         - give a element of HTML filename (no diacritical and no punctation)
10
11    TODO :
12    automation of no diacritical and no punctation transformation
13
14    dictionnary instead of list
15    """
16    affectation_bibtool = []
17    affectation_title = []
18   
19    affectation_bibtool.append("mnhn")
20    affectation_title.append("mnhn")
21    affectation_bibtool.append("cnrs")
22    affectation_title.append("cnrs")
23    affectation_bibtool.append("ird")
24    affectation_title.append("ird")
25    affectation_bibtool.append("upmc")
26    affectation_title.append("upmc")
27    affectation_bibtool.append("uvsq")
28    affectation_title.append("uvsq")
29
30    return affectation_title, affectation_bibtool
Note: See TracBrowser for help on using the repository browser.