* numbered itemize
@ 2010-01-17 13:51 Hans van der Meer
2010-01-17 14:06 ` Hans van der Meer
0 siblings, 1 reply; 14+ messages in thread
From: Hans van der Meer @ 2010-01-17 13:51 UTC (permalink / raw)
To: NTG ConTeXt
Risking that, like my previous question, this one too will be posed
the Nth time, I nevertheless ask.
Typesetting a numbered list I tried a lot of paramaters on the itemize
macros, but always the code:
\startitemize[][start=8]
\item a
\item b
\item c
\item d
\stopitemize
results in:
8. a
9. b
10. c
11. d
whereas I would have had:
8. a
9. b
10. c
11. d
That is, the item labels aligned at the stoppers.
Hans van der Meer
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: numbered itemize
2010-01-17 13:51 numbered itemize Hans van der Meer
@ 2010-01-17 14:06 ` Hans van der Meer
2010-01-17 14:11 ` Wolfgang Schuster
0 siblings, 1 reply; 14+ messages in thread
From: Hans van der Meer @ 2010-01-17 14:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
Tricked by the mail program editor! Of course I meant to accomplish
(with | for the left edge):
| 8. a
| 9. b
|10. c
|11. d
Hans van der Meer
On 17 jan 2010, at 14:51, Hans van der Meer wrote:
> Risking that, like my previous question, this one too will be posed
> the Nth time, I nevertheless ask.
> Typesetting a numbered list I tried a lot of paramaters on the
> itemize macros, but always the code:
>
> \startitemize[][start=8]
> \item a
> \item b
> \item c
> \item d
> \stopitemize
>
> results in:
>
> 8. a
> 9. b
> 10. c
> 11. d
>
> whereas I would have had:
>
> 8. a
> 9. b
> 10. c
> 11. d
>
> That is, the item labels aligned at the stoppers.
>
> Hans van der Meer
>
>
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: numbered itemize
2010-01-17 14:06 ` Hans van der Meer
@ 2010-01-17 14:11 ` Wolfgang Schuster
2010-01-17 14:28 ` Hans van der Meer
0 siblings, 1 reply; 14+ messages in thread
From: Wolfgang Schuster @ 2010-01-17 14:11 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.01.2010 um 15:06 schrieb Hans van der Meer:
> Tricked by the mail program editor! Of course I meant to accomplish (with | for the left edge):
>
> | 8. a
> | 9. b
> |10. c
> |11. d
\startitemize[fit][start=8,itemalign=flushright]
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: numbered itemize
2010-01-17 14:11 ` Wolfgang Schuster
@ 2010-01-17 14:28 ` Hans van der Meer
2010-01-17 14:37 ` Wolfgang Schuster
2010-01-17 14:49 ` Peter Münster
0 siblings, 2 replies; 14+ messages in thread
From: Hans van der Meer @ 2010-01-17 14:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thanks.
'itemalign' seems absent from the original ConTeXt-manual I have in
use (but that is fairly old, of course).
Your code results in very tight item labels:
1.start-of-item-text
I managed to get
1. start-of-item-text
by using [stopper={.~}] But is there a more general way to enlarge the
item's width? Using [width=dimension] seemed no help, neither did
changing [fit] with [broad], [2*broad]. And using
[itemwidth=dimension] as an analogy to itemalign neither.
Hans van der Meer
On 17 jan 2010, at 15:11, Wolfgang Schuster wrote:
>
> Am 17.01.2010 um 15:06 schrieb Hans van der Meer:
>
>> Tricked by the mail program editor! Of course I meant to accomplish
>> (with | for the left edge):
>>
>> | 8. a
>> | 9. b
>> |10. c
>> |11. d
>
> \startitemize[fit][start=8,itemalign=flushright]
>
> Wolfgang
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: numbered itemize
2010-01-17 14:28 ` Hans van der Meer
@ 2010-01-17 14:37 ` Wolfgang Schuster
2010-01-17 14:49 ` Peter Münster
1 sibling, 0 replies; 14+ messages in thread
From: Wolfgang Schuster @ 2010-01-17 14:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.01.2010 um 15:28 schrieb Hans van der Meer:
> Thanks.
> 'itemalign' seems absent from the original ConTeXt-manual I have in use (but that is fairly old, of course).
itemalign is a newer option (was added about 2 years ago)
> Your code results in very tight item labels:
> 1.start-of-item-text
>
> I managed to get
> 1. start-of-item-text
>
> by using [stopper={.~}] But is there a more general way to enlarge the item's width? Using [width=dimension] seemed no help, neither did changing [fit] with [broad], [2*broad]. And using [itemwidth=dimension] as an analogy to itemalign neither.
\startitemize[n,fit,broad][start=8,itemalign=flushright]
\dorecurse{10}{\item item \recurselevel}
\stopitemize
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: numbered itemize
2010-01-17 14:28 ` Hans van der Meer
2010-01-17 14:37 ` Wolfgang Schuster
@ 2010-01-17 14:49 ` Peter Münster
2010-01-17 14:54 ` Wolfgang Schuster
1 sibling, 1 reply; 14+ messages in thread
From: Peter Münster @ 2010-01-17 14:49 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, Jan 17 2010, Hans van der Meer wrote:
> But is there a more general way to enlarge the
> item's width? Using [width=dimension] seemed no help
Hello Hans,
It works here:
\starttext
\startitemize[width=5em]
\item bla
\stopitemize
\stoptext
My version: 2010.01.15 15:49
Cheers, Peter
--
Contact information: http://pmrb.free.fr/contact/
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: numbered itemize
2010-01-17 14:49 ` Peter Münster
@ 2010-01-17 14:54 ` Wolfgang Schuster
2010-01-17 15:17 ` Peter Münster
0 siblings, 1 reply; 14+ messages in thread
From: Wolfgang Schuster @ 2010-01-17 14:54 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.01.2010 um 15:49 schrieb Peter Münster:
> On Sun, Jan 17 2010, Hans van der Meer wrote:
>
>> But is there a more general way to enlarge the
>> item's width? Using [width=dimension] seemed no help
>
> Hello Hans,
>
> It works here:
>
> \starttext
> \startitemize[width=5em]
> \item bla
> \stopitemize
> \stoptext
That's not the problem, what did not work is
- 'itemalign=...' in combination with 'width=<dimen>' and
- 'fit' in combination with 'distance=<dimen>'
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: numbered itemize
2010-01-17 14:54 ` Wolfgang Schuster
@ 2010-01-17 15:17 ` Peter Münster
2010-01-17 16:04 ` Wolfgang Schuster
0 siblings, 1 reply; 14+ messages in thread
From: Peter Münster @ 2010-01-17 15:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, Jan 17 2010, Wolfgang Schuster wrote:
>
> That's not the problem, what did not work is
>
> - 'itemalign=...' in combination with 'width=<dimen>' and
> - 'fit' in combination with 'distance=<dimen>'
Bug or feature? Should we add it to the tracker?
Cheers, Peter
--
Contact information: http://pmrb.free.fr/contact/
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: numbered itemize
2010-01-17 15:17 ` Peter Münster
@ 2010-01-17 16:04 ` Wolfgang Schuster
2010-01-18 9:32 ` Peter Münster
2010-01-19 18:38 ` Willi Egger
0 siblings, 2 replies; 14+ messages in thread
From: Wolfgang Schuster @ 2010-01-17 16:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.01.2010 um 16:17 schrieb Peter Münster:
> On Sun, Jan 17 2010, Wolfgang Schuster wrote:
>>
>> That's not the problem, what did not work is
>>
>> - 'itemalign=...' in combination with 'width=<dimen>' and
>> - 'fit' in combination with 'distance=<dimen>'
>
> Bug or feature? Should we add it to the tracker?
Bug, I think. Can you add them?
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: numbered itemize
2010-01-17 16:04 ` Wolfgang Schuster
@ 2010-01-18 9:32 ` Peter Münster
2010-01-18 13:59 ` Hans Hagen
2010-01-19 18:38 ` Willi Egger
1 sibling, 1 reply; 14+ messages in thread
From: Peter Münster @ 2010-01-18 9:32 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, Jan 17 2010, Wolfgang Schuster wrote:
>
> > Bug or feature? Should we add it to the tracker?
>
> Bug, I think. Can you add them?
Ok, done.
Cheers, Peter
--
Contact information: http://pmrb.free.fr/contact/
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: numbered itemize
2010-01-18 9:32 ` Peter Münster
@ 2010-01-18 13:59 ` Hans Hagen
2010-01-18 14:41 ` Wolfgang Schuster
0 siblings, 1 reply; 14+ messages in thread
From: Hans Hagen @ 2010-01-18 13:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 18-1-2010 10:32, Peter Münster wrote:
> On Sun, Jan 17 2010, Wolfgang Schuster wrote:
>>
>>> Bug or feature? Should we add it to the tracker?
>>
>> Bug, I think. Can you add them?
>
> Ok, done.
can you check the beta ...
\starttext
\setupitemize[start=9]
\startitemize[n][itemalign=flushright]
\dorecurse{2}{\item bla}
\stopitemize
\setupitemize[start=9]
\startitemize[n,fit][itemalign=flushright]
\dorecurse{2}{\item bla}
\stopitemize
\setupitemize[start=99]
\startitemize[n,fit][itemalign=flushright]
\dorecurse{2}{\item bla}
\stopitemize
\setupitemize[start=9]
\startitemize[n][itemalign=flushright,width=5cm,distance=2cm]
\dorecurse{2}{\item bla}
\stopitemize
\setupitemize[start=99]
\startitemize[n][itemalign=flushright,width=5cm,distance=2cm]
\dorecurse{2}{\item bla}
\stopitemize
\stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| 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 / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: numbered itemize
2010-01-17 16:04 ` Wolfgang Schuster
2010-01-18 9:32 ` Peter Münster
@ 2010-01-19 18:38 ` Willi Egger
2010-01-19 19:00 ` Hans Hagen
1 sibling, 1 reply; 14+ messages in thread
From: Willi Egger @ 2010-01-19 18:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
I tried to extend the example with a general setup-instruction,
however this creates an error:
\setupitemgroup[itemize][each][n,fit,broad]
[start=8,itemalign=flushright]
\starttext
\startitemize
\item bla
\item bli
\item di
\item bla
\item di
\item blu
\stopitemize
\stoptext
! Illegal unit of measure (pt inserted).
<to be read again>
>
\redostartitemgroup ...fdim \currentitemmaxwidth >
\zeropoint
\esetitemparame...
\dostartitemgroup ... {\dodostartitemgroup [#2][]}
\fi
<to be read again>
\item
Kind regards
Willi
On Jan 17, 2010, at 5:04 PM, Wolfgang Schuster wrote:
>
> Am 17.01.2010 um 16:17 schrieb Peter Münster:
>
>> On Sun, Jan 17 2010, Wolfgang Schuster wrote:
>>>
>>> That's not the problem, what did not work is
>>>
>>> - 'itemalign=...' in combination with 'width=<dimen>' and
>>> - 'fit' in combination with 'distance=<dimen>'
>>
>> Bug or feature? Should we add it to the tracker?
>
> Bug, I think. Can you add them?
>
> Wolfgang
>
> ______________________________________________________________________
> _____________
> 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
> ______________________________________________________________________
> _____________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: numbered itemize
2010-01-19 18:38 ` Willi Egger
@ 2010-01-19 19:00 ` Hans Hagen
0 siblings, 0 replies; 14+ messages in thread
From: Hans Hagen @ 2010-01-19 19:00 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Willi Egger
On 19-1-2010 19:38, Willi Egger wrote:
> Hi,
>
> I tried to extend the example with a general setup-instruction, however
> this creates an error:
>
> \setupitemgroup[itemize][each][n,fit,broad][start=8,itemalign=flushright]
> \starttext
> \startitemize
> \item bla
> \item bli
> \item di
> \item bla
> \item di
> \item blu
> \stopitemize
> \stoptext
>
> ! Illegal unit of measure (pt inserted).
> <to be read again>
> >
> \redostartitemgroup ...fdim \currentitemmaxwidth >
> \zeropoint \esetitemparame...
> \dostartitemgroup ... {\dodostartitemgroup [#2][]}
> \fi
> <to be read again>
> \item
is that the latest beta?
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| 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 / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2010-01-19 19:00 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-17 13:51 numbered itemize Hans van der Meer
2010-01-17 14:06 ` Hans van der Meer
2010-01-17 14:11 ` Wolfgang Schuster
2010-01-17 14:28 ` Hans van der Meer
2010-01-17 14:37 ` Wolfgang Schuster
2010-01-17 14:49 ` Peter Münster
2010-01-17 14:54 ` Wolfgang Schuster
2010-01-17 15:17 ` Peter Münster
2010-01-17 16:04 ` Wolfgang Schuster
2010-01-18 9:32 ` Peter Münster
2010-01-18 13:59 ` Hans Hagen
2010-01-18 14:41 ` Wolfgang Schuster
2010-01-19 18:38 ` Willi Egger
2010-01-19 19:00 ` Hans Hagen
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).