I am sorry to post this probably very basic question, but I am having a hard time locating my unsrt.bst file as I want to edit it. I have read through a lot of questions in here, but in all of them it seems implied how you find the unsrt.bst file. Sometimes it is written that it is placed in Library/textmf/bibtex/bst, but I can't find any of those folders.
Asked
Active
Viewed 7,442 times
2
1 Answers
3
From your last comment about the location for personal bst files I'm guessing you are using a Mac. Under TeX Live installed by MacTeX your personal tree's root is ~/Library/texmf and personal bst files should go into ~/Library/texmf/bibtex/bst or sub-folders of that folder. A couple of things you should know: ~/Library is the Library folder in your HOME folder; and, if you haven't done so already, YOU must create the set of nested folders texmf/bibtex/bst/... in ~/Library. To open ~/Library hold the Option key down while clicking on the Go menu in Finder; a new Library item, that opens ~/Library, will appear.
Mensch
- 65,388
Herb Schulz
- 3,410
-
Okay, I did not understand that the ~/Library folder was on my computer, I thought it was supposed to be in a LaTex folder. I have created the set of nested folders now. However, I don't understand how to try the command, as @Kurt writes above. Is it in texmaker or somewhere else I need to type that code? Should it be in a blanc document? I am very new to LaTex. – Lea Jun 16 '16 at 19:52
-
-
1Alternatively, in Finder use Go->Go to Folder… (Shft-Cmd-G), enter /usr/local/texlive/2016/texmf-dist/bibtex/bst/base/ in the space provided and press Return. That will open that folder. Then press and hold the Option key and drag the usrt.bst to your Desktop. Make sure you use the Option key so the system copies the file rather than moving the file. Then rename the copy and you can edit it in TeXShop or TeXmaker or any other text editor. – Herb Schulz Jun 16 '16 at 21:20
-
I have now followed the guidance in this question: http://tex.stackexchange.com/questions/26575/bibtex-how-can-i-automatically-reduce-long-author-lists-to-xxx-et-al Do any of you guys know where to save the new unsrt85.bst file? I have tried making the folders /Library/texmf/bibtex/bst and also tried making them under users/home/Library and saving my new bst file with no luck. LaTex says it can't open the style file, so I guess I must have placed it somewhere wrong. – Lea Jun 17 '16 at 07:05
-
I see that you saved it in /Library/texmf/bibtex/bst but the tree is supposed to start in ~/Library/texmf/bibtex/bst. Notice the leading ~ which stands for your HOME folder! I told you how to open that Library folder before. – Herb Schulz Jun 17 '16 at 14:34
-
I have tried saving it in my home folder. That was what I meant with the /Library. Didn't know that ~ means home. It doesn't work. – Lea Jun 17 '16 at 18:16
-
In Terminal please run the command
ls -al ~/Library/texmf/bibtex/bstand let me know what it returns. – Herb Schulz Jun 17 '16 at 20:37 -
It says: ls: ~/Library/texmf/bibtex/bst: No such file or directory Under HOME I have found a folder called lib - could that be the library folder I am searching for? I can't make new folders in that folder for some reason. – Lea Jun 18 '16 at 07:22
-
If I put the new .bst file into the same folder as my LaTex document, it apparently works. – Lea Jun 18 '16 at 08:19
-
@Lea: I was afraid of that. You built the texmf tree in the wrong Library folder; you used the folder at the base of you Hard Drive rather than the one in your HOME folder. Please open the Library folder in your HOME folder by clicking on the Go menu in Finder and the pressing the Option key so a new Library item appears in that menu. Then build that texmf tree in that Library folder. – Herb Schulz Jun 18 '16 at 13:50
kpsewhich unsrt.bston your terminal/console to find the current file ... – Mensch Jun 16 '16 at 19:21