From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81523 Path: news.gmane.org!not-for-mail From: Mica Semrick Newsgroups: gmane.comp.tex.context Subject: Re: Running heads, American style. Date: Fri, 5 Apr 2013 15:41:46 -0700 Message-ID: References: <20130405181640.086cd5e5@localb.wexfordpress.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2033489867==" X-Trace: ger.gmane.org 1365269523 29656 80.91.229.3 (6 Apr 2013 17:32:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Apr 2013 17:32:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 06 19:32:04 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UOWtW-00086X-Fz for gctc-ntg-context-518@m.gmane.org; Sat, 06 Apr 2013 19:27:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7549F101E6; Sat, 6 Apr 2013 00:41:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id b4H3xdv6YWDD; Sat, 6 Apr 2013 00:41:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1EE81101E7; Sat, 6 Apr 2013 00:41:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BF892101E7 for ; Sat, 6 Apr 2013 00:41:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4UcMGdCZFXly for ; Sat, 6 Apr 2013 00:41:48 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 1481C101E6 for ; Sat, 6 Apr 2013 00:41:47 +0200 (CEST) Original-Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r35MPmhn019240 for ; Sat, 6 Apr 2013 00:25:49 +0200 Original-Received: by mail-wg0-f43.google.com with SMTP id f12so4292823wgh.10 for ; Fri, 05 Apr 2013 15:41:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=K6mki1mNEB9CADeY5kSOyjpCjkL7QaFzJoqUJ2HEVD0=; b=zqaeIQw3Te8pV+VDAW9BY8BH933SOUcryoO/F7v51qZ214q1xZi9jylCF4XlT8zL6D usPIACHVJvWmaI35BZyAlQlWKQhcw5+YN7n0vCE0azpbpvezNlkNHWP7obHsv+6U1AUO Fv8HE3llmnKkeI1nrOFvsvYniCJF32U2hw+fNtteBLGhL49Jlh/rybP0eBzQJK6VENae VaHj40MjzleVBc8q9bS7qLb00wTblGJzah0qg3JHuhFDZmo+EnIf0MsgxtViX8RFbE81 cwfwhqxQLTKnxSv9WqjWzZhF8q5sn5t3Ua2WCcTxFe55W0ayigL+JKQSvQNYSl9WSh+7 HsSw== X-Received: by 10.180.87.97 with SMTP id w1mr1463184wiz.2.1365201706327; Fri, 05 Apr 2013 15:41:46 -0700 (PDT) Original-Received: by 10.194.7.98 with HTTP; Fri, 5 Apr 2013 15:41:46 -0700 (PDT) In-Reply-To: <20130405181640.086cd5e5@localb.wexfordpress.net> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.43; 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: 0WJkmpNA1 - 930c62536ab0 - 20130406 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81523 Archived-At: --===============2033489867== Content-Type: multipart/alternative; boundary=f46d04440282c0a6de04d9a4ca0c --f46d04440282c0a6de04d9a4ca0c Content-Type: text/plain; charset=ISO-8859-1 Hi John, Perhaps http://wiki.contextgarden.net/Command/setupheadertexts will be of some help? Though, the wiki page does not list the [text] argument in your second command. I'm not sure that ConTeXt sees recto and verso, as the wiki page talks of even and odd pages. HTH, Mica On Fri, Apr 5, 2013 at 3:16 PM, john Culleton wrote: > Since I spent the better part of two days puzzling over this > simple task I thought I would share. The American style for > running heads for non-fiction books is to have the current chapter on the > left (verso) page and the current section on the right (recto) > page. The text for each is near the spine and the page number near the > outside edge. The layout must be set doublesided in context. Two > commands are pertinent: > > \setupheader[leftstyle=bold,rightstyle=bold] > \setupheadertexts[text][section][pagenumber][pagenumber][chapter] > > On the actual page spread the chapter title wll be on the laft of > the spread and the section title on the right. But the > \setupheadertexts command has them reversed. The recto gets > described first and then the verso. The manual describes them > otherwise. left then right, but it is really right, then left. > Also the location parameter (first bracket pair) is mandatory for this > kind of header setup. And just putting [] won't work. You have to > specify a location. > > Now old hands will have memorized all these peculiarities long > ago. I write this for beginners at the context game, like me. > > -- > John Culleton > Wexford Press > Free list of books for self-publishers: > http://wexfordpress.net/shortlist.html > PDF e-book: "Create Book Covers with Scribus" > available at http://www.booklocker.com/books/4055.html > > ___________________________________________________________________________________ > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > --f46d04440282c0a6de04d9a4ca0c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi John,

Perhaps=A0http://wiki.contextgar= den.net/Command/setupheadertexts=A0will be of some help? Though, the wi= ki page does not list the [text] argument in your second command. I'm n= ot sure that ConTeXt sees recto and verso, as the wiki page talks of even a= nd odd pages.

HTH,
Mica


On Fri, Apr 5, 2013= at 3:16 PM, john Culleton <John@wexfordpress.com> wrote= :
Since I spent the better part of two days pu= zzling over this
simple task I thought I would share. The American style for
running heads for non-fiction books is to have the current chapter on the left (verso) page and the current section on the right (recto)
page. The text for each is near the spine and the page number near the
outside edge. The layout must be set doublesided in context. Two
commands are pertinent:

\setupheader[leftstyle=3Dbold,rightstyle=3Dbold]
\setupheadertexts[text][section][pagenumber][pagenumber][chapter]

On the actual page spread the chapter title wll be on the laft of
the spread and the section title on the right. But the
\setupheadertexts command has them reversed. The recto gets
described first and then the verso. The manual describes them
otherwise. left then right, but it is really right, then left.
Also the location parameter (first bracket pair) is mandatory for this
kind of header setup. And just putting [] won't work. You have to
specify a location.

Now old hands will have memorized all these peculiarities long
ago. I write this for beginners at the context game, like me.

--
John Culleton
Wexford Press
Free list of books for self-publishers:
http:/= /wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at http://www.booklocker.com/books/4055.html
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--f46d04440282c0a6de04d9a4ca0c-- --===============2033489867== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============2033489867==--