BibTeX does no find basic files
If I run bibtex it says that it cannot find the file unsrt.bst
I couldn't open style file unsrt.bst
This is strange because unsrt.bst this is one of the basic files of bibtex. Anyway, the man page of bibtex says that it first looks in the path defined by the variable BSTINPUTS. So if I set
export BSTINPUTS=/usr/local/texlive/2018/texmf-dist/bibtex/bst/base
then bibtex does find the unsrt.bst file. But then bibtex claims that it cannot find my bib file
I couldn't open database file references.bib
which, however, is in the same directory!
So obviously bibtex has some severe problems to find the standard files and to find files in the same directory.
It seems that there is something wrong with my installation. For me it is no satisfying solution to manually set the path, since there are a lot of standard bst folders with texlive, not just .../bst/base.
I installed texlive via the quick install guide.
And I already tried
tlmgr install --reinstall bibtex
but it did not change anything.
Can someone help me out?
bibtex texlive-2018
add a comment |
If I run bibtex it says that it cannot find the file unsrt.bst
I couldn't open style file unsrt.bst
This is strange because unsrt.bst this is one of the basic files of bibtex. Anyway, the man page of bibtex says that it first looks in the path defined by the variable BSTINPUTS. So if I set
export BSTINPUTS=/usr/local/texlive/2018/texmf-dist/bibtex/bst/base
then bibtex does find the unsrt.bst file. But then bibtex claims that it cannot find my bib file
I couldn't open database file references.bib
which, however, is in the same directory!
So obviously bibtex has some severe problems to find the standard files and to find files in the same directory.
It seems that there is something wrong with my installation. For me it is no satisfying solution to manually set the path, since there are a lot of standard bst folders with texlive, not just .../bst/base.
I installed texlive via the quick install guide.
And I already tried
tlmgr install --reinstall bibtex
but it did not change anything.
Can someone help me out?
bibtex texlive-2018
Did you follow, in particular, the instructions for "Post-install: setting PATH" in the quick install guide? You could probably also take a look at tex.stackexchange.com/a/95373/105447.
– gusbrs
Jan 25 at 18:57
Yes I did. Otherwise all the commands like "bibtex" would not work.
– thyme
Jan 25 at 19:04
What is the result ofkpsewhich unsrt.bst
on your terminal?
– gusbrs
Jan 25 at 19:05
No output. But when I set the variable BSTINPUTS then it says "/usr/local/texlive/2018/texmf-dist/bibtex/bst/base/unsrt.bst"
– thyme
Jan 25 at 19:11
So it seems to be a path problem indeed. Though I've never faced the need to specifyBSTINPUTS
manually myself, so I don't have much clue what might be going wrong. Let's see if someone else has some experience with it. You could though add some more information to your question which might be useful: e.g. your distro, if there are any other parallel installations of a TeX distribution in your system, exactly how you are setting your path, and so on.
– gusbrs
Jan 25 at 19:16
add a comment |
If I run bibtex it says that it cannot find the file unsrt.bst
I couldn't open style file unsrt.bst
This is strange because unsrt.bst this is one of the basic files of bibtex. Anyway, the man page of bibtex says that it first looks in the path defined by the variable BSTINPUTS. So if I set
export BSTINPUTS=/usr/local/texlive/2018/texmf-dist/bibtex/bst/base
then bibtex does find the unsrt.bst file. But then bibtex claims that it cannot find my bib file
I couldn't open database file references.bib
which, however, is in the same directory!
So obviously bibtex has some severe problems to find the standard files and to find files in the same directory.
It seems that there is something wrong with my installation. For me it is no satisfying solution to manually set the path, since there are a lot of standard bst folders with texlive, not just .../bst/base.
I installed texlive via the quick install guide.
And I already tried
tlmgr install --reinstall bibtex
but it did not change anything.
Can someone help me out?
bibtex texlive-2018
If I run bibtex it says that it cannot find the file unsrt.bst
I couldn't open style file unsrt.bst
This is strange because unsrt.bst this is one of the basic files of bibtex. Anyway, the man page of bibtex says that it first looks in the path defined by the variable BSTINPUTS. So if I set
export BSTINPUTS=/usr/local/texlive/2018/texmf-dist/bibtex/bst/base
then bibtex does find the unsrt.bst file. But then bibtex claims that it cannot find my bib file
I couldn't open database file references.bib
which, however, is in the same directory!
So obviously bibtex has some severe problems to find the standard files and to find files in the same directory.
It seems that there is something wrong with my installation. For me it is no satisfying solution to manually set the path, since there are a lot of standard bst folders with texlive, not just .../bst/base.
I installed texlive via the quick install guide.
And I already tried
tlmgr install --reinstall bibtex
but it did not change anything.
Can someone help me out?
bibtex texlive-2018
bibtex texlive-2018
asked Jan 25 at 18:38
thymethyme
1404
1404
Did you follow, in particular, the instructions for "Post-install: setting PATH" in the quick install guide? You could probably also take a look at tex.stackexchange.com/a/95373/105447.
– gusbrs
Jan 25 at 18:57
Yes I did. Otherwise all the commands like "bibtex" would not work.
– thyme
Jan 25 at 19:04
What is the result ofkpsewhich unsrt.bst
on your terminal?
– gusbrs
Jan 25 at 19:05
No output. But when I set the variable BSTINPUTS then it says "/usr/local/texlive/2018/texmf-dist/bibtex/bst/base/unsrt.bst"
– thyme
Jan 25 at 19:11
So it seems to be a path problem indeed. Though I've never faced the need to specifyBSTINPUTS
manually myself, so I don't have much clue what might be going wrong. Let's see if someone else has some experience with it. You could though add some more information to your question which might be useful: e.g. your distro, if there are any other parallel installations of a TeX distribution in your system, exactly how you are setting your path, and so on.
– gusbrs
Jan 25 at 19:16
add a comment |
Did you follow, in particular, the instructions for "Post-install: setting PATH" in the quick install guide? You could probably also take a look at tex.stackexchange.com/a/95373/105447.
– gusbrs
Jan 25 at 18:57
Yes I did. Otherwise all the commands like "bibtex" would not work.
– thyme
Jan 25 at 19:04
What is the result ofkpsewhich unsrt.bst
on your terminal?
– gusbrs
Jan 25 at 19:05
No output. But when I set the variable BSTINPUTS then it says "/usr/local/texlive/2018/texmf-dist/bibtex/bst/base/unsrt.bst"
– thyme
Jan 25 at 19:11
So it seems to be a path problem indeed. Though I've never faced the need to specifyBSTINPUTS
manually myself, so I don't have much clue what might be going wrong. Let's see if someone else has some experience with it. You could though add some more information to your question which might be useful: e.g. your distro, if there are any other parallel installations of a TeX distribution in your system, exactly how you are setting your path, and so on.
– gusbrs
Jan 25 at 19:16
Did you follow, in particular, the instructions for "Post-install: setting PATH" in the quick install guide? You could probably also take a look at tex.stackexchange.com/a/95373/105447.
– gusbrs
Jan 25 at 18:57
Did you follow, in particular, the instructions for "Post-install: setting PATH" in the quick install guide? You could probably also take a look at tex.stackexchange.com/a/95373/105447.
– gusbrs
Jan 25 at 18:57
Yes I did. Otherwise all the commands like "bibtex" would not work.
– thyme
Jan 25 at 19:04
Yes I did. Otherwise all the commands like "bibtex" would not work.
– thyme
Jan 25 at 19:04
What is the result of
kpsewhich unsrt.bst
on your terminal?– gusbrs
Jan 25 at 19:05
What is the result of
kpsewhich unsrt.bst
on your terminal?– gusbrs
Jan 25 at 19:05
No output. But when I set the variable BSTINPUTS then it says "/usr/local/texlive/2018/texmf-dist/bibtex/bst/base/unsrt.bst"
– thyme
Jan 25 at 19:11
No output. But when I set the variable BSTINPUTS then it says "/usr/local/texlive/2018/texmf-dist/bibtex/bst/base/unsrt.bst"
– thyme
Jan 25 at 19:11
So it seems to be a path problem indeed. Though I've never faced the need to specify
BSTINPUTS
manually myself, so I don't have much clue what might be going wrong. Let's see if someone else has some experience with it. You could though add some more information to your question which might be useful: e.g. your distro, if there are any other parallel installations of a TeX distribution in your system, exactly how you are setting your path, and so on.– gusbrs
Jan 25 at 19:16
So it seems to be a path problem indeed. Though I've never faced the need to specify
BSTINPUTS
manually myself, so I don't have much clue what might be going wrong. Let's see if someone else has some experience with it. You could though add some more information to your question which might be useful: e.g. your distro, if there are any other parallel installations of a TeX distribution in your system, exactly how you are setting your path, and so on.– gusbrs
Jan 25 at 19:16
add a comment |
1 Answer
1
active
oldest
votes
There are in this case three separate environment variables to consider
◦ TEXINPUTS tells LaTeX where to find sty (style) files.
◦ BSTINPUTS tells BibTeX where to find bst (bibliography style) files.
◦ BIBINPUTS tells BibTeX where to look for bib (bibliography database) files.
By default to reduce issues you can keep all the necessary files in the same directory where you are processing your documents.
Or make symbolic links to them with the UNIX command ln -s.
Alternatively they can be set in a variety of different ways.
For windows users it is simplest to set them in the "System" environment (unless you are on a shared system, in which case you may need to set them per user)
A list for MiKTeX users without advice is here https://docs.miktex.org/manual/envvars.html
One very terse users guide is available here and another description here https://ccrma.stanford.edu/~jos/webpub/Installing_LaTeX_BibTeX_Input.html
In some cases the environmental paths MAY include more than one location (subject to system syntax ; for windows : for others?) such as
command to set EnvVar=FirstDir;SecondDir;Default
Don't forget to add the default last !
However if it does not appear to work (especially due to other overrides) then remove the confusion of multiple locations.
Others have commented however I cant verify
"Remember, if you start an editor from a menu, then any setting in bashrc is ignored. You need to add them to .profile, log out and log in again. If you start texworks from the command line it will know the setting from bashrc"
Also note in Windows and some other systems setting (especially using setx / set) environment variables may not always "Stick" simply by re-logging in again. It may require a reboot to take permanent effect.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471879%2fbibtex-does-no-find-basic-files%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
There are in this case three separate environment variables to consider
◦ TEXINPUTS tells LaTeX where to find sty (style) files.
◦ BSTINPUTS tells BibTeX where to find bst (bibliography style) files.
◦ BIBINPUTS tells BibTeX where to look for bib (bibliography database) files.
By default to reduce issues you can keep all the necessary files in the same directory where you are processing your documents.
Or make symbolic links to them with the UNIX command ln -s.
Alternatively they can be set in a variety of different ways.
For windows users it is simplest to set them in the "System" environment (unless you are on a shared system, in which case you may need to set them per user)
A list for MiKTeX users without advice is here https://docs.miktex.org/manual/envvars.html
One very terse users guide is available here and another description here https://ccrma.stanford.edu/~jos/webpub/Installing_LaTeX_BibTeX_Input.html
In some cases the environmental paths MAY include more than one location (subject to system syntax ; for windows : for others?) such as
command to set EnvVar=FirstDir;SecondDir;Default
Don't forget to add the default last !
However if it does not appear to work (especially due to other overrides) then remove the confusion of multiple locations.
Others have commented however I cant verify
"Remember, if you start an editor from a menu, then any setting in bashrc is ignored. You need to add them to .profile, log out and log in again. If you start texworks from the command line it will know the setting from bashrc"
Also note in Windows and some other systems setting (especially using setx / set) environment variables may not always "Stick" simply by re-logging in again. It may require a reboot to take permanent effect.
add a comment |
There are in this case three separate environment variables to consider
◦ TEXINPUTS tells LaTeX where to find sty (style) files.
◦ BSTINPUTS tells BibTeX where to find bst (bibliography style) files.
◦ BIBINPUTS tells BibTeX where to look for bib (bibliography database) files.
By default to reduce issues you can keep all the necessary files in the same directory where you are processing your documents.
Or make symbolic links to them with the UNIX command ln -s.
Alternatively they can be set in a variety of different ways.
For windows users it is simplest to set them in the "System" environment (unless you are on a shared system, in which case you may need to set them per user)
A list for MiKTeX users without advice is here https://docs.miktex.org/manual/envvars.html
One very terse users guide is available here and another description here https://ccrma.stanford.edu/~jos/webpub/Installing_LaTeX_BibTeX_Input.html
In some cases the environmental paths MAY include more than one location (subject to system syntax ; for windows : for others?) such as
command to set EnvVar=FirstDir;SecondDir;Default
Don't forget to add the default last !
However if it does not appear to work (especially due to other overrides) then remove the confusion of multiple locations.
Others have commented however I cant verify
"Remember, if you start an editor from a menu, then any setting in bashrc is ignored. You need to add them to .profile, log out and log in again. If you start texworks from the command line it will know the setting from bashrc"
Also note in Windows and some other systems setting (especially using setx / set) environment variables may not always "Stick" simply by re-logging in again. It may require a reboot to take permanent effect.
add a comment |
There are in this case three separate environment variables to consider
◦ TEXINPUTS tells LaTeX where to find sty (style) files.
◦ BSTINPUTS tells BibTeX where to find bst (bibliography style) files.
◦ BIBINPUTS tells BibTeX where to look for bib (bibliography database) files.
By default to reduce issues you can keep all the necessary files in the same directory where you are processing your documents.
Or make symbolic links to them with the UNIX command ln -s.
Alternatively they can be set in a variety of different ways.
For windows users it is simplest to set them in the "System" environment (unless you are on a shared system, in which case you may need to set them per user)
A list for MiKTeX users without advice is here https://docs.miktex.org/manual/envvars.html
One very terse users guide is available here and another description here https://ccrma.stanford.edu/~jos/webpub/Installing_LaTeX_BibTeX_Input.html
In some cases the environmental paths MAY include more than one location (subject to system syntax ; for windows : for others?) such as
command to set EnvVar=FirstDir;SecondDir;Default
Don't forget to add the default last !
However if it does not appear to work (especially due to other overrides) then remove the confusion of multiple locations.
Others have commented however I cant verify
"Remember, if you start an editor from a menu, then any setting in bashrc is ignored. You need to add them to .profile, log out and log in again. If you start texworks from the command line it will know the setting from bashrc"
Also note in Windows and some other systems setting (especially using setx / set) environment variables may not always "Stick" simply by re-logging in again. It may require a reboot to take permanent effect.
There are in this case three separate environment variables to consider
◦ TEXINPUTS tells LaTeX where to find sty (style) files.
◦ BSTINPUTS tells BibTeX where to find bst (bibliography style) files.
◦ BIBINPUTS tells BibTeX where to look for bib (bibliography database) files.
By default to reduce issues you can keep all the necessary files in the same directory where you are processing your documents.
Or make symbolic links to them with the UNIX command ln -s.
Alternatively they can be set in a variety of different ways.
For windows users it is simplest to set them in the "System" environment (unless you are on a shared system, in which case you may need to set them per user)
A list for MiKTeX users without advice is here https://docs.miktex.org/manual/envvars.html
One very terse users guide is available here and another description here https://ccrma.stanford.edu/~jos/webpub/Installing_LaTeX_BibTeX_Input.html
In some cases the environmental paths MAY include more than one location (subject to system syntax ; for windows : for others?) such as
command to set EnvVar=FirstDir;SecondDir;Default
Don't forget to add the default last !
However if it does not appear to work (especially due to other overrides) then remove the confusion of multiple locations.
Others have commented however I cant verify
"Remember, if you start an editor from a menu, then any setting in bashrc is ignored. You need to add them to .profile, log out and log in again. If you start texworks from the command line it will know the setting from bashrc"
Also note in Windows and some other systems setting (especially using setx / set) environment variables may not always "Stick" simply by re-logging in again. It may require a reboot to take permanent effect.
edited Jan 25 at 22:19
answered Jan 25 at 21:43
KJOKJO
2,0921118
2,0921118
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471879%2fbibtex-does-no-find-basic-files%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you follow, in particular, the instructions for "Post-install: setting PATH" in the quick install guide? You could probably also take a look at tex.stackexchange.com/a/95373/105447.
– gusbrs
Jan 25 at 18:57
Yes I did. Otherwise all the commands like "bibtex" would not work.
– thyme
Jan 25 at 19:04
What is the result of
kpsewhich unsrt.bst
on your terminal?– gusbrs
Jan 25 at 19:05
No output. But when I set the variable BSTINPUTS then it says "/usr/local/texlive/2018/texmf-dist/bibtex/bst/base/unsrt.bst"
– thyme
Jan 25 at 19:11
So it seems to be a path problem indeed. Though I've never faced the need to specify
BSTINPUTS
manually myself, so I don't have much clue what might be going wrong. Let's see if someone else has some experience with it. You could though add some more information to your question which might be useful: e.g. your distro, if there are any other parallel installations of a TeX distribution in your system, exactly how you are setting your path, and so on.– gusbrs
Jan 25 at 19:16