ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mikael P. Sundqvist" <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: nested itemize
Date: Mon, 1 Dec 2014 08:01:11 +0100	[thread overview]
Message-ID: <CAHy-LL_AKLEz87zLutwLanepSrJGjEYWECgH7f_trZmO4gYU1Q@mail.gmail.com> (raw)
In-Reply-To: <1A8A8D0A-AE3F-4945-92C8-B3146E638743@gmail.com>

On Sun, Nov 30, 2014 at 9:58 PM, Otared Kavian <otared@gmail.com> wrote:
>
>> On 29 Nov 2014, at 11:43, Mikael P. Sundqvist <mickep@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 found the following example (which, as you may guess, was given somtime ago by… Wolfgang S.…), where one can construct itemizations with different levels of subitems: however it doesn’t give exactly what you suggest.
>
> %%% begin subitems.tex
> \setupitemgroup[itemize][1][n,repeat][width=1em]
> \setupitemgroup[itemize][2][a,repeat][width=2em]
> \setupitemgroup[itemize][3][n]       [width=3em]
>
> \starttext
>
> \startitemize
>         \item Item one
>         \startitemize
>                 \item subitem one of item one
>                 \startitemize
>                         \item sub-subitem one of subitem one
>                         \item sub-subitem two of subitem one
>                 \stopitemize
>                 \item subitem two of item one
>                 \startitemize
>                         \item sub-subitem one of subitem two
>                         \item sub-subitem two of subitem two
>                 \stopitemize
>         \stopitemize
>         \item Item two
>         \startitemize
>                 \item subitem one of item two
>                 \startitemize
>                         \item sub-subitem one of subitem one
>                         \item sub-subitem two of subitem one
>                 \stopitemize
>         \stopitemize
> \stopitemize
>
> \stoptext
> %%% end subitems.tex
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


Thank you Otared. Just for clarification, I don't want
%% begin expected example
1.a: bla-bla, bla-bla

1.b: bla-bla, bla-bla

1.c: bla-bla, bla-bla

2.a: bla-bla, bla-bla

2.b: bla-bla, bla-bla
%% end expected example
but
%% begin expected example
1.a: bla-bla, bla-bla

  b: bla-bla, bla-bla

  c: bla-bla, bla-bla

2.a: bla-bla, bla-bla

  b: bla-bla, bla-bla
%% end expected example
and the problem is that the nested items a. fall one line below the
figure on the previous level. I think Hans works on it(?).

Best regards, Mikael

PS At work I have ConTeXt  ver: 2014.11.04 11:02 MKIV beta  fmt:
2014.11.4  int: english/english, and the bug is not present there.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2014-12-01  7:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-28 18:01 Mikael P. Sundqvist
2014-11-29  9:48 ` Otared Kavian
2014-11-29 10:04 ` Hans Hagen
2014-11-29 10:43   ` Mikael P. Sundqvist
2014-11-29 10:49     ` Hans Hagen
2014-11-30 20:48     ` Otared Kavian
2014-11-30 20:58     ` Otared Kavian
2014-12-01  7:01       ` Mikael P. Sundqvist [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-09-02  9:08 Nested itemize Alexandre Christe via ntg-context
2022-09-02  9:22 ` fv leung via ntg-context
2012-04-06 15:40 Procházka Lukáš Ing. - Pontex s. r. o.
2012-04-06 16:13 ` Wolfgang Schuster
2012-04-07 15:08   ` Procházka Lukáš

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHy-LL_AKLEz87zLutwLanepSrJGjEYWECgH7f_trZmO4gYU1Q@mail.gmail.com \
    --to=mickep@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).