Thanks for your help. [rgheck - send me your name if you like a credit added to the bst files modification histroy. I will be sharing this style once it is complete] That did exactly what I wanted. I haven't managed to figure out the Tex syntax yet. I also have the problem that the APA style requires the second line of the reference to be indented (see link below for example) but the 'apa-good' APA style for natbib that I am using does not do that. Could that be easily added? The styles 'apalike' and 'apacite' achieve this but don't work properly with natbib. The bst file I am using can be downloaded from http://www.dsg.cs.tcd.ie/~linehane/lyx/ Any help would be greatly appreciated.
http://owl.english.purdue.edu/owl/resource/560/06/ - Éamonn On Jan 7, 2008 4:48 AM, rgheck <[EMAIL PROTECTED]> wrote: > Try what's below: > > FUNCTION {book} > > { output.bibitem > > author empty$ > > { format.editors "author and editor" output.check > > editor format.key output > > add.blank > > } > > { format.authors output.nonnull > > crossref missing$ > > { "author and editor" editor either.or.check } > > 'skip$ > > if$ > > } > > if$ > > format.date "year" output.check > > date.block > > format.btitle "title" output.check > > edition missing$ > > 'skip$ > > { " (" format.edition * ")" * output } > > if$ > > new.block > > crossref missing$ > > { format.bvolume output > > new.block > > format.number.series output > > new.sentence > > format.publisher.address output > > } > > { > > format.book.crossref output.nonnull > > } > > if$ > > new.block > > format.note output > > fin.entry > > write.url > > } > > > > > I'm not sure exactly what you'd want to do with the volume, series, etc, > info, but this should get you what you wanted. If not, let me know, and > I'll have to debug it. > > rh > > > -- _______________________________ Éamonn Linehan, Distributed Systems Group, F.35 Computer Science Dept., Trinity College, Dublin 2. Phone: 00353 1 8961543 Email: [EMAIL PROTECTED] Web: https://www.cs.tcd.ie/Eamonn.Linehan
