From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93653 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: issue with typeface definition order Date: Wed, 10 Feb 2016 13:13:56 +0100 Message-ID: <56BB2984.40707@gmail.com> References: <56BB27C7.5020905@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1117229674077677681==" X-Trace: ger.gmane.org 1455106491 23408 80.91.229.3 (10 Feb 2016 12:14:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Feb 2016 12:14:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 10 13:14: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 1aTTfH-0005iZ-SP for gctc-ntg-context-518@m.gmane.org; Wed, 10 Feb 2016 13:14:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2DB1568D1; Wed, 10 Feb 2016 13:14:12 +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 jPGacNnrmqGa; Wed, 10 Feb 2016 13:14:09 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id CB2456886; Wed, 10 Feb 2016 13:14:09 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 331916815 for ; Wed, 10 Feb 2016 13:14: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 RsdXJenbhXHs for ; Wed, 10 Feb 2016 13:14:08 +0100 (CET) Original-Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) (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 AE6056442 for ; Wed, 10 Feb 2016 13:13:58 +0100 (CET) Original-Received: by mail-wm0-f43.google.com with SMTP id g62so24344727wme.0 for ; Wed, 10 Feb 2016 04:13:58 -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:content-type; bh=BMnSuz47ZZdFgaG5TaHg04sVtpFZ2iQuaBon5XZQa7o=; b=e9ACUfBY8zWrtuqHuncZ+JFPjeSwW19ykVjMarP21qstfjP6T9I98RLzuP0H9HiNNg idVAMbUxDhu9yherUTNZLI5t9XCWpmNmp6vPnwgZYP65D+hb9dLpawjda8KzzrKrmS3q Y+rAJDhCkW+BNZ7SEKmlpddZFC7J+WJvNmOGAoqqhBPCzATbpo4zoi+xNPqm9CyW85Xy uWSuE1eCznEpy5MfTWIIZFNeD1eTI8Gaa/obV3L6bMy5VP3rP9UvkP435b3b3LICfWMv 0iMKvp2CdX/KzL1d/zw+Ld+JT4GJV1+r7Nm74fZEH+zLMpq7aI2C1j1g0Tzq5m0vTQ2F MDwQ== 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:content-type; bh=BMnSuz47ZZdFgaG5TaHg04sVtpFZ2iQuaBon5XZQa7o=; b=Nxj1ejQljEYKWnvIGqR1VBaBDrrTNKIgjsSbMEslFSM7G+4bG5jtgZDyNqzrNg5Xlh MUzn/P3gdCoQ7YWGaompxMERsUbkeDcZSmYYlJmbdATfalZZFlas2xCV+hjQyfBsBTYl D8UAI1DQO526y8yPhHPzsd24y4tPqW1dPC30WzlgHfS/aOO3C5tDbLRq5Q11ggIDEDKh he5OEpuNNvXN+oRq6Y9YuIrV0W6IrjFHssWZUVv/rbktlGt/Fq3x6Fta6qYnN4PfY8nn IRb2AinOBzVA3ugBLZwFhRrNToiyHs9jakcM2l3zPXMmTWdEXHveBTrjKmvm7FFKo81P 0GSA== X-Gm-Message-State: AG10YOTkdBhEPnaAOQ8GDbHfFWDe3Ru0fLEHhP9kgQFl+/4KQr1hZ3AS0gUH8GMEIPt96A== X-Received: by 10.194.82.68 with SMTP id g4mr39299706wjy.76.1455106438283; Wed, 10 Feb 2016 04:13:58 -0800 (PST) Original-Received: from keima.localdomain (x2f2d246.dyn.telefonica.de. [2.242.210.70]) by smtp.gmail.com with ESMTPSA id v78sm21941612wmv.23.2016.02.10.04.13.57 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Feb 2016 04:13:57 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <56BB27C7.5020905@gmx.es> 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:93653 Archived-At: This is a multi-part message in MIME format. --===============1117229674077677681== Content-Type: multipart/alternative; boundary="------------050802090000040803010600" This is a multi-part message in MIME format. --------------050802090000040803010600 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Pablo Rodriguez > 10. Februar 2016 um 13:06 > Dear list, > > I have the following code: > > \definefontfamily[mainface][ss][TeX Gyre Heros] > \definefontfamily[mainface][rm][TeX Gyre Termes] > \setupbodyfont[mainface] > \starttext > \startTEXpage[offset=1em] > this is a simple sentence > > \ss this is a simple sentence > \stopTEXpage > > Using latest beta (2016.02.08 15:35), if sans is defined before serif, > the default family is sans (no serif used). It only works as intended if > serif is defined before sans. > > Is this the intended behavior? Yes, the first style is used as default when you enable the typeface. Wolfgang --------------050802090000040803010600 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
10. Februar 2016 um 13:06
Dear list,

I have the following code:

\definefontfamily[mainface][ss][TeX Gyre Heros]
\definefontfamily[mainface][rm][TeX Gyre Termes]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
this is a simple sentence

\ss this is a simple sentence
\stopTEXpage

Using latest beta (2016.02.08 15:35), if sans is defined before serif,
the default family is sans (no serif used). It only works as intended if
serif is defined before sans.

Is this the intended behavior?
Yes, the first style is used as default when you enable the typeface.

Wolfgang
--------------050802090000040803010600-- --===============1117229674077677681== 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= --===============1117229674077677681==--