Re: [NTG-context] some math symbols not working

2010-02-12 Thread Hans Hagen

On 12-2-2010 4:02, Aditya Mahajan wrote:


Should I just start adding stuff to fallback and assume that you will
get the mechanism to work? IIRC, in the past we were not sure where to
specify the fallback characters.


indeed, if these chars are on other than tex fonts, i will make virtual 
lm glyphs .. eventually they will be in lm//gyre anyway


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
___


Re: [NTG-context] [translation] Context, an excursion

2010-02-12 Thread Sebastien Mengin
Le 11 févr. 2010 à 01:36, Aditya Mahajan a écrit:
> On Thu, 11 Feb 2010, Alain Delmotte wrote:
>
>> Hi!
>>
>> Sebastien Mengin a écrit :
>>> Hi,
>>>
>>> More than a year ago, I started to participate to the translation
>>> project of the context for the beginers guide: ConTeXt, an excursion.
>>>
>> "participate" ! Does it mean there is a group doing this?
>
> http://wiki.contextgarden.net/ConTeXt_on_Excursion%2C_translations
>
>>> For some reasons, I had to stop this.
>>>
>>> Now, I'd like to try again. Is this doc still accurate?
>>> I mean, does it worth to work on its translation or should I wait
>>> for another version?
>>>
>> I think "ConTeXt, an excursion" reflects mkII.
>> It should be updated for mkIV. (I think)

That's also what I think, but I'd like to get a confirmation.
I don't think I will spend time on an outdated doc.

-- 
Sébastien Mengin
Édition et logiciels libres
< Mise en page avec LaTeX >
http://edilibre.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
___


[NTG-context] bib: authornum

2010-02-12 Thread Thomas A. Schmitz
Hi,

sorry if this is yet another bib question: the "authornum" cite style is a 
recent addition. It doesn't accept all the setup functions that other styles 
(such as "authornum") do. The one thing I miss most ATM is the "andtext" option 
between a publication with several authors. It takes the form Author1,Author2 
(just a comma, no space; this can be configured in authornum). I tried adapting 
the code in bibl-tra.mkiv l. 1506-1515, but failed miserably. Would it be 
possible to add the configurable andtext to authornum?

Thanks, and best

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
___


Re: [NTG-context] [translation] Context, an excursion

2010-02-12 Thread Hans Hagen

On 12-2-2010 10:07, Sebastien Mengin wrote:

Le 11 févr. 2010 à 01:36, Aditya Mahajan a écrit:

On Thu, 11 Feb 2010, Alain Delmotte wrote:


Hi!

Sebastien Mengin a écrit :

Hi,

More than a year ago, I started to participate to the translation
project of the context for the beginers guide: ConTeXt, an excursion.


"participate" ! Does it mean there is a group doing this?


http://wiki.contextgarden.net/ConTeXt_on_Excursion%2C_translations


For some reasons, I had to stop this.

Now, I'd like to try again. Is this doc still accurate?
I mean, does it worth to work on its translation or should I wait
for another version?


I think "ConTeXt, an excursion" reflects mkII.
It should be updated for mkIV. (I think)


That's also what I think, but I'd like to get a confirmation.
I don't think I will spend time on an outdated doc.


much applies to mkii and mkiv ... it's mostly the fonts (and related 
encoding mess) that can be skipped in mkiv


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
___


Re: [NTG-context] [tex-live] difference texlive 2008, 2009

2010-02-12 Thread Lubos Kolouch
Taco Hoekwater, Fri, 12 Feb 2010 08:33:27 +0100:

> Lubos Kolouch wrote:
>> Aditya Mahajan, Sun, 10 Jan 2010 04:46:54 -0500:
>> 
>>> On Sun, 10 Jan 2010, Lubos Kolouch wrote:
>>>
 Thank you for the investigation, I will open a ticket with the buggy
 (Archlinux) texlive package.
>>> You can also my context-minimals-git package for Archlinux:
>>>
>>> http://www.ntg.nl/pipermail/ntg-context/2009/043743.html
>>>
>>> which installs the latest context-beta.
>>>
>>> Aditya
>>>
>>>
>> Hello Aditya,
>> 
>> I updated the package today on my system and it seems it is broken
>> again? The layout is wrong :(
> 
> Me != Aditya, but I guess it would help if you explained what exactly is
> wrong ...
> 
> Best wishes,
> Taco
> 

Sorry... the package installs fine, however the output is wrong again 
(the text is behind/below the flag, not right to it)

Lubos

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


Re: [NTG-context] [bib] getting full author(s)'s name(s)

2010-02-12 Thread Philipp Gesang
On 2010-02-12 <08:31:08>, Taco Hoekwater wrote:
> Philipp Gesang wrote:
> >Good evening,
> >
> >
> >how do I retrieve an author's (or editor's) full name in the correct
> >order (little endian: first name(s) -- surname) from a bib entry?
> 
> >I can do stuff like \getcitedata[author1] but that does leave me with
> >only one of many.
> >
> >I'm convinced the answer lies somewhere hidden in bibl-tra.mkiv inside
> >\complexbibdef and particularly \specialbibinsert but I can't grasp the
> >relevant part (getting the list) of it.
> 
> If you are talking about \cite then the answer is not in
> \specialbibinsert, but in \bibauthorref, which is quite
> complicated because of sorting.
> 
> Sorry, you just can't do this right now.
I see, I'll revert to my workaround, then: adding new fields
\full[author|editor] and format the entries by hand.  This will do but
I'll have to insert the data twice … thanks anyways.

Regards,


Philipp


pgp0oypWrnUP7.pgp
Description: PGP signature
___
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
___


Re: [NTG-context] some math symbols not working

2010-02-12 Thread Warrence


On Thu, 11 Feb 2010, Aditya Mahajan wrote:

In addition: \ncong is not aligned with = and \cong


I am not sure what \ncong should map to: 0x2246 or 0x2247? There is
inconsistency between the mappings in char-def and math-vfu which can be fixed
easily once I figure out what is the correct mapping.


My opinion is, that it should be 0x2247 (the whole glyph scored out), 
because that would be the clear negation of the sign (similar to what 
\not\cong should do). Maybe provide another command for 0x2246? \congneq 
or \simneq for example.


And many thanks for fixing this.

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


Re: [NTG-context] bib: authornum

2010-02-12 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
> Hi,
> 
> sorry if this is yet another bib question: the "authornum" cite style
> is a recent addition. It doesn't accept all the setup functions that
> other styles (such as "authornum") do. The one thing I miss most ATM
> is the "andtext" option between a publication with several authors.
> It takes the form Author1,Author2 (just a comma, no space; this can
> be configured in authornum). I tried adapting the code in
> bibl-tra.mkiv l. 1506-1515, but failed miserably. Would it be
> possible to add the configurable andtext to authornum?

Hm, can you try this redefinition?

\unprotect
\def\bibinsertrefsep
  {\ifconditional\firstbibrefsep
 \setfalse\firstbibrefsep
   \else \ifnum\recurselevel=\bibitemcounter\relax
\bibalternative\c!lastpubsep
\else
\bibalternative\c!pubsep
\fi
   \fi}
\protect

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


Re: [NTG-context] tabs in Lilypond

2010-02-12 Thread Vyatcheslav Yatskovsky
Thank you, Hraban. I've already solved my problems with Lilypond guitar 
tab notation.  )


And you are right, it's easy to include LilyPond's PDFs as externalfigure.

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


Re: [NTG-context] bib: authornum

2010-02-12 Thread Thomas A. Schmitz

On Feb 12, 2010, at 1:38 PM, Taco Hoekwater wrote:

> Hm, can you try this redefinition?
> 
> \unprotect
> \def\bibinsertrefsep
>  {\ifconditional\firstbibrefsep
> \setfalse\firstbibrefsep
>   \else \ifnum\recurselevel=\bibitemcounter\relax
>\bibalternative\c!lastpubsep
>\else
>\bibalternative\c!pubsep
>\fi
>   \fi}
> \protect

Thanks Taco - that doesn't it yet. Maybe a small text file can help?

All best

Thomas

\unprotect
\def\bibinsertrefsep
 {\ifconditional\firstbibrefsep
\setfalse\firstbibrefsep
  \else \ifnum\recurselevel=\bibitemcounter\relax
   \bibalternative\c!lastpubsep
   \else
   \bibalternative\c!pubsep
   \fi
  \fi}
\protect

\setuppublications[state=start,
  sorttype=bbl,
  refcommand=authornum,
  numbering=yes]

\setupcite
   [authornum]
   [pubsep={, },
andtext={  },
namesep={  },
lastpubsep={  },
compress=no,
inbetween={  },
left={[[[},
right={)))}]


\startpublication[k=gowpagegp,t=book,
a={{Gow},{Page}},y=1968,
n=5,s=GP68]
\author[]{A.~S.~F.}[A.~S.~F.]{}{Gow}
\author[]{Denys}[D.]{}{Page}
\pubyear{1968}
\title{The Greek Anthology{\em , 2} The Garland of Philip}
\city{Cambridge (Engl.)}
\pubname{Cambridge UP}
\stoppublication

\setuppublicationlist[samplesize={VSdK90},totalnumber=1]

\starttext

\cite[gowpagegp]

\page

\placepublications[criterium=all]

\stoptext

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


Re: [NTG-context] bib: authornum

2010-02-12 Thread Taco Hoekwater
Hi,

Attached is a fairly elaborate patch and test file, please try.

If you are happy with it, it can probably go to the core
(with a similar patch for bibl-tra.mkii). Besides the
\cite[authornum] case, it also adds 'lastpubsep' support
to the 'short forms', like \cite[num] and \cite[short].

Best wishes,
Taco



\usemodule[bib]

\unprotect

\newcount\bibrefsep

\def\bibinsertrefsep
 {\advance\bibrefsep\plusone
  \ifconditional\firstbibrefsep
\setfalse\firstbibrefsep
   \else \ifnum\bibrefsep=\bibitemcounter\relax
   \bibrefsep=0
   \bibalternative\c!lastpubsep
   \else
   \bibalternative\c!pubsep
   \fi
  \fi }

\def\dobibauthornumref#1%
 {\bibinsertrefsep
  \doifbibreferencefoundelse{#1}
{\begingroup
 \...@ea\setcurrentbibauthor\@EA{\bibgetvara{#1}}%
 \currentbibauthor
 \bibalternative\c!inbetween
 \setuppublications[\c!refcommand=num]%
 \cite[#1]%
 \endgroup}
{\unknownreference{#1}}}


\def\bibauthornumref[#1]%
  {\getcommalistsize[#1]%
   \global\bibitemcounter\commalistsize
   \bibresetrefsep
   \bibalternative\v!left
   \processcommalist[#1]\dobibauthornumref 
   \bibalternative\v!right }

\protect

\setuppublications[state=start,
  sorttype=bbl,
  refcommand=authornum,
  numbering=yes]

\setupcite
   [authornum]
   [pubsep={, },
lastpubsep={ and },
andtext={ \& },
compress=no,
inbetween={: },
left={(},
right={)}]


\startpublication[k=gowpagegp,t=book,
a={{Gow},{Page}},y=1968,
n=5,s=GP68]
\author[]{A.~S.~F.}[A.~S.~F.]{}{Gow}
\author[]{Denys}[D.]{}{Page}
\pubyear{1968}
\title{The Greek Anthology{\em , 2} The Garland of Philip}
\city{Cambridge (Engl.)}
\pubname{Cambridge UP}
\stoppublication

\startpublication[k=gowpagegp2,t=book,
a={{Gxow},{Pxage}},y=1968,
n=5,s=GP68]
\author[]{A.~S.~F.}[A.~S.~F.]{}{Gxow}
\author[]{Denys}[D.]{}{Pxage}
\pubyear{1968}
\title{The Greek Anthology{\em , 2} The Garland of Philip}
\city{Cambridge (Engl.)}
\pubname{Cambridge UP}
\stoppublication

\setuppublicationlist[samplesize={VSdK90},totalnumber=1]

\starttext

\loggingall

\cite[gowpagegp]

\cite[gowpagegp,gowpagegp2]

\page

\placepublications[criterium=all]

\stoptext___
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
___


Re: [NTG-context] bib: authornum

2010-02-12 Thread Thomas A. Schmitz

On Feb 12, 2010, at 4:10 PM, Taco Hoekwater wrote:

> Hi,
> 
> Attached is a fairly elaborate patch and test file, please try.
> 
> If you are happy with it, it can probably go to the core
> (with a similar patch for bibl-tra.mkii). Besides the
> \cite[authornum] case, it also adds 'lastpubsep' support
> to the 'short forms', like \cite[num] and \cite[short].
> 
> Best wishes,
> Taco

Hi Taco,

first tests both with small test files and the real-world that I'm currently 
typesetting are successful: looks like your patch works! Would be wonderful if 
this could go to the core. Thanks so much!

All best

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
___


[NTG-context] interlineskip problem (mkiv)

2010-02-12 Thread Peter Rolf
Hi,

I get unwanted interline skips when using a MP based background. The
attached example works fine in mkii. In mkiv I only get the desired
result, if I don't use the MP background.

Best wishes,  Peter

\startuniqueMPgraphic{foo}
fill OverlayBox withcolor lightgray;
\stopuniqueMPgraphic

\defineoverlay[foo][\uniqueMPgraphic{foo}]

\starttext

\framed[offset=overlay,framecolor=red]\bgroup
\vbox\bgroup\normaloffinterlineskip
  
\setupframed[background=foo,offset=overlay,height=10mm,width=60mm,rulethickness=1pt]%
 no problems without mp background
  \framed{unwanted interlineskip}
  \framed{in mkiv}
  \framed{}
  \framed{}
  \framed{}
\egroup
\egroup

\stoptext
___
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
___


[NTG-context] Example markup

2010-02-12 Thread Vyatcheslav Yatskovsky

Hello,

There are examples (usually one paragraph long) in my lecture text, and 
I want them to be typeset in smaller font (\tfx). An excerpt:



The entities in question fall into two broad categories: {\em 
endogenous} (intrinsic to the SUI itself) and {\em exogenous} (belonging 
to a system's environment).


\example{All processes that take place inside Earth (and other planets) 
are considered endogenous. These processes make the continents migrate, 
push the mountains up, trigger earthquakes and volcanism, and are driven 
by the warmth that is produced in the core of Earth.}



More text...



I hesitate about how to define \example. I know about \definedescription 
and \defineenumeration, but they seem not much logically suitable to me. 
What could you advise?



Regards,
Vyatcheslav

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


Re: [NTG-context] Example markup

2010-02-12 Thread Bernhard Rosensteiner

> Hello,
> 
> There are examples (usually one paragraph long) in my lecture text, and I 
> want them to be typeset in smaller font (\tfx). An excerpt:
> 
> 
> The entities in question fall into two broad categories: {\em endogenous} 
> (intrinsic to the SUI itself) and {\em exogenous} (belonging to a system's 
> environment).
> 
> \example{All processes that take place inside Earth (and other planets) are 
> considered endogenous. These processes make the continents migrate, push the 
> mountains up, trigger earthquakes and volcanism, and are driven by the warmth 
> that is produced in the core of Earth.}
> 
> 
> More text...
> 
> 
> 
> I hesitate about how to define \example. I know about \definedescription and 
> \defineenumeration, but they seem not much logically suitable to me. What 
> could you advise?
> 
> 
> Regards,
> Vyatcheslav

Hi,

maybe you mean something like that:

\define[1]\example{\tfx#1\tfa}

\starttext

\input tufte

\example{\input tufte}

\input tufte

\stoptext


best regards
Bernhard

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


Re: [NTG-context] Example markup

2010-02-12 Thread Wolfgang Schuster

Am 12.02.10 18:59, schrieb Bernhard Rosensteiner:

maybe you mean something like that:

\define[1]\example{\tfx#1\tfa}
   

brr, when you want to define it in this way you should use grouping, e.g.

\define[1]\example{{\tfx#1}}

a better solution is

\define\example{\groupedcommand{\tfx}{}}

because you can now write

\example{...} and {\example ...}


The best way is to use \definealternativestyle, e.g.

\definealternativestyle [example] [\tfx] [\tfx]

the command takes three arguments because you can set with
the third argument a different behaviour in titles etc.


A third way is \definestartstop, e.g.

\definestartstop[example][style=\tfx]

this creates not only the command \example but also a example
environment where you get a smaller font.

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
___


Re: [NTG-context] Example markup

2010-02-12 Thread Bernhard Rosensteiner
Am 12.02.2010 um 19:15 schrieb Wolfgang Schuster:

> Am 12.02.10 18:59, schrieb Bernhard Rosensteiner:
>> maybe you mean something like that:
>> 
>> \define[1]\example{\tfx#1\tfa}
>>   
> brr, when you want to define it in this way you should use grouping, e.g.
> 
> \define[1]\example{{\tfx#1}}
> 
> a better solution is
> 
> \define\example{\groupedcommand{\tfx}{}}
> 
> because you can now write
> 
> \example{...} and {\example ...}
> 
> 
> The best way is to use \definealternativestyle, e.g.
> 
> \definealternativestyle [example] [\tfx] [\tfx]
> 
> the command takes three arguments because you can set with
> the third argument a different behaviour in titles etc.
> 
> 
> A third way is \definestartstop, e.g.
> 
> \definestartstop[example][style=\tfx]
> 
> this creates not only the command \example but also a example
> environment where you get a smaller font.

posting amateur solutions brings always the pro´s on the scene ;-)
thanks for your solutions

best regards
Bernhard
___
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
___


Re: [NTG-context] [tex-live] difference texlive 2008, 2009

2010-02-12 Thread Aditya Mahajan

On Fri, 12 Feb 2010, Lubos Kolouch wrote:


Sorry... the package installs fine, however the output is wrong again
(the text is behind/below the flag, not right to it)


Can you attach a minimal example and the log file?

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
___


[NTG-context] Undesired indent in enumerations (mk4)

2010-02-12 Thread Matthias Weber

Dear all,

when I have an enumeration with empty text (i.e. text={},),
mk4 produces undesired indenting. mk2 works ok. Here a minimal example:

\setupbodyfont  [10pt]

\defineenumeration
[exercise]
[before=\blank,
after=\blank,
way=bysection,
text={},
start=1,
location=hanging,
letter=rm]

\starttext

\section{Addition}


\startexercise
$1+1=?$
\stopexercise

\stoptext
___
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
___