Re: Lyxcode too deeply nested

2010-09-01 Thread Uwe Stöhr

Am 26.08.2010 15:25, schrieb chrima.hercou:


Thank you for this great software.
I'm in trouble when I try to produce a code with the lyxcode style. I use 7 
levels of indentation and I got this when I try to produce a pdf :


This is a LaTeX limitation. The maximal nesting level is limited to 6 
(general) or 4 (of same type), see:

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=toodeep

regards Uwe


Re: Lyxcode too deeply nested

2010-09-01 Thread Uwe Stöhr

Am 26.08.2010 15:25, schrieb chrima.hercou:


Thank you for this great software.
I'm in trouble when I try to produce a code with the lyxcode style. I use 7 
levels of indentation and I got this when I try to produce a pdf :


This is a LaTeX limitation. The maximal nesting level is limited to 6 
(general) or 4 (of same type), see:

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=toodeep

regards Uwe


Re: Lyxcode too deeply nested

2010-09-01 Thread Uwe Stöhr

Am 26.08.2010 15:25, schrieb chrima.hercou:


Thank you for this great software.
I'm in trouble when I try to produce a code with the lyxcode style. I use 7 
levels of indentation and I got this when I try to produce a pdf :


This is a LaTeX limitation. The maximal nesting level is limited to 6 
(general) or 4 (of same type), see:

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=toodeep

regards Uwe


Re: Lyxcode too deeply nested

2010-08-28 Thread Paul Rubin
chrima.hercou chrima.hercou at laposte.net writes:
LaTeX (not LyX) limits nesting to four levels for lists, and probably for other
nestable environments as well.

If you are using nesting just to vary indentation level of code lines, I suggest
you abandom the LyXCode environment and switch to the much more flexible
listings environment (Insert  Program Listing), which is documented in section
7 of Help  Embedded Objects.  Among other things, you can use tabs to indent a
program listing.

/Paul



Re: Lyxcode too deeply nested

2010-08-28 Thread Paul Rubin
chrima.hercou chrima.hercou at laposte.net writes:
LaTeX (not LyX) limits nesting to four levels for lists, and probably for other
nestable environments as well.

If you are using nesting just to vary indentation level of code lines, I suggest
you abandom the LyXCode environment and switch to the much more flexible
listings environment (Insert  Program Listing), which is documented in section
7 of Help  Embedded Objects.  Among other things, you can use tabs to indent a
program listing.

/Paul



Re: Lyxcode too deeply nested

2010-08-28 Thread Paul Rubin
chrima.hercou  laposte.net> writes:
LaTeX (not LyX) limits nesting to four levels for lists, and probably for other
nestable environments as well.

If you are using nesting just to vary indentation level of code lines, I suggest
you abandom the LyXCode environment and switch to the much more flexible
listings environment (Insert > Program Listing), which is documented in section
7 of Help > Embedded Objects.  Among other things, you can use tabs to indent a
program listing.

/Paul