From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50839 Path: news.gmane.org!not-for-mail From: Flavien Lambert Newsgroups: gmane.comp.tex.context Subject: Page number in the middle of the margin Date: Wed, 27 May 2009 15:40:21 +0200 Message-ID: <3eb5f5b10905270640y20ffc542s14c7710a9e99296f@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="===============1074105779==" X-Trace: ger.gmane.org 1243431756 2590 80.91.229.12 (27 May 2009 13:42:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 May 2009 13:42:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 27 15:42:34 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 1M9JOp-0006zD-S7 for gctc-ntg-context-518@m.gmane.org; Wed, 27 May 2009 15:42:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 30B951FDEF; Wed, 27 May 2009 15:42: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 18734-04-2; Wed, 27 May 2009 15:41:06 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 465BC1FDF8; Wed, 27 May 2009 15:41:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 549671FDF8 for ; Wed, 27 May 2009 15:41:01 +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 18734-04 for ; Wed, 27 May 2009 15:40:22 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by ronja.ntg.nl (Postfix) with ESMTP id 81B7D1FDD9 for ; Wed, 27 May 2009 15:40:22 +0200 (CEST) Original-Received: from mail-fx0-f176.google.com (mail-fx0-f176.google.com [209.85.220.176]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5) with ESMTP id n4RDeLep032220 for ; Wed, 27 May 2009 15:40:22 +0200 Original-Received: by fxm24 with SMTP id 24so4928158fxm.2 for ; Wed, 27 May 2009 06:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=6xRwo7R/FgbeEK11g/+eHu0LO+SdO+tmynEysp8kto8=; b=GkrhIhxRHQ1+KRi82k4KoyQyII/ApbKyqFQeIJ/FIDtJlwVHNe9xju+l1q2ACP83Nm K2uzJgPGSTG1Vrmg+iNm5XtrdtADrTwYPiU6TJMC060NXE1/mKCFPFYVC5Mv6D4Rqpak x3NjhTpdGEn2N7fD5pimfPmmmTtInL4hmMtYA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=A9g1DY9PDygeDKtqSaQhgHqHhEhhv7UV1bjRG5uT/iyj8ACc9NFFOT7fXxLiN05McY ssnuuQpUyqY8EoWyokaBb97fKlrhQ/iWv8ZKzz9JkxTFlXfdCDDvNci8Cg67o9jrk4ax ndpu0zYNM7HojLG+fOsgpDNxmDUVy6FlFXCbo= Original-Received: by 10.204.69.66 with SMTP id y2mr7849bki.49.1243431621671; Wed, 27 May 2009 06:40:21 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.176; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 232765489 - 46523c835115 - 20090527 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:50839 Archived-At: --===============1074105779== Content-Type: multipart/alternative; boundary=001636c5b3f61cbc6c046ae4fc31 --001636c5b3f61cbc6c046ae4fc31 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Dear all, as said by the title of the e-mail, I try to put the page number in the middle (both vertically and horizontally) of the margin. I tried a custom command like \def\mypagenumber#1{% \vfill #1 \vfill } \setuppagenumbering{location=margin,command=\mypagenumber} but, unfortunately, I got an error message on the \vfill. Is there a direct way to place my page number ? Regards, -- Flavien. ---------------------------- "Quantum objects are completely crazy but, at least, they are all crazy in the same way." R.P. Feynman. --001636c5b3f61cbc6c046ae4fc31 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Dear all, as said by the title of the e-mail, I try to put the page number in the middle (both vertically and horizontally) of the margin. I tried a custom command like
\def\mypagenumber#1{%
\vfill #1 \vfill
}
\setuppagenumbering{location=margin,command=\mypagenumber}

but, unfortunately, I got an error message on the \vfill. Is there a direct way to place my page number ?
Regards,

--
Flavien.
----------------------------
"Quantum objects are completely crazy but, at least, they are all crazy in the same way." R.P. Feynman.
--001636c5b3f61cbc6c046ae4fc31-- --===============1074105779== 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 ___________________________________________________________________________________ --===============1074105779==--