## File: bib2html.c

package info (click to toggle)
lifelines 3.0.50-2
 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 #include /* bib2html.c. By Dennis Nicklaus nicklaus@fnal.gov, July 1998. Converts the bib.tex bibliography file output by the book-latex lifelines report into an HTML file, which is suitable for use as the bibliography file referenced by the HTML output of the html.dn report. Compile this simply as cc -o bib2html bib2html.c Then run it as a filter (assuming your file/database name is "dad"): bib2html < dad-bib.tex > dadbib.html Things will be a lot nicer if you first sort your bib.tex file by source number, something like: sort -n -t S -k 2 < dad-bib.tex > bibsort and then run it (bibsort) through bib2html This simple filter is by no means completely robust. You might have things in your bibliography that will confuse it. (Other LaTex commands, e.g.) It can handle {\em text} constructs, but that is about all. Ya' get what ya' pay for, I guess. */ main() { char c,word[80],*cptr; printf("\n
\n"); }