From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43009 Path: news.gmane.org!not-for-mail From: "Alan Stone" Newsgroups: gmane.comp.tex.context Subject: Re: goto(box) and setuplist questions Date: Wed, 6 Aug 2008 18:07:55 +0200 Message-ID: <326847810808060907y6e824a40s94006921c4abbc9b@mail.gmail.com> References: <326847810808040406wbd51741y48a9653abceec8d0@mail.gmail.com> <115224fb0808050129k5e32128nbc109f3832ee01a7@mail.gmail.com> <326847810808050407g79f25ac9v92a0cf0f442628c6@mail.gmail.com> <115224fb0808050416p1c7aba76ge84c453366370f15@mail.gmail.com> <326847810808060012s26711cd4xeaeda9d19f57f028@mail.gmail.com> <115224fb0808060145q728bcde5od601ca08c316047d@mail.gmail.com> <326847810808060316h640a76c4ra7c60489fa63c7a3@mail.gmail.com> <115224fb0808060626l8112c83o6dfc946d2423e48e@mail.gmail.com> <326847810808060715ibda42d9i82c32362a121119a@mail.gmail.com> <115224fb0808060759l55c5ec59n321e26f9ca2e6065@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0804737572==" X-Trace: ger.gmane.org 1218038957 15837 80.91.229.12 (6 Aug 2008 16:09:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Aug 2008 16:09:17 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 06 18:10:07 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KQlaM-0007HL-Oy for gctc-ntg-context-518@m.gmane.org; Wed, 06 Aug 2008 18:10:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E5E341FC01; Wed, 6 Aug 2008 18:09:03 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10552-03; Wed, 6 Aug 2008 18:08:32 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 547D21FC16; Wed, 6 Aug 2008 18:08:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 64FD11FC01 for ; Wed, 6 Aug 2008 18:08:30 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08446-03 for ; Wed, 6 Aug 2008 18:07:56 +0200 (CEST) Original-Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.183]) by ronja.ntg.nl (Postfix) with ESMTP id 4052B1FC06 for ; Wed, 6 Aug 2008 18:07:56 +0200 (CEST) Original-Received: by ik-out-1112.google.com with SMTP id c21so3572812ika.2 for ; Wed, 06 Aug 2008 09:07:55 -0700 (PDT) Original-Received: by 10.210.19.4 with SMTP id 4mr2776025ebs.58.1218038875840; Wed, 06 Aug 2008 09:07:55 -0700 (PDT) Original-Received: by 10.210.136.3 with HTTP; Wed, 6 Aug 2008 09:07:55 -0700 (PDT) In-Reply-To: <115224fb0808060759l55c5ec59n321e26f9ca2e6065@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:43009 Archived-At: --===============0804737572== Content-Type: multipart/alternative; boundary="----=_Part_5053_12967584.1218038875822" ------=_Part_5053_12967584.1218038875822 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wed, Aug 6, 2008 at 4:59 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > \starttext > > \framed{text} > > \thinrule > > \setuplinewidth[small] > > \framed{text} > > \thinrule > > \setuplinewidth[1cm] > > \framed{text} > > \thinrule > > \stoptext I don't see the output difference between \framed{text} \thinrule \setuplinewidth[small] \framed{text} \thinrule \setuplinewidth[big] \framed{text} while \setuplinewidth[1cm] \framed{text} is "fascinating". You could try > > > style={\switchtobodyfont[small]\hsize.8\hsize\relax\setupinterlinespace[line=2.4ex]}, > > or > > > style={\switchtobodyfont[small]\hsize150pt\relax\setupinterlinespace[line=2.4ex]}, These work, however not entirely to my satisfaction because then the right margin setting is modified due to text/head and pagenumber being grouped ( re: drawing, manual pg 150 ). > The better way is to define you own list alternative. > > \define[3]\ChapterList > {\hbox > {\hbox to .5em{#1}\hskip.5em > \vtop{\hsize150pt\relax#2}% > \hfil#3}} > > \setuplist[chapter][alternative=command,command=\ChapterList] I'll try that... Alan ------=_Part_5053_12967584.1218038875822 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
On Wed, Aug 6, 2008 at 4:59 PM, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
\starttext

\framed{text}

\thinrule

\setuplinewidth[small]

\framed{text}

\thinrule

\setuplinewidth[1cm]

\framed{text}

\thinrule

\stoptext

I don't see the output difference between

\framed{text}

\thinrule

\setuplinewidth[small]
\framed{text}

\thinrule

\setuplinewidth[big]
\framed{text}

while

\setuplinewidth[1cm]
\framed{text}

is "fascinating".

You could try

style={\switchtobodyfont[small]\hsize.8\hsize\relax\setupinterlinespace[line=2.4ex]},

or

style={\switchtobodyfont[small]\hsize150pt\relax\setupinterlinespace[line=2.4ex]},

These work, however not entirely to my satisfaction because then the right margin setting is modified due to text/head and pagenumber being grouped ( re: drawing, manual pg 150 ).
 
The better way is to define you own list alternative.

\define[3]\ChapterList
 {\hbox
    {\hbox to .5em{#1}\hskip.5em
     \vtop{\hsize150pt\relax#2}%
     \hfil#3}}

\setuplist[chapter][alternative=command,command=\ChapterList]

I'll try that...

Alan
------=_Part_5053_12967584.1218038875822-- --===============0804737572== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0804737572==--