Assuming you have the custom-bib packaged installed, look in the doc/latex/custom-bib directory under your LaTeX (not LyX) directory tree, and you should find the makebst.dvi file, which explains how to use custom-bib.

To create mystyle.bst, do the following:

1. In a command window, type 'latex makebst'. (Note: no file extension needed on makebst.) This starts the dialog.

2. The first question is whether you want to see instructions. The next question (I think) is what master file to use. Accept the default choice (merlin.mbs) by hitting the enter key without typing anything.

3. The next question is what to call the style file. This is where you specify 'mystyle.bst' (or whatever name you want).

4. Answer the sequence of questions on how to format the bibliography. Note that, in all cases, there will be a default choice, which you can accept just by hitting the enter key.

5. When the program concludes, it will create a log file (makebst.log) and a batch file (mystyle.dbj).

6. I think the last question in the dialog is whether or not to run the batch file. If you answer yes, the program will also generate your style file (mystyle.bst). If not, you can run 'tex mystyle.dbj' and that will create mystyle.bst.

-- Paul

Harold Mouras wrote:



THank you very much for your response. Is the right way to use this package
the following:
1. I created a file named style.bst
2 I tape in a command window latex style.bst
It doesn't seem to make appear any dialog box.
What did I wrong?
THanks
harold


--------------------------------------------------------- Harold Mouras ATER Neurosciences - Universite Paris 5 Inserm U483 Boite 23 9, quai Saint Bernard 75005 Paris Telephone : +33 1 44 27 26 24 Telecopie : +33 1 44 27 34 38 [EMAIL PROTECTED] [EMAIL PROTECTED] ----------------------------------------------------------



-----Message d'origine-----
De : news [mailto:[EMAIL PROTECTED] la part de Paul A. Rubin
Envoye : mardi 11 janvier 2005 22:06
A : [email protected]
Objet : Re: easy manipulation of bibtex styles?


Harold Mouras wrote:


Dear Lys users,
would there be a simple way or tool to manipulate bst style files to

easily

get the style of a journal that not pertains to the style files database
generally available ?
Is the only way to edit the bst style as text file and to find where the
changes have to be made, or is there any "interpreter" software for bibtex
styles?
Thanks for your help,
Sincerely,
Harold





"Easy" is in the eye of the beholder. Your best bet is to install the LaTeX package custom-bib, if you don't already have it, and then check the documentation. To use custom-bib, you run latex.exe against a file that essentially produces an interactive dialog. Answer all the questions about how the style should look, and it generates your .bst file. It also records the batch file that produced the .bst file, in a way that's easy to edit afterward, in case you want to modify the style without going through the entire dialog again.

I've had pretty good luck with custom-bib.  At least once, though, I
needed something custom-bib couldn't do, so I had to generate a "close"
style using custom-bib and then hack it with copious help from people in
the group.

-- Paul



--



Reply via email to