Re: abstract in two languages

2001-02-07 Thread Dekel Tsur

On Tue, Feb 06, 2001 at 03:37:38PM +0200, Tuukka Toivonen wrote:
 
 The second % doesn't seem to be necessary, it is enough just to have one
 between the abstracts. It's surprising how easily this works now that LyX
 can use many languages in one document from the GUI. And multiple
 "abstract" paragraphs don't seem to bother LaTeX either.

It is necessary, because curenly LyX misplaces the \selectlanguage command:

 \begin{abstract}
 Tämä puolestaan on suomenkielinen tiivistelmä.
 \selectlanguage{english}
 \end{abstract}

which means that the rest of the document is now considered Finnish.
The correct latex code should be
  \begin{abstract}
  Tämä puolestaan on suomenkielinen tiivistelmä.
  \end{abstract}
  \selectlanguage{english}

The second % (in Finnish language) is a workaround for this problem.
I will fix the problem in the next version.




Re: abstract in two languages

2001-02-07 Thread Dekel Tsur

On Tue, Feb 06, 2001 at 03:37:38PM +0200, Tuukka Toivonen wrote:
 
 The second % doesn't seem to be necessary, it is enough just to have one
 between the abstracts. It's surprising how easily this works now that LyX
 can use many languages in one document from the GUI. And multiple
 "abstract" paragraphs don't seem to bother LaTeX either.

It is necessary, because curenly LyX misplaces the \selectlanguage command:

 \begin{abstract}
 Tämä puolestaan on suomenkielinen tiivistelmä.
 \selectlanguage{english}
 \end{abstract}

which means that the rest of the document is now considered Finnish.
The correct latex code should be
  \begin{abstract}
  Tämä puolestaan on suomenkielinen tiivistelmä.
  \end{abstract}
  \selectlanguage{english}

The second % (in Finnish language) is a workaround for this problem.
I will fix the problem in the next version.




Re: abstract in two languages

2001-02-07 Thread Dekel Tsur

On Tue, Feb 06, 2001 at 03:37:38PM +0200, Tuukka Toivonen wrote:
> 
> The second % doesn't seem to be necessary, it is enough just to have one
> between the abstracts. It's surprising how easily this works now that LyX
> can use many languages in one document from the GUI. And multiple
> "abstract" paragraphs don't seem to bother LaTeX either.

It is necessary, because curenly LyX misplaces the \selectlanguage command:

 \begin{abstract}
 Tämä puolestaan on suomenkielinen tiivistelmä.
 \selectlanguage{english}
 \end{abstract}

which means that the rest of the document is now considered Finnish.
The correct latex code should be
  \begin{abstract}
  Tämä puolestaan on suomenkielinen tiivistelmä.
  \end{abstract}
  \selectlanguage{english}

The second % (in Finnish language) is a workaround for this problem.
I will fix the problem in the next version.




abstract in two languages

2001-02-06 Thread Tuukka Toivonen

I guess this is LaTeX question, but I'm very novice with TeX and LyX user
anyway, so here it goes...

How can I put two abstracts in a document, one in English and one in
Finnish?




Re: abstract in two languages

2001-02-06 Thread Dekel Tsur

On Tue, Feb 06, 2001 at 12:28:57PM +0200, Tuukka Toivonen wrote:
 I guess this is LaTeX question, but I'm very novice with TeX and LyX user
 anyway, so here it goes...
 
 How can I put two abstracts in a document, one in English and one in
 Finnish?

I'll assume that the main language of the document is English, and that the
English abstract appears first.

1. Change the layout to Abstract and write the English abstract.
2. Press enter.
3. Change language to Finnish by opening layout-character and selecting the
Finnish language (all other fields should be "no change").
4. Select standard layout. Change to latex mode (ctrl+l)
5. Press % and then enter.
6. Change the layout to Abstract and write the Finnish abstract.
7. Press enter.
8. Change layout to Standard. Change to latex mode (ctrl+l)
9. Press % and then enter.
10. Change back to English by pressing the toolbar button "Font".




Re: abstract in two languages

2001-02-06 Thread Tuukka Toivonen

Thank you very much for the very detailed instructions. The LyX
people and mailing list are so helpful that I too easily ask here without
thinking first much myself.

It works, thanks to you, and I attached a gzipped example (I suppose this
could be helpful for other non-native-English speakers here too).

On Tue, 6 Feb 2001, Dekel Tsur wrote:

 I'll assume that the main language of the document is English, and that the
 English abstract appears first.

Mainly the opposite. The rules say that the thesis has to be written in
Finnish unless a special permission is given :(
But the other way around could be useful too sometimes.

The second % doesn't seem to be necessary, it is enough just to have one
between the abstracts. It's surprising how easily this works now that LyX
can use many languages in one document from the GUI. And multiple
"abstract" paragraphs don't seem to bother LaTeX either.

 lyx file


abstract in two languages

2001-02-06 Thread Tuukka Toivonen

I guess this is LaTeX question, but I'm very novice with TeX and LyX user
anyway, so here it goes...

How can I put two abstracts in a document, one in English and one in
Finnish?




Re: abstract in two languages

2001-02-06 Thread Dekel Tsur

On Tue, Feb 06, 2001 at 12:28:57PM +0200, Tuukka Toivonen wrote:
 I guess this is LaTeX question, but I'm very novice with TeX and LyX user
 anyway, so here it goes...
 
 How can I put two abstracts in a document, one in English and one in
 Finnish?

I'll assume that the main language of the document is English, and that the
English abstract appears first.

1. Change the layout to Abstract and write the English abstract.
2. Press enter.
3. Change language to Finnish by opening layout-character and selecting the
Finnish language (all other fields should be "no change").
4. Select standard layout. Change to latex mode (ctrl+l)
5. Press % and then enter.
6. Change the layout to Abstract and write the Finnish abstract.
7. Press enter.
8. Change layout to Standard. Change to latex mode (ctrl+l)
9. Press % and then enter.
10. Change back to English by pressing the toolbar button "Font".




Re: abstract in two languages

2001-02-06 Thread Tuukka Toivonen

Thank you very much for the very detailed instructions. The LyX
people and mailing list are so helpful that I too easily ask here without
thinking first much myself.

It works, thanks to you, and I attached a gzipped example (I suppose this
could be helpful for other non-native-English speakers here too).

On Tue, 6 Feb 2001, Dekel Tsur wrote:

 I'll assume that the main language of the document is English, and that the
 English abstract appears first.

Mainly the opposite. The rules say that the thesis has to be written in
Finnish unless a special permission is given :(
But the other way around could be useful too sometimes.

The second % doesn't seem to be necessary, it is enough just to have one
between the abstracts. It's surprising how easily this works now that LyX
can use many languages in one document from the GUI. And multiple
"abstract" paragraphs don't seem to bother LaTeX either.

 lyx file


abstract in two languages

2001-02-06 Thread Tuukka Toivonen

I guess this is LaTeX question, but I'm very novice with TeX and LyX user
anyway, so here it goes...

How can I put two abstracts in a document, one in English and one in
Finnish?




Re: abstract in two languages

2001-02-06 Thread Dekel Tsur

On Tue, Feb 06, 2001 at 12:28:57PM +0200, Tuukka Toivonen wrote:
> I guess this is LaTeX question, but I'm very novice with TeX and LyX user
> anyway, so here it goes...
> 
> How can I put two abstracts in a document, one in English and one in
> Finnish?

I'll assume that the main language of the document is English, and that the
English abstract appears first.

1. Change the layout to Abstract and write the English abstract.
2. Press enter.
3. Change language to Finnish by opening layout->character and selecting the
Finnish language (all other fields should be "no change").
4. Select standard layout. Change to latex mode (ctrl+l)
5. Press % and then enter.
6. Change the layout to Abstract and write the Finnish abstract.
7. Press enter.
8. Change layout to Standard. Change to latex mode (ctrl+l)
9. Press % and then enter.
10. Change back to English by pressing the toolbar button "Font".




Re: abstract in two languages

2001-02-06 Thread Tuukka Toivonen

Thank you very much for the very detailed instructions. The LyX
people and mailing list are so helpful that I too easily ask here without
thinking first much myself.

It works, thanks to you, and I attached a gzipped example (I suppose this
could be helpful for other non-native-English speakers here too).

On Tue, 6 Feb 2001, Dekel Tsur wrote:

> I'll assume that the main language of the document is English, and that the
> English abstract appears first.

Mainly the opposite. The rules say that the thesis has to be written in
Finnish unless a special permission is given :(
But the other way around could be useful too sometimes.

The second % doesn't seem to be necessary, it is enough just to have one
between the abstracts. It's surprising how easily this works now that LyX
can use many languages in one document from the GUI. And multiple
"abstract" paragraphs don't seem to bother LaTeX either.

 lyx file