[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread hf
t; You asked for a list, that is e.g. a table of contents (list of numbered > items like sections or > floats). > > If you want to affect itemizations, use \setupitemize (same as > \setupitemgroup[itemize]). > > https://wiki.contextgarden.net/Command/_setupitemgroup > > Besi

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread Henning Hraban Ramm
itemizations, use \setupitemize (same as \setupitemgroup[itemize]). https://wiki.contextgarden.net/Command/_setupitemgroup Besides, height is a different parameter. Hraban ___ If your question is of interest

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
nd/ register Command/ rightlabeltext Command/ script Command/ section Command/ seeregister Command/ setupcombinedlist Command/ setupitemgroup Command/ setuplabeltext Command/ setuppairedbox Command/ setupregister Command/ shift Command/ sorting Command/ startattachment Command/ startbackground Command/

[NTG-context] Re: Mikael’s missing math manual

2024-03-18 Thread Hraban Ramm
d]{\bf #1}\autoinsertnextspace} … \startsection[title=Lists] \TODO{Research the options of \tex{setupitemgroup}!} \stopsection … \startchapter[title=Work list]   Sections that still need work.\blank  \placetodos \stopchapter So I get a prominent marker in the content and the title of the affected section a

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Jim
em. But if there is a blank line following the last \item, there will be vertical white space corresponding to the current \setupwhitespace setting following the last item. > \setupitemgroup[itemize][nowhite,after] >>> Sorry, then you need "nowhite". Usually that’s synonymous to >>>

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Henning Hraban Ramm
Am 15.01.24 um 17:15 schrieb Jim: "after" does the trick, but not in an automatic way. I would like something which automagically "does the right thing". With “automagically”, do you mean for all instances? \setupitemgroup[itemize][nowhite,after] Sorry, then you nee

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Jim
g my Context-noobness) is \setupwhitespace not the usual ConTeXt way to do this? > I added a few comments to > https://wiki.contextgarden.net/Command/setupitemgroup > Unfortunately, this is one of the areas where we have a plethora of options > and no documentation about them. Thanks for adding them. I see

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Henning Hraban Ramm
n you need "nowhite". Usually that’s synonymous to "packed,joineup", but apparently not if whitespace is active. I added a few comments to https://wiki.contextgarden.net/Command/setupitemgroup Unfortunately, this is one of the areas where we have a plethora of options a

[NTG-context] LMTX: Command handling, Interface between TeX and Lua

2023-12-13 Thread Gerion Entrup
Hi, I'd like to understand more of the inner workings of LMTX. When I understand it right, most of the code is now processed in Lua but I was not able to find it. For example, I tried to find out how setupitemgroup is handled (just as an example of a more complex command). The wiki has a (kind

[NTG-context] Re: item list inside a blockquote

2023-09-26 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 26.09.2023 um 20:32: On 9/26/23 12:52, gerard.degreve wrote: Hello Pablo, Just try to do this : \setupitemgroup [itemize][1] [ before={\blank[.125th]}, after={\blank[.125th]}\strut] Hi Gerard, this also works with \null, but not well with small dimensions

[NTG-context] Re: item list inside a blockquote

2023-09-26 Thread Pablo Rodriguez
On 9/26/23 12:52, gerard.degreve wrote: > Hello Pablo, > > Just try to do this : >> \setupitemgroup >> [itemize][1] >> [ before={\blank[.125th]}, >> after={\blank[.125th]}\strut] Hi Gerard, this also works with \null, but not well with small dimensions:

[NTG-context] Re: \setupitemgroup for footnotes

2023-09-26 Thread Pablo Rodriguez
ould be avoided. > > I didn’t say you should avoid it; defining your own version was just the > first idea that I had – and apparently it wasn’t a bad idea. Sorry, Hraban, your proposal works perfectly fine and I really appreciate it. It was only me the one that had the impression that

[NTG-context] Re: item list inside a blockquote

2023-09-26 Thread gerard.degreve
gerard.degreve:  Hello Pablo, Just try to do this : \setupitemgroup [itemize][1] [ before={\blank[.125th]}, after={\blank[.125th]}\strut] Regards, Gerard Le 25-09-23 19:26:08, Pablo Rodriguez a écrit : Dear list, I have the following sample: \setuppapersize[A6] \setupitemgroup [itemize][1

[NTG-context] Re: \setupitemgroup for footnotes

2023-09-25 Thread Henning Hraban Ramm
Am 25.09.23 um 19:19 schrieb Pablo Rodriguez: On 9/25/23 18:19, Henning Hraban Ramm wrote: Am 25.09.23 um 17:52 schrieb Pablo Rodriguez: [...] Excuse my ignorance, but which is the right way to get the itemize setup only for footnotes? I would use \defineitemgroup to define your own, like

[NTG-context] item list inside a blockquote

2023-09-25 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A6] \setupitemgroup [itemize][1] [ before={\blank[.125th]}, after={\blank[.125th]}] \starttext one \startblockquote \startitemize \item a \stopitemize

[NTG-context] Re: \setupitemgroup for footnotes

2023-09-25 Thread Pablo Rodriguez
On 9/25/23 18:19, Henning Hraban Ramm wrote: > Am 25.09.23 um 17:52 schrieb Pablo Rodriguez: >> [...] >> Excuse my ignorance, but which is the right way to get the itemize setup >> only for footnotes? > > I would use \defineitemgroup to define your own, like "footnoteitemize". Many thanks for

[NTG-context] Re: \setupitemgroup for footnotes

2023-09-25 Thread Henning Hraban Ramm
Am 25.09.23 um 17:52 schrieb Pablo Rodriguez: Dear list, I have the following sample (with current latest from 2023.09.18 21:13): \setuppapersize[A6] \starttext \startsetups[forfootnote] \setupitemgroup [itemize][1] [ before={\endgraf{\ttbf

[NTG-context] \setupitemgroup for footnotes

2023-09-25 Thread Pablo Rodriguez
Dear list, I have the following sample (with current latest from 2023.09.18 21:13): \setuppapersize[A6] \starttext \startsetups[forfootnote] \setupitemgroup [itemize][1] [ before={\endgraf{\ttbf[before]}\endgraf}, after={\endgraf

[NTG-context] Re: Vertical Space between Text and Itemize List

2023-09-06 Thread Mikael Sundqvist
Hi, You can use before, inbetween and after. \setupitemgroup [itemize] [inbetween={\blank[1cm]}, before={\blank[2cm]}, after={\blank[3cm]}] \starttext \samplefile{ward} \startitemize \dorecurse{4}{ \startitem \samplefile{knuthmath} \stopitem } \stopitemize \samplefile{ward} \stoptext

[NTG-context] Vertical Space between Text and Itemize List

2023-09-06 Thread Jeroen
To get a packed itemize list I use this in the preamble \setupitemgroup [itemize] [packed] To get less vspace between the text and the first item, i changed it to this \setupitemgroup [itemize] [packed, nowhite] now there is indeed no whitespace. Is there a more granular way

[NTG-context] Re: Nested itemize

2023-08-22 Thread fv leung
It seems that displaystyle fractions insert extra vertical space before the main item. With textstyle fractions, the code works fine. \blank[back,overlay] can get rid of the gap above the first row, but not the space inserted by \dfrac. \defineitemgroup[alex] \setupitemgroup [alex] [each

[NTG-context] Re: Nested itemize

2023-08-22 Thread Alexandre Christe
Hi Mikael, That looks very attractive. However, with the following code, I end up with a large gap above the first row. \defineitemgroup[alex] \setupitemgroup  [alex]  [each]  [a,two]  [  margin=2cm,  before=\blank[overlay,-depth],  stopper=)  ] \showboxes \autofences \starttext \samplefile

[NTG-context] Re: Nested itemize

2023-08-22 Thread Mikael Sundqvist
ear 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 >>>>

Re: [NTG-context] Can ConTeXt display a simple itemized list as a comma-separated list?

2023-02-27 Thread Otared Kavian via ntg-context
dn’t show up > > \mainlanguage[sv] > > \setupbodyfont[12pt] > > \defineitemgroup > [fooditems] > > \setupitemgroup > [fooditems] > [each] > [none,text] > [textseparator=,] > > \starttext > > \startfooditems > \item fish > \item eggs &

Re: [NTG-context] Can ConTeXt display a simple itemized list as a comma-separated list?

2023-02-27 Thread Jan-Erik Hägglöf via ntg-context
I added the braces but still no difference, still empty between items Jan-Erik Hägglöf skrantajanne...@gmail.com ConTeXt ver: 2023.02.23 21:26 LMTX fmt: 2023.2.27 int: english/english > 27 feb. 2023 kl. 12:53 skrev mf via ntg-context : > > \setupitemgroup >[fooditems

Re: [NTG-context] Can ConTeXt display a simple itemized list as a comma-separated list?

2023-02-27 Thread mf via ntg-context
\setupitemgroup [fooditems] [each] [none,text] [textseparator={,}] Comma is used to separate options; if you don't use braces, it means that the textseparator is set to the empty string. Massi Il 27/02/23 12:33, Jan-Erik Hägglöf via ntg-context ha scritto: I tested the code

Re: [NTG-context] Can ConTeXt display a simple itemized list as a comma-separated list?

2023-02-27 Thread Jan-Erik Hägglöf via ntg-context
I tested the code and the separator didn’t show up\mainlanguage[sv]\setupbodyfont[12pt]\defineitemgroup  [fooditems]\setupitemgroup  [fooditems]  [each]  [none,text]  [textseparator=,]\starttext\startfooditems    \item fish    \item eggs    \item milk\stopfooditems\stoptext test.log Description

Re: [NTG-context] Can ConTeXt display a simple itemized list as a comma-separated list?

2023-02-26 Thread Hans Hagen via ntg-context
? fish; eggs; milk In the next update you can set a textseparator. \starttext \startitemize[none,text][textseparator=;] \item fish \item eggs \item milk \stopitemize \defineitemgroup [fooditems] \setupitemgroup [fooditems] [each] [none,text] [textseparator=;] \blank[2*line

[NTG-context] $\sin \theta$ behave differently in metafun

2022-04-15 Thread Jeong Dal via ntg-context
uce's homebrew was installed on an >> earlier version. > > Ah, I'm on an Intel Mac which still uses the old approach. Apologies for the > red herring. > >> Thanks to Luis and Bruce for their suggestions. >> Best Wishes >> Keith McKay > > — > Bru

Re: [NTG-context] Proper formatting of itemized bullets in ConTeXt

2022-04-12 Thread śrīrāma via ntg-context
On 4/13/22 7:37 AM śrīrāma wrote: > I revisited this today after the (frankly) subpar solution I presented > yesterday. With the below example, we > • neither lose the nice features of \setupitemgroup > • nor do we need grouping of the items. > The only 'price to pay' i

Re: [NTG-context] Proper formatting of itemized bullets in ConTeXt

2022-04-12 Thread śrīrāma via ntg-context
• neither lose the nice features of \setupitemgroup • nor do we need grouping of the items. The only 'price to pay' is to use \citem (comma item) and \pitem (period item) as required. %% start example \def\citem{\item\AfterPar{\hspace[-normal],}\GetPar} \def\pitem{\item\AfterPar{\hspace[-norm

Re: [NTG-context] Proper formatting of itemized bullets in ConTeXt

2022-04-12 Thread śrīrāma via ntg-context
ous possible conversion sets and other features of \setupitemgroup. See strc-itm.mklx for hints. Sreeram ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-con

Re: [NTG-context] Problems with itemize with several columns

2022-02-23 Thread Luis Montgomery via ntg-context
Could you define this in the preamble %\unprotect \defineitemgroup [Ex] \setupitemgroup [Ex] [each] [before={\blank[medium]\testpage[1]},after={\blank[big]},option={a, columns,three,fit}] %\protect \startexercici[exercici:operacions-amb-fraccions-1]{suma i resta} Opereu: \startEx %\startitemize

[NTG-context] Alignment with an enumeration

2021-04-12 Thread Fabrice Couvreur
Hi, Is it possible that the first item is on the baseline of the definition environment title ? Thank you. Fabrice \define\ItemCommand {\hskip\zeropoint\relax\autoinsertnextspace} \setupitemgroup [itemize] [color=darkred, style=bold, distance=\spaceamount] \setupitemgroup

Re: [NTG-context] spacing before items

2020-06-17 Thread Hans Hagen
mple shows which key is used for which space around each item. To insert vertical space you have to use the \blank command and set a value in the optional argument, e.g. \blank[1cm]. To insert now a space of 1cm before the first item you need the "before" key with \blank as argument:

Re: [NTG-context] spacing before items

2020-06-17 Thread Mike Cooper
command and set a value in the optional argument, e.g. \blank[1cm]. To insert now a space of 1cm before the first item you need the "before" key with \blank as argument: \setupitemgroup[mdshw][1][before={\blank[1cm]}] Wolfgang ___

Re: [NTG-context] spacing before items

2020-06-17 Thread Wolfgang Schuster
ace around each item. To insert vertical space you have to use the \blank command and set a value in the optional argument, e.g. \blank[1cm]. To insert now a space of 1cm before the first item you need the "before" key with \blank as argument: \setupitemgroup[mdshw][1][b

Re: [NTG-context] spacing before items

2020-06-17 Thread Mike Cooper
t; but I can’t find it or figure it out… > > (Please let me know where it is!) > > I want more space before each top-level item.MWE: > > \defineitemgroup[mdshw][levels=2] > > \setupitemgroup[mdshw][1][n] > > \setupitemgroup[mdshw][2][a, packed, 1*broad][left=

Re: [NTG-context] spacing before items

2020-06-17 Thread Mike Cooper
...@ntg.nl] On Behalf Of Tomas Hala Sent: Tuesday, June 16, 2020 1:18 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] spacing before items Hi Mike, \setupitemgroup[youritems][1][inbetween={\blank[5*big]}] could help you. Best wishes, Tomáš Tue, Jun 16, 2020 ve 05:51:20PM + Mike

Re: [NTG-context] spacing before items

2020-06-17 Thread Mike Cooper
igure it out… > > (Please let me know where it is!) > > I want more space before each top-level item.MWE: > > \defineitemgroup[mdshw][levels=2] > > \setupitemgroup[mdshw][1][n] > > \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), stopper=] >

Re: [NTG-context] spacing before items

2020-06-16 Thread jkitz
> On Jun 16, 2020, at 1:51 PM, m...@murchisondrillingschools.com wrote: > > I want more space before each top-level item. MWE: > > \defineitemgroup[mdshw][levels=2] > \setupitemgroup[mdshw][1][n] > \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), sto

Re: [NTG-context] spacing before items

2020-06-16 Thread Tomas Hala
Hi Mike, \setupitemgroup[youritems][1][inbetween={\blank[5*big]}] could help you. Best wishes, Tomáš Tue, Jun 16, 2020 ve 05:51:20PM + Mike Cooper napsal(a): #Link: [1]File-List #Link: [2]Edit-Time-Data # #Hello list, # #  # #Another very simple issue—no doubt

Re: [NTG-context] spacing before items

2020-06-16 Thread Wolfgang Schuster
] \setupitemgroup[mdshw][1][n] \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), stopper=] \starttext \startsection{First Section} \startsection[title={...}] The first entry uses the "before" value while inner entries use "inbetween". \starttext \setupite

[NTG-context] spacing before items

2020-06-16 Thread Mike Cooper
Hello list, Another very simple issue-no doubt the answer is right in front of me but I can't find it or figure it out... (Please let me know where it is!) I want more space before each top-level item. MWE: \defineitemgroup[mdshw][levels=2] \setupitemgroup[mdshw][1][n

[NTG-context] Extra space when \setcharacterkerning is used in enumeration

2020-06-12 Thread Mikael Sundqvist
\smallcaps,%It is this setting that kills the space. ] \defineitemgroup[delab] \setupitemgroup[delab][each][a,intro,intext][ stopper=, right=), left={\hskip\measure{myindent}}, width=\measure{myitemwidth}, inbetween=, before={\blank[none,samepage]}, after=, style={\tf}, ] \starttext \startTEXpage[

Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Wolfgang Schuster
Kevin Kenan schrieb am 25.04.2020 um 23:30: Ah…thanks for the pointer to \definecoversion. Looks promising. I had also tried: \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed] \starttext \startSteps \item A \sym{k} B\incrementnumber[itemgroup:Steps] \item C \stopSteps \stoptext

Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Kevin Kenan
Ah…thanks for the pointer to \definecoversion. Looks promising. I had also tried: \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed] \starttext \startSteps \item A \sym{k} B\incrementnumber[itemgroup:Steps] \item C \stopSteps \stoptext Which is similar to your \txt solution

Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Wolfgang Schuster
Kevin Kenan schrieb am 25.04.2020 um 21:24: I’m trying to create a conditional that changes the symbol used for certain item numbers. Here’s my code that doesn’t work. \define[1]\StepsCommand{\doifelse{#1}{2}{k}{#1}\ignorespaces} \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed

[NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Kevin Kenan
I’m trying to create a conditional that changes the symbol used for certain item numbers. Here’s my code that doesn’t work. \define[1]\StepsCommand{\doifelse{#1}{2}{k}{#1}\ignorespaces} \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed] \setupitemgroup[Steps][each][left=\StepsCommand

Re: [NTG-context] Text around an image

2020-04-17 Thread Fabrice Couvreur
t; >\define\ItemCommand >{\hskip\zeropoint\relax\autoinsertnextspace} > > \setupitemgroup > [itemize] > [color=black, > style=bold, > distance=\zeropoint] > > \setupitemgroup > [itemize:1] > [option={n,packed,fit,intext}, >

[NTG-context] Text around an image

2020-04-16 Thread Fabrice Couvreur
} \setupitemgroup [itemize] [color=black, style=bold, distance=\zeropoint] \setupitemgroup [itemize:1] [option={n,packed,fit,intext}, command=\ItemCommand] \setupitemgroup [itemize:2] [lefttext=, righttext=, option={a,text}] \starttext

Re: [NTG-context] Indenting lists

2020-02-29 Thread Henning Hraban Ramm
tgarden.net/Enumerations#Horizontal_spacing https://wiki.contextgarden.net/Command/setupitemgroup Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD

Re: [NTG-context] Item group parentheses

2020-01-07 Thread context
Hello, could auto-generated syntax for \setupitemgroup be added to wiki? There is no notice about "lefttext" or "righttext" keys: https://wiki.contextgarden.net/Command/setupitemgroup (yes, keys "left" and "right" are mentioned here.) TIA. Be

Re: [NTG-context] Item group parentheses

2019-12-26 Thread Wolfgang Schuster
%What I expect: %I. This ain't right %What I get: %(I) This ain't right \defineitemgroup[erroneous] \setupitemgroup[erroneous][1][R,text,continue][left=,right=.,stopper=] \starttext \starterroneous \startitem This ain't right \stopitem \stoperroneous \stoptext Maybe a bug, I want to know how to get

[NTG-context] Item group parentheses

2019-12-26 Thread Jairo A. del Rio
s ain't right \defineitemgroup[erroneous] \setupitemgroup[erroneous][1][R,text,continue][left=,right=.,stopper=] \starttext \starterroneous \startitem This ain't right \stopitem \stoperroneous \stoptext Maybe a bug, I want to know how to get the expected result. Thank you in advance. texstudio

Re: [NTG-context] \setupitemgroup[itemize],/setupitemize

2019-12-23 Thread Willi Egger
Wolfgang, thank you for this expalantion. Kind regards Willi > On 18 Dec 2019, at 23:15, Wolfgang Schuster > wrote: > > Willi Egger schrieb am 18.12.2019 um 19:58: >> Wolfgans, Hraban, >> >> thank you very much for this instruction! >> >> - In the real itemlist I have of course

Re: [NTG-context] \setupitemgroup[itemize],/setupitemize

2019-12-18 Thread Wolfgang Schuster
Willi Egger schrieb am 18.12.2019 um 19:58: Wolfgans, Hraban, thank you very much for this instruction! - In the real itemlist I have of course \startitemize (sorry for the ommission in the MWE - I misinterpreted the Wiki. There is no mentioning in the red section that n is possible. However

Re: [NTG-context] \setupitemgroup[itemize],/setupitemize

2019-12-18 Thread Wolfgang Schuster
uot;n" keyword in the same argument as the assignment for the left key which means ConTeXt ignores the keyword because you can't mix both types. The correct setups is: \setupitemgroup[itemize][1][packed,n][width=4em,left={Step~}]

Re: [NTG-context] \setupitemgroup[itemize],/setupitemize

2019-12-18 Thread Henning Hraban Ramm
ting or is itemize broken? > > > MWE: > % \setupitemize[packed][n,left={Step~},n] > > \setupitemgroup[itemize][1][packed][left={Step~},n] > > \starttext > \startitem > Start with this\dots > \stopitem > \startitem &g

[NTG-context] \setupitemgroup[itemize],/setupitemize

2019-12-18 Thread Willi Egger
Hello everybody, I just wanted to typeset a simple file with a adaptet itemization. Howewer none of the options have effect. Do I miss somehting or is itemize broken? MWE: % \setupitemize[packed][n,left={Step~},n] \setupitemgroup[itemize][1][packed][left={Step~},n] \starttext

Re: [NTG-context] Itemization formatting

2019-05-29 Thread Hans Hagen
Hi Taco, \start \definesymbol[mystar][\llap{\symbol{star}\hskip10mm}] \setupitemgroup[itemize][intext,mystar] \setupitemgroup[itemize][leftmargin=15mm,rightmargin=5mm] \setupitemgroup[itemize][width=2cm,distance=-25mm] \startitemize \startitem

Re: [NTG-context] Itemization formatting

2019-05-29 Thread Taco Hoekwater
atting: >> * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus >> turpis et >> nulla venenatis tincidunt. Curabitur sit amet vehicula nisi, sit amet > \setupitemgroup[itemize][intext,star] > > \setupitemgroup[itemize][intext,star] > > \st

Re: [NTG-context] Itemization formatting

2019-05-29 Thread Hans Hagen
ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus turpis et nulla venenatis tincidunt. Curabitur sit amet vehicula nisi, sit amet \setupitemgroup[itemize][intext,star] \setupitemgroup[itemize][intext,star] \startitemize% [intext,star] \startitem \dorecurse{3}{Taco

Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
On 3/20/19 8:50 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 20.03.19 um 20:43: >> [...] >> Is there a way with a \setupitemize (or \setupitemgroup) to configure >> only one kind of numbered (or unnumbered, for that matter) item groups? > > You hav

Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Wolfgang Schuster
. I need a \setup... command, since I’m going to use it in an environment file to typeset XML sources. Is there a way with a \setupitemize (or \setupitemgroup) to configure only one kind of numbered (or unnumbered, for that matter) item groups? You have to create a new itemgroup environment

Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
a \setup... command, since I’m going to use it in an environment file to typeset XML sources. Is there a way with a \setupitemize (or \setupitemgroup) to configure only one kind of numbered (or unnumbered, for that matter) item groups? Many thanks for your help, P

Re: [NTG-context] Works and Doesn't Work

2019-01-18 Thread Wolfgang Schuster
string works as advertised. Regards dh start of contxt source \definesymbol[5][$\diamond$] \starttext \setupitemgroup[itemize][each][packed][before=\underbar{mae-da },after=\underbar{ato-da}] % WORKS \setupitemgroup[itemize][each][ ][symbol=5

[NTG-context] Works and Doesn't Work

2019-01-17 Thread jdh
dh start of contxt source \definesymbol[5][$\diamond$] \starttext \setupitemgroup[itemize][each][packed][before=\underbar{mae-da },after=\underbar{ato-da}] % WORKS \setupitemgroup[itemize][each][ ][symbol=5]% WORKS

Re: [NTG-context] setting up itemize

2019-01-03 Thread Taco Hoekwater
De officiële syntax definitie is hier: https://wiki.contextgarden.net/Command/setupitemgroup Nog de beste wensen voor het nieuwe jaar! Taco > On 3 Jan 2019, at 13:00, Hans van der Meer wrote: > > Bedankt Taco. Maar had ik dit kunnen weten? > met vriendelijke groet > d

Re: [NTG-context] setting up itemize

2019-01-03 Thread Hans van der Meer
Bedankt Taco. Maar had ik dit kunnen weten? met vriendelijke groet dr. Hans van der Meer > On 3 Jan 2019, at 10:49, Taco Hoekwater wrote: > > It needs ‘each’ instead of an empty group: > > \setupitemgroup[itemize][each][3,joinedup,packed][color=blue,inbetween=] > >

Re: [NTG-context] setting up itemize

2019-01-03 Thread Taco Hoekwater
It needs ‘each’ instead of an empty group: \setupitemgroup[itemize][each][3,joinedup,packed][color=blue,inbetween=] Best wishes, Taco > On 3 Jan 2019, at 10:27, Hans van der Meer wrote: > > I cannot get the general setup macros of itemize right. I suppose I am > missing some cl

Re: [NTG-context] Language dependency in environment-project file

2018-11-29 Thread Marco Patzer
ks if the token lists exists > > \starttokenlist [english] >   \setupitemgroup [itemize] [i] > \stoptokenlist > > \starttokenlist [swedish] >   \setupitemgroup [itemize] [a] > \stoptokenlist > > \startsetups [document:start] > > \doifdocumentva

Re: [NTG-context] Language dependency in environment-project file

2018-11-29 Thread Wolfgang Schuster
. Below is a improved version of the token method which works with the new beta. \startenvironment [*] \definetokenlist [english] % optional because \starttokenlist \definetokenlist [swedish] % checks if the token lists exists \starttokenlist [english]   \setupitemgroup [itemize] [i

Re: [NTG-context] Language dependency in environment-project file

2018-11-28 Thread Hans Hagen
[*] \startsetups [itemgroup:en]   \setupitemgroup [itemize] [i] \stopsetups \startsetups [itemgroup:sv]   \setupitemgroup [itemize] [a] \stopsetups \setuplanguage   [en]   [setups=itemgroup:en] \setuplanguage   [sv]   [setups=itemgroup:sv] \appendtoks \doifdocumentvariable{language

Re: [NTG-context] Language dependency in environment-project file

2018-11-27 Thread Wolfgang Schuster
Marco Patzer schrieb am 27.11.18 um 22:23: On Tue, 27 Nov 2018 22:05:27 +0100 Wolfgang Schuster wrote: But even your solution doesn't work here. Did you try it in the example project file? \startenvironment [*] \startsetups [itemgroup:en]   \setupitemgroup [itemize] [i] \stopsetups

Re: [NTG-context] Language dependency in environment-project file

2018-11-27 Thread Marco Patzer
On Tue, 27 Nov 2018 22:05:27 +0100 Wolfgang Schuster wrote: > > But even your solution doesn't work here. Did you try it in the > > example project file? > > \startenvironment [*] > > \startsetups [itemgroup:en] >   \setupitemgroup [itemize] [i] > \stopsetups &

Re: [NTG-context] Language dependency in environment-project file

2018-11-27 Thread Wolfgang Schuster
}]}% \to \everysetupdocument That's basically what I've done in my project file (te-proj.tex). At least the code is supposed to do exactly that. But even your solution doesn't work here. Did you try it in the example project file? \startenvironment [*] \startsetups [itemgroup:en]   \setupitemgroup [itemize

Re: [NTG-context] Strange behavior with the command \inframed{}

2018-10-23 Thread Fabrice Couvreur
w.ntg.nl/mailman/listinfo/ntg-context >> webpage : http://www.pragma-ade.nl / http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> wiki : http://contextgarden.net >> >> _______ > > \def

Re: [NTG-context] Problem with an enumeration

2018-08-01 Thread Fabrice Couvreur
Hi Wolfgang, Thank you very much ! Fabrice 2018-08-01 21:21 GMT+02:00 Wolfgang Schuster < wolfgang.schuster.li...@gmail.com>: > Hi Fabrice, > > I found the following example in my mail archive. > > %% > \define\ItemCommand > {\hskip\zeropoint\relax\autoinsertnex

Re: [NTG-context] Problem with an enumeration

2018-08-01 Thread Wolfgang Schuster
Hi Fabrice, I found the following example in my mail archive. %% \define\ItemCommand {\hskip\zeropoint\relax\autoinsertnextspace} \setupitemgroup [itemize] [color=darkred, distance=0pt] \setupitemgroup [itemize:1] [option={n,packed,fit,intext}, command=\ItemCommand

Re: [NTG-context] Problem with an enumeration

2018-08-01 Thread Pablo Rodriguez
xt Hi Fabrice, this is the best I get: \setupitemgroup [itemize][1] [color=darkred, option={packed,fit,paragraph,n}] \setupitemgroup [itemize][2] [color=darkred, distance=\spaceamount, option={packed,fit,intext,a}] Otherwise, de

Re: [NTG-context] Problem with an enumeration

2018-07-31 Thread Fabrice Couvreur
> 1 C > > 2.a > > 2.b > > 2.c > > Hi Fabrice, > > I don’t get your output. I had to remove the "intext" option and I guess > I got what you intend: > > \setupitemgroup >[itemize][1] >[color=darkred, > distanc

Re: [NTG-context] Problem with an enumeration

2018-07-31 Thread Pablo Rodriguez
Hi Fabrice, I don’t get your output. I had to remove the "intext" option and I guess I got what you intend: \setupitemgroup [itemize][1] [color=darkred, distance=\spaceamount, option={packed,fit,n}] \setupitemgroup [itemize][2] [color=da

[NTG-context] Problem with an enumeration

2018-07-31 Thread Fabrice Couvreur
Hello, Wolfgang helped me to get this: 1.a. b. c. 2.a b. c. I have unfortunately lost the code he had proposed to me. I get this: 1.a. 1b 1 C 2.a 2.b 2.c Thanks Fabrice \setupitemgroup [itemize][1] [color=darkred, distance=\spaceamount, option={packed,fit,intext,n

Re: [NTG-context] Limit text width in items

2018-07-26 Thread Hans Hagen
On 7/26/2018 5:57 PM, Hans Hagen wrote: I can even put \start/stopnarrower in before/after of \setupitemgroup. Its width parameter doesn’t work (at least not together with inmargin). rightmargin=3em

Re: [NTG-context] Limit text width in items

2018-07-26 Thread Hans Hagen
tufte \MyFill{33} \stopitem \startitem \input knuth \MyFill{99} \stopitem \stopitemize \stopnarrower \stoptext Thank you very much! I can even put \start/stopnarrower in before/after of \setupitemgroup. Its width parameter doesn’t work (at least not together with inmargin

Re: [NTG-context] Limit text width in items

2018-07-26 Thread Henning Hraban Ramm
\input tufte > \MyFill{33} > \stopitem > \startitem > \input knuth > \MyFill{99} > \stopitem > \stopitemize > \stopnarrower > > \stoptext Thank you very much! I can even put \start/stopnarrower in before/after of \setupitemgroup. Its width paramete

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-09 Thread r . ermers
above. See Item b, 2, 1 above. -- Desired result: See item 1b., 2 1 above. This is possible in mkii, but not in mkiv it seems. Does anyone know how to achieve this? Robert A minimal example to play with: %\setupitemgroup[itemize][1][n,repeat][width=1em] %\setupitemgroup[itemize][2

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread r . ermers
lto:ota...@gmail.com>> het volgende geschreven: >>> >>> Hi Robert, >>> >>> I think the issue does not come from the version of Context you are using >>> but rather from a lack of formatting your itemgroups with the keyword « >>> repeat

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread Otared Kavian
itemgroups with the keyword « >> repeat ». >> >> I guess what you want to obtain can be achieved with the following example >> below. At least here with either versions of Context I have the output is as >> expected. >> >> Best regards: OK >&g

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread Otared Kavian
repeat ». >> >> I guess what you want to obtain can be achieved with the following example >> below. At least here with either versions of Context I have the output is as >> expected. >> >> Best regards: OK >> >> %% begin

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread r . ermers
output is as > expected. > > Best regards: OK > > %% begin repeat-subitem.tex > \setupitemgroup[itemize][1][n,repeat][width=1em] > \setupitemgroup[itemize][2][a,repeat][width=2em] > \setupitemgroup[itemize][3][r][width=3em] > > \starttext

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread Otared Kavian
I have the output is as expected. Best regards: OK %% begin repeat-subitem.tex \setupitemgroup[itemize][1][n,repeat][width=1em] \setupitemgroup[itemize][2][a,repeat][width=2em] \setupitemgroup[itemize][3][r][width=3em] \starttext \startitemize[n] \item[ref:1] item 1 \startitemize

Re: [NTG-context] Strange behavior with itemize

2017-12-18 Thread Fabrice Couvreur
k >> \startitemize[a,columns,three,joinedup][grid=line] >> \item \math{f(-0,5)} et \math{f(0,5)} ;\par >> \item \math{f(-1)} et \math{f(2)} ;\par >> \item \math{f(-2)} et \math{f(\sqrt{2})}.\par >> \stopitemize >> >> \stopitemize >> >> \stop

Re: [NTG-context] Strange behavior with itemize

2017-12-17 Thread Hans Hagen
images : \blank \startitemize[a,columns,three,joinedup][grid=line] \item \math{f(-0,5)} et \math{f(0,5)} ;\par \item \math{f(-1)} et \math{f(2)} ;\par \item \math{f(-2)} et \math{f(\sqrt{2})}.\par \stopitemize \stopitemize \stoptext you can experiment with \setupitemgroup [\c!grid=\v!tolerant:10

[NTG-context] align inner items vertically

2017-06-03 Thread Mikael P. Sundqvist
g in setup-en.pdf I cannot find the necessary key. /Mikael %%% \defineenumeration[question][ text=, alternative=serried, ] \defineitemgroup[abc] \setupitemgroup[abc][each][a,horizontal,two,intro,nowhite][ stopper=, right=), ] \starttext This looks OK: \startquestion \blank[overlay] \startabc

Re: [NTG-context] setupitemgroup and 'command='

2017-05-24 Thread Thomas Floeren
Hans, thanks for your swift reply… > On 24. May 2017, at 19:31, Hans Hagen wrote: > > On 5/24/2017 6:28 PM, Thomas Floeren wrote: >> Hi, >> I used to use the “command=” parameter when setting up itemize. Now I >> noticed that it introduces a spurious horizontal whitespace

Re: [NTG-context] setupitemgroup and 'command='

2017-05-24 Thread Hans Hagen
On 5/24/2017 6:28 PM, Thomas Floeren wrote: Hi, I used to use the “command=” parameter when setting up itemize. Now I noticed that it introduces a spurious horizontal whitespace after the item symbol when the item is of type “\sym{}”. I also noticed that the problem goes away if I use

[NTG-context] setupitemgroup and 'command='

2017-05-24 Thread Thomas Floeren
Hi, I used to use the “command=” parameter when setting up itemize. Now I noticed that it introduces a spurious horizontal whitespace after the item symbol when the item is of type “\sym{}”. I also noticed that the problem goes away if I use “inner=” instead of “command=”. Example:

Re: [NTG-context] Strange behaviour with spacing in itemization using "columns" vs "horizontal".

2017-04-05 Thread cryo shock
>>> - >>> \starttext >>> >>> \startitemize[packed, joinedup, columns, two] >>> \startitem >>> top left item >>> \stopitem >>> \startitem >>> bottom left item >>> \stopitem >>

  1   2   3   4   >