Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread pavel hampl

sorry, I did not understand that you need the FIRST LINE
indentation. This should probably be done with hard spaces
ctrl+space. Probably somebody knows why deeper paragraphs
do not have the first line indented. The same thing was
discussed as known bug in 1.1.[56] versions for each first
paragraph after some another text types. E.g. if you create
[sub]section or list, the next paragraph will not have the
first line indented.

I do not use 1.2 version, maybe it is repaired already?

Pavel Hampl

pavel hampl wrote:
 
 try this:
 
 -write the first paragraph and set is as enumerated
 -write the second paragraph, it should be enumerated with 2
 -write the paragraph you want to be indented. NOW it is
 enumerated with 3
 -write the next paragraph if any, it has to have 4
 -go to the paragraph with 3 and change it from enumerated
 to standard; now the next paragraph has 1 again
 - change depth of the standard paragraph; it should be
 indented and the next paragraph has number 3
 
 1. first paragraph
 
 2. second paragraph
 
third paragraph
 
 3. fourth paragraph
 
 the depth can be changed either through menu Layout| change
 env. depth, or with Shift-Alt-Right or with the button of
 indented paragraph with arrows on both sides.
 
 Is that what you need?
 
 PHampl

-- 
--
Pavel Hampl email: [EMAIL PROTECTED]
GN Resources CZ http://www.gncz.cz
Ve Smeckach 20  tel: +420-2-96337821 NEW!
11000 Praha 1, CZ



Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread seguso

On Wed, 24 Jul 2002 06:22:13 +, you wrote:

 sorry, I did not understand that you need the FIRST LINE
 indentation.


I'm sorry, I should have said that from the beginning. :-P

Thanks anyway.
I can always do an after-the-fact latex editing.

bye,
Maurizio



Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Alain Castera

On Wed, 24 Jul 2002, seguso wrote:

 On Wed, 24 Jul 2002 06:22:13 +, you wrote:

  sorry, I did not understand that you need the FIRST LINE
  indentation.


 I'm sorry, I should have said that from the beginning. :-P

 Thanks anyway.
 I can always do an after-the-fact latex editing.

 bye,
 Maurizio


Hi Maurizio

What is exactly the latex (not DVI) ouput you are waiting for ? May be can
you help LyX with ERT, but I don't know latex  enough to find the proper
construction.

Alain

-- 
 ***
 *Alain Castera*
 * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
 * Campus de la Doua | Telephone : (+33) 472448429 *
 * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
 ***




Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread seguso

On Wed, 24 Jul 2002 10:08:28 +0200 (CEST), you wrote:

 On Wed, 24 Jul 2002, seguso wrote:
 
  On Wed, 24 Jul 2002 06:22:13 +, you wrote:
 
   sorry, I did not understand that you need the FIRST LINE
   indentation.
 
 
  I'm sorry, I should have said that from the beginning. :-P
 
  Thanks anyway.
  I can always do an after-the-fact latex editing.
 
  bye,
  Maurizio
 
 
 Hi Maurizio
 
 What is exactly the latex (not DVI) ouput you are waiting for ? May be can
 you help LyX with ERT, but I don't know latex  enough to find the proper
 construction.
 

Thanks Alain,
it is very simple.
I would like to get the following latex output :


\begin{enumerate}

\item This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

\item   This is the second item, and it
spans two paragraphs. This is the
first paragraph and has no indenta-
tion.

qq This is the second paragraph, and
is indented. But it has no numbering,
because it belongs to the same enu-
meration item, the second one.

\end{enumerate}

Notice that the blank line above the q is necessary, 
otherwise latex doesn't understand that a new paragraph is beginning.

Which in dvi appears as:


1.   This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

2.   This is the second item, and it
 spans two paragraphs. This is the
 first paragraph and has no indenta-
 tion.

 qq This is the second paragraph, 
 and it is indented. But it has no num-
 bering, because it belongs to the same 
 enumeration item, the second one.
 

Thanks again,

Maurizio




Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Alain Castera


Sorry, I am unable to reproduce (see attached dvi). What's wrong in my
test file ? Could you send an example to me ?


On Wed, 24 Jul 2002, seguso wrote:
 it is very simple.
 I would like to get the following latex output :


 \begin{enumerate}

 \item This is the first item, and spans 

 \item   This is the second item, and it ..

 qq This is the second paragraph, and 

 \end{enumerate}

 Which in dvi appears as:


 1.   This is the first item, and spans ...

 2.   This is the second item, and it ...

  qq This is the second paragraph,
  and it is indented. But it has no num- ...

-- 
 ***
 *Alain Castera*
 * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
 * Campus de la Doua | Telephone : (+33) 472448429 *
 * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
 ***



newfile3.tex
Description: latex test file


newfile3.dvi
Description: test output - doesn't work


Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread seguso

On Wed, 24 Jul 2002 12:16:14 +0200 (CEST), you wrote:

 
 Sorry, I am unable to reproduce (see attached dvi). What's wrong in my
 test file ? Could you send an example to me ?
 

gosh, you are right!

I was pretty sure latex would put a first-line indent, but it doesn't.

I don't know what to say... I'm so sorry.

Maybe I was using some strange package, but now I can't remember.

Bye,
Maurizio




Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Radwan JALAM

Replace the qq with \hphantom{}

regards,

At 12:16 24/07/2002, Alain Castera wrote:

Sorry, I am unable to reproduce (see attached dvi). What's wrong in my
test file ? Could you send an example to me ?


On Wed, 24 Jul 2002, seguso wrote:
  it is very simple.
  I would like to get the following latex output :
 
 
  \begin{enumerate}
 
  \item This is the first item, and spans 
 
  \item   This is the second item, and it ..
 
  qq This is the second paragraph, and 
 
  \end{enumerate}
 
  Which in dvi appears as:
 
 
  1.   This is the first item, and spans ...
 
  2.   This is the second item, and it ...
 
   qq This is the second paragraph,
   and it is indented. But it has no num- ...

--
  ***
  *Alain Castera*
  * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
  * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
  * Campus de la Doua | Telephone : (+33) 472448429 *
  * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
  ***


__
Radwan JALAM
Laboratoire ERIC
Universite Lumiere Lyon 2
mél: [EMAIL PROTECTED]
http://eric.univ-lyon2.fr




Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Alain Castera



On Wed, 24 Jul 2002, Radwan JALAM wrote:

 Replace the qq with \hphantom{}

 regards,


I'm not sure it will be so easy to use in LyX (a quick test failed here,
but I didn't investigate).

A simple (but less elegant, I agree) method is to put in the enumerate
environment, somewhere before the first paragraph to be indented :
\setlength{\parindent}{5mm}
or whatever length you want. List environment set \parindent to 0, you saw
that already ;-)

- remark : if LaTeX behave this way, this may be because of some
typographic uses. Maurizio, do you really want to do that ?

Alain

P.S. Salut, Radwan. Je serais curieux de voir le chemin suivi par nos
messages ;-)
-- 
 ***
 *Alain Castera*
 * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
 * Campus de la Doua | Telephone : (+33) 472448429 *
 * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
 ***






Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Renaud MICHEL

Le Mercredi 24 Juillet 2002 14:52, Alain Castera a écrit :
 A simple (but less elegant, I agree) method is to put in the enumerate
 environment, somewhere before the first paragraph to be indented :
   \setlength{\parindent}{5mm}
 or whatever length you want. List environment set \parindent to 0, you
 saw that already ;-)

No, for paragraph nested in lists you should use \listparindent, but I tried 
it and it doesn't seem to work :-/

-- 
Renaud Michel

640 Ko is enough, Bill Gates.



Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Alain Castera


On Wed, 24 Jul 2002, Renaud MICHEL wrote:
 No, for paragraph nested in lists you should use \listparindent, but I tried
 it and it doesn't seem to work :-/

Agreed, but you have to do it as part as the \begin{list} declaration,
and I don't know how to do that with LyX (except by writing everything in
ERT). :-(



-- 
 ***
 *Alain Castera*
 * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
 * Campus de la Doua | Telephone : (+33) 472448429 *
 * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
 ***




Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread seguso

On Wed, 24 Jul 2002 14:52:11 +0200 (CEST), you wrote:

 
   - remark : if LaTeX behave this way, this may be because of some
 typographic uses. Maurizio, do you really want to do that ?

Well, after all... yes you're right.
Why the hell did I want to do such a thing?

bye,
Maurizio



Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread pavel hampl

sorry, I did not understand that you need the FIRST LINE
indentation. This should probably be done with hard spaces
ctrl+space. Probably somebody knows why deeper paragraphs
do not have the first line indented. The same thing was
discussed as known bug in 1.1.[56] versions for each first
paragraph after some another text types. E.g. if you create
[sub]section or list, the next paragraph will not have the
first line indented.

I do not use 1.2 version, maybe it is repaired already?

Pavel Hampl

pavel hampl wrote:
 
 try this:
 
 -write the first paragraph and set is as enumerated
 -write the second paragraph, it should be enumerated with 2
 -write the paragraph you want to be indented. NOW it is
 enumerated with 3
 -write the next paragraph if any, it has to have 4
 -go to the paragraph with 3 and change it from enumerated
 to standard; now the next paragraph has 1 again
 - change depth of the standard paragraph; it should be
 indented and the next paragraph has number 3
 
 1. first paragraph
 
 2. second paragraph
 
third paragraph
 
 3. fourth paragraph
 
 the depth can be changed either through menu Layout| change
 env. depth, or with Shift-Alt-Right or with the button of
 indented paragraph with arrows on both sides.
 
 Is that what you need?
 
 PHampl

-- 
--
Pavel Hampl email: [EMAIL PROTECTED]
GN Resources CZ http://www.gncz.cz
Ve Smeckach 20  tel: +420-2-96337821 NEW!
11000 Praha 1, CZ



Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread seguso

On Wed, 24 Jul 2002 06:22:13 +, you wrote:

 sorry, I did not understand that you need the FIRST LINE
 indentation.


I'm sorry, I should have said that from the beginning. :-P

Thanks anyway.
I can always do an after-the-fact latex editing.

bye,
Maurizio



Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Alain Castera

On Wed, 24 Jul 2002, seguso wrote:

 On Wed, 24 Jul 2002 06:22:13 +, you wrote:

  sorry, I did not understand that you need the FIRST LINE
  indentation.


 I'm sorry, I should have said that from the beginning. :-P

 Thanks anyway.
 I can always do an after-the-fact latex editing.

 bye,
 Maurizio


Hi Maurizio

What is exactly the latex (not DVI) ouput you are waiting for ? May be can
you help LyX with ERT, but I don't know latex  enough to find the proper
construction.

Alain

-- 
 ***
 *Alain Castera*
 * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
 * Campus de la Doua | Telephone : (+33) 472448429 *
 * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
 ***




Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread seguso

On Wed, 24 Jul 2002 10:08:28 +0200 (CEST), you wrote:

 On Wed, 24 Jul 2002, seguso wrote:
 
  On Wed, 24 Jul 2002 06:22:13 +, you wrote:
 
   sorry, I did not understand that you need the FIRST LINE
   indentation.
 
 
  I'm sorry, I should have said that from the beginning. :-P
 
  Thanks anyway.
  I can always do an after-the-fact latex editing.
 
  bye,
  Maurizio
 
 
 Hi Maurizio
 
 What is exactly the latex (not DVI) ouput you are waiting for ? May be can
 you help LyX with ERT, but I don't know latex  enough to find the proper
 construction.
 

Thanks Alain,
it is very simple.
I would like to get the following latex output :


\begin{enumerate}

\item This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

\item   This is the second item, and it
spans two paragraphs. This is the
first paragraph and has no indenta-
tion.

qq This is the second paragraph, and
is indented. But it has no numbering,
because it belongs to the same enu-
meration item, the second one.

\end{enumerate}

Notice that the blank line above the q is necessary, 
otherwise latex doesn't understand that a new paragraph is beginning.

Which in dvi appears as:


1.   This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

2.   This is the second item, and it
 spans two paragraphs. This is the
 first paragraph and has no indenta-
 tion.

 qq This is the second paragraph, 
 and it is indented. But it has no num-
 bering, because it belongs to the same 
 enumeration item, the second one.
 

Thanks again,

Maurizio




Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Alain Castera


Sorry, I am unable to reproduce (see attached dvi). What's wrong in my
test file ? Could you send an example to me ?


On Wed, 24 Jul 2002, seguso wrote:
 it is very simple.
 I would like to get the following latex output :


 \begin{enumerate}

 \item This is the first item, and spans 

 \item   This is the second item, and it ..

 qq This is the second paragraph, and 

 \end{enumerate}

 Which in dvi appears as:


 1.   This is the first item, and spans ...

 2.   This is the second item, and it ...

  qq This is the second paragraph,
  and it is indented. But it has no num- ...

-- 
 ***
 *Alain Castera*
 * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
 * Campus de la Doua | Telephone : (+33) 472448429 *
 * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
 ***



newfile3.tex
Description: latex test file


newfile3.dvi
Description: test output - doesn't work


Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread seguso

On Wed, 24 Jul 2002 12:16:14 +0200 (CEST), you wrote:

 
 Sorry, I am unable to reproduce (see attached dvi). What's wrong in my
 test file ? Could you send an example to me ?
 

gosh, you are right!

I was pretty sure latex would put a first-line indent, but it doesn't.

I don't know what to say... I'm so sorry.

Maybe I was using some strange package, but now I can't remember.

Bye,
Maurizio




Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Radwan JALAM

Replace the qq with \hphantom{}

regards,

At 12:16 24/07/2002, Alain Castera wrote:

Sorry, I am unable to reproduce (see attached dvi). What's wrong in my
test file ? Could you send an example to me ?


On Wed, 24 Jul 2002, seguso wrote:
  it is very simple.
  I would like to get the following latex output :
 
 
  \begin{enumerate}
 
  \item This is the first item, and spans 
 
  \item   This is the second item, and it ..
 
  qq This is the second paragraph, and 
 
  \end{enumerate}
 
  Which in dvi appears as:
 
 
  1.   This is the first item, and spans ...
 
  2.   This is the second item, and it ...
 
   qq This is the second paragraph,
   and it is indented. But it has no num- ...

--
  ***
  *Alain Castera*
  * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
  * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
  * Campus de la Doua | Telephone : (+33) 472448429 *
  * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
  ***


__
Radwan JALAM
Laboratoire ERIC
Universite Lumiere Lyon 2
mél: [EMAIL PROTECTED]
http://eric.univ-lyon2.fr




Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Alain Castera



On Wed, 24 Jul 2002, Radwan JALAM wrote:

 Replace the qq with \hphantom{}

 regards,


I'm not sure it will be so easy to use in LyX (a quick test failed here,
but I didn't investigate).

A simple (but less elegant, I agree) method is to put in the enumerate
environment, somewhere before the first paragraph to be indented :
\setlength{\parindent}{5mm}
or whatever length you want. List environment set \parindent to 0, you saw
that already ;-)

- remark : if LaTeX behave this way, this may be because of some
typographic uses. Maurizio, do you really want to do that ?

Alain

P.S. Salut, Radwan. Je serais curieux de voir le chemin suivi par nos
messages ;-)
-- 
 ***
 *Alain Castera*
 * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
 * Campus de la Doua | Telephone : (+33) 472448429 *
 * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
 ***






Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Renaud MICHEL

Le Mercredi 24 Juillet 2002 14:52, Alain Castera a écrit :
 A simple (but less elegant, I agree) method is to put in the enumerate
 environment, somewhere before the first paragraph to be indented :
   \setlength{\parindent}{5mm}
 or whatever length you want. List environment set \parindent to 0, you
 saw that already ;-)

No, for paragraph nested in lists you should use \listparindent, but I tried 
it and it doesn't seem to work :-/

-- 
Renaud Michel

640 Ko is enough, Bill Gates.



Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Alain Castera


On Wed, 24 Jul 2002, Renaud MICHEL wrote:
 No, for paragraph nested in lists you should use \listparindent, but I tried
 it and it doesn't seem to work :-/

Agreed, but you have to do it as part as the \begin{list} declaration,
and I don't know how to do that with LyX (except by writing everything in
ERT). :-(



-- 
 ***
 *Alain Castera*
 * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
 * Campus de la Doua | Telephone : (+33) 472448429 *
 * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
 ***




Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread seguso

On Wed, 24 Jul 2002 14:52:11 +0200 (CEST), you wrote:

 
   - remark : if LaTeX behave this way, this may be because of some
 typographic uses. Maurizio, do you really want to do that ?

Well, after all... yes you're right.
Why the hell did I want to do such a thing?

bye,
Maurizio



Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread pavel hampl

sorry, I did not understand that you need the FIRST LINE
indentation. This should probably be done with hard spaces
"ctrl+space". Probably somebody knows why deeper paragraphs
do not have the first line indented. The same thing was
discussed as known bug in 1.1.[56] versions for each first
paragraph after some another text types. E.g. if you create
[sub]section or list, the next paragraph will not have the
first line indented.

I do not use 1.2 version, maybe it is repaired already?

Pavel Hampl

pavel hampl wrote:
> 
> try this:
> 
> -write the first paragraph and set is as enumerated
> -write the second paragraph, it should be enumerated with 2
> -write the paragraph you want to be indented. NOW it is
> enumerated with 3
> -write the next paragraph if any, it has to have 4
> -go to the paragraph with 3 and change it from "enumerated"
> to "standard"; now the next paragraph has 1 again
> - change depth of the "standard" paragraph; it should be
> indented and the next paragraph has number 3
> 
> 1. first paragraph
> 
> 2. second paragraph
> 
>third paragraph
> 
> 3. fourth paragraph
> 
> the depth can be changed either through menu "Layout| change
> env. depth", or with "Shift-Alt-Right" or with the button of
> indented paragraph with arrows on both sides.
> 
> Is that what you need?
> 
> PHampl

-- 
--
Pavel Hampl email: [EMAIL PROTECTED]
GN Resources CZ http://www.gncz.cz
Ve Smeckach 20  tel: +420-2-96337821 <

Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread seguso

On Wed, 24 Jul 2002 06:22:13 +, you wrote:

> sorry, I did not understand that you need the FIRST LINE
> indentation.


I'm sorry, I should have said that from the beginning. :-P

Thanks anyway.
I can always do an after-the-fact latex editing.

bye,
Maurizio



Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Alain Castera

On Wed, 24 Jul 2002, seguso wrote:

> On Wed, 24 Jul 2002 06:22:13 +, you wrote:
>
> > sorry, I did not understand that you need the FIRST LINE
> > indentation.
>
>
> I'm sorry, I should have said that from the beginning. :-P
>
> Thanks anyway.
> I can always do an after-the-fact latex editing.
>
> bye,
> Maurizio
>

Hi Maurizio

What is exactly the latex (not DVI) ouput you are waiting for ? May be can
you help LyX with ERT, but I don't know latex  enough to find the proper
construction.

Alain

-- 
 ***
 *Alain Castera*
 * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
 * Campus de la Doua | Telephone : (+33) 472448429 *
 * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
 ***




Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread seguso

On Wed, 24 Jul 2002 10:08:28 +0200 (CEST), you wrote:

> On Wed, 24 Jul 2002, seguso wrote:
> 
> > On Wed, 24 Jul 2002 06:22:13 +, you wrote:
> >
> > > sorry, I did not understand that you need the FIRST LINE
> > > indentation.
> >
> >
> > I'm sorry, I should have said that from the beginning. :-P
> >
> > Thanks anyway.
> > I can always do an after-the-fact latex editing.
> >
> > bye,
> > Maurizio
> >
> 
> Hi Maurizio
> 
> What is exactly the latex (not DVI) ouput you are waiting for ? May be can
> you help LyX with ERT, but I don't know latex  enough to find the proper
> construction.
> 

Thanks Alain,
it is very simple.
I would like to get the following latex output :


\begin{enumerate}

\item This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

\item   This is the second item, and it
spans two paragraphs. This is the
first paragraph and has no indenta-
tion.

qq This is the second paragraph, and
is indented. But it has no numbering,
because it belongs to the same enu-
meration item, the second one.

\end{enumerate}

Notice that the blank line above the q is necessary, 
otherwise latex doesn't understand that a new paragraph is beginning.

Which in dvi appears as:


1.   This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

2.   This is the second item, and it
 spans two paragraphs. This is the
 first paragraph and has no indenta-
 tion.

 qq This is the second paragraph, 
 and it is indented. But it has no num-
 bering, because it belongs to the same 
 enumeration item, the second one.
 

Thanks again,

Maurizio




Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Alain Castera


Sorry, I am unable to reproduce (see attached dvi). What's wrong in my
test file ? Could you send an example to me ?


On Wed, 24 Jul 2002, seguso wrote:
> it is very simple.
> I would like to get the following latex output :
>
>
> \begin{enumerate}
>
> \item This is the first item, and spans 
>
> \item   This is the second item, and it ..
>
> qq This is the second paragraph, and 
>
> \end{enumerate}
>
> Which in dvi appears as:
>
>
> 1.   This is the first item, and spans ...
>
> 2.   This is the second item, and it ...
>
>  qq This is the second paragraph,
>  and it is indented. But it has no num- ...

-- 
 ***
 *Alain Castera*
 * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
 * Campus de la Doua | Telephone : (+33) 472448429 *
 * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
 ***



newfile3.tex
Description: latex test file


newfile3.dvi
Description: test output -> doesn't work


Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread seguso

On Wed, 24 Jul 2002 12:16:14 +0200 (CEST), you wrote:

> 
> Sorry, I am unable to reproduce (see attached dvi). What's wrong in my
> test file ? Could you send an example to me ?
> 

gosh, you are right!

I was pretty sure latex would put a first-line indent, but it doesn't.

I don't know what to say... I'm so sorry.

Maybe I was using some strange package, but now I can't remember.

Bye,
Maurizio




Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Radwan JALAM

Replace the "qq" with \hphantom{}

regards,

At 12:16 24/07/2002, Alain Castera wrote:

>Sorry, I am unable to reproduce (see attached dvi). What's wrong in my
>test file ? Could you send an example to me ?
>
>
>On Wed, 24 Jul 2002, seguso wrote:
> > it is very simple.
> > I would like to get the following latex output :
> >
> >
> > \begin{enumerate}
> >
> > \item This is the first item, and spans 
> >
> > \item   This is the second item, and it ..
> >
> > qq This is the second paragraph, and 
> >
> > \end{enumerate}
> >
> > Which in dvi appears as:
> >
> >
> > 1.   This is the first item, and spans ...
> >
> > 2.   This is the second item, and it ...
> >
> >  qq This is the second paragraph,
> >  and it is indented. But it has no num- ...
>
>--
>  ***
>  *Alain Castera*
>  * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
>  * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
>  * Campus de la Doua | Telephone : (+33) 472448429 *
>  * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
>  ***
>

__
Radwan JALAM
Laboratoire ERIC
Universite Lumiere Lyon 2
mél: [EMAIL PROTECTED]
http://eric.univ-lyon2.fr




Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Alain Castera



On Wed, 24 Jul 2002, Radwan JALAM wrote:

> Replace the "qq" with \hphantom{}
>
> regards,
>

I'm not sure it will be so easy to use in LyX (a quick test failed here,
but I didn't investigate).

A simple (but less elegant, I agree) method is to put in the enumerate
environment, somewhere before the first paragraph to be indented :
\setlength{\parindent}{5mm}
or whatever length you want. List environment set \parindent to 0, you saw
that already ;-)

- remark : if LaTeX behave this way, this may be because of some
typographic uses. Maurizio, do you really want to do that ?

Alain

P.S. Salut, Radwan. Je serais curieux de voir le chemin suivi par nos
messages ;-)
-- 
 ***
 *Alain Castera*
 * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
 * Campus de la Doua | Telephone : (+33) 472448429 *
 * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
 ***






Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Renaud MICHEL

Le Mercredi 24 Juillet 2002 14:52, Alain Castera a écrit :
> A simple (but less elegant, I agree) method is to put in the enumerate
> environment, somewhere before the first paragraph to be indented :
>   \setlength{\parindent}{5mm}
> or whatever length you want. List environment set \parindent to 0, you
> saw that already ;-)

No, for paragraph nested in lists you should use \listparindent, but I tried 
it and it doesn't seem to work :-/

-- 
Renaud Michel

640 Ko is enough, Bill Gates.



Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread Alain Castera


On Wed, 24 Jul 2002, Renaud MICHEL wrote:
> No, for paragraph nested in lists you should use \listparindent, but I tried
> it and it doesn't seem to work :-/

Agreed, but you have to do it as part as the "\begin{list}" declaration,
and I don't know how to do that with LyX (except by writing everything in
ERT). :-(



-- 
 ***
 *Alain Castera*
 * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
 * Campus de la Doua | Telephone : (+33) 472448429 *
 * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
 ***




Re: How to have an enumeration item span more than one paragraph?

2002-07-24 Thread seguso

On Wed, 24 Jul 2002 14:52:11 +0200 (CEST), you wrote:

> 
>   - remark : if LaTeX behave this way, this may be because of some
> typographic uses. Maurizio, do you really want to do that ?

Well, after all... yes you're right.
Why the hell did I want to do such a thing?

bye,
Maurizio



How to have an enumeration item span more than one paragraph?

2002-07-23 Thread Maurizio

Hello,

How can I have an enumeration item span more than one paragraph?

In latex I would do:


\begin{enumerate}

\item This is the first paragraph of an
   enumeration item and will have number one.

  This is the second paragraph and will have no numbering,
  but it will be left-indented.

\item This is the second item and will have number two.

\end{enumerate}


How can I do that with Lyx?
  

-- 
Best regards,
 Maurizio  mailto:[EMAIL PROTECTED]




Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread Herbert Voss

Maurizio wrote:


 \begin{enumerate}
 
 \item This is the first paragraph of an
enumeration item and will have number one.


ctrl-enter between paragraphs of the same item


 
   This is the second paragraph and will have no numbering,
   but it will be left-indented.
 
 \item This is the second item and will have number two.


Herbert


-- 
http://www.lyx.org/help/




Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread seguso

On Tue, 23 Jul 2002 20:59:37 +0200, you wrote:

 Maurizio wrote:
 
 
  \begin{enumerate}
  
  \item This is the first paragraph of an
 enumeration item and will have number one.
 
 
 ctrl-enter between paragraphs of the same item

Thanks a lot Herbert, but...

it is not the same thing. CTRL+ENTER puts a newline, but without left-indent...

whereas the latex code I wrote puts a left indent and also a vertical space between 
paragraphs.

Any ideas?

Thanks again,

Maurizio





Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread Herbert Voss

seguso wrote:

 it is not the same thing. CTRL+ENTER puts a newline, but without left-indent...
 
 whereas the latex code I wrote puts a left indent and also a vertical space between 
paragraphs.


hm, I do not understand ...

look at the attached lyx-file

HErbert



-- 
http://www.lyx.org/help/


#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\begin_preamble
\let\mysuper\textsuperscript
\newcommand{\myRef}[1]{%
  \renewcommand{\textsuperscript}[1]{##1}%
  \cite{#1}%
  \let\textsuperscript\mysuper
}
\end_preamble
\language american
\inputencoding default
\fontscheme default
\graphics dvips
\paperfontsize default
\spacing single 
\papersize letterpaper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 1.5in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\footskip 0.5cm
\secnumdepth 4
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Enumerate

bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah
 bla blah blah 
\newline 

\newline 
bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah 
\layout Enumerate

bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah bla blah blah bla blah blah 
\the_end



Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread Jean-Marc Lasgouttes

 Thanks a lot Herbert, but...
 
 it is not the same thing. CTRL+ENTER puts a newline, but without left-indent...
 
 whereas the latex code I wrote puts a left indent and also a vertical space between 
paragraphs.

Go to the paragraph that you want to put inside enumeration, and use
LayoutChange environment depth.

JMarc




Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread seguso

On Tue, 23 Jul 2002 21:20:56 +0200, you wrote:

 seguso wrote:
 
  it is not the same thing. CTRL+ENTER puts a newline, but without left-indent...
  
  whereas the latex code I wrote puts a left indent and also a vertical space 
between paragraphs.
 
 
 hm, I do not understand ...
 
 look at the attached lyx-file

Thanks Herbert,
I looked at it, and it is not what I need.

What I need is that my DVI looks like this:


1.   This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

2.   This is the second item, and it
 spans two paragraphs. This is the
 first paragraph and has no indenta-
 tion.
 This is the second paragraph, and
 is indented. But it has no numbering,
 because it belongs to the same enu-
 meration item, the second item.
 
whereas your lyx file, when made a DVI, looked like:

1.   This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

2.   This is the second item, and it
 spans two paragraphs. This is the
 first paragraph and has no indenta-
 tion.
 
 This is the second paragraph, and
 is indented. But it has no numbering,
 because it belongs to the same enu-
 meration item, the second item.

Sorry for bothering, bye
Maurizio



Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread seguso

On Tue, 23 Jul 2002 21:23:07 +0200, you wrote:

  Thanks a lot Herbert, but...
  
  it is not the same thing. CTRL+ENTER puts a newline, but without left-indent...
  
  whereas the latex code I wrote puts a left indent and also a vertical space 
between paragraphs.
 
 Go to the paragraph that you want to put inside enumeration, and use
 LayoutChange environment depth.
 
 JMarc

Thank you very much, but I'm afraid that your solution 
doesn't put a left indent on the second paragraph
of the enumeration.

I need my DVI to look like this:


1.   This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

2.   This is the second item, and it
 spans two paragraphs. This is the
 first paragraph and has no indenta-
 tion.
 This is the second paragraph, and
 is indented. But it has no numbering,
 because it belongs to the same enu-
 meration item, the second item.
 
whereas your solution does this:

1.   This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

2.   This is the second item, and it
 spans two paragraphs. This is the
 first paragraph and has no indenta-
 tion.
 
 This is the second paragraph, and
 is not indented. But it has no numbering,
 because it belongs to the same enu-
 meration item, the second item.


bye

Maurizio




Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread Herbert Voss

seguso wrote:

 I need my DVI to look like this:
 
 
 1.   This is the first item, and spans 
  only one paragraph. It has no left
  indentation, as you can see.
 
 2.   This is the second item, and it
  spans two paragraphs. This is the
  first paragraph and has no indenta-
  tion.
  This is the second paragraph, and
  is indented. But it has no numbering,
  because it belongs to the same enu-
  meration item, the second item.


I see, the easiest way is to insert some space with ert.
If you need it in a lot of cases then another solution
maybe useful.

Herbert



-- 
http://www.lyx.org/help/


#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\begin_preamble
\let\mysuper\textsuperscript
\newcommand{\myRef}[1]{%
  \renewcommand{\textsuperscript}[1]{##1}%
  \cite{#1}%
  \let\textsuperscript\mysuper
}
\end_preamble
\language american
\inputencoding default
\fontscheme default
\graphics dvips
\paperfontsize default
\spacing single 
\papersize letterpaper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 1.5in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\footskip 0.5cm
\secnumdepth 4
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Enumerate

bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah
 bla blah blah 
\newline 

\newline 

\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
hphantom{}
\end_inset 

bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah 
\newline 

\newline 

\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
hphantom{}
\end_inset 

h blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah bla blah blah 
\layout Enumerate

bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah bla blah blah bla blah blah 
\the_end



Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread pavel hampl

try this:

-write the first paragraph and set is as enumerated
-write the second paragraph, it should be enumerated with 2
-write the paragraph you want to be indented. NOW it is
enumerated with 3
-write the next paragraph if any, it has to have 4
-go to the paragraph with 3 and change it from enumerated
to standard; now the next paragraph has 1 again
- change depth of the standard paragraph; it should be
indented and the next paragraph has number 3

1. first paragraph

2. second paragraph

   third paragraph

3. fourth paragraph

the depth can be changed either through menu Layout| change
env. depth, or with Shift-Alt-Right or with the button of
indented paragraph with arrows on both sides.

Is that what you need?

PHampl
-- 
--
Pavel Hampl email: [EMAIL PROTECTED]
GN Resources CZ http://www.gncz.cz
Ve Smeckach 20  tel: +420-2-96337821 NEW!
11000 Praha 1, CZ



How to have an enumeration item span more than one paragraph?

2002-07-23 Thread Maurizio

Hello,

How can I have an enumeration item span more than one paragraph?

In latex I would do:


\begin{enumerate}

\item This is the first paragraph of an
   enumeration item and will have number one.

  This is the second paragraph and will have no numbering,
  but it will be left-indented.

\item This is the second item and will have number two.

\end{enumerate}


How can I do that with Lyx?
  

-- 
Best regards,
 Maurizio  mailto:[EMAIL PROTECTED]




Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread Herbert Voss

Maurizio wrote:


 \begin{enumerate}
 
 \item This is the first paragraph of an
enumeration item and will have number one.


ctrl-enter between paragraphs of the same item


 
   This is the second paragraph and will have no numbering,
   but it will be left-indented.
 
 \item This is the second item and will have number two.


Herbert


-- 
http://www.lyx.org/help/




Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread seguso

On Tue, 23 Jul 2002 20:59:37 +0200, you wrote:

 Maurizio wrote:
 
 
  \begin{enumerate}
  
  \item This is the first paragraph of an
 enumeration item and will have number one.
 
 
 ctrl-enter between paragraphs of the same item

Thanks a lot Herbert, but...

it is not the same thing. CTRL+ENTER puts a newline, but without left-indent...

whereas the latex code I wrote puts a left indent and also a vertical space between 
paragraphs.

Any ideas?

Thanks again,

Maurizio





Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread Herbert Voss

seguso wrote:

 it is not the same thing. CTRL+ENTER puts a newline, but without left-indent...
 
 whereas the latex code I wrote puts a left indent and also a vertical space between 
paragraphs.


hm, I do not understand ...

look at the attached lyx-file

HErbert



-- 
http://www.lyx.org/help/


#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\begin_preamble
\let\mysuper\textsuperscript
\newcommand{\myRef}[1]{%
  \renewcommand{\textsuperscript}[1]{##1}%
  \cite{#1}%
  \let\textsuperscript\mysuper
}
\end_preamble
\language american
\inputencoding default
\fontscheme default
\graphics dvips
\paperfontsize default
\spacing single 
\papersize letterpaper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 1.5in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\footskip 0.5cm
\secnumdepth 4
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Enumerate

bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah
 bla blah blah 
\newline 

\newline 
bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah 
\layout Enumerate

bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah bla blah blah bla blah blah 
\the_end



Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread Jean-Marc Lasgouttes

 Thanks a lot Herbert, but...
 
 it is not the same thing. CTRL+ENTER puts a newline, but without left-indent...
 
 whereas the latex code I wrote puts a left indent and also a vertical space between 
paragraphs.

Go to the paragraph that you want to put inside enumeration, and use
LayoutChange environment depth.

JMarc




Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread seguso

On Tue, 23 Jul 2002 21:20:56 +0200, you wrote:

 seguso wrote:
 
  it is not the same thing. CTRL+ENTER puts a newline, but without left-indent...
  
  whereas the latex code I wrote puts a left indent and also a vertical space 
between paragraphs.
 
 
 hm, I do not understand ...
 
 look at the attached lyx-file

Thanks Herbert,
I looked at it, and it is not what I need.

What I need is that my DVI looks like this:


1.   This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

2.   This is the second item, and it
 spans two paragraphs. This is the
 first paragraph and has no indenta-
 tion.
 This is the second paragraph, and
 is indented. But it has no numbering,
 because it belongs to the same enu-
 meration item, the second item.
 
whereas your lyx file, when made a DVI, looked like:

1.   This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

2.   This is the second item, and it
 spans two paragraphs. This is the
 first paragraph and has no indenta-
 tion.
 
 This is the second paragraph, and
 is indented. But it has no numbering,
 because it belongs to the same enu-
 meration item, the second item.

Sorry for bothering, bye
Maurizio



Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread seguso

On Tue, 23 Jul 2002 21:23:07 +0200, you wrote:

  Thanks a lot Herbert, but...
  
  it is not the same thing. CTRL+ENTER puts a newline, but without left-indent...
  
  whereas the latex code I wrote puts a left indent and also a vertical space 
between paragraphs.
 
 Go to the paragraph that you want to put inside enumeration, and use
 LayoutChange environment depth.
 
 JMarc

Thank you very much, but I'm afraid that your solution 
doesn't put a left indent on the second paragraph
of the enumeration.

I need my DVI to look like this:


1.   This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

2.   This is the second item, and it
 spans two paragraphs. This is the
 first paragraph and has no indenta-
 tion.
 This is the second paragraph, and
 is indented. But it has no numbering,
 because it belongs to the same enu-
 meration item, the second item.
 
whereas your solution does this:

1.   This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

2.   This is the second item, and it
 spans two paragraphs. This is the
 first paragraph and has no indenta-
 tion.
 
 This is the second paragraph, and
 is not indented. But it has no numbering,
 because it belongs to the same enu-
 meration item, the second item.


bye

Maurizio




Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread Herbert Voss

seguso wrote:

 I need my DVI to look like this:
 
 
 1.   This is the first item, and spans 
  only one paragraph. It has no left
  indentation, as you can see.
 
 2.   This is the second item, and it
  spans two paragraphs. This is the
  first paragraph and has no indenta-
  tion.
  This is the second paragraph, and
  is indented. But it has no numbering,
  because it belongs to the same enu-
  meration item, the second item.


I see, the easiest way is to insert some space with ert.
If you need it in a lot of cases then another solution
maybe useful.

Herbert



-- 
http://www.lyx.org/help/


#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\begin_preamble
\let\mysuper\textsuperscript
\newcommand{\myRef}[1]{%
  \renewcommand{\textsuperscript}[1]{##1}%
  \cite{#1}%
  \let\textsuperscript\mysuper
}
\end_preamble
\language american
\inputencoding default
\fontscheme default
\graphics dvips
\paperfontsize default
\spacing single 
\papersize letterpaper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 1.5in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\footskip 0.5cm
\secnumdepth 4
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Enumerate

bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah
 bla blah blah 
\newline 

\newline 

\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
hphantom{}
\end_inset 

bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah 
\newline 

\newline 

\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
hphantom{}
\end_inset 

h blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah bla blah blah 
\layout Enumerate

bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah bla blah blah bla blah blah 
\the_end



Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread pavel hampl

try this:

-write the first paragraph and set is as enumerated
-write the second paragraph, it should be enumerated with 2
-write the paragraph you want to be indented. NOW it is
enumerated with 3
-write the next paragraph if any, it has to have 4
-go to the paragraph with 3 and change it from enumerated
to standard; now the next paragraph has 1 again
- change depth of the standard paragraph; it should be
indented and the next paragraph has number 3

1. first paragraph

2. second paragraph

   third paragraph

3. fourth paragraph

the depth can be changed either through menu Layout| change
env. depth, or with Shift-Alt-Right or with the button of
indented paragraph with arrows on both sides.

Is that what you need?

PHampl
-- 
--
Pavel Hampl email: [EMAIL PROTECTED]
GN Resources CZ http://www.gncz.cz
Ve Smeckach 20  tel: +420-2-96337821 NEW!
11000 Praha 1, CZ



How to have an enumeration item span more than one paragraph?

2002-07-23 Thread Maurizio

Hello,

How can I have an enumeration item span more than one paragraph?

In latex I would do:


\begin{enumerate}

\item This is the first paragraph of an
   enumeration item and will have number one.

  This is the second paragraph and will have no numbering,
  but it will be left-indented.

\item This is the second item and will have number two.

\end{enumerate}


How can I do that with Lyx?
  

-- 
Best regards,
 Maurizio  mailto:[EMAIL PROTECTED]




Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread Herbert Voss

Maurizio wrote:


> \begin{enumerate}
> 
> \item This is the first paragraph of an
>enumeration item and will have number one.


ctrl-enter between paragraphs of the same item


> 
>   This is the second paragraph and will have no numbering,
>   but it will be left-indented.
> 
> \item This is the second item and will have number two.


Herbert


-- 
http://www.lyx.org/help/




Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread seguso

On Tue, 23 Jul 2002 20:59:37 +0200, you wrote:

> Maurizio wrote:
> 
> 
> > \begin{enumerate}
> > 
> > \item This is the first paragraph of an
> >enumeration item and will have number one.
> 
> 
> ctrl-enter between paragraphs of the same item

Thanks a lot Herbert, but...

it is not the same thing. CTRL+ENTER puts a newline, but without left-indent...

whereas the latex code I wrote puts a left indent and also a vertical space between 
paragraphs.

Any ideas?

Thanks again,

Maurizio





Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread Herbert Voss

seguso wrote:

> it is not the same thing. CTRL+ENTER puts a newline, but without left-indent...
> 
> whereas the latex code I wrote puts a left indent and also a vertical space between 
>paragraphs.


hm, I do not understand ...

look at the attached lyx-file

HErbert



-- 
http://www.lyx.org/help/


#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\begin_preamble
\let\mysuper\textsuperscript
\newcommand{\myRef}[1]{%
  \renewcommand{\textsuperscript}[1]{##1}%
  \cite{#1}%
  \let\textsuperscript\mysuper
}
\end_preamble
\language american
\inputencoding default
\fontscheme default
\graphics dvips
\paperfontsize default
\spacing single 
\papersize letterpaper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 1.5in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\footskip 0.5cm
\secnumdepth 4
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Enumerate

bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah
 bla blah blah 
\newline 

\newline 
bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah 
\layout Enumerate

bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah bla blah blah bla blah blah 
\the_end



Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread Jean-Marc Lasgouttes

> Thanks a lot Herbert, but...
> 
> it is not the same thing. CTRL+ENTER puts a newline, but without left-indent...
> 
> whereas the latex code I wrote puts a left indent and also a vertical space between 
>paragraphs.

Go to the paragraph that you want to put inside enumeration, and use
Layout>Change environment depth.

JMarc




Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread seguso

On Tue, 23 Jul 2002 21:20:56 +0200, you wrote:

> seguso wrote:
> 
> > it is not the same thing. CTRL+ENTER puts a newline, but without left-indent...
> > 
> > whereas the latex code I wrote puts a left indent and also a vertical space 
>between paragraphs.
> 
> 
> hm, I do not understand ...
> 
> look at the attached lyx-file

Thanks Herbert,
I looked at it, and it is not what I need.

What I need is that my DVI looks like this:


1.   This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

2.   This is the second item, and it
 spans two paragraphs. This is the
 first paragraph and has no indenta-
 tion.
 This is the second paragraph, and
 is indented. But it has no numbering,
 because it belongs to the same enu-
 meration item, the second item.
 
whereas your lyx file, when made a DVI, looked like:

1.   This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

2.   This is the second item, and it
 spans two paragraphs. This is the
 first paragraph and has no indenta-
 tion.
 
 This is the second paragraph, and
 is indented. But it has no numbering,
 because it belongs to the same enu-
 meration item, the second item.

Sorry for bothering, bye
Maurizio



Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread seguso

On Tue, 23 Jul 2002 21:23:07 +0200, you wrote:

> > Thanks a lot Herbert, but...
> > 
> > it is not the same thing. CTRL+ENTER puts a newline, but without left-indent...
> > 
> > whereas the latex code I wrote puts a left indent and also a vertical space 
>between paragraphs.
> 
> Go to the paragraph that you want to put inside enumeration, and use
> Layout>Change environment depth.
> 
> JMarc

Thank you very much, but I'm afraid that your solution 
doesn't put a left indent on the second paragraph
of the enumeration.

I need my DVI to look like this:


1.   This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

2.   This is the second item, and it
 spans two paragraphs. This is the
 first paragraph and has no indenta-
 tion.
 This is the second paragraph, and
 is indented. But it has no numbering,
 because it belongs to the same enu-
 meration item, the second item.
 
whereas your solution does this:

1.   This is the first item, and spans 
 only one paragraph. It has no left
 indentation, as you can see.

2.   This is the second item, and it
 spans two paragraphs. This is the
 first paragraph and has no indenta-
 tion.
 
 This is the second paragraph, and
 is not indented. But it has no numbering,
 because it belongs to the same enu-
 meration item, the second item.


bye

Maurizio




Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread Herbert Voss

seguso wrote:

> I need my DVI to look like this:
> 
> 
> 1.   This is the first item, and spans 
>  only one paragraph. It has no left
>  indentation, as you can see.
> 
> 2.   This is the second item, and it
>  spans two paragraphs. This is the
>  first paragraph and has no indenta-
>  tion.
>  This is the second paragraph, and
>  is indented. But it has no numbering,
>  because it belongs to the same enu-
>  meration item, the second item.


I see, the easiest way is to insert some space with ert.
If you need it in a lot of cases then another solution
maybe useful.

Herbert



-- 
http://www.lyx.org/help/


#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\begin_preamble
\let\mysuper\textsuperscript
\newcommand{\myRef}[1]{%
  \renewcommand{\textsuperscript}[1]{##1}%
  \cite{#1}%
  \let\textsuperscript\mysuper
}
\end_preamble
\language american
\inputencoding default
\fontscheme default
\graphics dvips
\paperfontsize default
\spacing single 
\papersize letterpaper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 1.5in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\footskip 0.5cm
\secnumdepth 4
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Enumerate

bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah
 bla blah blah 
\newline 

\newline 

\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
hphantom{}
\end_inset 

bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah 
\newline 

\newline 

\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
hphantom{}
\end_inset 

h blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah bla blah blah 
\layout Enumerate

bla blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla
 blah blah bla blah blah bla blah blah bla blah blah bla blah blah bla blah
 blah bla blah blah bla blah blah bla blah blah 
\the_end



Re: How to have an enumeration item span more than one paragraph?

2002-07-23 Thread pavel hampl

try this:

-write the first paragraph and set is as enumerated
-write the second paragraph, it should be enumerated with 2
-write the paragraph you want to be indented. NOW it is
enumerated with 3
-write the next paragraph if any, it has to have 4
-go to the paragraph with 3 and change it from "enumerated"
to "standard"; now the next paragraph has 1 again
- change depth of the "standard" paragraph; it should be
indented and the next paragraph has number 3

1. first paragraph

2. second paragraph

   third paragraph

3. fourth paragraph

the depth can be changed either through menu "Layout| change
env. depth", or with "Shift-Alt-Right" or with the button of
indented paragraph with arrows on both sides.

Is that what you need?

PHampl
-- 
--
Pavel Hampl email: [EMAIL PROTECTED]
GN Resources CZ http://www.gncz.cz
Ve Smeckach 20  tel: +420-2-96337821 <