From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108607 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jbf Newsgroups: gmane.comp.tex.context Subject: Re: defining font family for several options Date: Fri, 4 Sep 2020 08:17:43 +1000 Message-ID: <1da21061-8aac-f118-3403-43b4027d90c7@gmail.com> References: <1ce45396-e5f2-0986-722a-70c5e05a857d@gmail.com> <528a2bbb-5950-49a4-d84b-4771e77405d1@gmail.com> <7e248e94-f223-6850-7b69-402939425229@gmail.com> <60f78515-9d33-c944-c8ad-9dcbc7053247@gmail.com> <6d0a3bfe-88e8-ed09-c972-5eddf6f94e9d@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8114663582359505452==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28274"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: "ntg >> mailing list for ConTeXt users" To: Aditya Mahajan Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 04 00:18:13 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kDxYb-0007F9-Aw for gctc-ntg-context-518@m.gmane-mx.org; Fri, 04 Sep 2020 00:18:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B47761A89E7; Fri, 4 Sep 2020 00:17:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VzmgAPAAtDub; Fri, 4 Sep 2020 00:17:52 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0D9BC1A89AB; Fri, 4 Sep 2020 00:17:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3DF5E1A89AB for ; Fri, 4 Sep 2020 00:17:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BsQMVrYqUpqG for ; Fri, 4 Sep 2020 00:17:49 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.173; helo=mail-pf1-f173.google.com; envelope-from=roma83537@gmail.com; receiver= Original-Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 361251A86E7 for ; Fri, 4 Sep 2020 00:17:49 +0200 (CEST) Original-Received: by mail-pf1-f173.google.com with SMTP id v196so3470437pfc.1 for ; Thu, 03 Sep 2020 15:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=rk2ubJWOw4sjZ/tzDYWeW2r/tG0GN4hD/bJsy1tCh68=; b=nFaIkB2MGJPDCJ8hhDfXXtOzG2yKZ2dfX47Jy0dq/XE91HW+RKgU1omm3lAIKENVFb 9gdWo5FrGqPxBL/FA+/HhvDdl3UD+9gUeRBTyI6oYCRuxLA5d3BLdjR6znA3dOdcELHM ja4iIULRXmNWfPBooVGA/0w55IUGmIpGm3d22dH4iwebUB8BQYimm+MCrsJwSvWKbSwV ++Q5OVz1zcpD3z3nR5Wd+8KYrn67pe9u+8wngP9N8lhnhLVqEnPMRKZgMwl0mFmE1Pmm cc6R32U9D7vTcPtgcGm/OfyVGlR5zXeSQU31A7Jwso++O2Uf8wUx/jx1xNeP5KnIumlU w7tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=rk2ubJWOw4sjZ/tzDYWeW2r/tG0GN4hD/bJsy1tCh68=; b=PB+jdDPGM41WkMFNZwq1hxtNRn7Dag5+qbiF4DGL+8qjz2cp0sacCsbpuj9wo1Tf4A 18gQmTwiovFUcbkc+UQgXTsqjH6XZKdanCCL2rC8TlTQe7EJSV0O+PiSOMEMyQqe7oyF HrNpYSqZj2scFmvodSfCdauDcIbl8prK3VOe9aojZSryjztketKKsgIJIxdgxKvlO6xQ D7btM/9u6zuclvO7zqU5sHj0fagiWMz7tR8kP3CXhHQe9rgwaXMzh6PnABCTWbJIR8IX rM+3gVGUAw9u7k6xffA4CwMbL7cHL9bTo14ygISQFtkhOOlLUn9mlXcl/qUZ3C6g1X2r pH+g== X-Gm-Message-State: AOAM531E8VgLsoAf1Y9RT+z7F3Tbf5kLcGDp4mWZq9exXutlBy14kWQI vx8GrFwlI3zEFKONh/jnwmO6gVZkO9tW/w== X-Google-Smtp-Source: ABdhPJzBNH9i0ZwSfdCqZIIdsvw8oCY7rlpYA0IS+4ZurxUvXJORG1s1d5Vp6FgGiaf30qo/IqJAGw== X-Received: by 2002:a65:60ce:: with SMTP id r14mr4776859pgv.85.1599171467447; Thu, 03 Sep 2020 15:17:47 -0700 (PDT) Original-Received: from [192.168.0.100] ([120.21.220.27]) by smtp.gmail.com with ESMTPSA id e127sm4226755pfe.152.2020.09.03.15.17.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Sep 2020 15:17:46 -0700 (PDT) In-Reply-To: Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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" Xref: news.gmane.io gmane.comp.tex.context:108607 Archived-At: This is a multi-part message in MIME format. --===============8114663582359505452== Content-Type: multipart/alternative; boundary="------------26512F976ED6EA9A29B764F8" Content-Language: en-US This is a multi-part message in MIME format. --------------26512F976ED6EA9A29B764F8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit The MWE was really just the only line affecting headers, which you suggested should be written as it is now written below, rather than the way I had it earlier (a leftover from a lack of understanding about font switches which Otared kindly explained to me). \setupheader [style={\switchtobodyfont[10pt,ss]}] This proper way of setting out the \setupheader has in fact resolved the situation and it now applies to both recto and verso headers. Thank you Julian On 4/9/20 7:16 am, Aditya Mahajan wrote: > On Fri, 4 Sep 2020, jbf wrote: > >> Thanks Otared. That clears up that little item :-) >> >> BTW I know how to reduce font size in the headers (chapter titles) that >> appear on the recto pages, which I can do with something like >> \setupheader [style={\ss\switchtobodyfont[10pt]}], but it doesn't seem > Better to use style={\switchtobodyfont[10pt,ss]} or \switchtobodyfont[10pt]\ss... > >> to affect the header (title of the book) on the verso pages, which is >> drawn from the simple statement: >> >> \startdocument >>   [metadata:title={Book title}] >> >> Shouldn't  \setupheader affect both headers? Or is it possible I have >> left something out of my \setupheader declaration? > A minimal example will make the debugging process much easier. > > Aditya > > ___________________________________________________________________________________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ --------------26512F976ED6EA9A29B764F8 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

The MWE was really just the only line affecting headers, which you suggested should be written as it is now written below, rather than the way I had it earlier (a leftover from a lack of understanding about font switches which Otared kindly explained to me).

\setupheader [style={\switchtobodyfont[10pt,ss]}]
This proper way of setting out the \setupheader has in fact resolved the situation and it now applies to both recto and verso headers. Thank you
Julian

On 4/9/20 7:16 am, Aditya Mahajan wrote:
On Fri, 4 Sep 2020, jbf wrote:

Thanks Otared. That clears up that little item :-)

BTW I know how to reduce font size in the headers (chapter titles) that 
appear on the recto pages, which I can do with something like 
\setupheader [style={\ss\switchtobodyfont[10pt]}], but it doesn't seem 
Better to use style={\switchtobodyfont[10pt,ss]} or \switchtobodyfont[10pt]\ss...

to affect the header (title of the book) on the verso pages, which is 
drawn from the simple statement:

\startdocument
   [metadata:title={Book title}]

Shouldn't  \setupheader affect both headers? Or is it possible I have 
left something out of my \setupheader declaration?
A minimal example will make the debugging process much easier.

Aditya

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________
--------------26512F976ED6EA9A29B764F8-- --===============8114663582359505452== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============8114663582359505452==--