On Wed, 1 Oct 2003, Angus Leeming wrote:

> Tobias Hilbricht wrote:
>
> > Dear readers of this list,
> > I would like to use LyX in conjunction with the latex package teubner for
> > (old) greek philological typesetting. I have a working installation of
> > the package teubner, however, I cannot use it with LyX. I think it is
> > because it uses a language attribute in the preamble (an example is
> > attached at the end). I tried to change the settings under
> > edit/preferences/language, and also I tried with entries into
> > format/document/LaTeX preamble, but no success.
> >
> > Grateful for any helpful hints
> >
> > Yours sincerely
> >
> > Tobias Hilbricht

I got teubner to work with the following things set:

Document settings->Language->encoding from auto to Latin1 (since I
don't have the definitions for greek encodings).

And following lines in the preamble, in this order:

\usepackage{babel}
\languageattribute{greek}{polutoniko}
\usepackage{teubner}
\def\textasciitilde#1{~}

The first line is needed, for otherwise babel won't be there to
recognize the languageattribute; the last line is a crude hack to enable
the use of the special accent produced with ~; LyX exports ~ as
\textasciitilde, which in turn does not produce the desired effect with
polutoniko-greek. Another choice would be to write all greek text as
ERT, which is rater ugly on the screen.

Hope these work for you, too,

Harri Kiiskinen

Reply via email to