ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* On tikz
@ 2007-02-21 20:44 Idris Samawi Hamid
  2007-02-21 20:49 ` Thomas A. Schmitz
  2007-02-21 21:49 ` On tikz Willi Egger
  0 siblings, 2 replies; 24+ messages in thread
From: Idris Samawi Hamid @ 2007-02-21 20:44 UTC (permalink / raw)
  To: ntg-context

A note to the gang:

Although the manual indicates otherwise the tikz module apparently needs  
the keyval package to work:

http://www.ctan.org/tex-archive/macros/latex/contrib/xkeyval/

and the directory structure of the zip needs to be changed so that it's  
easier to install (just dumping into /texmf-local and running mktexlsr  
does not work). Maybe someone on the wiki can make ConTeXt packages?

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: list-like environments
  2000-08-08 20:14 ` siepo
@ 2000-08-09 11:13 Hans Hagen
  2000-08-08 20:14 ` siepo
  0 siblings, 1 reply; 24+ messages in thread
From: Hans Hagen @ 2000-08-09 11:13 UTC (permalink / raw)
  Cc: ntg-context

At 10:14 PM 8/8/00 +0200, siepo@client44-3.kabelA.oprit.rug.nl wrote:
>What is the Context analogue for the LaTeX \newenvironment? And is

There is \definestartstop; for usage see the exampe i made for wybo. 

\setuplayout[width=100mm]

\let\normalbegin\begin     

\let\complexbegin\normalbegin          

\def\simplebegin#1%
  {\getvalue{start#1}\bgroup
   \def\end##1{\egroup\getvalue{stop##1}}}

\definecomplexorsimple \begin           

\definedescription
  [description]
  [location=hanging, 
   margin=standard,
   headstyle=bold]

\definestartstop
  [descriptions]
  [before=\blank\startpacked,
   after=\stoppacked\blank,
   commands=\let\item\description]  

\starttext 

\dorecurse{10}{This one is for Wybo. }

\startdescriptions

\description {aap:} is a monkey, but much more can be told
about this animal;s for example they are hairy, mostly
brown or black and they resemble people a lot. 

\item {noot:} is a vegetable; again there are many kinds
and you will get very fat if you eat lots of them. 

\startdescription {this is a rather long item:} 

it is not very interesting in itself, but gives me the
opportunity to tell you something about the description
environment: it is like an itemize, but with user-supplied
labels which are printed bold. 

\stopdescription

\stopdescriptions

\dorecurse{10}{This one is for Wybo. }

\begin{descriptions}

\item {aap:} is a monkey, but much more can be told
about this animal;s for example they are hairy, mostly
brown or black and they resemble people a lot. 

\item {noot:} is a vegetable; again there are many kinds
and you will get very fat if you eat lots of them. 

\item {this is a rather long item:} it is not very
interesting in itself, but gives me the opportunity to tell
you something about the description environment: it is like
an itemize, but with user-supplied labels which are printed
bold. 

\end{descriptions}

\dorecurse{10}{This one is for Wybo. }

\stoptext 

>there something like defineitemize[name][parameters]?

Not yet, but it's on my to do list, since I sometimes need it too. 

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


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

end of thread, other threads:[~2007-02-23  8:34 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-21 20:44 On tikz Idris Samawi Hamid
2007-02-21 20:49 ` Thomas A. Schmitz
2007-02-21 21:04   ` Idris Samawi Hamid
2007-02-21 21:16     ` Thomas A. Schmitz
2007-02-22 16:40       ` tex live and context Idris Samawi Hamid
2007-02-22 16:57         ` Thomas A. Schmitz
2007-02-22 17:17           ` luigi scarso
2007-02-22 18:09             ` Thomas A. Schmitz
2007-02-22 18:32               ` luigi scarso
2007-02-23  8:31             ` Hans Hagen
2007-02-23  8:32             ` Hans Hagen
2007-02-22 17:22           ` Idris Samawi Hamid
2007-02-22 20:38             ` Peter Münster
2007-02-22 21:01               ` Sanjoy Mahajan
2007-02-23  7:02                 ` Peter Münster
2007-02-23  8:34             ` Hans Hagen
2007-02-23  8:29           ` Hans Hagen
2007-02-21 21:06   ` PS Idris Samawi Hamid
2007-02-21 21:21     ` PS Idris Samawi Hamid
2007-02-21 21:49 ` On tikz Willi Egger
2007-02-21 22:01   ` Idris Samawi Hamid
2007-02-21 23:07     ` Aditya Mahajan
2007-02-22  8:59       ` luigi scarso
  -- strict thread matches above, loose matches on Subject: below --
2000-08-09 11:13 list-like environments Hans Hagen
2000-08-08 20:14 ` siepo
2000-08-09 22:11   ` Hans Hagen
2000-08-10 18:49     ` PS Frans Goddijn

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