Re: LyX and package teubner

2003-11-27 Thread Tobias Hilbricht
Am Mittwoch, 1. Oktober 2003 14:57 schrieb Matej Cepl:
 On 2003-10-01, 16:51 GMT, Tobias Hilbricht wrote:
  I tried to change the settings under edit/preferences/language, and
  also I tried with entries into format/document/LaTeX preamble, but no
  success.

 What exactly happens, when you copy (VERBATIM!) this into
 Layout/Document/Preamble?

  \usepackage[greek,german]{babel}
  \languageattribute{greek}{polutoniko} -- here is the attribute
  \usepackage{teubner}
  \usepackage[T1]{fontenc}
  \usepackage[latin1]{inputenc}
 
  \pagestyle{empty}

 Best,

Matej

Dear Matej, dear readers of this list,
it works putting the lines above into the preamble! Thanks a lot for your 
helpful hints and excuse the delay in answering.

Yours sincerely

Tobias Hilbricht



Re: LyX and package teubner

2003-11-27 Thread Tobias Hilbricht
Am Mittwoch, 1. Oktober 2003 14:57 schrieb Matej Cepl:
 On 2003-10-01, 16:51 GMT, Tobias Hilbricht wrote:
  I tried to change the settings under edit/preferences/language, and
  also I tried with entries into format/document/LaTeX preamble, but no
  success.

 What exactly happens, when you copy (VERBATIM!) this into
 Layout/Document/Preamble?

  \usepackage[greek,german]{babel}
  \languageattribute{greek}{polutoniko} -- here is the attribute
  \usepackage{teubner}
  \usepackage[T1]{fontenc}
  \usepackage[latin1]{inputenc}
 
  \pagestyle{empty}

 Best,

Matej

Dear Matej, dear readers of this list,
it works putting the lines above into the preamble! Thanks a lot for your 
helpful hints and excuse the delay in answering.

Yours sincerely

Tobias Hilbricht



Re: LyX and package teubner

2003-11-27 Thread Tobias Hilbricht
Am Mittwoch, 1. Oktober 2003 14:57 schrieb Matej Cepl:
> On 2003-10-01, 16:51 GMT, Tobias Hilbricht wrote:
> > I tried to change the settings under edit/preferences/language, and
> > also I tried with entries into format/document/LaTeX preamble, but no
> > success.
>
> What exactly happens, when you copy (VERBATIM!) this into
> Layout/Document/Preamble?
>
> > \usepackage[greek,german]{babel}
> > \languageattribute{greek}{polutoniko} <-- here is the attribute
> > \usepackage{teubner}
> > \usepackage[T1]{fontenc}
> > \usepackage[latin1]{inputenc}
> >
> > \pagestyle{empty}
>
> Best,
>
>Matej

Dear Matej, dear readers of this list,
it works putting the lines above into the preamble! Thanks a lot for your 
helpful hints and excuse the delay in answering.

Yours sincerely

Tobias Hilbricht



Re: LyX and package teubner

2003-10-02 Thread Harri Kiiskinen
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


Re: LyX and package teubner

2003-10-02 Thread Harri Kiiskinen
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


Re: LyX and package teubner

2003-10-02 Thread Harri Kiiskinen
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


LyX and package teubner

2003-10-01 Thread Tobias Hilbricht
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

snip

\documentclass[12pt]{article}
\usepackage[greek,german]{babel}
\languageattribute{greek}{polutoniko} -- here is the attribute
\usepackage{teubner}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}

\pagestyle{empty}

\makeatletter

\makeatother

\begin{document}

\section*{\selectlanguage{greek}SAPFOUS MELH --- 
\selectlanguage{german}{Sapphos Lieder}}

\begin{large}
\selectlanguage{greek}

\begin{Versi}[1]

\longa \brevis \longa \ubarbrevis{} orr'a|nojen \Ladd{\brevis \longa 
\barbrevis}\\
\Ladd{---} kat'ioisa \\ [1ex]

de~uru m\lladd{m} e\d{s} \d{K}\d{r}ht\d{a}s .p\ladd{\Dots[5]}na~uon\\
'agnon 'op \lbrk pai d`h\rbrk q'arien m`en 'alos\\
mal'i\ladd{an}, b~wmoi d 'evi jumi'ame-\\
noi \Ladd{lib}an'wtw\\ [1ex]

en \Ladd{d}'udwr y~uqron kel'adei di 'us\Ladd{d}wn \\
mal'i\Ladd{nw}, br'odoisi d'e pa~is o q~wros \\
\dots

\end{Versi}
\end{large}
\end{document}

-snap--






Re: LyX and package teubner

2003-10-01 Thread Matej Cepl
On 2003-10-01, 16:51 GMT, Tobias Hilbricht wrote:
 I tried to change the settings under edit/preferences/language, and 
 also I tried with entries into format/document/LaTeX preamble, but no 
 success.

What exactly happens, when you copy (VERBATIM!) this into
Layout/Document/Preamble?

 \usepackage[greek,german]{babel}
 \languageattribute{greek}{polutoniko} -- here is the attribute
 \usepackage{teubner}
 \usepackage[T1]{fontenc}
 \usepackage[latin1]{inputenc}
 
 \pagestyle{empty}

Best,

   Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: LyX and package teubner

2003-10-01 Thread Angus Leeming
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

Is this not equivalent? (LyX file and tex file exported from it). I can't 
test it as I have neither the package nor iso-8859-7.def installed.

-- 
Angus

tobias2.lyx
Description: application/lyx
%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[greek,german]{article}
\usepackage[T1]{fontenc}
\usepackage[iso-8859-7,latin1]{inputenc}

\makeatletter
%% User specified LaTeX commands.
\languageattribute{greek}{polutoniko}
\usepackage{teubner}
\usepackage{babel}
\makeatother
\begin{document}

\selectlanguage{greek}
\inputencoding{iso-8859-7}
\section*{SAPFOUS MELH}

\selectlanguage{german}
\inputencoding{latin1}
Sapphos Lieder
\end{document}


LyX and package teubner

2003-10-01 Thread Tobias Hilbricht
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

snip

\documentclass[12pt]{article}
\usepackage[greek,german]{babel}
\languageattribute{greek}{polutoniko} -- here is the attribute
\usepackage{teubner}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}

\pagestyle{empty}

\makeatletter

\makeatother

\begin{document}

\section*{\selectlanguage{greek}SAPFOUS MELH --- 
\selectlanguage{german}{Sapphos Lieder}}

\begin{large}
\selectlanguage{greek}

\begin{Versi}[1]

\longa \brevis \longa \ubarbrevis{} orr'a|nojen \Ladd{\brevis \longa 
\barbrevis}\\
\Ladd{---} kat'ioisa \\ [1ex]

de~uru m\lladd{m} e\d{s} \d{K}\d{r}ht\d{a}s .p\ladd{\Dots[5]}na~uon\\
'agnon 'op \lbrk pai d`h\rbrk q'arien m`en 'alos\\
mal'i\ladd{an}, b~wmoi d 'evi jumi'ame-\\
noi \Ladd{lib}an'wtw\\ [1ex]

en \Ladd{d}'udwr y~uqron kel'adei di 'us\Ladd{d}wn \\
mal'i\Ladd{nw}, br'odoisi d'e pa~is o q~wros \\
\dots

\end{Versi}
\end{large}
\end{document}

-snap--






Re: LyX and package teubner

2003-10-01 Thread Matej Cepl
On 2003-10-01, 16:51 GMT, Tobias Hilbricht wrote:
 I tried to change the settings under edit/preferences/language, and 
 also I tried with entries into format/document/LaTeX preamble, but no 
 success.

What exactly happens, when you copy (VERBATIM!) this into
Layout/Document/Preamble?

 \usepackage[greek,german]{babel}
 \languageattribute{greek}{polutoniko} -- here is the attribute
 \usepackage{teubner}
 \usepackage[T1]{fontenc}
 \usepackage[latin1]{inputenc}
 
 \pagestyle{empty}

Best,

   Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: LyX and package teubner

2003-10-01 Thread Angus Leeming
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

Is this not equivalent? (LyX file and tex file exported from it). I can't 
test it as I have neither the package nor iso-8859-7.def installed.

-- 
Angus

tobias2.lyx
Description: application/lyx
%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[greek,german]{article}
\usepackage[T1]{fontenc}
\usepackage[iso-8859-7,latin1]{inputenc}

\makeatletter
%% User specified LaTeX commands.
\languageattribute{greek}{polutoniko}
\usepackage{teubner}
\usepackage{babel}
\makeatother
\begin{document}

\selectlanguage{greek}
\inputencoding{iso-8859-7}
\section*{SAPFOUS MELH}

\selectlanguage{german}
\inputencoding{latin1}
Sapphos Lieder
\end{document}


LyX and package teubner

2003-10-01 Thread Tobias Hilbricht
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

snip

\documentclass[12pt]{article}
\usepackage[greek,german]{babel}
\languageattribute{greek}{polutoniko} <-- here is the attribute
\usepackage{teubner}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}

\pagestyle{empty}

\makeatletter

\makeatother

\begin{document}

\section*{\selectlanguage{greek}SAPFOUS MELH --- 
\selectlanguage{german}{Sapphos Lieder}}

\begin{large}
\selectlanguage{greek}

\begin{Versi}[1]

\longa \brevis \longa \ubarbrevis{} >orr'a|nojen \Ladd{\brevis \longa 
\barbrevis}\\
\Ladd{---} kat'ioisa \\ [1ex]

de~uru m\lladd{m}> >e\d{s} \d{K}\d{r}ht\d{a}s .p\ladd{\Dots[5]}na~uon\\
>'agnon >'op \lbrk pai d`h\rbrk q'arien m`en >'alos\\
mal'i\ladd{an}, b~wmoi d> >'evi jumi'ame-\\
noi \Ladd{lib}an'wtw\\ [1ex]

>en \Ladd{d>}>'udwr y~uqron kel'adei di> >'us\Ladd{d}wn \\
mal'i\Ladd{nw}, br'odoisi d'e pa~is >o q~wros \\
\dots

\end{Versi}
\end{large}
\end{document}

-snap--






Re: LyX and package teubner

2003-10-01 Thread Matej Cepl
On 2003-10-01, 16:51 GMT, Tobias Hilbricht wrote:
> I tried to change the settings under edit/preferences/language, and 
> also I tried with entries into format/document/LaTeX preamble, but no 
> success.

What exactly happens, when you copy (VERBATIM!) this into
Layout/Document/Preamble?

> \usepackage[greek,german]{babel}
> \languageattribute{greek}{polutoniko} <-- here is the attribute
> \usepackage{teubner}
> \usepackage[T1]{fontenc}
> \usepackage[latin1]{inputenc}
> 
> \pagestyle{empty}

Best,

   Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: LyX and package teubner

2003-10-01 Thread Angus Leeming
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

Is this not equivalent? (LyX file and tex file exported from it). I can't 
test it as I have neither the package nor iso-8859-7.def installed.

-- 
Angus

tobias2.lyx
Description: application/lyx
%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[greek,german]{article}
\usepackage[T1]{fontenc}
\usepackage[iso-8859-7,latin1]{inputenc}

\makeatletter
%% User specified LaTeX commands.
\languageattribute{greek}{polutoniko}
\usepackage{teubner}
\usepackage{babel}
\makeatother
\begin{document}

\selectlanguage{greek}
\inputencoding{iso-8859-7}
\section*{SAPFOUS MELH}

\selectlanguage{german}
\inputencoding{latin1}
Sapphos Lieder
\end{document}