ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: John Kitzmiller <jkitzm@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: enumerate fillinline
Date: Tue, 21 Feb 2012 18:54:38 -0500	[thread overview]
Message-ID: <CAHYz2AW-tn3nuXRFS0cf8JK5fjvF1AHPknPzj7FvQaQ0aOGc0A@mail.gmail.com> (raw)

> From: Marco <netuse@lavabit.com>
> To: ntg-context@ntg.nl
> Cc:
> Date: Tue, 21 Feb 2012 17:19:42 +0100
> Subject: Re: [NTG-context] enumerate fillinlne
> On 2012-02-21 John Kitzmiller <jkitzm@gmail.com> wrote:
>
>> Any hints on enumerating fillinlines? Below describes the request (I
>> hope this fomats okay on forum) the answer lines align with the top
>> line of the question and are in a margin column:
>
> I am misusing the “right” key to inject a custom command. I'm sure
> there's a cleaner solution for that, but it can serve as a starting
> point.
>
> \definemargindata [mymarginrule] [location=right, width=3cm]
> \define\myrules
>        {\mymarginrule{\getnumber[itemgroup:itemize]. \thinrules[n=1]}}
>
> \setupitemgroup [itemize] [n]
> \setupitemgroup [itemize] [right=\myrules]
>
> \starttext
>        \startitemize
>                \startitem \input knuth \stopitem
>                \startitem \input ward  \stopitem
>        \stopitemize
> \stoptext
>
> Marco

Thanks Marco, it is a start and would have taken me a long time to get
there, however, the rule number is not inside the margin (the
location=right I think doesn't quite do it) and the rule number is
bold? I will pursue the direction you set me.  --John
___________________________________________________________________________________
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-02-21 23:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-21 23:54 John Kitzmiller [this message]
2012-02-22  0:40 ` Marco

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=CAHYz2AW-tn3nuXRFS0cf8JK5fjvF1AHPknPzj7FvQaQ0aOGc0A@mail.gmail.com \
    --to=jkitzm@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).