From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31696 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?q?=C1ngel_Luis_Garc=EDa_Fern=E1ndez?= Newsgroups: gmane.comp.tex.context Subject: Re: Page number alignment in \placecontent Date: Wed, 1 Nov 2006 10:45:57 +0100 Organization: Universidad de =?iso-8859-15?q?Ja=E9n?= Message-ID: <200611011045.57177.algarcia@ujaen.es> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1162513415 6219 80.91.229.2 (3 Nov 2006 00:23:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Nov 2006 00:23:35 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 03 01:23:30 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1GfmqI-00041g-JH for gctc-ntg-context-518@m.gmane.org; Fri, 03 Nov 2006 01:23:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E5C91FF44; Fri, 3 Nov 2006 01:23:29 +0100 (CET) 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 02625-02; Fri, 3 Nov 2006 01:23:26 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 52FA91FF3F; Fri, 3 Nov 2006 01:23:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 02AD21FF40 for ; Fri, 3 Nov 2006 01:23:24 +0100 (CET) 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 02854-01 for ; Fri, 3 Nov 2006 01:23:20 +0100 (CET) Original-Received: from siles.ujaen.es (siles.ujaen.es [150.214.170.33]) by ronja.ntg.nl (Postfix) with SMTP id 57CE91FF1F for ; Fri, 3 Nov 2006 01:23:10 +0100 (CET) Original-Received: from siles.ujaen.es (localhost.localdomain [127.0.0.1]) by localhost.ujaen.es (ESMTP/RIUJA6.0) with ESMTP id C030211B938 for ; Thu, 2 Nov 2006 09:25:20 +0100 (CET) Original-Received: from p178-024.ujaen.es (p178-024.ujaen.es [150.214.178.24]) by siles.ujaen.es (ESMTP/RIUJA6.0) with ESMTP id AEC8211B92F for ; Thu, 2 Nov 2006 09:25:20 +0100 (CET) Original-To: ntg-context@ntg.nl User-Agent: KMail/1.8 In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:31696 Archived-At: Hi again, you were right, Maarten-Jan. The problem was the following: \setupindenting[medium] I like the first line of each paragraph to be indented, so I put the above = command in my "general config" file. The undesired effect is that it also = indented the index lines, shifting them to the right. That's the reason why = the page numbers appeared in the right margin (is this a bug? I mean, shoul= d = ConTeXt break the index line instead of put the number in the margin?). Now I have moved the \setupindenting command to the body section of my = document, and the \setuplist options you wrote in the previous e-mail work = ok = (I forgot the "criterium=3Dall" in the \setupcombinedlist command). Thanks for your help, =C1ngel Luis > From: "M.J. Kallen" > Subject: Re: [NTG-context] ntg-context Digest, Vol 28, Issue 76 > Angel-Luis, > > I'm not sure why you do not get a table of contents, maybe try to add > criterium=3Dall to the \setupcombinedlist command and see if that works? > Also, you have used \placecontent, which you can use instead of > \completecontent. > > I've tried your settings using the live ConTeXt on the wiki and it works > without the page numbers in the margin. Looking at your sample file, the > lines with the sections are somehow shifted to the right. It is not > possible to see why this is happening. Are you shure you have not added > something somewhere to change the appearance of the list? > > Maarten-Jan > > ----- Original Message ---- > From: ?ngel Luis Garc?a Fern?ndez > To: ntg-context@ntg.nl > Sent: Monday, October 30, 2006 10:16:24 AM > > > I tried that, but then nothing appears (empty index) > > Angel-Luis > > > Hi Angel-Luis, > > > > looks like you want a LaTeX-like table of contents. I achieved what I > > think you want to achieve as well, using the following commands: > > > > % setup table of contents > > \setupcombinedlist[content][alternative=3Dc,level=3Dsection] > > > > % margins, widths and distances are setup such that section lines line = up > > with chapter text (change to your liking!) > > \setuplist[chapter][margin=3D0mm,width=3D6mm,distance=3D2mm,style=3Dbol= d,aligntit > >le =3Dyes,before=3D\blank] > > \setuplist[section][margin=3D8mm,width=3D6mm,distance=3D2mm] > > > > % place the following in the relevant location > > \completecontent > > > > Hope this ends up looking like you want it to! > > > > Maarten-Jan > > > > ----- Original Message ---- > > From: ?ngel Luis Garc?a Fern?ndez > > To: ntg-context@ntg.nl > > Sent: Friday, October 27, 2006 10:16:21 PM > > Subject: [NTG-context] Page number alignment in \placecontent > > > > > > Hi all, > > > > sorry for bothering you with this, but I have a problem: I like this > > style for my Index: > > > > \setuplist[chapter][style=3Dbold] > > > > \placecontent[level=3Dsection, > > alternative=3Dc, > > criterium=3Dall, > > aligntitle=3Dyes] > > > > But then the section page numbers are placed in the right margin of the > > page instead of in the text area as the chapter page numbers are. (if y= ou > > want a sample: http://wwwdi.ujaen.es/~algarcia/page.pdf . It's just 16 > > KB) > > > > How can I manage to keep all the index structure while moving the secti= on > > page numbers to the left? > > > > ?ngel-Luis > > _______________________________________________ > > ntg-context mailing list > > ntg-context@ntg.nl > > http://www.ntg.nl/mailman/listinfo/ntg-context > > > > > > > > > > ------------------------------ > > > > _______________________________________________ > > ntg-context mailing list > > ntg-context@ntg.nl > > http://www.ntg.nl/mailman/listinfo/ntg-context