Work @ CCT

Friday, December 29, 2006

Working with bibtex

Yesterday I learnt how to modify a bibtex style file bst. I didn't change much; I just made the title in italics.
Here is the portion of code that does this:


FUNCTION {format.title}
{ title empty$
{ "" }
{ title "t" change.case$ emphasize}
if$
}


The commands for creating the html file are in my case:

-to sort the entries by year and reverse them:
./bib2bib -r -s year Presentations.bib > Presentations1.bib

-to create the html files:
./bibtex2html -style plain.bst Presentations1.bib

An entry in the Presentations.bib looks like this:

@INPROCEEDINGS{CactusPresentations_Allen01b,
author = {Gabrielle Allen},
title = {{Numerical Relativity with Cactus}},
urlpdf = {http://www.cactuscode.org/Documentation/presentations/gr16July01.pdf
},
note = {Description: Numerical Relativity Workshop, Satellite Meeting of GR16
- Johannesberg, South Africa},
month = {July},
year = {2001}
}


I tried to find a way to have the entries labeled with bullets instead of numbers for the html, but I didn't find anything yet. :(

Yesterday I partially finished running the benchmark. ( I still couldn't get my hands on igertws09 and I couldn't compile the Bench_BSSN_PUGH on Nemeaux or greengrass - arch=Darwin.) In the same time with the runnings I wrote the .bib file and convert the ppts to pdfs. There were some presentations on sdd format and I was told that these could be opened with OpenOffice. Now, the presentation web page looks reasonable. Eventually I would have to delimitate the entries by year with a line - this was the suggestion I received; this would make the page looks nice, but having bullets instead of numbers would make it nicer.

Labels: , ,

0 Comments:

Post a Comment

<< Home