Custom Bib

The classic way. Ref

Download the custom-bib zip file and extract it (ctan link: http://www.ctan.org/tex-archive/macros/ … custom-bib). My (very old) notes on this are as follows:

============

A. Beginners

Make your own BibTeX .bst style file using the package called custom-bib.

First time only: run the command: latex makebst.ins.

All other times run latex makebst and answer the excessive list of questions.

Alternatively run: latex my_custom_bib_style_file.dbj or hack the file “my_custom_bib_style_file.dbj” yourself. Congratulations: you now have a custom .bst file!

Make sure you’ve placed your .bst file in “/usr/share/texmf/bibtex/bst/base”!

Run texhash (necessary?)

Run “LyX > Edit > Reconfigure” and restrart LyX. (necessary?)

Click in LyX on (hattrick here!): “View > TeX information > BibTeX styles > Rescan”. Your new style file should pop up in all dialog boxes now.

Or place your *.BST it in a subdir of your LyX doc and refer to it. No spaces in the path and name of the file!

==========

B. Hackers

Alternatively edit the .bst file itself. Beware that this can be very difficult because of the programming language used. Example: replace the word “volume” with the word “vol.” under “FUNCTION {bbl.volume}”.

If placed in the default directory (i.e. /usr/share/texmf/bibtex/bst/base), you can edit the .bst file without reconfiguring.

2. Use the discontinued Windows prog ‘BibIt’

and use the style generator wizard.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s