[NTG-context] Is there a way to centrally add a list of indexed items to a sub category?

2023-05-14 Thread Joel via ntg-context

I have a document like this:

    \starttext
    \index{dogs}
    
    \index{cats}
    
    \index{flowers}
    
    \index{snails}
    
    \index{trees}
    
    \placeindex
    
    \stoptext
    
As I understand, if you use \index{animals+dogs}, it will place dogs as a 
sub-category of dogs.

Is there any way to control this centrally, for instance:

\addtosub[animals]{dogs, cats, snails}
\addtosub[plants]{flowers, trees}

Such a way would make it so \index{dogs} places an entry for "dog" under "d" 
and "animals --> dogs" under "a".
--Joel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Bug in context

2023-05-14 Thread Hans Hagen via ntg-context

On 5/13/2023 2:04 PM, Lutz Haseloff via ntg-context wrote:

Hi Hans, hi all,

I mainly use ConTeXt in a server environment. So I am a friend of the 
console.

I found a small problem there.
When I invoke context with parameter --ansi,
the logfile remains empty.
I tried Linux aarch64 and Windows64.
sure, as it makes no sense to write ansi sequences to the log so then 
that channel is turned off


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___