# greek-babel sticks compiler [closed]

I have researched various answers but I can't seem to be able to answer mine. I am trying to compile greek for the first time in LaTeX and therefore tried to experiment with this very simple code:

\documentclass{article}

\usepackage{amsmath}
\usepackage[greek,english]{babel}
\usepackage[iso-8859-7]{inputenc}

\begin{document}
\textgreek{Γειά!}
\end{document}


When I press compile, the compiler simply nevers returns. It just compiles forever. When I remove the command:

\textgreek


and place my text in the code plainly, I am getting errors about letters (i.e. \textGamma or \textepsilon) unavailable in encoding OT1.

I am using TexStudio as editor with MiKTeX.

## closed as unclear what you're asking by Andrew Swann, Sebastiano, Phelype Oleinik, Troy, Stefan PinnowMay 15 '18 at 20:06

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Are you sure your document is saved in iso-8859-7 encoding? Perhaps \usepackage[utf8]{inputenc} can solve the issue. – egreg Oct 31 '16 at 18:19
• Unfortunatelly the problem persists, compiler never returns. – Iosif Lazaridis Oct 31 '16 at 20:32
• You mean, after changing inputenc to utf8? You sure you have the Greek fonts installed? BTW, amsmath may not be required for the MWE. – texnezio Oct 31 '16 at 21:59
• MiKTeX isn't a LaTeX package. Do you mean that you have a basic installation of TeX installed using the MiKTeX package manager? I don't use MiKTeX, so I don't know if this makes sense or not. If you remove the Greek and put 'Hello World!' instead, does the document compile then? – cfr Nov 1 '16 at 4:25
• @cfr This was very enlightening! This is what I ment, I did't realise MiKTex is a package manager and yes the document compiles normally. – Iosif Lazaridis Nov 1 '16 at 8:25