Revision 1312:2abc48cc545e plugins/redmine_bibliography/app/models
| plugins/redmine_bibliography/app/models/publication.rb | ||
|---|---|---|
| 101 | 101 |
end |
| 102 | 102 |
|
| 103 | 103 |
if style == :ieee |
| 104 |
CiteProc.process bib.to_citeproc, :style => :ieee, :format => :html
|
|
| 104 |
CiteProc.process(bib.to_citeproc, :style => :ieee, :format => :html)
|
|
| 105 | 105 |
else |
| 106 | 106 |
bibtex = bib.to_s :include => :meta_content |
| 107 | 107 |
bibtex.strip! |
| 108 |
logger.error { bibtex }
|
|
| 109 | 108 |
end |
| 110 | 109 |
end |
| 111 | 110 |
end |
Also available in: Unified diff