[NTG-context] Nested itemize lists: unexpected spacing

2024-02-01 Thread Jim
Consider the following: \starttext Text before. \startitemize[1,nowhite] \item item 1 \item item 2 \startitemize[5,nowhite] \item sub-item 1 \item sub-item 2 \stopitemize \item item 3 \stopitemize Text after. \stoptext Notwithstanding the "nowhite" options, there is a blank line before

Re: [NTG-context] Nested itemize

2022-09-02 Thread fv leung via ntg-context
\starttext \startitemize[n] \item\godown[-\lineheight] \startitemize[a,columns,packed][before={\blank[nowhite]},right=\),stopper=] \item bla \item bla \item bla \item bla \stopitemize \item\godown[-\lineheight]

[NTG-context] Nested itemize

2022-09-02 Thread Alexandre Christe via ntg-context
Dear all, I'm struggling to setup a nested itemize with no blank line and several columns. What I mean is something like 1. a) bla c) bla b) bla d) bla The following MWE is my starting point \starttext \startitemize[n] \item \blank[-line] \startitemize[a,horizontal,two] [margin=2cm]

Re: [NTG-context] Nested itemize horizontal/column problem

2016-09-19 Thread Mikael P. Sundqvist
On Mon, Sep 19, 2016 at 3:37 PM, Otared Kavian wrote: > Hi Mikael, > > The explanation and the solution given by Henri works fine here. The code > below gives the attached PDF (with ConTeXt 2016.09.12 18:27 MKIV beta). The > point is that an empty \item does not allow to begin

Re: [NTG-context] Nested itemize horizontal/column problem

2016-09-19 Thread Otared Kavian
Hi Mikael, The explanation and the solution given by Henri works fine here. The code below gives the attached PDF (with ConTeXt 2016.09.12 18:27 MKIV beta). The point is that an empty \item does not allow to begin a new level of itemization. Best regards: OK %%% begin \starttext

Re: [NTG-context] Nested itemize horizontal/column problem

2016-09-19 Thread Wolfgang Schuster
Henri Menke 18. September 2016 um 21:56 You can start itemize only in vertical mode. To switch to vertical mode use \blank. To kill the empty line which is inserted use \blank[-line]. Or use \blank[overlay]. Wolfgang

Re: [NTG-context] Nested itemize horizontal/column problem

2016-09-19 Thread Mikael P. Sundqvist
On Sun, Sep 18, 2016 at 9:56 PM, Henri Menke wrote: > You can start itemize only in vertical mode. To switch to vertical mode use > \blank. To kill the empty line which is inserted use \blank[-line]. > > \starttext > \startitemize[n] > \item \blank[-line] >

Re: [NTG-context] Nested itemize horizontal/column problem

2016-09-18 Thread Henri Menke
You can start itemize only in vertical mode. To switch to vertical mode use \blank. To kill the empty line which is inserted use \blank[-line]. \starttext \startitemize[n] \item \blank[-line] \startitemize[a,horizontal,three] \startitem First \stopitem \startitem Second \stopitem \startitem

[NTG-context] Nested itemize horizontal/column problem

2016-09-18 Thread Mikael P. Sundqvist
Hi 1) the following code \starttext \startitemize[n] \item \startitemize[a,horizontal,three] \startitem First \stopitem \startitem Second \stopitem \startitem Third \stopitem \startitem Fourth \stopitem \stopitemize \item On the outer level \stopitemize \stoptext generates the error tex error

Re: [NTG-context] nested itemize

2014-11-30 Thread Otared Kavian
On 29 Nov 2014, at 11:43, Mikael P. Sundqvist mic...@gmail.com wrote: On Sat, Nov 29, 2014 at 11:04 AM, Hans Hagen pra...@wxs.nl wrote: […] a bug indeed ... very nasty code (kind of fight between mechanisms deep down in luatex) ... i'll try to fix it […] Thank you, I hope it is fixable

Re: [NTG-context] nested itemize

2014-11-30 Thread Otared Kavian
On 29 Nov 2014, at 11:43, Mikael P. Sundqvist mic...@gmail.com wrote: […] To Otared: Thank you also for replying. Your code indeed compiles, but the nested itemize starts on a new line, i.e. 1 a instead of 1 a as expected. /Mikael Hi again, answering partly to myself, I

Re: [NTG-context] nested itemize

2014-11-30 Thread Mikael P. Sundqvist
On Sun, Nov 30, 2014 at 9:58 PM, Otared Kavian ota...@gmail.com wrote: On 29 Nov 2014, at 11:43, Mikael P. Sundqvist mic...@gmail.com wrote: […] To Otared: Thank you also for replying. Your code indeed compiles, but the nested itemize starts on a new line, i.e. 1 a instead of 1 a

Re: [NTG-context] nested itemize

2014-11-29 Thread Otared Kavian
Hi Mickael, If you put a blank line after \item, or an empty grouping everything works fine. I think the reason for the behavior may be that \item expects something after you invok eit and it doesn’t know what to do with the scond \startitemize. %%% begin example \starttext \startitemize[n]

Re: [NTG-context] nested itemize

2014-11-29 Thread Hans Hagen
On 11/28/2014 7:01 PM, Mikael P. Sundqvist wrote: The following code (using latest minimals) \starttext \startitemize[n] \item FOO \startitemize[a] \item Hello \item Good bye \stopitemize \stopitemize \startitemize[n] \item \startitemize[a] \item Hello \item Good bye \stopitemize \stopitemize

Re: [NTG-context] nested itemize

2014-11-29 Thread Mikael P. Sundqvist
On Sat, Nov 29, 2014 at 11:04 AM, Hans Hagen pra...@wxs.nl wrote: On 11/28/2014 7:01 PM, Mikael P. Sundqvist wrote: The following code (using latest minimals) \starttext \startitemize[n] \item FOO \startitemize[a] \item Hello \item Good bye \stopitemize \stopitemize \startitemize[n]

Re: [NTG-context] nested itemize

2014-11-29 Thread Hans Hagen
On 11/29/2014 11:43 AM, Mikael P. Sundqvist wrote: On Sat, Nov 29, 2014 at 11:04 AM, Hans Hagen pra...@wxs.nl wrote: On 11/28/2014 7:01 PM, Mikael P. Sundqvist wrote: The following code (using latest minimals) \starttext \startitemize[n] \item FOO \startitemize[a] \item Hello \item Good bye

[NTG-context] nested itemize

2014-11-28 Thread Mikael P. Sundqvist
The following code (using latest minimals) \starttext \startitemize[n] \item FOO \startitemize[a] \item Hello \item Good bye \stopitemize \stopitemize \startitemize[n] \item \startitemize[a] \item Hello \item Good bye \stopitemize \stopitemize \stoptext gives the attached pdf file, i.e. the

[NTG-context] Nested itemize (spaces before and after inside environment)

2013-10-24 Thread Jaroslav Hajtmar
Hello ConTeXist. I tried convert plainTeX source code into ConTeXt source code so that the output PDF gave the same (or approximately the same) result. I did it for one of plainTEX developers (Mr. Olšák), which compared results of PlainTeX, LaTeX and ConTeXt. However, I encountered the

Re: [NTG-context] Nested itemize (spaces before and after inside environment)

2013-10-24 Thread Tomas Hala
Hi Jarda and all, I tested it on my computer using CTX from TL 2010 and 2013 and I have got the same result in both cases. It seems that the content of the option before is completely ignored. I tested another values for this option (\page,\vskip,\godown...), no result. The only one way which

Re: [NTG-context] Nested itemize (spaces before and after inside environment)

2013-10-24 Thread Jaroslav Hajtmar
Thanx Tomas. Of course I know about the possibility of solving the problem by directly entering a space before internal environment. However, I prefer setting off the source text, so I wonder how it can be solved. Jarda Hajtmar Dne 24.10.2013 14:21, Tomas Hala napsal(a): Hi Jarda and all,

Re: [NTG-context] Nested itemize

2012-04-07 Thread Procházka Lukáš
... Works nice, thank you! Best regards, Lukas On Fri, 06 Apr 2012 18:13:41 +0200, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 06.04.2012 um 17:40 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, is there an option for \startitemize or \setupitemize or

[NTG-context] Nested itemize

2012-04-06 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, is there an option for \startitemize or \setupitemize or \setupitemgroup: \startitemize \item A \startitemize \item B \stopitemize \stopitemize to get: 1. A 1.1 B (= nested item has its parent numbers, too) or rather 1. A 1.1 B (= nested item has its

Re: [NTG-context] Nested itemize

2012-04-06 Thread Wolfgang Schuster
Am 06.04.2012 um 17:40 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, is there an option for \startitemize or \setupitemize or \setupitemgroup: \startitemize \item A \startitemize \item B \stopitemize \stopitemize to get: 1. A 1.1 B (= nested