ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* itemize
@ 2013-03-04 12:52 Meer, H. van der
  2013-03-04 13:19 ` itemize Marco Patzer
  0 siblings, 1 reply; 36+ messages in thread
From: Meer, H. van der @ 2013-03-04 12:52 UTC (permalink / raw)
  To: ConTeXt NTG


[-- Attachment #1.1: Type: text/plain, Size: 271 bytes --]

How does one forces the item nubers to the right. The goal is have the units above each other and not above the tens:

< 1>       <1>
..    not
< 9>       <9>
<10>       <10>

Could not find it in the command refs of the contextgarden.

Hans van der Meer




[-- Attachment #1.2: Type: text/html, Size: 1925 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2013-03-04 12:52 itemize Meer, H. van der
@ 2013-03-04 13:19 ` Marco Patzer
  2013-03-04 13:34   ` itemize Meer, H. van der
  2013-03-07 13:40   ` \simplealignedbox (was: itemize) Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 2 replies; 36+ messages in thread
From: Marco Patzer @ 2013-03-04 13:19 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 447 bytes --]

On 2013–03–04 Meer, H. van der wrote:

> How does one forces the item nubers to the right. The goal is have the units above each other and not above the tens:

Here's an ugly solution using a box. Maybe there's a more clean
solution.

\setupitemgroup [itemize] [left=\simplealignedbox{1em}{flushright}]
\starttext
  \startitemize [n, packed, columns]
    \dorecurse{32}{\startitem foo \stopitem}
  \stopitemize
\stoptext

Marco

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2013-03-04 13:19 ` itemize Marco Patzer
@ 2013-03-04 13:34   ` Meer, H. van der
  2013-03-04 14:06     ` itemize Marco Patzer
  2013-03-07 13:40   ` \simplealignedbox (was: itemize) Procházka Lukáš Ing. - Pontex s. r. o.
  1 sibling, 1 reply; 36+ messages in thread
From: Meer, H. van der @ 2013-03-04 13:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1350 bytes --]

A lucky guess did me look into the code. Whereas I got no results with [align=] it turns out that [itemalign=flushright] does the trick. Spares you the "ugly solution". Maybe someone more apt to do things in the contextgarden, will be so kind as put this there.

Hans van der Meer



On 4 mrt. 2013, at 14:19, Marco Patzer <homerow@lavabit.com<mailto:homerow@lavabit.com>> wrote:

On 2013–03–04 Meer, H. van der wrote:

How does one forces the item nubers to the right. The goal is have the units above each other and not above the tens:

Here's an ugly solution using a box. Maybe there's a more clean
solution.

\setupitemgroup [itemize] [left=\simplealignedbox{1em}{flushright}]
\starttext
 \startitemize [n, packed, columns]
   \dorecurse{32}{\startitem foo \stopitem}
 \stopitemize
\stoptext

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

maillist : ntg-context@ntg.nl<mailto: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
___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 3391 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2013-03-04 13:34   ` itemize Meer, H. van der
@ 2013-03-04 14:06     ` Marco Patzer
  0 siblings, 0 replies; 36+ messages in thread
From: Marco Patzer @ 2013-03-04 14:06 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 374 bytes --]

On 2013–03–04 Meer, H. van der wrote:

> A lucky guess did me look into the code. Whereas I got no results
> with [align=] it turns out that [itemalign=flushright] does the
> trick. Spares you the "ugly solution".

That's indeed much better :)

> Maybe someone more apt to do things in the contextgarden, will be
> so kind as put this there.

Done.

Marco

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 36+ messages in thread

* Re: \simplealignedbox (was: itemize)
  2013-03-04 13:19 ` itemize Marco Patzer
  2013-03-04 13:34   ` itemize Meer, H. van der
@ 2013-03-07 13:40   ` Procházka Lukáš Ing. - Pontex s. r. o.
  2013-03-07 14:06     ` Wolfgang Schuster
  2013-03-07 14:09     ` Marco Patzer
  1 sibling, 2 replies; 36+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2013-03-07 13:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

kind request - \simplealignedbox is not known to me - could anyone familar add some info to wiki?

Best regards,

Lukas


> \setupitemgroup [itemize] [left=\simplealignedbox{1em}{flushright}]

-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___________________________________________________________________________________
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] 36+ messages in thread

* Re: \simplealignedbox (was: itemize)
  2013-03-07 13:40   ` \simplealignedbox (was: itemize) Procházka Lukáš Ing. - Pontex s. r. o.
@ 2013-03-07 14:06     ` Wolfgang Schuster
  2013-03-07 14:09     ` Marco Patzer
  1 sibling, 0 replies; 36+ messages in thread
From: Wolfgang Schuster @ 2013-03-07 14:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 07.03.2013 um 14:40 schrieb Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz>:

> Hello,
> 
> kind request - \simplealignedbox is not known to me - could anyone familar add some info to wiki?

With the \simplealignedbox command you can align a given text in a box with a given width,
the width of the box is set with the first argument, the alignment with the second and the content
with the third argument of the command.

Example with all possible alignments:

\starttext
\ruledhbox{\simplealignedbox{3cm}{flushleft}{TEXT}}
\ruledhbox{\simplealignedbox{3cm}{flushright}{TEXT}}
\ruledhbox{\simplealignedbox{3cm}{middle}{TEXT}}
\ruledhbox{\simplealignedbox{3cm}{left}{TEXT}}
\ruledhbox{\simplealignedbox{3cm}{right}{TEXT}}
\stoptext

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] 36+ messages in thread

* Re: \simplealignedbox (was: itemize)
  2013-03-07 13:40   ` \simplealignedbox (was: itemize) Procházka Lukáš Ing. - Pontex s. r. o.
  2013-03-07 14:06     ` Wolfgang Schuster
@ 2013-03-07 14:09     ` Marco Patzer
  2013-03-07 14:11       ` [***Spam/VIR***] " Procházka Lukáš Ing. - Pontex s. r. o.
  1 sibling, 1 reply; 36+ messages in thread
From: Marco Patzer @ 2013-03-07 14:09 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 643 bytes --]

On 2013–03–07 Procházka Lukáš Ing. - Pontex s. r. o. wrote:

> kind request - \simplealignedbox is not known to me - could anyone
> familar add some info to wiki?

It's a simple wrapper around \hbox with a fixed width and the
possibility to align the content either to the left, right or
centred within the box.

\simplealignedbox{<width>}{<left|right|flushleft|flushright|middle>}{<content>}

translates to

\hbox to <width>{<content>\hss} %% left alignment
\hbox to <width>{\hss<content>} %% right alignment
\hbox to <width>{\hss<content>\hss}

\hss pushes the content to the left or right, respectively.


Marco

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 36+ messages in thread

* Re: [***Spam/VIR***] Re: \simplealignedbox (was: itemize)
  2013-03-07 14:09     ` Marco Patzer
@ 2013-03-07 14:11       ` Procházka Lukáš Ing. - Pontex s. r. o.
  2013-03-08  8:05         ` \simplealignedbox Thomas A. Schmitz
  0 siblings, 1 reply; 36+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2013-03-07 14:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

... OK, thanks to Marco and Wolfgang.

Best regads,

Lukas


On Thu, 07 Mar 2013 15:09:01 +0100, Marco Patzer <homerow@lavabit.com> wrote:

> On 2013–03–07 Procházka Lukáš Ing. - Pontex s. r. o. wrote:
>
>> kind request - \simplealignedbox is not known to me - could anyone
>> familar add some info to wiki?
>
> It's a simple wrapper around \hbox with a fixed width and the
> possibility to align the content either to the left, right or
> centred within the box.
>
> \simplealignedbox{<width>}{<left|right|flushleft|flushright|middle>}{<content>}
>
> translates to
>
> \hbox to <width>{<content>\hss} %% left alignment
> \hbox to <width>{\hss<content>} %% right alignment
> \hbox to <width>{\hss<content>\hss}
>
> \hss pushes the content to the left or right, respectively.
>
>
> Marco
>


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___________________________________________________________________________________
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] 36+ messages in thread

* Re: \simplealignedbox
  2013-03-07 14:11       ` [***Spam/VIR***] " Procházka Lukáš Ing. - Pontex s. r. o.
@ 2013-03-08  8:05         ` Thomas A. Schmitz
  0 siblings, 0 replies; 36+ messages in thread
From: Thomas A. Schmitz @ 2013-03-08  8:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 03/07/2013 03:11 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
> ... OK, thanks to Marco and Wolfgang.
>
> Best regads,
>
> Lukas

So did you add it to the wiki?

Thomas
___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2011-12-18 18:18 itemize Aditya Mahajan
@ 2011-12-18 21:21 ` Hans Hagen
  0 siblings, 0 replies; 36+ messages in thread
From: Hans Hagen @ 2011-12-18 21:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 18-12-2011 19:18, Aditya Mahajan wrote:
> Hi,
>
> With the latest beta
>
> \setupitemize[2][packed,joinedup]
>
> gives
>
> check > missing or ungrouped '=' after 'packed' in line 2 (@@opitemize:2:)

fixed in next upload (case _a and _b needs to be swapped)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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] 36+ messages in thread

* itemize
@ 2011-12-18 18:18 Aditya Mahajan
  2011-12-18 21:21 ` itemize Hans Hagen
  0 siblings, 1 reply; 36+ messages in thread
From: Aditya Mahajan @ 2011-12-18 18:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

With the latest beta

  \setupitemize[2][packed,joinedup]

gives

check           > missing or ungrouped '=' after 'packed' in line 2 (@@opitemize:2:)


Aditya
___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2010-10-20  8:54 ` itemize Philipp Gesang
@ 2010-10-20  8:59   ` Herbert Voss
  0 siblings, 0 replies; 36+ messages in thread
From: Herbert Voss @ 2010-10-20  8:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 20.10.2010 10:54, schrieb Philipp Gesang:

> “\setupitems” is the setup for the “\items” command. There is a
> demonstration for this in the new manual[1], p. 250.

I see ...
thanks
Herbert
___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2010-10-20  8:33 itemize Herbert Voss
@ 2010-10-20  8:54 ` Philipp Gesang
  2010-10-20  8:59   ` itemize Herbert Voss
  0 siblings, 1 reply; 36+ messages in thread
From: Philipp Gesang @ 2010-10-20  8:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1210 bytes --]

On 2010-10-20 <10:33:40>, Herbert Voss wrote:
> In the documentation I found \setupitemgroup, \setupitemize
> and in the list of all commands \setupitems. I didn't
> find any example for the \setupitems. However, I can set
> all parameters with the other two commands. So the
> question is: when do I need \setupitems and has someone
> a working example?

Hi Herbert,

“\setupitems” is the setup for the “\items” command. There is a
demonstration for this in the new manual[1], p. 250.

Hth, Philipp

[1] http://pmrb.free.fr/contextref.pdf


> 
> Herbert
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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] 36+ messages in thread

* itemize
@ 2010-10-20  8:33 Herbert Voss
  2010-10-20  8:54 ` itemize Philipp Gesang
  0 siblings, 1 reply; 36+ messages in thread
From: Herbert Voss @ 2010-10-20  8:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

In the documentation I found \setupitemgroup, \setupitemize
and in the list of all commands \setupitems. I didn't
find any example for the \setupitems. However, I can set
all parameters with the other two commands. So the
question is: when do I need \setupitems and has someone
a working example?

Herbert
___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2010-10-19 12:01       ` itemize Herbert Voss
@ 2010-10-19 12:08         ` Taco Hoekwater
  0 siblings, 0 replies; 36+ messages in thread
From: Taco Hoekwater @ 2010-10-19 12:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 10/19/2010 02:01 PM, Herbert Voss wrote:
>
> Why can the setting of TEXINPUTS a problem for
> context?

TEXINPUTS can *always* be a problem and really should not
be used at all any more. It is a historical environment
variable from the nineties, and it overrules just about
every path in a modern texmf tree.

If you need something special, use TEXMFLOCAL or TEXMFPROJECT
instead.

Best wishes,
Taco

___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2010-10-19 10:50     ` itemize Herbert Voss
  2010-10-19 11:00       ` itemize luigi scarso
@ 2010-10-19 12:01       ` Herbert Voss
  2010-10-19 12:08         ` itemize Taco Hoekwater
  1 sibling, 1 reply; 36+ messages in thread
From: Herbert Voss @ 2010-10-19 12:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 19.10.2010 12:50, schrieb Herbert Voss:
> Am 19.10.2010 11:27, schrieb Hans Hagen:
> 
>> If I remember right this is a bug in the luatex version that ships with
>> texlive. 
> 
> I updated from http://tlcontrib.metatex.org/2010
> 
> and now it is ok

But only for a moment ... :-(  But now I know
what happens.

The problem is that I run several context files
from a script. But the context sources are generated
before from within a LaTeX document. Before I run
this document with LaTeX I set TEXINPUTS to antother
value, but always with "...:$TEXINPUTS". After
running pdflatex the script then runs
all ConTeXt documents and it seems that the setting
of TEXINPUTS is not correct for the context runs.

When I do an "unset TEXINPUTS" inside the script
before running context on the files everything
works.

Why can the setting of TEXINPUTS a problem for
context?

Herbert
___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2010-10-19 11:10         ` itemize Herbert Voss
@ 2010-10-19 11:16           ` luigi scarso
  0 siblings, 0 replies; 36+ messages in thread
From: luigi scarso @ 2010-10-19 11:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2010/10/19 Herbert Voss <Herbert.Voss@fu-berlin.de>:
> Am 19.10.2010 13:00, schrieb luigi scarso:
>> 2010/10/19 Herbert Voss <Herbert.Voss@fu-berlin.de>:
>>> Am 19.10.2010 11:27, schrieb Hans Hagen:
>>>
>>>> If I remember right this is a bug in the luatex version that ships with
>>>> texlive.
>>>
>>> I updated from http://tlcontrib.metatex.org/2010
>>>
>>> and now it is ok
>> hm, what does
>> # context --version
>> say ?
>
> MTXrun | main context file:
> /usr/local/texlive/2010/texmf-dist/tex/context/base/context.tex
> MTXrun | current version: 2010.07.30 11:35
Ah ok, perhaps latest "current".


-- 
luigi
___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2010-10-19 11:00       ` itemize luigi scarso
@ 2010-10-19 11:10         ` Herbert Voss
  2010-10-19 11:16           ` itemize luigi scarso
  0 siblings, 1 reply; 36+ messages in thread
From: Herbert Voss @ 2010-10-19 11:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 19.10.2010 13:00, schrieb luigi scarso:
> 2010/10/19 Herbert Voss <Herbert.Voss@fu-berlin.de>:
>> Am 19.10.2010 11:27, schrieb Hans Hagen:
>>
>>> If I remember right this is a bug in the luatex version that ships with
>>> texlive.
>>
>> I updated from http://tlcontrib.metatex.org/2010
>>
>> and now it is ok
> hm, what does
> # context --version
> say ?

MTXrun | main context file:
/usr/local/texlive/2010/texmf-dist/tex/context/base/context.tex
MTXrun | current version: 2010.07.30 11:35

Herbert
___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2010-10-19 10:50     ` itemize Herbert Voss
@ 2010-10-19 11:00       ` luigi scarso
  2010-10-19 11:10         ` itemize Herbert Voss
  2010-10-19 12:01       ` itemize Herbert Voss
  1 sibling, 1 reply; 36+ messages in thread
From: luigi scarso @ 2010-10-19 11:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2010/10/19 Herbert Voss <Herbert.Voss@fu-berlin.de>:
> Am 19.10.2010 11:27, schrieb Hans Hagen:
>
>> If I remember right this is a bug in the luatex version that ships with
>> texlive.
>
> I updated from http://tlcontrib.metatex.org/2010
>
> and now it is ok
hm, what does
# context --version
say ?
-- 
luigi
___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2010-10-19  9:27   ` itemize Hans Hagen
  2010-10-19  9:38     ` itemize Herbert Voss
  2010-10-19  9:40     ` itemize Khaled Hosny
@ 2010-10-19 10:50     ` Herbert Voss
  2010-10-19 11:00       ` itemize luigi scarso
  2010-10-19 12:01       ` itemize Herbert Voss
  2 siblings, 2 replies; 36+ messages in thread
From: Herbert Voss @ 2010-10-19 10:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 19.10.2010 11:27, schrieb Hans Hagen:

> If I remember right this is a bug in the luatex version that ships with
> texlive. 

I updated from http://tlcontrib.metatex.org/2010

and now it is ok

Herbert
___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2010-10-19  9:40     ` itemize Khaled Hosny
@ 2010-10-19  9:50       ` Herbert Voss
  0 siblings, 0 replies; 36+ messages in thread
From: Herbert Voss @ 2010-10-19  9:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 19.10.2010 11:40, schrieb Khaled Hosny:

>>>> systems         : begin file zzzz.tex at line 3
>>>> ! Math error: parameter \Umathquad\displaystyle is not set.
>>>> \mathematics ... #1\else \Ustartmath #1\Ustopmath
>>>>                                                  \fi
>>>> \dodosymbol ...bol \csname \??ss :#1:#2\endcsname
>>>> [...]
>>
>> If I remember right this is a bug in the luatex version that ships
>> with texlive. Does
>>
>> \def\Ustartmath{$}
>> \def\Ustopmath {$}
> 
> The problem seems to be with \Umathquad\displaystyle not being said,
> which usually means he is loading a math font that has no math
> parameters. For lualatex this used to be some TTF version of CM fonts
> that are erroneously have similar file names (with different extension)
> to the TFM fonts so it gets loaded instead of the real CM fonts. On my
> Debian system, the were two versions, one bundled with LyX and one with
> some other latex fonts package.

it looks like that there are no math fonts available:
[..]
!define font    : forced type tfm of eufm7 not found
!define font    : font with name eufm7 is not found
!define font    : forced type tfm of eufb7 not found
!define font    : font with name eufb7 is not found
!math virtual   : font LMMath7-Regular, no parameters set
!math virtual   : the mapping is incomplete for 'LMMath7-Regular' at 7pt
!math virtual   : font LMMath7-Regular, no parameters set
!math virtual   : font LMMath7-Regular, no parameters set
!math virtual   : font LMMath7-Regular, no parameters set
!math virtual   : font LMMath7-Regular, no parameters set
!math virtual   : font LMMath7-Regular, no parameters set
[...]

Herbert
___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2010-10-19  9:27   ` itemize Hans Hagen
  2010-10-19  9:38     ` itemize Herbert Voss
@ 2010-10-19  9:40     ` Khaled Hosny
  2010-10-19  9:50       ` itemize Herbert Voss
  2010-10-19 10:50     ` itemize Herbert Voss
  2 siblings, 1 reply; 36+ messages in thread
From: Khaled Hosny @ 2010-10-19  9:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Oct 19, 2010 at 11:27:35AM +0200, Hans Hagen wrote:
> On 19-10-2010 11:17, luigi scarso wrote:
> >2010/10/19 Herbert Voss<Herbert.Voss@fu-berlin.de>:
> >>An example from the documentation:
> >>
> >>\starttext
> >>
> >>\startitemize[1,packed]
> >>\head supported image formats in \PDFTEX \par
> >>      \startitemize[a]
> >>      \item png \item eps \item pdf
> >>      \stopitemize
> >>\head non supported image formats in \PDFTEX \par
> >>      \startitemize[continue]
> >>      \item jpg \item gif \item tif
> >>      \stopitemize
> >>\stopitemize
> >>
> >>\stoptext
> >>
> >>I get with mkIV (TeXLive2010)
> >>[...]
> >>systems         : begin file zzzz.tex at line 3
> >>! Math error: parameter \Umathquad\displaystyle is not set.
> >>\mathematics ... #1\else \Ustartmath #1\Ustopmath
> >>                                                  \fi
> >>\dodosymbol ...bol \csname \??ss :#1:#2\endcsname
> >>[...]
> 
> If I remember right this is a bug in the luatex version that ships
> with texlive. Does
> 
> \def\Ustartmath{$}
> \def\Ustopmath {$}

The problem seems to be with \Umathquad\displaystyle not being said,
which usually means he is loading a math font that has no math
parameters. For lualatex this used to be some TTF version of CM fonts
that are erroneously have similar file names (with different extension)
to the TFM fonts so it gets loaded instead of the real CM fonts. On my
Debian system, the were two versions, one bundled with LyX and one with
some other latex fonts package.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2010-10-19  9:27   ` itemize Hans Hagen
@ 2010-10-19  9:38     ` Herbert Voss
  2010-10-19  9:40     ` itemize Khaled Hosny
  2010-10-19 10:50     ` itemize Herbert Voss
  2 siblings, 0 replies; 36+ messages in thread
From: Herbert Voss @ 2010-10-19  9:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 19.10.2010 11:27, schrieb Hans Hagen:

>>> I get with mkIV (TeXLive2010)
>>> [...]
>>> systems         : begin file zzzz.tex at line 3
>>> ! Math error: parameter \Umathquad\displaystyle is not set.
>>> \mathematics ... #1\else \Ustartmath #1\Ustopmath
>>>                                                   \fi
>>> \dodosymbol ...bol \csname \??ss :#1:#2\endcsname
>>> [...]
> 
> If I remember right this is a bug in the luatex version that ships with
> texlive. Does
> 
> \def\Ustartmath{$}
> \def\Ustopmath {$}
> 
> help?

the same problem

Herbert
___________________________________________________________________________________
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] 36+ messages in thread

* Re: itemize
  2010-10-19  9:17 ` itemize luigi scarso
@ 2010-10-19  9:27   ` Hans Hagen
  2010-10-19  9:38     ` itemize Herbert Voss
                       ` (2 more replies)
  0 siblings, 3 replies; 36+ messages in thread
From: Hans Hagen @ 2010-10-19  9:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 19-10-2010 11:17, luigi scarso wrote:
> 2010/10/19 Herbert Voss<Herbert.Voss@fu-berlin.de>:
>> An example from the documentation:
>>
>> \starttext
>>
>> \startitemize[1,packed]
>> \head supported image formats in \PDFTEX \par
>>       \startitemize[a]
>>       \item png \item eps \item pdf
>>       \stopitemize
>> \head non supported image formats in \PDFTEX \par
>>       \startitemize[continue]
>>       \item jpg \item gif \item tif
>>       \stopitemize
>> \stopitemize
>>
>> \stoptext
>>
>> I get with mkIV (TeXLive2010)
>> [...]
>> systems         : begin file zzzz.tex at line 3
>> ! Math error: parameter \Umathquad\displaystyle is not set.
>> \mathematics ... #1\else \Ustartmath #1\Ustopmath
>>                                                   \fi
>> \dodosymbol ...bol \csname \??ss :#1:#2\endcsname
>> [...]

If I remember right this is a bug in the luatex version that ships with 
texlive. Does

\def\Ustartmath{$}
\def\Ustopmath {$}

help?

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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] 36+ messages in thread

* Re: itemize
  2010-10-19  9:05 itemize Herbert Voss
@ 2010-10-19  9:17 ` luigi scarso
  2010-10-19  9:27   ` itemize Hans Hagen
  0 siblings, 1 reply; 36+ messages in thread
From: luigi scarso @ 2010-10-19  9:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2010/10/19 Herbert Voss <Herbert.Voss@fu-berlin.de>:
> An example from the documentation:
>
> \starttext
>
> \startitemize[1,packed]
> \head supported image formats in \PDFTEX \par
>      \startitemize[a]
>      \item png \item eps \item pdf
>      \stopitemize
> \head non supported image formats in \PDFTEX \par
>      \startitemize[continue]
>      \item jpg \item gif \item tif
>      \stopitemize
> \stopitemize
>
> \stoptext
>
> I get with mkIV (TeXLive2010)
> [...]
> systems         : begin file zzzz.tex at line 3
> ! Math error: parameter \Umathquad\displaystyle is not set.
> \mathematics ... #1\else \Ustartmath #1\Ustopmath
>                                                  \fi
> \dodosymbol ...bol \csname \??ss :#1:#2\endcsname
> [...]
>
> Herbert
It's ok with latest minimals.
Unfortunately minimals still suffers of cont-fil bug:
in context.mkiv/mkii
\loadcorefile{cont-fil}
should be
\loadmarkfile{cont-fil}

-- 
luigi
___________________________________________________________________________________
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] 36+ messages in thread

* itemize
@ 2010-10-19  9:05 Herbert Voss
  2010-10-19  9:17 ` itemize luigi scarso
  0 siblings, 1 reply; 36+ messages in thread
From: Herbert Voss @ 2010-10-19  9:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

An example from the documentation:

\starttext

\startitemize[1,packed]
\head supported image formats in \PDFTEX \par
      \startitemize[a]
      \item png \item eps \item pdf
      \stopitemize
\head non supported image formats in \PDFTEX \par
      \startitemize[continue]
      \item jpg \item gif \item tif
      \stopitemize
\stopitemize

\stoptext

I get with mkIV (TeXLive2010)
[...]
systems         : begin file zzzz.tex at line 3
! Math error: parameter \Umathquad\displaystyle is not set.
\mathematics ... #1\else \Ustartmath #1\Ustopmath
                                                  \fi
\dodosymbol ...bol \csname \??ss :#1:#2\endcsname
[...]

Herbert


___________________________________________________________________________________
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] 36+ messages in thread

* itemize
@ 2010-01-18 21:56 Hans Hagen
  0 siblings, 0 replies; 36+ messages in thread
From: Hans Hagen @ 2010-01-18 21:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I uploaded a beta with some mkiv adaptions of itemize, esp the 
itemalignment

\startitemize[n][width=3cm,itemalign=flushright,distance=1em]
\dorecurse{12}{\item test}
\stopitemize

it also works with fit and distance is now also hounoured; a side effect 
is that broad no longer is driven by distance but by a new parameter 
step (which default to the old value so hopefully there should be no 
compatibility issue)

Hans

-----------------------------------------------------------------
                                           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] 36+ messages in thread

* Re: itemize
  2006-04-07 11:46 itemize Renaud AUBIN
@ 2006-04-08 13:14 ` Hans Hagen
  0 siblings, 0 replies; 36+ messages in thread
From: Hans Hagen @ 2006-04-08 13:14 UTC (permalink / raw)


Renaud AUBIN wrote:
> Hi all,
>
> Up to now, I used:
>
> \startnarrower[left]
> \startitemize[2,packed,joinedup]
> \item 4 liaisons pivot (1 degré de liberté en rotation) soit 4 couples
>   cinématiques de classe V,
> \item 1 liaison pivot glissant (2 degrés de liberté dont 1 en rotation
>   et 1 en translation) soit 1 couple cinématique de classe IV,
> \item 1 liaison encastrement (pas de degré de liberté).
> \stopitemize
> \stopnarrower
>
> to obtain:
>
>     Un petit paragraphe juste pour faire une rapide démonstration de
> ce que je veux obtenir :
>     - 4 liaisons pivot (1 degré de liberté en rotation) soit 4 couples
>       cinématiques de classe V,
>     - 1 liaison pivot glissant (2 degrés de liberté dont 1 en rotation
>       et 1 en translation) soit 1 couple cinématique de classe IV,
>     - 1 liaison encastrement (pas de degré de liberté).
>
> and I would obtain:
>
>     Un petit paragraphe juste pour faire une rapide démonstration de
> ce que je veux obtenir :
>     - 4 liaisons pivot (1 degré de liberté en rotation) soit 4 couples
> cinématiques de classe V,
>     - 1 liaison pivot glissant (2 degrés de liberté dont 1 en rotation
> et 1 en translation) soit 1 couple cinématique de classe IV,
>     - 1 liaison encastrement (pas de degré de liberté).
>
> How to do that
\input tufte
\startitemize[2,packed,joinedup,intext]
\item 4 liaisons pivot (1 degré de liberté en rotation) soit 4 couples
  cinématiques de classe V,
\item 1 liaison pivot glissant (2 degrés de liberté dont 1 en rotation
  et 1 en translation) soit 1 couple cinématique de classe IV,
\item 1 liaison encastrement (pas de degré de liberté).
\stopitemize
\input tufte

try text, intext, paragraph 

Hans 

-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 36+ messages in thread

* itemize
@ 2006-04-07 11:46 Renaud AUBIN
  2006-04-08 13:14 ` itemize Hans Hagen
  0 siblings, 1 reply; 36+ messages in thread
From: Renaud AUBIN @ 2006-04-07 11:46 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 1255 bytes --]

Hi all,

Up to now, I used:

\startnarrower[left]
\startitemize[2,packed,joinedup]
\item 4 liaisons pivot (1 degré de liberté en rotation) soit 4 couples
  cinématiques de classe V,
\item 1 liaison pivot glissant (2 degrés de liberté dont 1 en rotation
  et 1 en translation) soit 1 couple cinématique de classe IV,
\item 1 liaison encastrement (pas de degré de liberté).
\stopitemize
\stopnarrower

to obtain:

    Un petit paragraphe juste pour faire une rapide démonstration de
ce que je veux obtenir :
    - 4 liaisons pivot (1 degré de liberté en rotation) soit 4 couples
      cinématiques de classe V,
    - 1 liaison pivot glissant (2 degrés de liberté dont 1 en rotation
      et 1 en translation) soit 1 couple cinématique de classe IV,
    - 1 liaison encastrement (pas de degré de liberté).

and I would obtain:

    Un petit paragraphe juste pour faire une rapide démonstration de
ce que je veux obtenir :
    - 4 liaisons pivot (1 degré de liberté en rotation) soit 4 couples
cinématiques de classe V,
    - 1 liaison pivot glissant (2 degrés de liberté dont 1 en rotation
et 1 en translation) soit 1 couple cinématique de classe IV,
    - 1 liaison encastrement (pas de degré de liberté).

How to do that

[-- Attachment #1.2: Type: text/html, Size: 2048 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: itemize
  2004-06-19 17:14   ` itemize Willi Egger
@ 2004-06-20  7:57     ` Patrick Gundlach
  0 siblings, 0 replies; 36+ messages in thread
From: Patrick Gundlach @ 2004-06-20  7:57 UTC (permalink / raw)


Hello Willi,

> Of course Patrick's answer works. Another aproach is to use the
> \setupitemize command. This gives you more control over the spacing
> between the symbol and the text.

I keep forgetting about right, left.
>
> \setupitemize
> [1] %level of itemization
> [broad,atnmargin]

The atnmargin is a typo, I guess. What does atmargin do?

Thanks for your example. I hope I may put it in texshow-web?

Patrick

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: itemize
  2004-06-16 15:12 itemize, adobekb Thomas A.Schmitz
@ 2004-06-18 17:03 ` Patrick Gundlach
  2004-06-19 17:14   ` itemize Willi Egger
  0 siblings, 1 reply; 36+ messages in thread
From: Patrick Gundlach @ 2004-06-18 17:03 UTC (permalink / raw)


"Thomas A.Schmitz" <thomas.schmitz@uni-bonn.de> writes:

> These are two very basic questions, but I couldn't find basic answers.
> Am quite willing to RTFM, but would be grateful for pointing to
> specific sections. So here comes:
>
> 1) Is it possible to have something in front of the number in numbered
>    itemize-groups? Like LatTeX-style [1] etc. All I could find was the
>    "stopper= " setup, but nothing for "starters."

\starttext
\defineconversion[map][(\numbers]
\startitemize[map][stopper=)]
\item Text Text Text Text Text Text Text Text Text Text Text Text
      Text Text Text Text Text Text Text Text Text Text Text Text
      Text Text Text Text Text Text Text Text Text Text
\item Text Text Text Text Text Text Text Text Text Text Text Text
      Text Text Text Text Text Text Text Text Text Text Text Text
      Text Text Text Text Text Text Text Text Text Text
\stopitemize
\stoptext

Patrick

^ permalink raw reply	[flat|nested] 36+ messages in thread

* itemize
       [not found] <200201212013.VAA02170@smail.let.uu.nl>
@ 2002-01-22 10:16 ` Hans Hagen
  0 siblings, 0 replies; 36+ messages in thread
From: Hans Hagen @ 2002-01-22 10:16 UTC (permalink / raw)


[forwarded]

Currently, I can defined my own headings using \definehead and \setuphead...

>Several other features of ConText have this define/setup ability.
>
>But as far as I can tell, Itemized lists do not.
>
>Am I missing something?
>
>I'd like to create a few named itemized list variants, and use them as
>needed.
>
>Right now, it seems my only choice is to continually change it using
>\setupitemize, which causes them to be sprinkled throughout the text.
>
>If I had a \defineitemize, or something similar, I could just set them up
>in the top of the document, and use them later on as needed. All changes
>would then only need to be made at the document top if I decide to change
>formatting.

the beta has an \defineitemize command

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-pod.nl
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: Itemize..
  2000-01-14 10:59 ` Itemize Hans Hagen
@ 2000-01-14 14:39   ` Taco Hoekwater
  2000-01-14 13:40     ` Itemize Hans Hagen
  0 siblings, 1 reply; 36+ messages in thread
From: Taco Hoekwater @ 2000-01-14 14:39 UTC (permalink / raw)
  Cc: mordor, ntg-context

    >> 3. This one is related to tables: I have
    >> \starttable[|p(6cm)|M|].  In one row of the table (second
    >> column) I happen to have \eqalign with two rows. The top of the
    >> paragraph is aligned with the middle of \eqalign. How can I
    >> make the middled of the paragraph be aligned with the middle of
    >> eqalign (I'm talking about vertical centering)?

    Hans> Something for taco since it's math.

Not really math, more of a TaBlE omission. Try this code, which gives
you the new key P (just like p) for a vertically centered paragraph.

%%%%%%%%%%%%%%%%%%%%%%
\unprotect
\def\BeginTableParCBox#1{%
  $\displaystyle\m@th\vcenter\bgroup\vtop\bgroup
    \hsize=#1
    \normalbaselines
    \let~=\!ttTie
    \let\-=\!ttDH
    \the\EveryTableParBox}

\def\EndTableParCBox{%
    \MakeStrut{0pt}{\StrutDepthFactor\StrutUnit}
  \egroup\egroup$} % finishes the \vtop begun by \BeginTableParbox

\NewFormatKey P{%
  \!tgGetValue{\!tgSetUpParCBox}}

\def\!tgSetUpParCBox{%
  \edef\!ttemp{%
    \noexpand \ReadFormatKeys
    b{\noexpand \BeginTableParCBox{%
      \ifnum \!tgCode=1
        \ifx \!tgValue\empty
          \the\ColumnWidthFactor
        \else
          \!tgValue    % user-specified integer
        \fi
        \!taCWU        % \ColumnWidthUnit
      \else
        \!tgValue      % user-specified dimension
      \fi}}}%
  \!ttemp
  a{\EndTableParCBox}}

\protect
%%%%%%%%%%%%%%%%%%%%%%

[There is a similar problem for bottom aligned paragraphs (\vbot
 instead of \vtop), but I can't find a suitable key for that].

Or you could put the \eqalign in a parbox itself, I think, like this: 

\starttable[|p(6cm)|p(6cm)|]
\NC .. \NC $\displaystyle\eqalign{...}$\NC\NR
\stoptable

(in this case, they start on the same baseline).

Greetings, Taco


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: Itemize..
  2000-01-14 14:39   ` Itemize Taco Hoekwater
@ 2000-01-14 13:40     ` Hans Hagen
  0 siblings, 0 replies; 36+ messages in thread
From: Hans Hagen @ 2000-01-14 13:40 UTC (permalink / raw)
  Cc: pragma, mordor, ntg-context

At 02:39 PM 1/14/2000 +0000, Taco Hoekwater wrote:

>you the new key P (just like p) for a vertically centered 

I've been thinking about a P option in tabulate, but am still in doubt how
to specify alignment -) 

Hans

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


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: Itemize..
  2000-01-14  7:54 Itemize Zeljko Vrba
@ 2000-01-14 10:59 ` Hans Hagen
  2000-01-14 14:39   ` Itemize Taco Hoekwater
  0 siblings, 1 reply; 36+ messages in thread
From: Hans Hagen @ 2000-01-14 10:59 UTC (permalink / raw)
  Cc: ntg-context

At 08:54 AM 1/14/2000 +0100, Zeljko Vrba wrote:

>1. How can I make that numbers in startitemize[n,..] start from 0 instead
>   from 1?

Hm. So we need [zero] as an option. 

>2. I have many items in itemize (more than 9) so I have the
>   following output:
>	9. something
>        10. something else

and [right] too + [center] + [left]. 

>   I would like this:
>	 9. something
>	10. something else

For the moment say: 

\unprotected \def\xxx%
  {\sym
    {\calculatelistwidth\itemlevel\scratchdimen
     \hbox to \scratchdimen
       {\decrement\noflistelements
        \hss
        \noflistelements.
        \hskip\getvalue{\??op\itemlevel\c!afstand}}}}

\startitemize[broad,packed]
  \dorecurse{20}{\xxx test\par}
\stopitemize

>3. This one is related to tables: I have \starttable[|p(6cm)|M|].
>   In one row of the table (second column) I happen to have
>   \eqalign with two rows. The top of the paragraph is aligned with
>   the middle of \eqalign. How can I make the middled of the paragraph
>   be aligned with the middle of eqalign (I'm talking about vertical
>   centering)? 

Something for taco since it's math. 

BTW, I just implemented a bit more advanced break between the lines
alternative for tabulations (i.e. I now also optimize page breaks within a
par cell) and I added a tracing option for that too.

Since I'm in the process of splitting core-01a.tex, I cannot update for
some time (apart from betas).    

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


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Itemize..
@ 2000-01-14  7:54 Zeljko Vrba
  2000-01-14 10:59 ` Itemize Hans Hagen
  0 siblings, 1 reply; 36+ messages in thread
From: Zeljko Vrba @ 2000-01-14  7:54 UTC (permalink / raw)


1. How can I make that numbers in startitemize[n,..] start from 0 instead
   from 1?

2. I have many items in itemize (more than 9) so I have the
   following output:
	9. something
        10. something else

   I would like this:
	 9. something
	10. something else

3. This one is related to tables: I have \starttable[|p(6cm)|M|].
   In one row of the table (second column) I happen to have
   \eqalign with two rows. The top of the paragraph is aligned with
   the middle of \eqalign. How can I make the middled of the paragraph
   be aligned with the middle of eqalign (I'm talking about vertical
   centering)? 


^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2013-03-08  8:05 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-04 12:52 itemize Meer, H. van der
2013-03-04 13:19 ` itemize Marco Patzer
2013-03-04 13:34   ` itemize Meer, H. van der
2013-03-04 14:06     ` itemize Marco Patzer
2013-03-07 13:40   ` \simplealignedbox (was: itemize) Procházka Lukáš Ing. - Pontex s. r. o.
2013-03-07 14:06     ` Wolfgang Schuster
2013-03-07 14:09     ` Marco Patzer
2013-03-07 14:11       ` [***Spam/VIR***] " Procházka Lukáš Ing. - Pontex s. r. o.
2013-03-08  8:05         ` \simplealignedbox Thomas A. Schmitz
  -- strict thread matches above, loose matches on Subject: below --
2011-12-18 18:18 itemize Aditya Mahajan
2011-12-18 21:21 ` itemize Hans Hagen
2010-10-20  8:33 itemize Herbert Voss
2010-10-20  8:54 ` itemize Philipp Gesang
2010-10-20  8:59   ` itemize Herbert Voss
2010-10-19  9:05 itemize Herbert Voss
2010-10-19  9:17 ` itemize luigi scarso
2010-10-19  9:27   ` itemize Hans Hagen
2010-10-19  9:38     ` itemize Herbert Voss
2010-10-19  9:40     ` itemize Khaled Hosny
2010-10-19  9:50       ` itemize Herbert Voss
2010-10-19 10:50     ` itemize Herbert Voss
2010-10-19 11:00       ` itemize luigi scarso
2010-10-19 11:10         ` itemize Herbert Voss
2010-10-19 11:16           ` itemize luigi scarso
2010-10-19 12:01       ` itemize Herbert Voss
2010-10-19 12:08         ` itemize Taco Hoekwater
2010-01-18 21:56 itemize Hans Hagen
2006-04-07 11:46 itemize Renaud AUBIN
2006-04-08 13:14 ` itemize Hans Hagen
2004-06-16 15:12 itemize, adobekb Thomas A.Schmitz
2004-06-18 17:03 ` itemize Patrick Gundlach
2004-06-19 17:14   ` itemize Willi Egger
2004-06-20  7:57     ` itemize Patrick Gundlach
     [not found] <200201212013.VAA02170@smail.let.uu.nl>
2002-01-22 10:16 ` itemize Hans Hagen
2000-01-14  7:54 Itemize Zeljko Vrba
2000-01-14 10:59 ` Itemize Hans Hagen
2000-01-14 14:39   ` Itemize Taco Hoekwater
2000-01-14 13:40     ` Itemize 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).