ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bill Meahan <wmeahan94@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Example only works in mkii
Date: Thu, 26 Apr 2012 12:36:24 -0400	[thread overview]
Message-ID: <4F997988.6010603@gmail.com> (raw)
In-Reply-To: <310381D5-4BB6-4D20-8BD7-F4B9024A4A30@googlemail.com>


On 04/26/2012 11:11, Wolfgang Schuster wrote:
> Am 25.04.2012 um 23:20 schrieb Bill Meahan:
>
>> Hi, folks.
>>
>> I've tried running the example from the "descriptions" article on the wiki and it works fine if I use MkII via "texexec" but fails miserably if I use MlIV via "context."  Outside of changing "location" to "alternative" in the \definedescription command parameters, what else do I need to change to make the example run with MkIV?
> Which example doesn’t work?
>
> Wolfgang

This one:

\setupdescriptions[descr][
   headstyle=bold,style=normal,align=left,alternative=hanging,
   width=fit,margin=1cm]

\definedescription[descr][
   headstyle=bold]

\starttext
\startdescr{Para}
   This is a shorter item label, and some text that talks about it.
   The text is wrapped into a paragraph, with successive lines indented.

   This is another paragraph under the "Para" item.
   \startdescr{Sub Item}
     This is a description of an item which is within the
     "Para" item.
   \stopdescr
   \startdescr{Sub Item}
     Another Sub Item
   \stopdescr
\stopdescr
\startdescr{Short with long title}
   A short item that's not part of that really long "Para" item.
\stopdescr

\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
___________________________________________________________________________________


  reply	other threads:[~2012-04-26 16:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-25 21:20 Bill Meahan
2012-04-26 15:11 ` Wolfgang Schuster
2012-04-26 16:36   ` Bill Meahan [this message]
2012-04-26 17:10     ` Wolfgang Schuster
2012-04-26 17:38       ` Bill Meahan
2012-04-26 18:50         ` Henning Hraban Ramm

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=4F997988.6010603@gmail.com \
    --to=wmeahan94@gmail.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).