Re: Double language layout

2009-10-14 Thread Helge Hafting

vinc...@alice.it wrote:

Hi everybody,
I'm writing my thesis and I was wondering whether it is possible to use Lyx for 
a double language document. What I'd like to do is having a double column 
layout with the text written in one language on the left and another one on the 
right side. The text should be aligned: chapters, sections, etc. should start 
at the same point in the page, and the only things to be shared between the two 
languages would be tables, figures and equations.
Does anyone of you know how to do this?
Thank you very much,
Vince



Make sure you have the parallel.sty package installed. It is part of a 
complete texlive install.


In the preamble:
\usepackage{parallel}

In your document:

ERT \begin{Parallel}{5cm}{5cm}\ParallelLText{

Section heading in first language

paragraphs of text in first language

ERT }\ParallelRText{

Section heading in second language

paragraphs of text in second language

ERT }\end{Parallel}

Shared figures/tables outside the Parallel stuff

ERT \begin{Parallel} ...  (your next section)



Obviously, use something that fits your page size
instead of 5cm. If one language generally needs more
room to say the same, then it can have a wider
column.

I only gave this a quick test, but at least it worked
with page breaking. (multicol.sty with manual column breaks
doesn't do this well at all.)

Helge Hafting


Re: Double language layout

2009-10-14 Thread Helge Hafting

vinc...@alice.it wrote:

Hi everybody,
I'm writing my thesis and I was wondering whether it is possible to use Lyx for 
a double language document. What I'd like to do is having a double column 
layout with the text written in one language on the left and another one on the 
right side. The text should be aligned: chapters, sections, etc. should start 
at the same point in the page, and the only things to be shared between the two 
languages would be tables, figures and equations.
Does anyone of you know how to do this?
Thank you very much,
Vince



Make sure you have the parallel.sty package installed. It is part of a 
complete texlive install.


In the preamble:
\usepackage{parallel}

In your document:

ERT \begin{Parallel}{5cm}{5cm}\ParallelLText{

Section heading in first language

paragraphs of text in first language

ERT }\ParallelRText{

Section heading in second language

paragraphs of text in second language

ERT }\end{Parallel}

Shared figures/tables outside the Parallel stuff

ERT \begin{Parallel} ...  (your next section)



Obviously, use something that fits your page size
instead of 5cm. If one language generally needs more
room to say the same, then it can have a wider
column.

I only gave this a quick test, but at least it worked
with page breaking. (multicol.sty with manual column breaks
doesn't do this well at all.)

Helge Hafting


Re: Double language layout

2009-10-14 Thread Helge Hafting

vinc...@alice.it wrote:

Hi everybody,
I'm writing my thesis and I was wondering whether it is possible to use Lyx for 
a double language document. What I'd like to do is having a double column 
layout with the text written in one language on the left and another one on the 
right side. The text should be aligned: chapters, sections, etc. should start 
at the same point in the page, and the only things to be shared between the two 
languages would be tables, figures and equations.
Does anyone of you know how to do this?
Thank you very much,
Vince



Make sure you have the parallel.sty package installed. It is part of a 
complete texlive install.


In the preamble:
\usepackage{parallel}

In your document:

ERT \begin{Parallel}{5cm}{5cm}\ParallelLText{

Section heading in first language

paragraphs of text in first language

ERT }\ParallelRText{

Section heading in second language

paragraphs of text in second language

ERT }\end{Parallel}

Shared figures/tables outside the Parallel stuff

ERT \begin{Parallel} ...  (your next section)



Obviously, use something that fits your page size
instead of "5cm". If one language generally needs more
room to say the same, then it can have a wider
column.

I only gave this a quick test, but at least it worked
with page breaking. (multicol.sty with manual column breaks
doesn't do this well at all.)

Helge Hafting


Re: Double language layout

2009-10-12 Thread Pavel Sanda
vinc...@alice.it wrote:
 Does anyone of you know how to do this?

you probably want to look on latex ledpar package; lyx does not have support
for it and it would be imho better to do the whole thing in pure latex.

pavel


Re: Double language layout

2009-10-12 Thread Pavel Sanda
vinc...@alice.it wrote:
 Does anyone of you know how to do this?

you probably want to look on latex ledpar package; lyx does not have support
for it and it would be imho better to do the whole thing in pure latex.

pavel


Re: Double language layout

2009-10-12 Thread Pavel Sanda
vinc...@alice.it wrote:
> Does anyone of you know how to do this?

you probably want to look on latex ledpar package; lyx does not have support
for it and it would be imho better to do the whole thing in pure latex.

pavel


R: Double language layout

2009-10-11 Thread vince17
Thank you Kornel,
with your suggestion I got things to be aligned. But unfortunately I can't have 
boxes longer than a page: they would print only the first page otherwise!
I don't have any clue about how to fix this!
Do you?
vince

-Messaggio originale-
Da: Kornel Benko [mailto:kor...@lyx.org]
Inviato: ven 09/10/2009 17.57
A: lyx-users@lists.lyx.org
Oggetto: Re: Double language layout
 
Am Freitag 09 Oktober 2009 schrieb rgheck:
 On 10/09/2009 10:43 AM, vinc...@alice.it wrote:
  Hi everybody,
  I'm writing my thesis and I was wondering whether it is possible to use
  Lyx for a double language document. What I'd like to do is having a
  double column layout with the text written in one language on the left
  and another one on the right side. The text should be aligned: chapters,
  sections, etc. should start at the same point in the page, and the only
  things to be shared between the two languages would be tables, figures
  and equations. Does anyone of you know how to do this?

 I don't think it would be possible to do this in LyX natively, i.e.,
 without a LOT of ERT. There must be some LaTeX packages that do this
 kind of thing, but I don't know of them, and you might be better off
 just doing the whole thing in LaTeX.

 rh

I have done something like this with minipages, simulating so double columns.

1.) Insert-Box, Right click-Settings-With 45 Column width
2.) Insert-Formatting-Horizontal space...-Spacing=Horizontal fill
3.)  Insert-Box, Right click-Settings-With 45 Column width

Kornel
-- 
Kornel Benko
kornel.be...@berlin.de



Re: R: Double language layout

2009-10-11 Thread rgheck

On 10/11/2009 05:54 PM, vinc...@alice.it wrote:

Thank you Kornel,
with your suggestion I got things to be aligned. But unfortunately I can't have 
boxes longer than a page: they would print only the first page otherwise!
I don't have any clue about how to fix this!
Do you?

   

No way to fix it when using minipages. They are limited to a page.

If you're doing a full bilingual sort of thing, then look into packages 
on ctan.org that are intended for critical editions. There are a few, 
that I saw a while ago. But using them with LyX is another matter.


rh



Re: R: Double language layout

2009-10-11 Thread Kornel Benko
Am Monday 12 October 2009 schrieb rgheck:
 On 10/11/2009 05:54 PM, vinc...@alice.it wrote:
  Thank you Kornel,
  with your suggestion I got things to be aligned. But unfortunately I can't 
  have boxes longer than a page: they would print only the first page 
  otherwise!
  I don't have any clue about how to fix this!
  Do you?
 
 
 No way to fix it when using minipages. They are limited to a page.
 
 If you're doing a full bilingual sort of thing, then look into packages 
 on ctan.org that are intended for critical editions. There are a few, 
 that I saw a while ago. But using them with LyX is another matter.
 
 rh
 

As Richard said, no way. So you have to manually split. If your paragraphs
were small enough, you could split on every paragraph.

Kornel

-- 
Kornel Benko
kornel.be...@berlin.de


signature.asc
Description: This is a digitally signed message part.


R: Double language layout

2009-10-11 Thread vince17
Thank you Kornel,
with your suggestion I got things to be aligned. But unfortunately I can't have 
boxes longer than a page: they would print only the first page otherwise!
I don't have any clue about how to fix this!
Do you?
vince

-Messaggio originale-
Da: Kornel Benko [mailto:kor...@lyx.org]
Inviato: ven 09/10/2009 17.57
A: lyx-users@lists.lyx.org
Oggetto: Re: Double language layout
 
Am Freitag 09 Oktober 2009 schrieb rgheck:
 On 10/09/2009 10:43 AM, vinc...@alice.it wrote:
  Hi everybody,
  I'm writing my thesis and I was wondering whether it is possible to use
  Lyx for a double language document. What I'd like to do is having a
  double column layout with the text written in one language on the left
  and another one on the right side. The text should be aligned: chapters,
  sections, etc. should start at the same point in the page, and the only
  things to be shared between the two languages would be tables, figures
  and equations. Does anyone of you know how to do this?

 I don't think it would be possible to do this in LyX natively, i.e.,
 without a LOT of ERT. There must be some LaTeX packages that do this
 kind of thing, but I don't know of them, and you might be better off
 just doing the whole thing in LaTeX.

 rh

I have done something like this with minipages, simulating so double columns.

1.) Insert-Box, Right click-Settings-With 45 Column width
2.) Insert-Formatting-Horizontal space...-Spacing=Horizontal fill
3.)  Insert-Box, Right click-Settings-With 45 Column width

Kornel
-- 
Kornel Benko
kornel.be...@berlin.de



Re: R: Double language layout

2009-10-11 Thread rgheck

On 10/11/2009 05:54 PM, vinc...@alice.it wrote:

Thank you Kornel,
with your suggestion I got things to be aligned. But unfortunately I can't have 
boxes longer than a page: they would print only the first page otherwise!
I don't have any clue about how to fix this!
Do you?

   

No way to fix it when using minipages. They are limited to a page.

If you're doing a full bilingual sort of thing, then look into packages 
on ctan.org that are intended for critical editions. There are a few, 
that I saw a while ago. But using them with LyX is another matter.


rh



Re: R: Double language layout

2009-10-11 Thread Kornel Benko
Am Monday 12 October 2009 schrieb rgheck:
 On 10/11/2009 05:54 PM, vinc...@alice.it wrote:
  Thank you Kornel,
  with your suggestion I got things to be aligned. But unfortunately I can't 
  have boxes longer than a page: they would print only the first page 
  otherwise!
  I don't have any clue about how to fix this!
  Do you?
 
 
 No way to fix it when using minipages. They are limited to a page.
 
 If you're doing a full bilingual sort of thing, then look into packages 
 on ctan.org that are intended for critical editions. There are a few, 
 that I saw a while ago. But using them with LyX is another matter.
 
 rh
 

As Richard said, no way. So you have to manually split. If your paragraphs
were small enough, you could split on every paragraph.

Kornel

-- 
Kornel Benko
kornel.be...@berlin.de


signature.asc
Description: This is a digitally signed message part.


R: Double language layout

2009-10-11 Thread vince17
Thank you Kornel,
with your suggestion I got things to be aligned. But unfortunately I can't have 
boxes longer than a page: they would print only the first page otherwise!
I don't have any clue about how to fix this!
Do you?
vince

-Messaggio originale-
Da: Kornel Benko [mailto:kor...@lyx.org]
Inviato: ven 09/10/2009 17.57
A: lyx-users@lists.lyx.org
Oggetto: Re: Double language layout
 
Am Freitag 09 Oktober 2009 schrieb rgheck:
> On 10/09/2009 10:43 AM, vinc...@alice.it wrote:
> > Hi everybody,
> > I'm writing my thesis and I was wondering whether it is possible to use
> > Lyx for a double language document. What I'd like to do is having a
> > double column layout with the text written in one language on the left
> > and another one on the right side. The text should be aligned: chapters,
> > sections, etc. should start at the same point in the page, and the only
> > things to be shared between the two languages would be tables, figures
> > and equations. Does anyone of you know how to do this?
>
> I don't think it would be possible to do this in LyX natively, i.e.,
> without a LOT of ERT. There must be some LaTeX packages that do this
> kind of thing, but I don't know of them, and you might be better off
> just doing the whole thing in LaTeX.
>
> rh

I have done something like this with minipages, simulating so double columns.

1.) Insert->Box, Right click->Settings->With 45 Column width
2.) Insert->Formatting->Horizontal space...->Spacing=Horizontal fill
3.)  Insert->Box, Right click->Settings->With 45 Column width

Kornel
-- 
Kornel Benko
kornel.be...@berlin.de



Re: R: Double language layout

2009-10-11 Thread rgheck

On 10/11/2009 05:54 PM, vinc...@alice.it wrote:

Thank you Kornel,
with your suggestion I got things to be aligned. But unfortunately I can't have 
boxes longer than a page: they would print only the first page otherwise!
I don't have any clue about how to fix this!
Do you?

   

No way to fix it when using minipages. They are limited to a page.

If you're doing a full bilingual sort of thing, then look into packages 
on ctan.org that are intended for critical editions. There are a few, 
that I saw a while ago. But using them with LyX is another matter.


rh



Re: R: Double language layout

2009-10-11 Thread Kornel Benko
Am Monday 12 October 2009 schrieb rgheck:
> On 10/11/2009 05:54 PM, vinc...@alice.it wrote:
> > Thank you Kornel,
> > with your suggestion I got things to be aligned. But unfortunately I can't 
> > have boxes longer than a page: they would print only the first page 
> > otherwise!
> > I don't have any clue about how to fix this!
> > Do you?
> >
> >
> No way to fix it when using minipages. They are limited to a page.
> 
> If you're doing a full bilingual sort of thing, then look into packages 
> on ctan.org that are intended for critical editions. There are a few, 
> that I saw a while ago. But using them with LyX is another matter.
> 
> rh
> 

As Richard said, no way. So you have to manually split. If your paragraphs
were small enough, you could split on every paragraph.

Kornel

-- 
Kornel Benko
kornel.be...@berlin.de


signature.asc
Description: This is a digitally signed message part.


Double language layout

2009-10-09 Thread vince17
Hi everybody,
I'm writing my thesis and I was wondering whether it is possible to use Lyx for 
a double language document. What I'd like to do is having a double column 
layout with the text written in one language on the left and another one on the 
right side. The text should be aligned: chapters, sections, etc. should start 
at the same point in the page, and the only things to be shared between the two 
languages would be tables, figures and equations.
Does anyone of you know how to do this?
Thank you very much,
Vince


Re: Double language layout

2009-10-09 Thread rgheck

On 10/09/2009 10:43 AM, vinc...@alice.it wrote:

Hi everybody,
I'm writing my thesis and I was wondering whether it is possible to use Lyx for 
a double language document. What I'd like to do is having a double column 
layout with the text written in one language on the left and another one on the 
right side. The text should be aligned: chapters, sections, etc. should start 
at the same point in the page, and the only things to be shared between the two 
languages would be tables, figures and equations.
Does anyone of you know how to do this?

   
I don't think it would be possible to do this in LyX natively, i.e., 
without a LOT of ERT. There must be some LaTeX packages that do this 
kind of thing, but I don't know of them, and you might be better off 
just doing the whole thing in LaTeX.


rh



R: Double language layout

2009-10-09 Thread vince17
It seems it's a problem of keeping the columns independent. If it is possible 
to say LaTex to use a column as a page, then it'd be easy to tell:

In the preamble:

\usepackage[italian,british]{babel}


In the manuscript:

\chapter{Introduzione}

\selectlanguage{italian}

\subsection*{subsect}

bla bla bla ...


\selectlanguage{british}






-Messaggio originale-
Da: rgheck [mailto:rgh...@bobjweil.com]
Inviato: ven 09/10/2009 17.20
A: vinc...@alice.it
Cc: lyx-users@lists.lyx.org
Oggetto: Re: Double language layout
 
On 10/09/2009 10:43 AM, vinc...@alice.it wrote:
 Hi everybody,
 I'm writing my thesis and I was wondering whether it is possible to use Lyx 
 for a double language document. What I'd like to do is having a double column 
 layout with the text written in one language on the left and another one on 
 the right side. The text should be aligned: chapters, sections, etc. should 
 start at the same point in the page, and the only things to be shared between 
 the two languages would be tables, figures and equations.
 Does anyone of you know how to do this?


I don't think it would be possible to do this in LyX natively, i.e., 
without a LOT of ERT. There must be some LaTeX packages that do this 
kind of thing, but I don't know of them, and you might be better off 
just doing the whole thing in LaTeX.

rh




Double language layout

2009-10-09 Thread vince17
Hi everybody,
I'm writing my thesis and I was wondering whether it is possible to use Lyx for 
a double language document. What I'd like to do is having a double column 
layout with the text written in one language on the left and another one on the 
right side. The text should be aligned: chapters, sections, etc. should start 
at the same point in the page, and the only things to be shared between the two 
languages would be tables, figures and equations.
Does anyone of you know how to do this?
Thank you very much,
Vince


Re: Double language layout

2009-10-09 Thread rgheck

On 10/09/2009 10:43 AM, vinc...@alice.it wrote:

Hi everybody,
I'm writing my thesis and I was wondering whether it is possible to use Lyx for 
a double language document. What I'd like to do is having a double column 
layout with the text written in one language on the left and another one on the 
right side. The text should be aligned: chapters, sections, etc. should start 
at the same point in the page, and the only things to be shared between the two 
languages would be tables, figures and equations.
Does anyone of you know how to do this?

   
I don't think it would be possible to do this in LyX natively, i.e., 
without a LOT of ERT. There must be some LaTeX packages that do this 
kind of thing, but I don't know of them, and you might be better off 
just doing the whole thing in LaTeX.


rh



R: Double language layout

2009-10-09 Thread vince17
It seems it's a problem of keeping the columns independent. If it is possible 
to say LaTex to use a column as a page, then it'd be easy to tell:

In the preamble:

\usepackage[italian,british]{babel}


In the manuscript:

\chapter{Introduzione}

\selectlanguage{italian}

\subsection*{subsect}

bla bla bla ...


\selectlanguage{british}






-Messaggio originale-
Da: rgheck [mailto:rgh...@bobjweil.com]
Inviato: ven 09/10/2009 17.20
A: vinc...@alice.it
Cc: lyx-users@lists.lyx.org
Oggetto: Re: Double language layout
 
On 10/09/2009 10:43 AM, vinc...@alice.it wrote:
 Hi everybody,
 I'm writing my thesis and I was wondering whether it is possible to use Lyx 
 for a double language document. What I'd like to do is having a double column 
 layout with the text written in one language on the left and another one on 
 the right side. The text should be aligned: chapters, sections, etc. should 
 start at the same point in the page, and the only things to be shared between 
 the two languages would be tables, figures and equations.
 Does anyone of you know how to do this?


I don't think it would be possible to do this in LyX natively, i.e., 
without a LOT of ERT. There must be some LaTeX packages that do this 
kind of thing, but I don't know of them, and you might be better off 
just doing the whole thing in LaTeX.

rh




Double language layout

2009-10-09 Thread vince17
Hi everybody,
I'm writing my thesis and I was wondering whether it is possible to use Lyx for 
a double language document. What I'd like to do is having a double column 
layout with the text written in one language on the left and another one on the 
right side. The text should be aligned: chapters, sections, etc. should start 
at the same point in the page, and the only things to be shared between the two 
languages would be tables, figures and equations.
Does anyone of you know how to do this?
Thank you very much,
Vince


Re: Double language layout

2009-10-09 Thread rgheck

On 10/09/2009 10:43 AM, vinc...@alice.it wrote:

Hi everybody,
I'm writing my thesis and I was wondering whether it is possible to use Lyx for 
a double language document. What I'd like to do is having a double column 
layout with the text written in one language on the left and another one on the 
right side. The text should be aligned: chapters, sections, etc. should start 
at the same point in the page, and the only things to be shared between the two 
languages would be tables, figures and equations.
Does anyone of you know how to do this?

   
I don't think it would be possible to do this in LyX natively, i.e., 
without a LOT of ERT. There must be some LaTeX packages that do this 
kind of thing, but I don't know of them, and you might be better off 
just doing the whole thing in LaTeX.


rh



R: Double language layout

2009-10-09 Thread vince17
It seems it's a problem of keeping the columns independent. If it is possible 
to say LaTex to use a column as a page, then it'd be easy to tell:

In the preamble:

\usepackage[italian,british]{babel}


In the manuscript:

\chapter{Introduzione}

\selectlanguage{italian}

\subsection*{subsect}

bla bla bla ...


\selectlanguage{british}






-Messaggio originale-
Da: rgheck [mailto:rgh...@bobjweil.com]
Inviato: ven 09/10/2009 17.20
A: vinc...@alice.it
Cc: lyx-users@lists.lyx.org
Oggetto: Re: Double language layout
 
On 10/09/2009 10:43 AM, vinc...@alice.it wrote:
> Hi everybody,
> I'm writing my thesis and I was wondering whether it is possible to use Lyx 
> for a double language document. What I'd like to do is having a double column 
> layout with the text written in one language on the left and another one on 
> the right side. The text should be aligned: chapters, sections, etc. should 
> start at the same point in the page, and the only things to be shared between 
> the two languages would be tables, figures and equations.
> Does anyone of you know how to do this?
>
>
I don't think it would be possible to do this in LyX natively, i.e., 
without a LOT of ERT. There must be some LaTeX packages that do this 
kind of thing, but I don't know of them, and you might be better off 
just doing the whole thing in LaTeX.

rh