2

I try to compile a document in ConTeXt in which the main language is greek. However, when i try to quote a phrase using \quote{} command i get an error.

If however, i change the main language of my document to english (\mainlanguage[en]), the error disappears.

So, i guess that i need somehow to define quotation marks. Since, i am new in ConTeXt, i would appreciate any help

2
  • You are a member of the community for quite some time and should know by now that you should always post a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is is be much easier when we see compilable code. – Henri Menke Oct 27 '16 at 12:35
  • I didn't post a mwe because i knew that ConTeXt couldn't recognize quotation marks when greek is the main language. However, I didn't know how to define quotation marks. But you are right, i should post a mwe for anyone's convenience and willingness to help :) – Yorgos Oct 27 '16 at 12:51
2

I think somebody forgot to define \greekleftquot and \greekrightquot. According to Wikipedia the Greek language uses guillemots for quotes. These are readily available and can be used to define the missing macros.

% these were forgotten
\def\greekleftquot {\leftguillemot }
\def\greekrightquot{\rightguillemot}

\mainlanguage[gr]

\setupbodyfont[computer-modern-unicode]% font with greek script

\starttext

\quotation{Νέα Ελληνικά}

\stoptext

enter image description here

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.