is there a soulution for the PNAS Style?
MPAs must be simultaneously self-sustaining (7, 8) and ...
7. Hastings A, Botsford LW (2006) Persistence of spatial populations depends on returning
home. Proc Natl Acad Sci U S A 103:6067–6072.
8. Jones GP, Planes S, Thorrold SR (2005) Coral reef fish larvae settle close to home. Curr
With kind regards Knut
the PNAS style itself could probably adopted easily from the refbase Polar Biol or APA styles. However, since it's a numbered style, references get listed in the bibliography section according to their first occurrence in the article text. The refbase 'extract.php' script currently has no support for numbered styles.
Some background: The refbase function (in 'search.php') that analyses the output from 'extract.php' currently just extracts reference IDs (serial numbers or cite keys) from the given source text and generates an appropriate SQL query (including the ORDER BY statement). The query is then executed by 'search.php' as usual and any found results are displayed. Unless I'm overlooking something, to display found records according to their occurrence in the article text, refbase would need to save the list of extracted serial numbers and re-order found records in memory according to that list.
This is certainly doable but I fear it's not a quick hack (though I might be wrong). And I'm not sure how important this feature would be for the majority of our users...
i found a code part below in extract.php and I am wondering why I do not see the options.
Wouldn't It be easy to adapt "order as in document" or "no sort order"
to get the same order as in the pasted text?
echo "\n\t\t</select> "
. "\n\t\tsort by: "
. "\n\t\t<select name=\"citeOrder\" title=\"choose the primary sort order for your reference list\">"
. "\n\t\t\t<option value=\"author\">author</option>"
. "\n\t\t\t<option value=\"year\">year</option>"
. "\n\t\t\t<option value=\"type\">type</option>"
. "\n\t\t\t<option value=\"type-year\">type, year</option>"
. "\n\t\t\t<option value=\"creation-date\">date created</option>"
. "\n\t\t</select> "
. "\n\t\treturn as: "
. "\n\t\t<select name=\"citeType\" title=\"choose how your reference list shall be returned\"$citeFormatDisabled>";
>This is certainly doable but I fear it's not a quick hack (though I might be >wrong). And I'm not sure how important this feature would be for the majority >of our users...
Very important, because Nature and Science have the same reference Style ;-)
> Wouldn't It be easy to adapt "order as in document" or
> "no sort order" to get the same order as in the pasted text?
No, unfortunately not. The currently available sort options refer to appropriate "ORDER BY ..." SQL statements. But the document's citation order cannot be readily converted into an SQL "ORDER BY ..." clause. Instead one would need to loop over all citations from the document and resort the returned MySQL result set accordingly.