ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Cc: Jacob Prystowsky <jmprystowsky@cox.net>
Subject: Re: Stopper not working
Date: Fri, 7 Jul 2006 01:52:41 -0400 (EDT)	[thread overview]
Message-ID: <Pine.WNT.4.63.0607070149510.3212@nqvgln> (raw)
In-Reply-To: <26ADD647-F443-4C7B-82C1-F4DDA4D1BD0C@cox.net>

On Thu, 6 Jul 2006, David Arnold wrote:

> Hans et all,
>
> I don't get my period after item numbers with this file:

This is because the code for placing stopper is commented in 
core-des.tex. Why?

Add this to your document

\unprotect
\def\domakednnumber
   {\descriptionparameter\c!left
    \strut\doshowdnnumber
    \descriptionparameter\c!stopper
    \descriptionparameter\c!right}

\protect

This may break something else and the line with stopper is commented 
in the code. Another option is to use right=. instead of stopper=.

Aditya

> \setupoutput[pdf]
>
> \setuplabeltext[question=]
>
> \defineenumeration
> 	[question]
> 	[location=inleft,
> 	text=\labeltext{question},
> 	headcolor=green]
>
> \setupenumerations
> 	[question]
> 	[location=inleft,
> 	headcolor=green,
> 	stopper=.,
> 	way=bysection,
> 	sectionnumber=no]
>
>
> \starttext
> \startquestion
> Foo
> \stopquestion
> \startquestion
> Bar
> \stopquestion
> \startquestion
> Baz
> \stopquestion
> \stoptext

  reply	other threads:[~2006-07-07  5:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-07  5:44 David Arnold
2006-07-07  5:52 ` Aditya Mahajan [this message]
2006-07-10 18:49   ` Hans Hagen
2006-07-10 19:11     ` David Arnold
2006-07-11  6:18     ` Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.WNT.4.63.0607070149510.3212@nqvgln \
    --to=adityam@umich.edu \
    --cc=jmprystowsky@cox.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).