From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43839 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Mkiv Colour issue and more Date: Wed, 10 Sep 2008 10:00:49 +0200 Message-ID: <48C77EB1.1070600@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221033793 5726 80.91.229.12 (10 Sep 2008 08:03:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2008 08:03:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 10 10:04:04 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 1KdKfr-0007AU-Tf for gctc-ntg-context-518@m.gmane.org; Wed, 10 Sep 2008 10:03:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 86DEF1FE8D; Wed, 10 Sep 2008 10:02:28 +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 08303-03-14; Wed, 10 Sep 2008 10:01:32 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 25A231FE6A; Wed, 10 Sep 2008 10:01:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1415A1FCCE for ; Wed, 10 Sep 2008 10:01:27 +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 08303-03-13 for ; Wed, 10 Sep 2008 10:00:51 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id 4AFFB1FE6A for ; Wed, 10 Sep 2008 10:00:51 +0200 (CEST) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 18023-1840426 for ; Wed, 10 Sep 2008 10:00:51 +0200 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 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:43839 Archived-At: Mohamed Bana wrote: >> luatex --version > This is LuaTeX, Version snapshot-0.29.0-2008072009 > >> texexec --version > TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD > > The file source; http://pastebin.com/f4923f52c. > >> \placecontent[criterium=chapter, >> level=section, >> color=headingcolour, >> interaction=all, >> alternative=c, >> aligntitle=yes, >> before={\startnarrower[0*left,8*right]}, >> after={\stopnarrower}, >> margin=2em] >> \blank[2*big] > > 1. The first line "1.1 section1 . . . . . . . . . . . . . . . . . . . . . . . > .. . . . 1" is red! This is only the case with mkiv. > > mkii; http://filebin.ca/vfqedy/test.pdf or http://filebin.ca/vfqedy > mkiv; http://filebin.ca/xmupe/test.pdf or http://filebin.ca/xmupe i'll have a look at it ... there is some leader bug in luatex itself that might to be solved first > 2. Is it possible to have the \blank[2*big] generated by the placecontent > command? The default space generated after chapter seems fine, but I'd really > like to have a listing of the sections after the chapter. \startsetups chapter:after \blank[2*big] \placecontent % or \placelist[section][....] [criterium=chapter, level=section, color=headingcolour, interaction=all, alternative=c, aligntitle=yes, before={\startnarrower[0*left,8*right]}, after={\stopnarrower}, margin=2em] \blank[2*big] \stopsetups \setuphead[chapter][after=\setups{chapter:after}] > 3. Am I missing something? I'd like the same effect or better without the > explicit call to \startnarrower or \stopnarrower no problem with startnarrower but you might want to use the nicer looking \startsetups chapter:after \blank[2*big] \startnarrower[0*left,8*right] \placecontent [criterium=chapter, level=section, color=headingcolour, interaction=all, alternative=c, aligntitle=yes, before=, after=, margin=2em] \stopnarrower \blank[2*big] \stopsetups >> \definecolor[ucolour] [c=0,m=0.83,y=1,k=0.7] >> \definecolor[urlcolour] [c=0,m=0.51,y=1,k=0] >> ... >> ... >> \setupinteraction[ >> state=start, >> color=ucolour, >> option=bookmark] > > 4. Doesn't work, but strangely enough "color=urlcolour" does. If I do use > "ucolour", the links are shown in black; http://filebin.ca/dnoqva/test.pdf or > http://filebin.ca/dnoqva hm, i dunno, both work ok here > 5. > \useURL[key][http://wiki.contextgarden.net/][][http://wiki.contextgarden.net/] > fails, but \useURL[key][http://httpd.apache.org/download.cgi] works. The > former fails with; http://pastebin.com/f3cc75b10. > > I'm actually quiet baffled by this. Also now the dots are green; > http://filebin.ca/cezdzr/test.pdf, http://filebin.ca/cezdzr or > http://www.4shared.com/file/62409267/2d29710c/test.html. how does that code look? (not in the sample file) > 6. Why aren't the paragraphs that have a picture to the right or left indented > on the first line? Compare the paragraphs on page1-section1 with those on > page2-section3. feature -) > 7. Why aren't the the urls broken across lines, page2-3. I'm pretty sure the > hyperref package in latex supported this. no example; breaking urls is supported > 8. What must I do to the 3rd paragraph on the first page to get it to space > properly? It's far too close to the previous one. ? > 9. the d in "praised" protrudes to the margin, how do I stop this. I should > point out that this happens often. depends ... || should handle it > 10. And the last question :). Is it possible to get a table of contents > similar to that on page 36 of 'the elements of typographic style'? I.e., > > chapter-namex - page x > chapter-namey - page y > chapter-namez - page z > > and it's centered aligned according to the -. hook in a command that does it Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________