On 2012-02-08, Nikos Alexandris wrote:

...

> More details: the code given in [1] works perfectly as pure LaTeX  
> code.

...

The minimal example:

\documentclass[greek,english]{scrbook}
\usepackage[utf8]{inputenc}
\usepackage[greek,english]{babel}
\usepackage[unicode]{hyperref}
\usepackage{bookmark}

\begin{document}
\mainmatter
\chapter{Introduction}
An introduction.

\begin{otherlanguage}{greek}
\addchap{\texorpdfstring{Per'ilhyh}{Περίληψη}}
Per'ilhyh
\end{otherlanguage}
\end{document}

works fine here (TeXLive 2009 on Debian Linux): "Introduction" is in
Latin and "Peri..." in Greek in the text as well as in the "content" tab.
I used the "evince" viewer as well as acroread to look at the PDF.


> One more question: the use of "greek" instead of "english"--as a  
> documentclass option-- compiles fine as pure PDF-LaTeX (I mean outside  
> of LyX); how can this be resembled within LyX?

At least in the past, it was possible to give the language options only
to the babel package. Under Tools>Settings>Language untick the 
  [x] Global
box. However, this is applied to all documents (where you usually prefer the
language options in the documentclass, because then they are see by e.g.
index generators and other additional packages).

Günter

Reply via email to