BibliographyPlugin » History » Version 11

Luis Figueira, 2012-07-11 04:07 PM
added gems for bibtex

1 1 Luis Figueira
h1. Bibliography Plugin Documentation
2 1 Luis Figueira
3 6 Luis Figueira
We're developing a Plugin to manage project's and user's bibliographical entries. In the issue tracker it is named _feature_36_.
4 1 Luis Figueira
5 4 Chris Cannam
* [[BibliographyOngoingReviewNotes|Ongoing miscellaneous review notes]] from testing during development
6 1 Luis Figueira
* [[BibliographyPluginAlphaVersion|Plugin's Alpha Version Requisites and Notes]]
7 6 Luis Figueira
8 6 Luis Figueira
9 6 Luis Figueira
h2. Objective and Philosophy
10 6 Luis Figueira
11 6 Luis Figueira
Projects hosted on code.soundsoftware.ac.uk are usually associated with academic publications (papers, articles, etc). These often offer a strong theoretical background to the code that's being hosted on this site, and many times are the only way users can understand what's happening under the hood for a specific project. On the other hand many researchers are now adopting a "reproducible research" philosophy, in which they not only publish the paper/article itself, but also the code and/or data that supports such publication.
12 6 Luis Figueira
13 7 Luis Figueira
The main idea behind this module is to be able to provide a service that ties both features together, making it easy for researchers to make their source code and publications available on the same platform.
14 1 Luis Figueira
15 7 Luis Figueira
Since Redmine is a project-oriented platform, it makes sense that the publications can only be *created, edited, deleted, etc* in the project's scope. 
16 7 Luis Figueira
17 1 Luis Figueira
h2. Plugin Architecture
18 7 Luis Figueira
19 11 Luis Figueira
20 11 Luis Figueira
h2. Bibtex Parsing and necessary gems
21 11 Luis Figueira
22 11 Luis Figueira
* bibtex parsing we're using the @bibtex-ruby@ gem; 
23 11 Luis Figueira
* formatting: @citeproc-ruby@ gem
24 11 Luis Figueira
** need to have @libiconv@ installed
25 11 Luis Figueira
26 7 Luis Figueira
h3. Permissions
27 8 Luis Figueira
28 7 Luis Figueira
The following permissions were created: 
29 7 Luis Figueira
30 7 Luis Figueira
* view
31 7 Luis Figueira
* add
32 7 Luis Figueira
* edit
33 7 Luis Figueira
* delete  
34 7 Luis Figueira
35 1 Luis Figueira
36 1 Luis Figueira
h3. Models
37 1 Luis Figueira
38 1 Luis Figueira
h4. Publications
39 1 Luis Figueira
40 1 Luis Figueira
h4. Bibtex_Entries
41 1 Luis Figueira
42 1 Luis Figueira
h4. Authors
43 1 Luis Figueira
44 1 Luis Figueira
h4. Authorships
45 1 Luis Figueira
46 1 Luis Figueira
Model that "ties" the authors and publications models together. It contains relation-specific information: 
47 1 Luis Figueira
48 1 Luis Figueira
* @name_on_paper@: author's name on that specific publication;
49 1 Luis Figueira
* @order@: author's order in that publication;
50 1 Luis Figueira
* @institution@: author's institution when the publication was published;
51 1 Luis Figueira
* @email@: author's email on that specific publication.
52 1 Luis Figueira
53 1 Luis Figueira
54 1 Luis Figueira
h3. Relationships
55 1 Luis Figueira
56 1 Luis Figueira
NOTE: upload the class UML. 
57 1 Luis Figueira
58 1 Luis Figueira
59 1 Luis Figueira
h3. Tying it all togheter
60 1 Luis Figueira
61 2 Luis Figueira
This is the complete documentation used to create the plugin:
62 2 Luis Figueira
http://www.redmine.org/projects/redmine/wiki/Hooks
63 1 Luis Figueira
64 2 Luis Figueira
h3. Views
65 1 Luis Figueira
66 2 Luis Figueira
There should be two main ways to browse publications:
67 2 Luis Figueira
68 2 Luis Figueira
# General
69 2 Luis Figueira
# Project 
70 2 Luis Figueira
71 2 Luis Figueira
h4. General Publications View
72 2 Luis Figueira
73 3 Luis Figueira
All the publications published in the website.
74 3 Luis Figueira
75 2 Luis Figueira
h4. Project Publications View
76 2 Luis Figueira
77 3 Luis Figueira
All the publications related to a specific project.
78 3 Luis Figueira
79 3 Luis Figueira
h4. My Publications
80 3 Luis Figueira
81 3 Luis Figueira
In the My Page, there should be a "box" with a list of all the publications added by the user and/or publications where the user is an author
82 1 Luis Figueira
83 1 Luis Figueira
 
84 9 Chris Cannam
h2. Deployment note
85 9 Chris Cannam
86 9 Chris Cannam
After running the migrations, you need to seed the publication types:
87 9 Chris Cannam
88 10 Chris Cannam
@rake redmine:plugins:redmine_bibliography:seed_bibtex_entry_types@