From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51469 Path: news.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Re: Hod do I get the page number in the left margin (not in the footer)? Date: Fri, 26 Jun 2009 10:47:33 +0200 Message-ID: <58FDC3F7-9C9A-4F7F-B58A-EE8D0E926E0D@rna.nl> References: <1DD5CFD5-56B7-4055-807A-56B42E834A4A@rna.nl> <0121BEC5-3874-4B87-B56F-20342610A598@rna.nl> <93D323AB-7050-46A4-A2D0-DC0E7F84E997@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1246006157 8206 80.91.229.12 (26 Jun 2009 08:49:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Jun 2009 08:49:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 26 10:49:10 2009 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 1MK76u-0007vv-Hk for gctc-ntg-context-518@m.gmane.org; Fri, 26 Jun 2009 10:48:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D20261FB8E; Fri, 26 Jun 2009 10:48:36 +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 17317-02; Fri, 26 Jun 2009 10:47:55 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EED861FB30; Fri, 26 Jun 2009 10:47:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9796D1FB30 for ; Fri, 26 Jun 2009 10:47:53 +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 15873-04-2 for ; Fri, 26 Jun 2009 10:47:44 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by ronja.ntg.nl (Postfix) with ESMTP id 944181FB29 for ; Fri, 26 Jun 2009 10:47:44 +0200 (CEST) Original-Received: from smtp-4.concepts.nl (smtp-4.concepts.nl [213.197.30.111]) by filter2-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n5Q8lhbs027459 for ; Fri, 26 Jun 2009 10:47:43 +0200 Original-Received: from d594e7d0.dsl.concepts.nl ([213.148.231.208] helo=certified.rna.nl) by smtp-4.concepts.nl with esmtp (Exim 4.69) (envelope-from ) id 1MK75u-0007Px-C3 for ntg-context@ntg.nl; Fri, 26 Jun 2009 10:47:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by certified.rna.nl (Postfix) with ESMTP id EAA18276356E for ; Fri, 26 Jun 2009 10:47:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at rna.nl Original-Received: from certified.rna.nl ([127.0.0.1]) by localhost (vanroodewierda.rna.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AoRe0rF7adhy for ; Fri, 26 Jun 2009 10:47:33 +0200 (CEST) Original-Received: from luna.rna.nl (luna.rna.nl [192.168.2.88]) by certified.rna.nl (Postfix) with ESMTP id 52AE5276355F for ; Fri, 26 Jun 2009 10:47:33 +0200 (CEST) In-Reply-To: <93D323AB-7050-46A4-A2D0-DC0E7F84E997@gmail.com> X-Mailer: Apple Mail (2.935.3) X-Concepts-MailScanner-Information: Please contact abuse@concepts.nl for more information X-Concepts-MailScanner-ID: 1MK75u-0007Px-C3 X-Concepts-MailScanner: Found to be clean X-Concepts-MailScanner-SpamCheck: X-Concepts-MailScanner-From: gerben.wierda@rna.nl X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.197.30.111; country=NL; region=06; city=Roosendaal; latitude=51.5333; longitude=4.4667; http://maps.google.com/maps?q=51.5333,4.4667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 250559338 - 5f4f2d7aad55 - 20090626 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:51469 Archived-At: On 26 Jun 2009, at 10:05, Wolfgang Schuster wrote: >> And while I'm at it, if I want a heading in the left margin as >> well, but I want it 90 degrees rotated, how do I do that? > > \setuplayout > [leftmargin=1cm, > leftmargindistance=5mm] > > \startsetups header:margin > > \framed > [frame=off, > orientation=90, > width=\leftmarginwidth, > height=\textheight, > align={middle,middle}] > {My document\hfil\pagenumber\hfil My name} > > \stopsetups > > \defineoverlay[header:margin][\setups{header:margin}] > > \setupbackgrounds[text][leftmargin][background={header:margin}] > > \starttext > > ... > > \stoptext Thanks. Almost there. I now have: \definetyping[SQL][option=color,numbering=line,bodyfont=9pt] \defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}] \setuppapersize[A4,landscape][a4,landscape] \setupbackgrounds[page][background=ifsqoverlay] \setuptyping[SQL][palet=colorpretty] \def\typeSQLfile{\typefile[SQL]} \setuplayout [leftmargin=1cm, leftmargindistance=5mm, footer=0mm, header=0mm, rightmargin=0mm] \startsetups header:margin \framed [frame=off, orientation=90, width=2\leftmarginwidth, height=\textheight, align={top,middle}] {My document\hfil\pagenumber\hfil My name} \stopsetups \defineoverlay[header:margin][\setups{header:margin}] \setupbackgrounds[text][leftmargin][background={header:margin}] \starttext \typeSQLfile{Library-procedures/details.pls} %\typeSQLfile{Library-procedures/aanroep_kgcpros20.pls} %\typeSQLfile{Library-procedures/details.pls} %\typeSQLfile{Library-procedures/helix_print.pls} %\typeSQLfile{Library-procedures/hlx$requery.pls} %\typeSQLfile{Library-procedures/kgc$adm_meerling.pls} %\typeSQLfile{Library-procedures/kgc$bereken.pls} %\typeSQLfile{Library-procedures/kgc$datum.pls} %\typeSQLfile{Library-procedures/kgc$item.pls} %\typeSQLfile{Library-procedures/kgc$tab.pls} %\typeSQLfile{Library-procedures/kgc$toon.pls} %\typeSQLfile{Library-procedures/print_uitslagbrief.pls} %\typeSQLfile{Library-procedures/qms$record.pls} %\typeSQLfile{Library-procedures/voeruit_idef.pls} %\typeSQLfile{Library-procedures/vul_onwy_list.pls} %\typeSQLfile{Library-procedures/zoek_item.pls} \stoptext I do now have a rotated 'header' on the left side. And thanks to the larger width and the top aligment, the rotated 'heading' does not conflict with the line numbers. But ... the page number is '1' on every page And the I'd like to change the definition of the \typeSQLfile command such that it changes the document name in the rotated header too. G ___________________________________________________________________________________ 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 ___________________________________________________________________________________