* the bib key contained curly braces, which were not understood by bibtex
* if a journal has only an online ISBN this was omited
* the author names were not formated according to the common firstname lastname convention and separated by "," instead of "and"
* abstract and keywords were not exported
I tried to fix those issues and would be pleased if you could add my changes to the next release:
- Code: Select all
<div class="separator"></div>
{literal}
<pre style="font-size: 1.5em;">@article{{/literal}{$journal->getJournalInitials()|escape}{$articleId|escape}{literal},
author = {{/literal}{assign var=authors value=$article->getAuthors()}{foreach from=$authors item=author name=authors key=i}{assign var=firstName value=$author->getFirstName()}{assign var=authorCount value=$authors|@count}{$firstName|escape} {$author->getLastName()|escape}{if $i<$authorCount-1} and {/if}{/foreach}{literal}},
title = {{/literal}{$article->getArticleTitle()|strip_unsafe_html}{literal}},
journal = {{/literal}{$journal->getJournalTitle()|escape}{literal}},
{/literal}{if $issue}{literal} volume = {{/literal}{$issue->getVolume()|escape}{literal}},
number = {{/literal}{$issue->getNumber()|escape}{literal}},{/literal}{/if}{literal}
year = {{/literal}{$article->getDatePublished()|date_format:'%Y'}{literal}},
keywords = {{/literal}{$article->getArticleSubject()|escape}{literal}},
abstract = {{/literal}{$article->getArticleAbstract()|escape}{literal}},
{/literal}{assign var=onlineIssn value=$journal->getSetting('onlineIssn')|escape}
{assign var=issn value=$journal->getSetting('issn')|escape}{if $issn}{literal} issn = {{/literal}{$issn}{literal}},{/literal}
{elseif $onlineIssn}{literal} issn = {{/literal}{$onlineIssn}{literal}},{/literal}{/if}
{literal} url = {{/literal}{$articleUrl}{literal}}
}
</pre>
{/literal}
