On 9 Oct 2007, at 6:08 AM, Lilie Lou wrote:
Dear BibDesk users,
Till now, I was using BibDesk to manage my bibliography database,
annotate it, link with the pdf, and this is just great ! Can't
remember how I did before??? (the combination with Skim is also
great, no need to print all papers : comments in BibDesk and
highlights in the paper with Skim). And then, generate the
bibliography for a paper.
But I am using LaTeX with the "thebibliography" environment. I
would like to be able to choose the fields for the "bibitem"
command. In particular, I added the "doi" field by default for all
my paper "cards" and I would like to export it in the bibitem
command. I also would like the field "author" to be in this form :
"McCracken, M., A. Maxwell, C. M. Hofman, S. S. Porst, J. Howison,
M. Routley, and S. Spiegel"
(with firstname of the first author in the "lastname, firstname"
format while other author names are in "firstname lastname" order).
To do that, I created my own tex template for articles :
<$publications>
\bibitem[<???>]{<$citeKey/>}
\textbf{<
[EMAIL PROTECTED]/
>} (<$fields.Year/>).
<$fields.Title/>,
\textit{<$fields.Journal.stringByRemovingTeX/>},
\textbf{<$fields.Volume/>}<[EMAIL PROTECTED]>(<
$fields.Number/>)</[EMAIL PROTECTED]>:<$fields.Pages/><
[EMAIL PROTECTED]>, doi:<$fields.Doi/></[EMAIL PROTECTED]>.
</$publications>
But the DOI field is just ignored, and I also have a problem for
the parameter in the bibitem command (\bibitem[<????>], I can't
generate what I want : an author-year citation form). And I can't
export the author names in the format I would like (sure I could do
it by hand... but knowing me, this would be a way to generate a lot
of mistakes !).
Is there a way to solve this? What did I miss?
Many thanks in advance and thank you so much to the developers,
Julie
@nonEmpty is a modifier for a collection (filters out empty fields
from a collection), so that should be used in something like <
[EMAIL PROTECTED]>. However fields.Doi is a single field, not a
collection, so you should use it in a value tag and/or a condition
tag. In your case you should use something like:
<$fields.Doi?>, doi:<$fields.Doi/></fields.Doi?>
Similar for Number.
Christiaan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users