How to add a field in the.Bibtex format and display it using the class Ieeeannot.Bst

Asked

Viewed 35 times

1

I’m using the class of Ieeeannot.Bst to do bibliographic surveys and wanted to include a field in the Bibtex file, as @article attribute, and then display this field in the PDF references. I’m very beginer in Latex syntax and I don’t know exactly what I need to change to do this. I’ve already made a change to a function that worked, but this one I’m not getting.

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: After

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 her as in the code above:

FUNCTION {format.link}
{ doi empty$
    { "" }
    {
        ""
        doi
        * "" *
    }
}

On 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’s been changed. Obs.: annote is a property of @article, in the Bibtex file, as well as doi. Even when I call the estate doi within a working method nothing happens. I’m not really familiar with the Latex syntax, so anyone would know where the bug is? how could I pick up a Bibtex property and show in the document?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.