From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50857 Path: news.gmane.org!not-for-mail From: Flavien Lambert Newsgroups: gmane.comp.tex.context Subject: Re: Page number in the middle of the margin Date: Wed, 27 May 2009 23:38:01 +0200 Message-ID: <3eb5f5b10905271438x15ad714dtf91e707fdfbef669@mail.gmail.com> References: <3eb5f5b10905270640y20ffc542s14c7710a9e99296f@mail.gmail.com> <4A1D4FD3.5090605@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2129507284==" X-Trace: ger.gmane.org 1243460363 4236 80.91.229.12 (27 May 2009 21:39:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 May 2009 21:39:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 27 23:39:19 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 1M9QqD-00023v-10 for gctc-ntg-context-518@m.gmane.org; Wed, 27 May 2009 23:39:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 26A671FE3A; Wed, 27 May 2009 23:39:16 +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 29675-02; Wed, 27 May 2009 23:38:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9F5711FDD9; Wed, 27 May 2009 23:38:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 364231FDD9 for ; Wed, 27 May 2009 23:38:25 +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 29319-03 for ; Wed, 27 May 2009 23:38:09 +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 A74031FD8C for ; Wed, 27 May 2009 23:38:08 +0200 (CEST) Original-Received: from mail-bw0-f178.google.com (mail-bw0-f178.google.com [209.85.218.178]) by filter2-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4RLc2Np004954 for ; Wed, 27 May 2009 23:38:04 +0200 Original-Received: by bwz26 with SMTP id 26so5259879bwz.2 for ; Wed, 27 May 2009 14:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=P4Pl5xwytaBYxn3liGOZ2sRlcsJz0yQEcDVqsXZ5JnY=; b=Wws3OzH+WgivGLz5LwCIEGVzPZgXgKcdI/RBzCIvTvSNDE7HyzYTbzh2sffCILvsyH PCv3tjIXr/DQ4FbKDtllpX4hXzWaR3aJFnTHZw9ckVq3rtt5qzIUIs1O93wPWFjkbyNH CpDZdFKX2QTyBYO7to/buUVFgwQ/duAnEDwnI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=P2pn3Tiey8CRHWmHKLyYMs0QDepNOaWC3KOgsPXIs3kjHEq0jMMV/04cl9i+4edTxm ML+APKy/GHaFjlAoqG5HVcHTjbmbz0VTNgY6KWckVEhGpIAO6+BddL/1FcxyPazdd7Af jk+131q6RaWVdCJbQEAAfh/WegEK1fxkY/U+Q= Original-Received: by 10.204.53.141 with SMTP id m13mr436129bkg.11.1243460281911; Wed, 27 May 2009 14:38:01 -0700 (PDT) In-Reply-To: <4A1D4FD3.5090605@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.178; 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: 233011326 - 76988b6afb98 - 20090527 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:50857 Archived-At: --===============2129507284== Content-Type: multipart/alternative; boundary=001636c5c2da654930046aeba8ac --001636c5c2da654930046aeba8ac Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sorry, I wasn't clear. \midalign{} put the page number in the (horizontal) middle of the margin in the bottom. What I would like to do is to put the page number in the vertical middle of the page. 2009/5/27 Hans Hagen > Flavien Lambert wrote: > >> 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 ? >> > > (no vfill in hmode) > > \midaligned{#1} > > > ----------------------------------------------------------------- > 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 > > ___________________________________________________________________________________ > -- Flavien. ---------------------------- "Quantum objects are completely crazy but, at least, they are all crazy in the same way." R.P. Feynman. --001636c5c2da654930046aeba8ac Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sorry, I wasn't clear. \midalign{} put the page number in the (horizont= al) middle of the margin in the bottom. What I would like to do is to put t= he page number in the vertical middle of the page.

2009/5/27 Hans Hagen <pragma@wxs.nl>
Flavien Lambert wrote:
Dear all, as said by the title of the e-mail, I try to put the page number<= br> in the middle (both vertically and horizontally) of the margin. I tried a custom command like
\def\mypagenumber#1{%
\vfill #1 \vfill
}
\setuppagenumbering{location=3Dmargin,command=3D\mypagenumber}

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

(no vfill in hmode)

\midaligned{#1}


-----------------------------------------------------------------
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0Hans Hagen | PRAGMA ADE
=A0 =A0 =A0 =A0 =A0 =A0 =A0Ridderstraat 27 | 8061 GH Hasselt | The Netherl= ands
=A0 =A0 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 | ww= w.pragma-pod.nl
-----------------------------------------------------------------

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: https://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________



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