From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100043 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Change of font size affects header text size, too Date: Thu, 08 Feb 2018 12:49:53 +0100 Message-ID: <5A7C3961.2070807@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8807864962709840489==" X-Trace: blaine.gmane.org 1518090617 5269 195.159.176.226 (8 Feb 2018 11:50:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Feb 2018 11:50:17 +0000 (UTC) User-Agent: Postbox 5.0.22 (Macintosh/20171208) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 08 12:50:12 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejkhx-0007Wa-6F for gctc-ntg-context-518@m.gmane.org; Thu, 08 Feb 2018 12:49:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 32DCA42610B; Thu, 8 Feb 2018 12:51:22 +0100 (CET) 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 Uk9j9UMCNGfx; Thu, 8 Feb 2018 12:51:07 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 25B3C426130; Thu, 8 Feb 2018 12:50:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CAF8E42610B for ; Thu, 8 Feb 2018 12:50:23 +0100 (CET) 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 vtcm2KjENRvs for ; Thu, 8 Feb 2018 12:50:09 +0100 (CET) Original-Received: from mail-wr0-f176.google.com (mail-wr0-f176.google.com [209.85.128.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 5F26C426130 for ; Thu, 8 Feb 2018 12:49:57 +0100 (CET) Original-Received: by mail-wr0-f176.google.com with SMTP id h9so4370281wre.12 for ; Thu, 08 Feb 2018 03:49:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=NZSJWGj4dJOKAtjpMw+86n42EC1pBT2IZWIXEIDbmmg=; b=LEr83lGIz0SrEzX/I5p7EBC0NVftDSVJK2sTgUjbop15bqtMlGSRjhfZo0783/7ikr yatq3iSXpciSzpaR05i6B0tHvhsvw+pTSzftTZ/SH4z7PmRv1bcPRxaMoopasb2Z4Zhr T9LQz93zXHPJGHoth0Ho+q7+oxKlXodceaQq2333GN1B/maCSZbr+0sf8+ST+3BR5olf ZEMKm3c0U61c1rCDOYi2u1XaUVgRetJWaiXfed6Fu11fl1zES09qKvJ0rMvRmWfto+Oe WdJuUjcCb9YaFkR9D1cAms3kXsiFjLnmXNfZ1lTipcO0CHkcTO5r6kod1bxQVYTS3J95 oMzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=NZSJWGj4dJOKAtjpMw+86n42EC1pBT2IZWIXEIDbmmg=; b=Y/wBZiUCl4plGiNQN5HKOEGoMLbO9zSEwv7Rbmmti9zybNN591X2oc307HChRNl3Pv U2rKE3eapKT05N3fJiHCm/WRzKQdSGNKoiTBuGK9cQ+Lh0kkyrjehWrIs6BUMbMum1xD UOsQBEfQTMFKhFy424dpUcLdyBTzjVrCmGUqYe7fvtyFdRJe1Ia7swvqTXEf4Et+aCvq aJ1mwHS6CkjvCXNOe4PbDbEFkgqj6RJlzjNlb8XlbQr7yiekrE3OTgkCGhr9UiFa70PN GnnuDn3jUElbP3GhgmcUAI5taDTEWnLacfV2BV6+JfJbD2Fty4JyGtNb8SUGei/A2C2d bwUw== X-Gm-Message-State: APf1xPA7864xQHo7fQRz7W8D+AhpW34pVWxqb1W/1JrnPHFeC6a3+ofi ZgdH7jKgpLiZt3nomY0myv1hOEJz X-Google-Smtp-Source: AH8x224f5/M9/I1yef34MZiO2uHvQEkR158wFQJ+GZXVvX/K0teED4TDZF3ljPU4veQmvNh6rleYpg== X-Received: by 10.223.187.20 with SMTP id r20mr479623wrg.93.1518090596717; Thu, 08 Feb 2018 03:49:56 -0800 (PST) Original-Received: from [192.168.1.11] (x4e305950.dyn.telefonica.de. [78.48.89.80]) by smtp.gmail.com with ESMTPSA id v191sm61682wmf.25.2018.02.08.03.49.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2018 03:49:56 -0800 (PST) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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.org gmane.comp.tex.context:100043 Archived-At: This is a multi-part message in MIME format. --===============8807864962709840489== Content-Type: multipart/alternative; boundary="------------090101080606000409030904" This is a multi-part message in MIME format. --------------090101080606000409030904 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit > Procházka Lukáš Ing. > 8. Februar 2018 um 12:14 > Hello, > > in the following example: > > ---- > \setupheadertexts[Left][Right] > > \starttext > Aaa > > \page > > \startsection[title={Sec}] > \start > \setupbodyfont[6pt] > \dorecurse{12}{\input knuth} > \stop > \stopsection > \stoptext > ---- > > header text size on page #2 is small (6 pt) although body font change > was intended only to text inside section "Sec" - > thus the text "\input knuth" is surrounded by \start ... \stop. > > How to change the bodyfont size of the running text only (ad-hoc in > the middle of the document), without changing header text size? Use \switchtobodyfont[6pt]. Wolfgang --------------090101080606000409030904 Content-Type: text/html; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit
8. Februar 2018 um 12:14
Hello,

in the following example:

----
\setupheadertexts[Left][Right]

\starttext
  Aaa

  \page

  \startsection[title={Sec}]
    \start
      \setupbodyfont[6pt]
      \dorecurse{12}{\input knuth}
    \stop
  \stopsection
\stoptext
----

header text size on page #2 is small (6 pt) although body font change was intended only to text inside section "Sec" -
thus the text "\input knuth" is surrounded by \start ... \stop.

How to change the bodyfont size of the running text only (ad-hoc in the middle of the document), without changing header text size?

Use \switchtobodyfont[6pt].

Wolfgang
--------------090101080606000409030904-- --===============8807864962709840489== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8807864962709840489==--