Texmaker and TeXstudioProblems using BiBTeX with TeXmaker

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
Trine
Posts: 11
Joined: Tue Dec 18, 2007 1:41 pm

Problems using BiBTeX with TeXmaker

Post by Trine »

Hi

I am having problems using BiBTeX with TeXmaker. Before I started using Ubuntu, I was using MikTeX and Texniccenter i Windows, in which I had no problem using BiBTex.

I simply can't make it work now! And I have no idea what I am doing wrong.

I have done following, saving an individual .bib file with this: in it

Code: Select all

@Book{x,
ALTauthor = {kanf kfesk},
title = {mgjfhd},
publisher = {ababa},
year = {2020},
}


then I have put this in to my document, having tried to place it both before and after the \begin{document} and in my preamble (not all at once, mind).

Code: Select all

\begin{document}
\bibliographystyle{plain}
 \bibliography{litteratur.bib}

\cite(x)
\end{document}
I have also tried to change the bibliographystyle, with no effects at all.

Compiling several times does not work, nor does compiling the .bib file, and the the .tex file

Now what?

Trine

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
TikZ book
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Problems using BiBTeX with TeXmaker

Post by Juanjo »

Read first the following thread about using BibTeX:

http://www.latex-community.org/viewtopi ... lit=bibtex
Trine
Posts: 11
Joined: Tue Dec 18, 2007 1:41 pm

Re: Problems using BiBTeX with TeXmaker

Post by Trine »

Thanks a bunch
Now it works :D

It turned out, after having read the linked post, that I needed to "show" TeXmaker where to find BiBTeX. That of course makes perfect sense - now that I know ;)
Grego
Posts: 2
Joined: Mon Nov 17, 2008 5:27 pm

Re: Problems using BiBTeX with TeXmaker

Post by Grego »

Hi Trine,

I've the same problem, I mean, I do the same you did, but the bibliography section doesn't appear neither in the index nor in the document. Would you be so kind as to provide me with more details about what you did?

Thank you very much in advance.

Cheers!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problems using BiBTeX with TeXmaker

Post by localghost »

Grego wrote:[…] I've the same problem, I mean, I do the same you did, but the bibliography section doesn't appear neither in the index nor in the document. […]
Take a look at the topic linked by Juanjo or refer directly to the CTAN entry of BibTeX.


Best regards and welcome to the board
Thorsten¹
Grego
Posts: 2
Joined: Mon Nov 17, 2008 5:27 pm

Re: Problems using BiBTeX with TeXmaker

Post by Grego »

Thanks a lot!

I think I have walked a step towards the solution :)

I have tried to process my .tex as it is explained in the thread (i.e. (pdf)LaTeX+BiBTeX+(pdf)LaTeX), but when I press F11 (BibTex) I get the error: "Error: could not start the command". I guess that this has to do with my problem :P

Can anybody lend me a hand?

Additional info:

I'm using windos XP y basic-miktek-2.6.2831.

Thank you very much in advance.

Cheers!
akbmuruhan
Posts: 2
Joined: Fri Oct 17, 2014 7:25 am

Re: Problems using BiBTeX with TeXmaker

Post by akbmuruhan »

I had a similar problem.

I had spaces in my ".bib" files. I removed those spaces.

The compilation succeeded.
Last edited by akbmuruhan on Fri Oct 17, 2014 1:30 pm, edited 2 times in total.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Problems using BiBTeX with TeXmaker

Post by Johannes_B »

Do you mean spaces in the file name?

Please be aware, that spaces in filenames aren't a good idea and can trick lots of software.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
akbmuruhan
Posts: 2
Joined: Fri Oct 17, 2014 7:25 am

Re: Problems using BiBTeX with TeXmaker

Post by akbmuruhan »

Yes, you are correct. The spaces in file names caused the problem.
MarthaS92
Posts: 13
Joined: Wed May 12, 2021 11:31 am

Problems using BiBTeX with TeXmaker

Post by MarthaS92 »

Grego wrote:Thanks a lot!

I think I have walked a step towards the solution :)

I have tried to process my .tex as it is explained in the thread (i.e. (pdf)LaTeX+BiBTeX+(pdf)LaTeX), but when I press F11 (BibTex) I get the error: "Error: could not start the command". I guess that this has to do with my problem :P

Can anybody lend me a hand?

Additional info:

I'm using windos XP y basic-miktek-2.6.2831.

Thank you very much in advance.

Cheers!
Hello!

I am having the same error: Error : could not start the command : "bibtex" "main".aux.
I haven't got any spaces in files names.
Have you got any idea of reason of this error?

Please help :cry:

Best regards,
Marta
Post Reply