0

I created a bibliography file named bibliografia.bib. This is the code:

% Encoding: UTF-8

@Book{Russell2000,
  title     = {Θεωρία των Τύπων},
  publisher = {Στάχυ},
  year      = {2000},
  author    = {\textlatin{Bertrand Russell}},
}

And this is the main text:

\documentclass[a4paper,11pt,twoside]{book}
\usepackage[a4paper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry}

\usepackage[english,greek]{babel}
\usepackage[utf8]{inputenc}

\title{ΜΑΘΗΜΑΤΙΚΑ}

\begin{document}
    \maketitle
    \tableofcontents

Ράσελ\cite{Russell2000}

\addcontentsline{toc}{chapter}{Βιβλιογραφία} %line1
\nocite{*} %line2
\bibliographystyle{plain} %line3
\bibliography{bibliografia} %line4

\end{document}

Without the lines line1-line4 everything is OK, but with them compiling doesn't stop. I get this error message:

Error: Could not start the command: "C:/Program Files/MiKTeX 2.9/miktex/bin/x64/bibtex.exe" "MainText"

What maybe wrong?

  • 1
    Are you sure this code gives you the error? I can compile it fine, I just get a warning telling me that no \author is given. – Vincent Dec 8 '19 at 17:58
  • 1
    It looks like the issue is connected to a faulty installation of one or more components of MikTeX2.9. – Mico Dec 8 '19 at 18:34
  • @Vincent , yes I 'm sure. I tried it many times without any good result. – Kώστας Κούδας Dec 8 '19 at 18:48
  • @Mico , so what is the solution? I hope that I don't have to reinstall MikTeX... – Kώστας Κούδας Dec 8 '19 at 18:49
  • 1
    How recently did you either install or update MikTeX? – Mico Dec 8 '19 at 19:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.