From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93867 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: size in setuptype Date: Wed, 24 Feb 2016 13:37:53 +0100 Message-ID: <56CDA421.7010600@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0314969590871175061==" X-Trace: ger.gmane.org 1456317523 30061 80.91.229.3 (24 Feb 2016 12:38:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2016 12:38:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 24 13:38:32 2016 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 plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aYYi7-00032x-BQ for gctc-ntg-context-518@m.gmane.org; Wed, 24 Feb 2016 13:38:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0FC1270E9; Wed, 24 Feb 2016 13:38:09 +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 VHyPVj4IW20r; Wed, 24 Feb 2016 13:38:07 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 3B83170EF; Wed, 24 Feb 2016 13:38:07 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2E74570EA for ; Wed, 24 Feb 2016 13:38:06 +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 odw8QDRXZ6xw for ; Wed, 24 Feb 2016 13:38:05 +0100 (CET) Original-Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) (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 AEED270E9 for ; Wed, 24 Feb 2016 13:37:55 +0100 (CET) Original-Received: by mail-wm0-f46.google.com with SMTP id g62so27894037wme.0 for ; Wed, 24 Feb 2016 04:37:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=KiSQyzeEQHBlPQCpPx4XLywPeaTQRIHdOru0qASRIDY=; b=p2vLjkIXuBh4n7SxVMNAM4Uz28F8/DvvzB3fLrUCuNQyFCKoSfTtidnatsH5SuwLmr tBbKaB+93ttRZteSRSJcvGLGjTd9KiluOB4Pfe+FMDs3PMUOnXiU83zA4p2o9l155/WV UbKNO3eqGn+h0Qi1kqyZbE50013xAywLUKCho7vnUoP/WX5kOJkCTAbza8XJBf2JNAHk W9jtbO+Myhu3WxdEUVSkav5Jm9Hct3/1bUbQ9biC+AhoIa+rTbufC3s0RlekXVRQs944 c1zvFx1mXc+Efm7vCiYi9fe2P7x3T0yeSLJRV/oGP5o2Nz2KRnC68eAvaFKWRAKrKZk3 9n/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=KiSQyzeEQHBlPQCpPx4XLywPeaTQRIHdOru0qASRIDY=; b=Goyo+mDtQmIV4qoBYOFwV37v8amkExsQP0ppK0881ONXQ/ByScYd5s5pz3gYJF1TkP Vo3m8NFMRji+MW3i971CoTfYkpCR/5Tpibr6NDZp5YDqaBiWEf1ehu4LR5WhiQ/G4GKl JEYqBlLqa6KRlINsHu0sXNm3MJVaKqdf5PG16Swb1iCDHeiZ4PwtTKF82Kvg/RwrnEiq BjMpVUD0jsLuGN9e5CSlWDLMQUAxQwzz/vvuxqflyeFdQnZT/O+jc0KyM95BW+pnZRsJ 9bKWtCWB5nyxyBTx5hMYu1UYJDEJtOWdRyc3uRoqmvlGCT/YEWe34HWaw2/yHER9JMkg K2MQ== X-Gm-Message-State: AG10YOQ/UIuishkhS1BJgnhHzhqMGWKOdOmLW8UGS3usByJl0mZxMygw4gpJCb92GCoNbw== X-Received: by 10.28.226.212 with SMTP id z203mr24176514wmg.78.1456317475068; Wed, 24 Feb 2016 04:37:55 -0800 (PST) Original-Received: from keima.localdomain (x2f2a877.dyn.telefonica.de. [2.242.168.119]) by smtp.gmail.com with ESMTPSA id i12sm3304695wmf.10.2016.02.24.04.37.53 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Feb 2016 04:37:54 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) 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:93867 Archived-At: This is a multi-part message in MIME format. --===============0314969590871175061== Content-Type: multipart/alternative; boundary="------------010909030104030008090009" This is a multi-part message in MIME format. --------------010909030104030008090009 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > Meer, Hans van der > 24. Februar 2016 um 13:25 > Why does \setuptyping has a parameter bodyfont= and is \setuptype > missing it? > I am asking because in typesetting with > \setuptype[style=small]\type{something} > I get another font and size than with > \setuptyping[bodyfont=small]\starttyping ... \stoptyping > whereas in both the same is wanted in order to keep continuity in size > and style. The bodyfont key for typing is usefull when you need a narrower font font for long listings. \definetypeface[narrowtt][tt][mono][modern-condensed][default] \starttext \starttyping \starttypescript [modern-designsize] \definetypeface [\typescriptone] [\s!rm] [\s!serif] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!ss] [\s!sans] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!tt] [\s!mono] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!mm] [\s!math] [modern] [\s!default] \quittypescriptscanning \stoptypescript \stoptyping \starttyping[bodyfont=narrowtt] \starttypescript [modern-designsize] \definetypeface [\typescriptone] [\s!rm] [\s!serif] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!ss] [\s!sans] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!tt] [\s!mono] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!mm] [\s!math] [modern] [\s!default] \quittypescriptscanning \stoptypescript \stoptyping \stoptext Wolfgang --------------010909030104030008090009 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
24. Februar 2016 um 13:25
Why does \setuptyping has a parameter bodyfont= and is \setuptype missing it?
I am asking because in typesetting with
  \setuptype[style=small]\type{something}
I get another font and size than with
  \setuptyping[bodyfont=small]\starttyping ... \stoptyping
whereas in both the same is wanted in order to keep continuity in size and style.
The bodyfont key for typing is usefull when you need a narrower font font for long listings.

\definetypeface[narrowtt][tt][mono][modern-condensed][default]

\starttext

\starttyping
\starttypescript [modern-designsize]
    \definetypeface [\typescriptone] [\s!rm] [\s!serif] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
    \definetypeface [\typescriptone] [\s!ss] [\s!sans]  [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
    \definetypeface [\typescriptone] [\s!tt] [\s!mono]  [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
    \definetypeface [\typescriptone] [\s!mm] [\s!math]  [modern]                  [\s!default]
    \quittypescriptscanning
\stoptypescript
\stoptyping

\starttyping[bodyfont=narrowtt]
\starttypescript [modern-designsize]
    \definetypeface [\typescriptone] [\s!rm] [\s!serif] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
    \definetypeface [\typescriptone] [\s!ss] [\s!sans]  [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
    \definetypeface [\typescriptone] [\s!tt] [\s!mono]  [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
    \definetypeface [\typescriptone] [\s!mm] [\s!math]  [modern]                  [\s!default]
    \quittypescriptscanning
\stoptypescript
\stoptyping

\stoptext

Wolfgang
--------------010909030104030008090009-- --===============0314969590871175061== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0314969590871175061==--