I'm using the IEEEannot.bst class to do bibliographic surveys and wanted to insert a field into the bibtex file, such as @article attribute, and then display that field in the PDF references. I am very beginer in LaTex syntax and I do not know exactly what I need to change to do this. I've already made a change to a function that worked, but I'm not getting it.
This was a change I made that worked, the goal is to put the annotated text in bold:
Change that worked: Before
FUNCTION {format.annotate}
{ annote empty$
{ "" }
{ " "
annote
* "" *
}
if$
}
Change that worked: Then
FUNCTION {format.annotate}
{ annote empty$
{ "" }
{
" \textbf{ "
annote
* "}" *
}
if$
}
The function format.annotate
is called later in the code, in a section like the following:
FUNCTION {article}
{
% Code here...
format.annotate write$
% Code here...
}
Change I want now
To do what I want, I created a new function and called it as in the above code:
FUNCTION {format.link}
{ doi empty$
{ "" }
{
""
doi
* "" *
}
}
In the call I'm not sure how to do it, but I did something like this: FUNCTION {article} { % Code here ... format.annotate write $ format.link doi % Code here ... }
But nothing has changed.
Note: annote
is a property of @article
, in the bibtex file, as well as doi
.
Even when I call the doi
property inside a method that works nothing happens. I do not know the LaTex syntax very well, so would anyone know where the error is? how could I get a property of bibtex and display it in the document?