ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	autumnus <ai2472206007@yeah.net>
Subject: [NTG-context] Re: issue when the encapsulation ‘startitem stopitem’ command is in another self-defined command
Date: Sun, 29 Dec 2024 19:37:22 +0100	[thread overview]
Message-ID: <67f9552d-a967-ba3c-e27a-e884c984db75@gmail.com> (raw)
In-Reply-To: <173539708870.1763.8051697005431637453@cgl.ntg.nl>

autumnus schrieb am 28.12.2024 um 15:44:
> hi, Wolfgang
>
> Sorry, but after I tested it, it did output all the lists and their ordinal numbers.
> However, if I used the horizontal parameter, it didn't go the way I expected.
>
> The expected output
>            item 1   sym @
>            item 3  item 4
>
> But the actual output is:
>            sym @
>            item 1   item 3
>            item 4
>
> But if I remove the horizontal argument,
> the list is laid out in the normal order:
>          item 1
>          sym @
>          item 3
>          item 4
>
> What should I do with it?

When you use the "horizontal" or "random" option Context collects all 
item entries enclosed
in a \startitem / \stopitem pair and flushes the collection at the end 
of the itemize environment.

All normal entries which don't use them item-pair are placed as is 
before the collected entries.

While there is a \startspecialitem / \stopspecialitem pair with a \sym 
option, the entries aren't
collected at the moment.

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2024-12-29 18:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-28 12:34 [NTG-context] " autumnus 
2024-12-28 13:22 ` [NTG-context] " Wolfgang Schuster
2024-12-28 14:14   ` autumnus 
2024-12-28 14:44   ` autumnus 
2024-12-29 18:37     ` Wolfgang Schuster [this message]

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=67f9552d-a967-ba3c-e27a-e884c984db75@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ai2472206007@yeah.net \
    --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).