From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93869 Path: news.gmane.org!not-for-mail From: "Meer, Hans van der" Newsgroups: gmane.comp.tex.context Subject: Re: size in setuptype Date: Wed, 24 Feb 2016 13:35:12 +0000 Message-ID: <99EAF261-76E9-4B49-8C4A-1CCBEE379D60@uva.nl> References: <56CDA421.7010600@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0089895576330479938==" X-Trace: ger.gmane.org 1456320948 31180 80.91.229.3 (24 Feb 2016 13:35:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2016 13:35:48 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 24 14:35:37 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 1aYZbL-0002K5-Ag for gctc-ntg-context-518@m.gmane.org; Wed, 24 Feb 2016 14:35:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A0F7271D2; Wed, 24 Feb 2016 14:35:26 +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 IwQKPhCzYwBm; Wed, 24 Feb 2016 14:35:24 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id B683D71D4; Wed, 24 Feb 2016 14:35:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 477E571D0 for ; Wed, 24 Feb 2016 14:35:24 +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 p1X3ZCN9_Fnz for ; Wed, 24 Feb 2016 14:35:23 +0100 (CET) Original-Received: from HUB01.uva.nl (hub01.uva.nl [146.50.108.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 2385671CF for ; Wed, 24 Feb 2016 14:35:13 +0100 (CET) Original-Received: from MBX02.uva.nl ([169.254.2.17]) by HUB01.uva.nl ([::1]) with mapi id 14.03.0266.001; Wed, 24 Feb 2016 14:35:12 +0100 Thread-Topic: [NTG-context] size in setuptype Thread-Index: AQHRbv5+SOBSviNXwUShn/CdIqxJZp87EZuAgAAQAwA= In-Reply-To: <56CDA421.7010600@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [84.106.134.200] x-endpointsecurity-0xde81-ev: v:6.2.7.710, d:out, a:y, w:t, t:0, sv:1456301071, ts:1456320912 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:93869 Archived-At: --===============0089895576330479938== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_99EAF26176E94B498C4A1CCBEE379D60uvanl_" --_000_99EAF26176E94B498C4A1CCBEE379D60uvanl_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On 24 Feb 2016, at 13:37, Wolfgang Schuster > wrote: Meer, Hans van der 24. Februar 2016 um 13:25 Why does \setuptyping has a parameter bodyfont=3D and is \setuptype missing= it? I am asking because in typesetting with \setuptype[style=3Dsmall]\type{something} I get another font and size than with \setuptyping[bodyfont=3Dsmall]\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 f= or long listings. I can understand that, but it is not the problem to be solved here. That pr= oblem is the fact that I cannot typeset with both \type{...} and \starttypi= ng ... \stoptyping and get the same appearance in type, spacing and size of= the symbols. That is apparently not only usefull for narrower text in long lists, but ha= s a usefullness in other cases too. Why should I have to use other mechanisms in order to get similar appearanc= e than just through a symmetry between \setuptype and setuptyping? \definetypeface[narrowtt][tt][mono][modern-condensed][default] \starttext \starttyping \starttypescript [modern-designsize] \definetypeface [\typescriptone] [\s!rm] [\s!serif] [latin-modern-desig= nsize] [\s!default] [\s!designsize=3D\s!auto] \definetypeface [\typescriptone] [\s!ss] [\s!sans] [latin-modern-desig= nsize] [\s!default] [\s!designsize=3D\s!auto] \definetypeface [\typescriptone] [\s!tt] [\s!mono] [latin-modern-desig= nsize] [\s!default] [\s!designsize=3D\s!auto] \definetypeface [\typescriptone] [\s!mm] [\s!math] [modern] = [\s!default] \quittypescriptscanning \stoptypescript \stoptyping \starttyping[bodyfont=3Dnarrowtt] \starttypescript [modern-designsize] \definetypeface [\typescriptone] [\s!rm] [\s!serif] [latin-modern-desig= nsize] [\s!default] [\s!designsize=3D\s!auto] \definetypeface [\typescriptone] [\s!ss] [\s!sans] [latin-modern-desig= nsize] [\s!default] [\s!designsize=3D\s!auto] \definetypeface [\typescriptone] [\s!tt] [\s!mono] [latin-modern-desig= nsize] [\s!default] [\s!designsize=3D\s!auto] \definetypeface [\typescriptone] [\s!mm] [\s!math] [modern] = [\s!default] \quittypescriptscanning \stoptypescript \stoptyping \stoptext Wolfgang Hans van der Meer --_000_99EAF26176E94B498C4A1CCBEE379D60uvanl_ Content-Type: text/html; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable

On 24 Feb 2016, at 13:37, Wolfgang Schuster <schuster.wolfgang@gmail.com<= /a>> wrote:

24. Februar 2016 um 13:25
Why does \setuptyping has a parameter bod= yfont=3D and is \setuptype missing it?
I am asking because in ty= pesetting with
  \setuptype[style= =3Dsmall]\type{something}
I get another font and si= ze than with
  \setuptyping[bodyf= ont=3Dsmall]\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 f= or long listings.

I can understand that, but it is not the problem to be solved here. That pr= oblem is the fact that I cannot typeset with both \type{...} and \starttypi= ng ... \stoptyping and get the same appearance in type, spacing and size of= the symbols.
That is apparently not only usefull for narrower text in long lists, b= ut has a usefullness in other cases too.
Why should I have to use other mechanisms in order to get similar appe= arance than just through a symmetry between \setuptype and setuptyping?



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

\starttext

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

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

\stoptext

Wolfgang

Hans van der Meer

--_000_99EAF26176E94B498C4A1CCBEE379D60uvanl_-- --===============0089895576330479938== 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= --===============0089895576330479938==--