ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Indentation as in itemize
@ 2011-08-05  7:02 Cecil Westerhof
  2011-08-05 12:29 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Cecil Westerhof @ 2011-08-05  7:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

When you use itemize text is neatly put under each-other.
I have the folowing in a macro:
    \bTR \RowWorkTable{}{\bullet\space #1} \eTR

When text is overflowing to the following line, the text starts under the
bullet. I would like it to start under the character after the space, just
like in itemize. How would I do this?

As a hack I now use:
    \bTR \RowWorkTable{}{\startitemize \item #1 \stopitemize} \eTR

This does what I want, but I do not find it very pretty. (I have also the
feeling that it makes the compilation time longer.)

-- 
Cecil Westerhof

[-- Attachment #1.2: Type: text/html, Size: 620 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] 6+ messages in thread

* Re: Indentation as in itemize
  2011-08-05  7:02 Indentation as in itemize Cecil Westerhof
@ 2011-08-05 12:29 ` Wolfgang Schuster
  2011-08-06  9:50   ` Cecil Westerhof
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2011-08-05 12:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 05.08.2011 um 09:02 schrieb Cecil Westerhof:

> When you use itemize text is neatly put under each-other.
> I have the folowing in a macro:
>     \bTR \RowWorkTable{}{\bullet\space #1} \eTR
> 
> When text is overflowing to the following line, the text starts under the bullet. I would like it to start under the character after the space, just like in itemize. How would I do this?

You can use descriptions with “location=left”.

> As a hack I now use:
>     \bTR \RowWorkTable{}{\startitemize \item #1 \stopitemize} \eTR
> 
> This does what I want, but I do not find it very pretty. (I have also the feeling that it makes the compilation time longer.)

It’s slower but you won’t notice a difference of a few microseconds.

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

* Re: Indentation as in itemize
  2011-08-05 12:29 ` Wolfgang Schuster
@ 2011-08-06  9:50   ` Cecil Westerhof
  2011-08-06 12:50     ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Cecil Westerhof @ 2011-08-06  9:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

2011/8/5 Wolfgang Schuster <schuster.wolfgang@googlemail.com>

>
> Am 05.08.2011 um 09:02 schrieb Cecil Westerhof:
>
> > When you use itemize text is neatly put under each-other.
> > I have the folowing in a macro:
> >     \bTR \RowWorkTable{}{\bullet\space #1} \eTR
> >
> > When text is overflowing to the following line, the text starts under the
> bullet. I would like it to start under the character after the space, just
> like in itemize. How would I do this?
>
> You can use descriptions with “location=left”.
>

I tried that, but it did not work. I think I'll stay with the 'ugly'
solution. It is only in the macro itself. So I live with it. (For the moment
being.)



> > As a hack I now use:
> >     \bTR \RowWorkTable{}{\startitemize \item #1 \stopitemize} \eTR
> >
> > This does what I want, but I do not find it very pretty. (I have also the
> feeling that it makes the compilation time longer.)
>
> It’s slower but you won’t notice a difference of a few microseconds.
>

Sometimes ConTeXt takes a lot longer to compile. (Two to three times. Do not
ask me why.) It looks like this happened when I made the change. So I will
not bother about it.

-- 
Cecil Westerhof

[-- Attachment #1.2: Type: text/html, Size: 1740 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] 6+ messages in thread

* Re: Indentation as in itemize
  2011-08-06  9:50   ` Cecil Westerhof
@ 2011-08-06 12:50     ` Wolfgang Schuster
  2011-08-06 12:59       ` Cecil Westerhof
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2011-08-06 12:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 06.08.2011 um 11:50 schrieb Cecil Westerhof:

> 2011/8/5 Wolfgang Schuster <schuster.wolfgang@googlemail.com>
> 
> Am 05.08.2011 um 09:02 schrieb Cecil Westerhof:
> 
> > When you use itemize text is neatly put under each-other.
> > I have the folowing in a macro:
> >     \bTR \RowWorkTable{}{\bullet\space #1} \eTR
> >
> > When text is overflowing to the following line, the text starts under the bullet. I would like it to start under the character after the space, just like in itemize. How would I do this?
> 
> You can use descriptions with “location=left”.
> 
> I tried that, but it did not work. I think I'll stay with the 'ugly' solution. It is only in the macro itself. So I live with it. (For the moment being.)

You can also make an extra column only for the bullet.

> > As a hack I now use:
> >     \bTR \RowWorkTable{}{\startitemize \item #1 \stopitemize} \eTR
> >
> > This does what I want, but I do not find it very pretty. (I have also the feeling that it makes the compilation time longer.)
> 
> It’s slower but you won’t notice a difference of a few microseconds.
> 
> Sometimes ConTeXt takes a lot longer to compile. (Two to three times. Do not ask me why.) It looks like this happened when I made the change. So I will not bother about it.

Itemize writes the number of entries of each environment to the auxilary file and when there is a change in this file you get two or three runs.

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2764 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] 6+ messages in thread

* Re: Indentation as in itemize
  2011-08-06 12:50     ` Wolfgang Schuster
@ 2011-08-06 12:59       ` Cecil Westerhof
  2011-08-06 13:27         ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Cecil Westerhof @ 2011-08-06 12:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

2011/8/6 Wolfgang Schuster <schuster.wolfgang@googlemail.com>

> > When you use itemize text is neatly put under each-other.
>
> > I have the folowing in a macro:
>> >     \bTR \RowWorkTable{}{\bullet\space #1} \eTR
>> >
>> > When text is overflowing to the following line, the text starts under
>> the bullet. I would like it to start under the character after the space,
>> just like in itemize. How would I do this?
>>
>> You can use descriptions with “location=left”.
>>
>
> I tried that, but it did not work. I think I'll stay with the 'ugly'
> solution. It is only in the macro itself. So I live with it. (For the moment
> being.)
>
>>
> You can also make an extra column only for the bullet.
>

Will not work in my case. Sometimes there is placed something without a
bullet. I could then merge the two columns, but that would even be more ugly
as the current solution.



> As a hack I now use:
> >     \bTR \RowWorkTable{}{\startitemize \item #1 \stopitemize} \eTR
> >
> > This does what I want, but I do not find it very pretty. (I have also the
> feeling that it makes the compilation time longer.)
>
> It’s slower but you won’t notice a difference of a few microseconds.
>

Sometimes ConTeXt takes a lot longer to compile. (Two to three times. Do not
ask me why.) It looks like this happened when I made the change. So I will
not bother about it.


> Itemize writes the number of entries of each environment to the auxilary
> file and when there is a change in this file you get two or three runs.
>

Aaah, that explains it. Thanks.

-- 
Cecil Westerhof

[-- Attachment #1.2: Type: text/html, Size: 2990 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] 6+ messages in thread

* Re: Indentation as in itemize
  2011-08-06 12:59       ` Cecil Westerhof
@ 2011-08-06 13:27         ` Wolfgang Schuster
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2011-08-06 13:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 06.08.2011 um 14:59 schrieb Cecil Westerhof:

> You can also make an extra column only for the bullet.
> 
> Will not work in my case. Sometimes there is placed something without a bullet. I could then merge the two columns, but that would even be more ugly as the current solution.

I thought you hide the table code in your own commands, when this is the case you can make different commands for entries with and without bullets where the second place a empty column and the first a bullet in the extra column.

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1028 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] 6+ messages in thread

end of thread, other threads:[~2011-08-06 13:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-05  7:02 Indentation as in itemize Cecil Westerhof
2011-08-05 12:29 ` Wolfgang Schuster
2011-08-06  9:50   ` Cecil Westerhof
2011-08-06 12:50     ` Wolfgang Schuster
2011-08-06 12:59       ` Cecil Westerhof
2011-08-06 13:27         ` Wolfgang Schuster

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