Re: Mixed enumerate environments
G == G Milde [EMAIL PROTECTED] writes: G On 23.11.04, Paul Smith wrote: Dear All With the cursor inside the LyX enumerate environment, I want to begin a nested enumerate environment using ERT so that I can pass some parameters to the enumerate environment (not the default enumerate environment, but the one provided by the enumerate package). Okay, I know that I could do everything with a single ERT... but that would correspond to a waste of LyX facilities. Any ideas? G Are these optional or compulsory arguments? Optional arguments can G be supported by LyX with the right layout definition. G Something like (untested!) G Input stdlists.inc Layout Enumerate OptionalArgs 1 G Somewhat misleasding, the optional argument must be given in the G Menu topic short heading (or the like), as this feature was G introduced for [sub[sub]]sections. ... except that optional arguments do not work currently for environments! If there is a need for that, it should be fixed. JMarc
Re: Mixed enumerate environments
On Wed, 24 Nov 2004 08:41:01 +0100, G. Milde [EMAIL PROTECTED] wrote: With the cursor inside the LyX enumerate environment, I want to begin a nested enumerate environment using ERT so that I can pass some parameters to the enumerate environment (not the default enumerate environment, but the one provided by the enumerate package). Okay, I know that I could do everything with a single ERT... but that would correspond to a waste of LyX facilities. Any ideas? Another possibility would be to use ERT in a nested standard paragraph to start and end the sublist. You will not see the indent of the sublist but otherwise it should be ok. Thanks, Günter, I am trying the way above, but I get errors. I am attaching a file with an example. Any ideas? Paul #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage{enumerate} \end_preamble \language portuges \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 1 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Enumerate this the first item. \newline \begin_inset ERT status Collapsed \layout Standard \backslash begin{enumerate}[{1.}1] \end_inset \newline \begin_inset ERT status Collapsed \layout Standard \backslash item \end_inset this is the first sub-item. \newline \begin_inset ERT status Collapsed \layout Standard \backslash end{enumerate} \end_inset \the_end
Re: Mixed enumerate environments
Paul Smith wrote: On Wed, 24 Nov 2004 08:41:01 +0100, G. Milde [EMAIL PROTECTED] wrote: With the cursor inside the LyX enumerate environment, I want to begin a nested enumerate environment using ERT so that I can pass some parameters to the enumerate environment (not the default enumerate environment, but the one provided by the enumerate package). Okay, I know that I could do everything with a single ERT... but that would correspond to a waste of LyX facilities. Any ideas? Another possibility would be to use ERT in a nested standard paragraph to start and end the sublist. You will not see the indent of the sublist but otherwise it should be ok. Thanks, Günter, I am trying the way above, but I get errors. I am attaching a file with an example. Any ideas? if you want it like 1.1, then there is no need for the enumerate package. You can also edit your LyX layout file to get it on the screen in the same way. Attached your example with an additional enumerate environment, which uses the redefined second level. Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage{enumerate} \renewcommand\labelenumii{\arabic{enumi}.\arabic{enumii}.} \end_preamble \language portuges \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 1 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Enumerate this the first item. \begin_inset ERT status Collapsed \layout Standard \backslash begin{enumerate}[{1.}1] \end_inset \layout Enumerate this is the first sub-item. \layout Enumerate \begin_inset ERT status Collapsed \layout Standard \backslash end{enumerate} \end_inset \layout Enumerate foo \layout Standard bar \layout Enumerate this the first item. \begin_deeper \layout Enumerate this is the first sub-item. \layout Enumerate foo \end_deeper \layout Enumerate foo \layout Standard bar \the_end
Re: Mixed enumerate environments
On Wed, 24 Nov 2004 18:38:38 +0100, Herbert Voss [EMAIL PROTECTED] wrote: With the cursor inside the LyX enumerate environment, I want to begin a nested enumerate environment using ERT so that I can pass some parameters to the enumerate environment (not the default enumerate environment, but the one provided by the enumerate package). Okay, I know that I could do everything with a single ERT... but that would correspond to a waste of LyX facilities. Any ideas? Another possibility would be to use ERT in a nested standard paragraph to start and end the sublist. You will not see the indent of the sublist but otherwise it should be ok. Thanks, Günter, I am trying the way above, but I get errors. I am attaching a file with an example. Any ideas? if you want it like 1.1, then there is no need for the enumerate package. You can also edit your LyX layout file to get it on the screen in the same way. Attached your example with an additional enumerate environment, which uses the redefined second level. Just perfect, Herbert. Thanks. Paul
Re: Mixed enumerate environments
G == G Milde [EMAIL PROTECTED] writes: G On 23.11.04, Paul Smith wrote: Dear All With the cursor inside the LyX enumerate environment, I want to begin a nested enumerate environment using ERT so that I can pass some parameters to the enumerate environment (not the default enumerate environment, but the one provided by the enumerate package). Okay, I know that I could do everything with a single ERT... but that would correspond to a waste of LyX facilities. Any ideas? G Are these optional or compulsory arguments? Optional arguments can G be supported by LyX with the right layout definition. G Something like (untested!) G Input stdlists.inc Layout Enumerate OptionalArgs 1 G Somewhat misleasding, the optional argument must be given in the G Menu topic short heading (or the like), as this feature was G introduced for [sub[sub]]sections. ... except that optional arguments do not work currently for environments! If there is a need for that, it should be fixed. JMarc
Re: Mixed enumerate environments
On Wed, 24 Nov 2004 08:41:01 +0100, G. Milde [EMAIL PROTECTED] wrote: With the cursor inside the LyX enumerate environment, I want to begin a nested enumerate environment using ERT so that I can pass some parameters to the enumerate environment (not the default enumerate environment, but the one provided by the enumerate package). Okay, I know that I could do everything with a single ERT... but that would correspond to a waste of LyX facilities. Any ideas? Another possibility would be to use ERT in a nested standard paragraph to start and end the sublist. You will not see the indent of the sublist but otherwise it should be ok. Thanks, Günter, I am trying the way above, but I get errors. I am attaching a file with an example. Any ideas? Paul #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage{enumerate} \end_preamble \language portuges \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 1 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Enumerate this the first item. \newline \begin_inset ERT status Collapsed \layout Standard \backslash begin{enumerate}[{1.}1] \end_inset \newline \begin_inset ERT status Collapsed \layout Standard \backslash item \end_inset this is the first sub-item. \newline \begin_inset ERT status Collapsed \layout Standard \backslash end{enumerate} \end_inset \the_end
Re: Mixed enumerate environments
Paul Smith wrote: On Wed, 24 Nov 2004 08:41:01 +0100, G. Milde [EMAIL PROTECTED] wrote: With the cursor inside the LyX enumerate environment, I want to begin a nested enumerate environment using ERT so that I can pass some parameters to the enumerate environment (not the default enumerate environment, but the one provided by the enumerate package). Okay, I know that I could do everything with a single ERT... but that would correspond to a waste of LyX facilities. Any ideas? Another possibility would be to use ERT in a nested standard paragraph to start and end the sublist. You will not see the indent of the sublist but otherwise it should be ok. Thanks, Günter, I am trying the way above, but I get errors. I am attaching a file with an example. Any ideas? if you want it like 1.1, then there is no need for the enumerate package. You can also edit your LyX layout file to get it on the screen in the same way. Attached your example with an additional enumerate environment, which uses the redefined second level. Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage{enumerate} \renewcommand\labelenumii{\arabic{enumi}.\arabic{enumii}.} \end_preamble \language portuges \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 1 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Enumerate this the first item. \begin_inset ERT status Collapsed \layout Standard \backslash begin{enumerate}[{1.}1] \end_inset \layout Enumerate this is the first sub-item. \layout Enumerate \begin_inset ERT status Collapsed \layout Standard \backslash end{enumerate} \end_inset \layout Enumerate foo \layout Standard bar \layout Enumerate this the first item. \begin_deeper \layout Enumerate this is the first sub-item. \layout Enumerate foo \end_deeper \layout Enumerate foo \layout Standard bar \the_end
Re: Mixed enumerate environments
On Wed, 24 Nov 2004 18:38:38 +0100, Herbert Voss [EMAIL PROTECTED] wrote: With the cursor inside the LyX enumerate environment, I want to begin a nested enumerate environment using ERT so that I can pass some parameters to the enumerate environment (not the default enumerate environment, but the one provided by the enumerate package). Okay, I know that I could do everything with a single ERT... but that would correspond to a waste of LyX facilities. Any ideas? Another possibility would be to use ERT in a nested standard paragraph to start and end the sublist. You will not see the indent of the sublist but otherwise it should be ok. Thanks, Günter, I am trying the way above, but I get errors. I am attaching a file with an example. Any ideas? if you want it like 1.1, then there is no need for the enumerate package. You can also edit your LyX layout file to get it on the screen in the same way. Attached your example with an additional enumerate environment, which uses the redefined second level. Just perfect, Herbert. Thanks. Paul
Re: Mixed enumerate environments
> "G" == G Milde <[EMAIL PROTECTED]> writes: G> On 23.11.04, Paul Smith wrote: >> Dear All >> >> With the cursor inside the LyX enumerate environment, I want to >> begin a nested enumerate environment using ERT so that I can pass >> some parameters to the enumerate environment (not the default >> enumerate environment, but the one provided by the enumerate >> package). Okay, I know that I could do everything with a single >> ERT... but that would correspond to a waste of LyX facilities. Any >> ideas? G> Are these optional or compulsory arguments? Optional arguments can G> be supported by LyX with the right layout definition. G> Something like (untested!) G> Input stdlists.inc Layout Enumerate OptionalArgs 1 G> Somewhat misleasding, the optional argument must be given in the G> Menu topic "short heading" (or the like), as this feature was G> introduced for [sub[sub]]sections. ... except that optional arguments do not work currently for environments! If there is a need for that, it should be fixed. JMarc
Re: Mixed enumerate environments
On Wed, 24 Nov 2004 08:41:01 +0100, G. Milde <[EMAIL PROTECTED]> wrote: > > With the cursor inside the LyX enumerate environment, I want to begin > > a nested enumerate environment using ERT so that I can pass some > > parameters to the enumerate environment (not the default enumerate > > environment, but the one provided by the enumerate package). Okay, I > > know that I could do everything with a single ERT... but that would > > correspond to a waste of LyX facilities. Any ideas? > > Another possibility would be to use ERT in a nested standard paragraph to > start and end the sublist. You will not see the indent of the sublist but > otherwise it should be ok. Thanks, Günter, I am trying the way above, but I get errors. I am attaching a file with an example. Any ideas? Paul #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage{enumerate} \end_preamble \language portuges \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 1 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Enumerate this the first item. \newline \begin_inset ERT status Collapsed \layout Standard \backslash begin{enumerate}[{1.}1] \end_inset \newline \begin_inset ERT status Collapsed \layout Standard \backslash item \end_inset this is the first sub-item. \newline \begin_inset ERT status Collapsed \layout Standard \backslash end{enumerate} \end_inset \the_end
Re: Mixed enumerate environments
Paul Smith wrote: On Wed, 24 Nov 2004 08:41:01 +0100, G. Milde <[EMAIL PROTECTED]> wrote: With the cursor inside the LyX enumerate environment, I want to begin a nested enumerate environment using ERT so that I can pass some parameters to the enumerate environment (not the default enumerate environment, but the one provided by the enumerate package). Okay, I know that I could do everything with a single ERT... but that would correspond to a waste of LyX facilities. Any ideas? Another possibility would be to use ERT in a nested standard paragraph to start and end the sublist. You will not see the indent of the sublist but otherwise it should be ok. Thanks, Günter, I am trying the way above, but I get errors. I am attaching a file with an example. Any ideas? if you want it like 1.1, then there is no need for the enumerate package. You can also edit your LyX layout file to get it on the screen in the same way. Attached your example with an additional enumerate environment, which uses the redefined second level. Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage{enumerate} \renewcommand\labelenumii{\arabic{enumi}.\arabic{enumii}.} \end_preamble \language portuges \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 1 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Enumerate this the first item. \begin_inset ERT status Collapsed \layout Standard \backslash begin{enumerate}[{1.}1] \end_inset \layout Enumerate this is the first sub-item. \layout Enumerate \begin_inset ERT status Collapsed \layout Standard \backslash end{enumerate} \end_inset \layout Enumerate foo \layout Standard bar \layout Enumerate this the first item. \begin_deeper \layout Enumerate this is the first sub-item. \layout Enumerate foo \end_deeper \layout Enumerate foo \layout Standard bar \the_end
Re: Mixed enumerate environments
On Wed, 24 Nov 2004 18:38:38 +0100, Herbert Voss <[EMAIL PROTECTED]> wrote: > >>>With the cursor inside the LyX enumerate environment, I want to begin > >>>a nested enumerate environment using ERT so that I can pass some > >>>parameters to the enumerate environment (not the default enumerate > >>>environment, but the one provided by the enumerate package). Okay, I > >>>know that I could do everything with a single ERT... but that would > >>>correspond to a waste of LyX facilities. Any ideas? > >> > >>Another possibility would be to use ERT in a nested standard paragraph to > >>start and end the sublist. You will not see the indent of the sublist but > >>otherwise it should be ok. > > > > Thanks, Günter, I am trying the way above, but I get errors. I am > > attaching a file with an example. Any ideas? > > if you want it like 1.1, then there is no need for the > enumerate package. You can also edit your LyX layout file > to get it on the screen in the same way. Attached your > example with an additional enumerate environment, which > uses the redefined second level. Just perfect, Herbert. Thanks. Paul
Mixed enumerate environments
Dear All With the cursor inside the LyX enumerate environment, I want to begin a nested enumerate environment using ERT so that I can pass some parameters to the enumerate environment (not the default enumerate environment, but the one provided by the enumerate package). Okay, I know that I could do everything with a single ERT... but that would correspond to a waste of LyX facilities. Any ideas? Thanks in advance, Paul
Re: Mixed enumerate environments
On 23.11.04, Paul Smith wrote: Dear All With the cursor inside the LyX enumerate environment, I want to begin a nested enumerate environment using ERT so that I can pass some parameters to the enumerate environment (not the default enumerate environment, but the one provided by the enumerate package). Okay, I know that I could do everything with a single ERT... but that would correspond to a waste of LyX facilities. Any ideas? Are these optional or compulsory arguments? Optional arguments can be supported by LyX with the right layout definition. Something like (untested!) Input stdlists.inc Layout Enumerate OptionalArgs 1 Somewhat misleasding, the optional argument must be given in the Menu topic short heading (or the like), as this feature was introduced for [sub[sub]]sections. Another possibility would be to use ERT in a nested standard paragraph to start and end the sublist. You will not see the indent of the sublist but otherwise it should be ok. Günter -- G.Milde web.de
Mixed enumerate environments
Dear All With the cursor inside the LyX enumerate environment, I want to begin a nested enumerate environment using ERT so that I can pass some parameters to the enumerate environment (not the default enumerate environment, but the one provided by the enumerate package). Okay, I know that I could do everything with a single ERT... but that would correspond to a waste of LyX facilities. Any ideas? Thanks in advance, Paul
Re: Mixed enumerate environments
On 23.11.04, Paul Smith wrote: Dear All With the cursor inside the LyX enumerate environment, I want to begin a nested enumerate environment using ERT so that I can pass some parameters to the enumerate environment (not the default enumerate environment, but the one provided by the enumerate package). Okay, I know that I could do everything with a single ERT... but that would correspond to a waste of LyX facilities. Any ideas? Are these optional or compulsory arguments? Optional arguments can be supported by LyX with the right layout definition. Something like (untested!) Input stdlists.inc Layout Enumerate OptionalArgs 1 Somewhat misleasding, the optional argument must be given in the Menu topic short heading (or the like), as this feature was introduced for [sub[sub]]sections. Another possibility would be to use ERT in a nested standard paragraph to start and end the sublist. You will not see the indent of the sublist but otherwise it should be ok. Günter -- G.Milde web.de
Mixed enumerate environments
Dear All With the cursor inside the LyX enumerate environment, I want to begin a nested enumerate environment using ERT so that I can pass some parameters to the enumerate environment (not the default enumerate environment, but the one provided by the enumerate package). Okay, I know that I could do everything with a single ERT... but that would correspond to a waste of LyX facilities. Any ideas? Thanks in advance, Paul
Re: Mixed enumerate environments
On 23.11.04, Paul Smith wrote: > Dear All > > With the cursor inside the LyX enumerate environment, I want to begin > a nested enumerate environment using ERT so that I can pass some > parameters to the enumerate environment (not the default enumerate > environment, but the one provided by the enumerate package). Okay, I > know that I could do everything with a single ERT... but that would > correspond to a waste of LyX facilities. Any ideas? Are these optional or compulsory arguments? Optional arguments can be supported by LyX with the right layout definition. Something like (untested!) Input stdlists.inc Layout Enumerate OptionalArgs 1 Somewhat misleasding, the optional argument must be given in the Menu topic "short heading" (or the like), as this feature was introduced for [sub[sub]]sections. Another possibility would be to use ERT in a nested standard paragraph to start and end the sublist. You will not see the indent of the sublist but otherwise it should be ok. Günter -- G.Milde web.de