* \startitemize "Step 1:" "Step 2:"
@ 2014-07-25 16:53 Gerben Wierda
2014-07-25 17:55 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Gerben Wierda @ 2014-07-25 16:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
Here is something simple that cannot be found in the manual (at least not by me). How do I create a list that is numbered like this:
Step 1: foo foo foo foo foo foo foo foo foo
foo foo foo foo foo
Step 2: bar bar bar bar bar bar bar bar bar
bar bar bar bar bar
etc. (Indenting each item after the first line of course)
G
___________________________________________________________________________________
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] 5+ messages in thread
* Re: \startitemize "Step 1:" "Step 2:"
2014-07-25 16:53 \startitemize "Step 1:" "Step 2:" Gerben Wierda
@ 2014-07-25 17:55 ` Wolfgang Schuster
2014-07-28 15:06 ` Gerben Wierda
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2014-07-25 17:55 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 25.07.2014 um 18:53 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
> Here is something simple that cannot be found in the manual (at least not by me). How do I create a list that is numbered like this:
>
> Step 1: foo foo foo foo foo foo foo foo foo
> foo foo foo foo foo
> Step 2: bar bar bar bar bar bar bar bar bar
> bar bar bar bar bar
>
> etc. (Indenting each item after the first line of course)
\defineenumeration[Step][alternative=hanging,width=fit,stopper=:]
\starttext
\Step \input ward
\Step \input weisman
\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] 5+ messages in thread
* Re: \startitemize "Step 1:" "Step 2:"
2014-07-25 17:55 ` Wolfgang Schuster
@ 2014-07-28 15:06 ` Gerben Wierda
2014-07-28 15:12 ` luigi scarso
2014-07-28 15:13 ` Wolfgang Schuster
0 siblings, 2 replies; 5+ messages in thread
From: Gerben Wierda @ 2014-07-28 15:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1842 bytes --]
On 25 Jul 2014, at 19:55, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>
> Am 25.07.2014 um 18:53 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>
>> Here is something simple that cannot be found in the manual (at least not by me). How do I create a list that is numbered like this:
>>
>> Step 1: foo foo foo foo foo foo foo foo foo
>> foo foo foo foo foo
>> Step 2: bar bar bar bar bar bar bar bar bar
>> bar bar bar bar bar
>>
>> etc. (Indenting each item after the first line of course)
>
> \defineenumeration[Step][alternative=hanging,width=fit,stopper=:]
>
> \starttext
>
> \Step \input ward
>
> \Step \input weisman
>
> \stoptext
Doesn’t work. I’ve added the \defineenumeration to my environment file and do
\startitemize[packed,joinedup]
\Step A
\Step B
\Step C
\stopitemize
it fails:
Runaway argument?
C\ETC.
! File ended while scanning use of \dodowithpar.
<inserted text>
\par
<to be read again>
\relax
\dodoreadfile ...d \relax \fi \dodoreadfileindeed
\relax \the \everyafterrea...
\doexecutefile ...rttextfile {#1}\processfile {#1}
\dostoptextfile \registerf...
l.45 \component c_foo
>
> 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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 4204 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] 5+ messages in thread
* Re: \startitemize "Step 1:" "Step 2:"
2014-07-28 15:06 ` Gerben Wierda
@ 2014-07-28 15:12 ` luigi scarso
2014-07-28 15:13 ` Wolfgang Schuster
1 sibling, 0 replies; 5+ messages in thread
From: luigi scarso @ 2014-07-28 15:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1211 bytes --]
On Mon, Jul 28, 2014 at 5:06 PM, Gerben Wierda <gerben.wierda@rna.nl> wrote:
> On 25 Jul 2014, at 19:55, Wolfgang Schuster <schuster.wolfgang@gmail.com>
> wrote:
>
>
> Am 25.07.2014 um 18:53 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>
> Here is something simple that cannot be found in the manual (at least not
> by me). How do I create a list that is numbered like this:
>
> Step 1: foo foo foo foo foo foo foo foo foo
> foo foo foo foo foo
> Step 2: bar bar bar bar bar bar bar bar bar
> bar bar bar bar bar
>
> etc. (Indenting each item after the first line of course)
>
>
> \defineenumeration[Step][alternative=hanging,width=fit,stopper=:]
>
> \starttext
>
> \Step \input ward
>
> \Step \input weisman
>
> \stoptext
>
>
> Doesn’t work. I’ve added the \defineenumeration to my environment file and
> do
>
> \startitemize[packed,joinedup]
> \Step A
> \Step B
> \Step C
> \stopitemize
>
> it fails:
>
>
>
In Wolfgang's example there are blank lines: try with
\defineenumeration[Step][alternative=hanging,width=fit,stopper=:]
\starttext
\startitemize[packed,joinedup]
\Step A \par
\Step B \par
\Step C \par
\stopitemize
\stoptext
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 2457 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] 5+ messages in thread
* Re: \startitemize "Step 1:" "Step 2:"
2014-07-28 15:06 ` Gerben Wierda
2014-07-28 15:12 ` luigi scarso
@ 2014-07-28 15:13 ` Wolfgang Schuster
1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2014-07-28 15:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1394 bytes --]
Am 28.07.2014 um 17:06 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
> On 25 Jul 2014, at 19:55, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>
>>
>> Am 25.07.2014 um 18:53 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>>
>>> Here is something simple that cannot be found in the manual (at least not by me). How do I create a list that is numbered like this:
>>>
>>> Step 1: foo foo foo foo foo foo foo foo foo
>>> foo foo foo foo foo
>>> Step 2: bar bar bar bar bar bar bar bar bar
>>> bar bar bar bar bar
>>>
>>> etc. (Indenting each item after the first line of course)
>>
>> \defineenumeration[Step][alternative=hanging,width=fit,stopper=:]
>>
>> \starttext
>>
>> \Step \input ward
>>
>> \Step \input weisman
>>
>> \stoptext
>
> Doesn’t work. I’ve added the \defineenumeration to my environment file and do
>
> \startitemize[packed,joinedup]
> \Step A
> \Step B
> \Step C
> \stopitemize
A enumeration *isn’t* the same as a item group. When you use \Step command you have to delimit
the entry with a \par command or a empty line (or use the \startStep and \stopStep commands).
\defineenumeration[Step][alternative=hanging,width=fit,stopper=:]
\starttext
\startpacked
\Step A\par
\Step B\par
\stoppacked
\blank
\startpacked
\startStep C\stopStep
\startStep D\stopStep
\stoppacked
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2783 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] 5+ messages in thread
end of thread, other threads:[~2014-07-28 15:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-25 16:53 \startitemize "Step 1:" "Step 2:" Gerben Wierda
2014-07-25 17:55 ` Wolfgang Schuster
2014-07-28 15:06 ` Gerben Wierda
2014-07-28 15:12 ` luigi scarso
2014-07-28 15:13 ` 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).