ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Wondering about descriptions
@ 2000-06-19  6:43 David Arnold
  2000-06-19 21:33 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: David Arnold @ 2000-06-19  6:43 UTC (permalink / raw)


All,

I am wondering why the second paragraph of the Razor description is not
indented.

I am also wondering why the paragraph immediately following the Razor
definition is not indented, though the next one is. 

Finally, I am wondering how one colors the header text in each definition,
say blue.

%output=pdf

\showframe

\setupbodyfont[lbr,10pt]

\setupcolors
 [state=start]

\definedescription
 [definition]
 [headstyle=boldslanted,
  style=slanted,
  color=darkred,
  width=broad,
  location=serried,
  indentnext=yes]

\setupindenting[medium]

\setupwhitespace[medium]

\starttext

\startdefinition{Razor}

\dorecurse{5}{A sharp, knifelike instrument used for shaving and
grooming. }

\dorecurse{5}{A sharp, knifelike instrument used for shaving and
grooming. }

\stopdefinition

\dorecurse{5}{A sharp, knifelike instrument used for shaving and
grooming. }

\dorecurse{5}{A sharp, knifelike instrument used for shaving and
grooming. }

\definition{Stool}
\dorecurse{5}{A small bench, used for standing and reaching objects on higher
shelves. }

\definition{Day}
\dorecurse{5}{The time taken for the earth to make one complete revolution on
its axis. }

\stoptext

-
David Arnold
College of the Redwoods
Mathematics Department
7351 Tompkins Hill Road
Eureka, CA 95501
(707) 476-4222

My Home Page
http://online.redwoods.cc.ca.us/instruct/darnold/index.htm

Ordinary Differential Equations Using Matlab
http://www.prenhall.com/books/esm_0130113816.html


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

* Re: Wondering about descriptions
  2000-06-19  6:43 Wondering about descriptions David Arnold
@ 2000-06-19 21:33 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-06-19 21:33 UTC (permalink / raw)
  Cc: ntg-context

At 11:43 PM 6/18/00 -0700, David Arnold wrote:

>I am wondering why the second paragraph of the Razor description is not
>indented.

Because all settings are reset. Should be an option. I'll look into it later. 

>I am also wondering why the paragraph immediately following the Razor
>definition is not indented, though the next one is. 

I admit that indentnext is behaving not well here. I'll add 'yes|no|keep'
keywords. 

>Finally, I am wondering how one colors the header text in each definition,
>say blue.

Hm. No blue here, just red. 

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.nl
-------------------------------------------------------------------------


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

end of thread, other threads:[~2000-06-19 21:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-19  6:43 Wondering about descriptions David Arnold
2000-06-19 21:33 ` 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).