From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86413 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: Re: \doifemptyelse Date: Sun, 23 Feb 2014 08:24:39 +0100 Message-ID: <5309A237.7020905@gmx.es> References: <53066196.1060602@gmx.es> <3209BA49-0315-4A77-A57C-1D9CED9C58B7@gmail.com> <53067D34.4020903@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1393140293 29768 80.91.229.3 (23 Feb 2014 07:24:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Feb 2014 07:24:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 23 08:25:03 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WHTQs-0007U3-IR for gctc-ntg-context-518@m.gmane.org; Sun, 23 Feb 2014 08:25:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9243C101F2; Sun, 23 Feb 2014 08:25:01 +0100 (CET) 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 AJA0E4CVh7ee; Sun, 23 Feb 2014 08:25:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E9EA9101EE; Sun, 23 Feb 2014 08:24:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 69481101EE for ; Sun, 23 Feb 2014 08:24:58 +0100 (CET) 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 N350LNQvadDT for ; Sun, 23 Feb 2014 08:24:56 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id B36D9101E1 for ; Sun, 23 Feb 2014 08:24:46 +0100 (CET) Original-Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s1N7e24l029017 for ; Sun, 23 Feb 2014 08:40:03 +0100 Original-Received: from [192.168.1.33] ([83.45.172.49]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LpcBS-1WwbT00qW6-00fQpB for ; Sun, 23 Feb 2014 08:24:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: X-Provags-ID: V03:K0:dxvxERMLM41ElnWr1qSjo12GeVFIjLgEhbz4ZHr1AU7KHQKEhDh Bk7D/4780GnKmIu3TvXf4ddUfrIvVBSVx1fx1JUWNLK9cloIj7kFqUaaQbAQvq48aS3RX1T hrOZ7yYyRjliFknhZ/M7i7NNAgfXitjqasuydVEybDM9sbVNbKRFvhcXqK/pOQK5tZwhVPW 7al2yvYTRgu7JESOtpfcA== X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=212.227.15.15; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01LtHE2nd - 9c906ba38cab - 20140223 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:86413 Archived-At: On 02/20/2014 11:23 PM, Wolfgang Schuster wrote: > Am 20.02.2014 um 23:09 schrieb Pablo Rodriguez : >> [...] >> Only a minor detail: is there a more proper way to center both headings? > = > You can use the simple version of \setupheadertexts and use \doifoddpagee= lse > to check whether you=92re on a left or right page. When you make a test f= or content > of a \getmarking command you have to use \doiftext because the \doifempty= etc. > checks don=92t work in this case. Many thanks for your reply, Wolfgang. This was exactly what I needed. I must admit that I didn=92t understood what the simple version of \setupheadertexts was about. And \doiftext (as well as \doifsomething) were totally unknown to me. Many thanks again for your help, Pablo -- = http://www.ousia.tk ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________