[OS X TeX] Re: html output from bib file (BibDesk)

Claus Gerhardt gerhardt at math.uni-heidelberg.de
Mon Jan 30 00:33:14 CET 2006


Most bst files look at the end like


FUNCTION {begin.bib}
{ preamble$ empty$
     'skip$
     { preamble$ write$ newline$ }
   if$
   "\providecommand{\bysame}{\leavevmode\hbox to3em{\hrulefill} 
\thinspace}"
        write$ newline$
    "\providecommand{\href}[2]{#2}"
         write$ newline$
   "\begin{thebibliography}{"  longest.label  * "}" * write$ newline$
}

EXECUTE {begin.bib}

EXECUTE {init.state.consts}

ITERATE {call.type$}

FUNCTION {end.bib}
{ newline$
   "\end{thebibliography}" write$ newline$
}

EXECUTE {end.bib}


The two \providecommands are part of my modifications of amsplain.bst  
and this is the place where you should add your own commands for the  
preamble of the bibliography.

Claus


On Jan 29, 2006, at 13:09, James Owen wrote:

> - How do I rewrite the .bst file or the .tex bibliography preamble,  
> in order to add all these \renewcommand
> sequences? That seems like a good approach.
>
> Is there a good resource on the Web for editing/deciphering .bst  
> files? Or on adding renewcommands?

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list