ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: James Ramsey <jjramsey_6x9eq42@yahoo.com>
Subject: Re: Clean way of doing certain kind of outline?
Date: Thu, 8 Mar 2001 17:47:39 -0800 (PST)	[thread overview]
Message-ID: <20010309014739.13868.qmail@web10712.mail.yahoo.com> (raw)
In-Reply-To: <3.0.6.32.20010308180144.00b358a0@server-1>

--- Hans Hagen <pragma@wxs.nl> wrote:
> At 08:23 AM 3/8/01 -0800, you wrote:
> >
> >--- Hans Hagen <pragma@wxs.nl> wrote:
>
>\defineenumeration[LikeThis][location=left,before=,after=,text=]
> 
> \setupenumerations[LikeThis]      [width=2em]
> \setupenumerations[subLikeThis]  
> [width=3em,margin=2em]
>
\setupenumerations[subsubLikeThis][width=4em,margin=5em]
> 
> \startbuffer
> \startLikeThis some text \stopLikeThis
> \startsubLikeThis some more text \stopsubLikeThis
> \startsubLikeThis some more text \stopsubLikeThis
> \startsubLikeThis some more text \stopsubLikeThis
> \startsubsubLikeThis some more text \stopsubLikeThis
> \startsubsubLikeThis some more text \stopsubLikeThis
> \startsubsubLikeThis some more text \stopsubLikeThis
> \startsubLikeThis some more text \stopsubLikeThis
> \startsubLikeThis some more text \stopsubLikeThis
> \startsubLikeThis some more text \stopsubLikeThis
> \stopbuffer
> 
> \dorecurse{3}{\getbuffer}

The above worked rather well. About the only thing
missing is the ".0" after the first level outline
entry. I tried the following:

\setupenumerations[LikeThis]
[width=2em,stopper=.0]
\setupenumerations[subLikeThis]
[width=3em,margin=2em,stopper=]
\setupenumerations[subsubLikeThis]
[width=4em,margin=5em,stopper=]

but the stopper ended up being ".0" after all the
numbers. The "stopper=" line entry for subLikeThis and
subsubLikeThis was apparently ignored. (Actually, I
have the same problem with "headstyle")

=====

----I am a fool for Christ. Mostly I am a fool.----

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/


  reply	other threads:[~2001-03-09  1:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20010306222412.6125.qmail@web10710.mail.yahoo.com>
2001-03-07  6:10 ` Berend de Boer
2001-03-07  8:10   ` Hans Hagen
2001-03-07 18:37     ` James Ramsey
2001-03-08  7:58       ` Hans Hagen
2001-03-08 16:23         ` James Ramsey
2001-03-08 17:01           ` Hans Hagen
2001-03-09  1:47             ` James Ramsey [this message]
2001-03-09  8:00               ` Hans Hagen
2001-03-06  2:02 James Ramsey

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=20010309014739.13868.qmail@web10712.mail.yahoo.com \
    --to=jjramsey_6x9eq42@yahoo.com \
    /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).