[texhax] BIBTEX coding anyone?

Spank tuche at tin.it
Sat Aug 20 01:51:32 CEST 2005


Hi everybody,

here's my little problem of the day, if someone wants to tool with it...

I'm trying to customize my bibliographystyle to the (horrific) "current opinion" format.
I'm using "naturemag.bst" as the template I'm editing and "natbib.sty" for the citing.

Here is where I have troubles:

COpin requires "rating" via small bullets for articles of "outstanding" interest. So I just added the 'type output' statement in the article formatting (where in type I write how "outstanding the article is" - i.e. put bullets). (so far so good, except that it will put the bullets AFTER the reference numbers, when really it should be before.. SOMEONE knows how?)

Second, some articles need comments appended to the reference. So I included the note field with the same 'note output' statement. Problem is, this is not appended as a new paragraph, but just put as another sentence, after the year of publication. Also, I'd like to make it \textbf{}, but can't seem to edit the note field in the .bst file accordingly (I think I can solve this by manually boldening the note field in the .bib file.

Just to make it clear here are the three problems:

1) Move the "type output" so that in the references whatever is in the "type" field will appear prior to the [nn] numbering of the reference (..I do think it's visually horrible...)?
2) How can I get the "note output" to be on a new line, appended to the reference?
3) How can I get the "note output" to be \textbf{} without doing it manually in the .bib file?

If anyone is a BIBTEX guru, please help... ;)

  cheers

Roman

PS here is my article function from the naturemag.bst (slightly modified -e.g. the type output):

FUNCTION {article} { output.bibitem
  type output
  add.blank
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  crossref missing$
    {
      journal
      "journal" bibinfo.check
      emphasize
      "journal" output.check
      add.blank
      format.vol.num.pages output
      format.date "year" output.check
    }
    { format.article.crossref output.nonnull
      format.pages output
    }
  if$
  new.block
  format.url output
  new.block
  format.note output
  format.eprint output
  fin.entry
} 


--------------------------

I became insane, with long intervals of horrible sanity. [E.A. Poe]

Would you tell me, please, which way I ought to go from here? ''That depends a good deal on where you want to get to.'' Said the Cat. I don't much care where -- Said Alice. Then it doesn't matter which way you go, said the Cat. [Lewis Carroll]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20050819/818a9a6e/attachment.htm


More information about the texhax mailing list