ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Kip Warner <kip@thevertigo.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \definedescription usage
Date: Tue, 06 Mar 2012 15:21:50 -0800	[thread overview]
Message-ID: <1331076110.17924.7.camel@kip-laptop> (raw)
In-Reply-To: <74843161-08D1-4A22-865B-1FF7C31FB68C@googlemail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1511 bytes --]

On Tue, 2012-03-06 at 08:35 +0100, Wolfgang Schuster wrote:
> Am 06.03.2012 um 03:05 schrieb Kip Warner:
> 
> > Hey list,
> > 
> > I'd like the contents of my \startdefinition \stopdefinition pairs to
> > have their title above them on a line of their own, but am having
> > problems with the usage:
> > 
> > \definedescription[definition]
> >  [location=top,
> 
> alternative=top,
> 
> >   hang=20,
> >   headcolor=colour_head,
> >   headstyle=boldslanted,
> >   command=\hskip-1cm,
> >   margin=1cm]

As soon as I added that variable and assignment, it crapped out:

! Undefined control sequence.
\143>top:width ->\localhize 
                            
\assignwidth ...dth \ifcsname \??dimensionwidth #1
                                                  \endcsname #1\else \s!
unkn...
\139>notation ...onalternativeparameter \c!width }

\constructionsheadwidth {...
\handlenoteitself ...c_constructions_stored_start 
                                                  \begstrut
\strc_notes_set_...
\handlenoteinsert ... {\handlenoteitself {#1}{#2}}
                                                  \egroup \the
\everyafterno...
\142>notation:note ...rentnote \currentnotenumber 
                                                  \fi \fi \endgroup \fi
\fi ...
...
l.23 ...f.org/external/np/pp/eng/2010/041310.pdf}}

It compiles fine if I remove it though.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 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
___________________________________________________________________________________

  reply	other threads:[~2012-03-06 23:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06  2:05 Kip Warner
2012-03-06  7:35 ` Wolfgang Schuster
2012-03-06 23:21   ` Kip Warner [this message]
2012-03-06 23:39     ` Marco
     [not found]     ` <20120307004005.577bbcf3@homerow>
2012-03-07  0:13       ` Kip Warner

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=1331076110.17924.7.camel@kip-laptop \
    --to=kip@thevertigo.com \
    --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).