ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Steffen Wolfrum <context@st.estfiles.de>
Subject: Re: setuphead, setuplist
Date: Mon, 31 Jul 2006 07:31:45 +0200	[thread overview]
Message-ID: <9DCA52BB-A985-4276-BB7D-091FBDA47E31@st.estfiles.de> (raw)
In-Reply-To: <Pine.WNT.4.63.0607301841450.1044@nqvgln>

That's it.

Now the corresponding entry in the TOC should be without sectionnumber,
but

setuplist[...][sectionnumber=no]

doesn't work.
And looking in the manual I saw that this command is listed for  
setuplist, but listed italic?!

Steffen



Am 31.07.2006 um 00:51 schrieb Aditya Mahajan:

> On Mon, 31 Jul 2006, Hans Hagen wrote:
>
>> Steffen Wolfrum wrote:
>>> Well, looks good, BUT
>>> if the chapter's name is quite long and needs a break
>>> then the break command used there (\crlf \break \\) can't work
>>> anymore ....
>>>
>>
>> \setuphead[chapter]
>>    [command=\Sectioncommand,
>>     style=,
>>     textstyle=\bfb,
>>     numberstyle=\it]
>>
>> \def\Sectioncommand#1#2%
>>  {\vbox \bgroup
>>     \framed[align=middle,frame=off,offset=0pt]{Chapter #1}%
>>     \framed[align=middle,frame=off,offset=0pt]{#2}%
>>   \egroup}
>>
>> or something alike
>
> You also need to specify width of the frame, otherwise width=fit is
> default and framed box does not appear to be middle aligned.
>
> Aditya
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

  reply	other threads:[~2006-07-31  5:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-27  8:59 setuphead Steffen Wolfrum
2006-07-27 13:25 ` setuphead Taco Hoekwater
2006-07-28 20:08   ` setuphead Steffen Wolfrum
2006-07-29  7:11     ` setuphead Taco Hoekwater
2006-07-30 20:17       ` setuphead Steffen Wolfrum
2006-07-30 22:02         ` setuphead Aditya Mahajan
2006-07-30 22:31         ` setuphead Hans Hagen
2006-07-30 22:51           ` setuphead Aditya Mahajan
2006-07-31  5:31             ` Steffen Wolfrum [this message]
2006-07-31 11:46               ` setuphead, setuplist Steffen Wolfrum
2006-07-31 15:12               ` Hans Hagen
2006-07-27 15:23 ` setuphead Hans Hagen
2006-07-28 20:09   ` setuphead Steffen Wolfrum

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=9DCA52BB-A985-4276-BB7D-091FBDA47E31@st.estfiles.de \
    --to=context@st.estfiles.de \
    --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).