From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: description questions
Date: Mon, 20 Feb 2017 12:15:29 -0500 (EST) [thread overview]
Message-ID: <alpine.LNX.2.20.1702201210400.28077@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <freemail.20170220153039.45871.1@fmxmldata00.freemail.hu>
> I am experimenting with descriptions and I couldn't find in the documentation
> the following:
>
> 1. What is the default value of width option? It seems that default width uses the
> longest head + some distance for every head in a descriptions list. Neither
> width=fit nor width=broad,distance=dimension results in the same.
Some information is given here: http://www.ntg.nl/maps/36/09.pdf
Enumerations and descriptions share a lot of settings.
> 2. In the same document how can I reset to the default options of a defined
> description list? For example:
>
> \definedescription[defa]
>
> \defa{head} .... % deafult options are used
>
> \setupdescription[defa][width=broad,distance=1cm]
> \defa{head} .... % above options are used
>
> But still the previously set options are used, they haven't been reset.
There is no way to reset options in ConTeXt. The canonical way to do this
is:
\definedescription[defa]
\definedescription[defb][defa][width=broad, distance=1cm]
\startdefa ... \stopdefa
\startdefb ... \stopdefb
(Untested): This should also work:
\startdefa[width=broad, distance=1cm] ... \stopdefa
Aditya
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2017-02-20 17:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-20 14:30 Csikos Bela
2017-02-20 17:15 ` Aditya Mahajan [this message]
2017-02-21 10:58 ` Csikos Bela
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=alpine.LNX.2.20.1702201210400.28077@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--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).