Revision 1023:3d924264419a vendor/plugins/redmine_bibliography/app/models
| vendor/plugins/redmine_bibliography/app/models/publication.rb | ||
|---|---|---|
| 82 | 82 |
end |
| 83 | 83 |
|
| 84 | 84 |
if style == :ieee |
| 85 |
CiteProc.process bib.to_citeproc, :style => :ieee, :format => :html |
|
| 86 |
else |
|
| 87 |
bib.to_s :include => :meta_content |
|
| 85 |
CiteProc.process bib.to_citeproc, :style => :ieee, :format => :html |
|
| 86 |
else |
|
| 87 |
bibtex = bib.to_s :include => :meta_content |
|
| 88 |
bibtex.strip! |
|
| 89 |
logger.error { bibtex }
|
|
| 88 | 90 |
end |
| 89 | 91 |
end |
| 90 | 92 |
end |
Also available in: Unified diff