From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92269 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: issues with typeface selection Date: Sat, 08 Aug 2015 11:44:20 +0200 Message-ID: <55C5CF74.9030704@gmail.com> References: <55C4E234.3060203@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0862296802==" X-Trace: ger.gmane.org 1439027111 31539 80.91.229.3 (8 Aug 2015 09:45:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Aug 2015 09:45:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 08 11:44:57 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZO0gS-0000Lp-Fk for gctc-ntg-context-518@m.gmane.org; Sat, 08 Aug 2015 11:44:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A3F9510231 for ; Sat, 8 Aug 2015 11:44:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qskCisE1mVHE for ; Sat, 8 Aug 2015 11:44:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2D6C910236 for ; Sat, 8 Aug 2015 11:44:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0908C101FE for ; Sat, 8 Aug 2015 11:44:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id u5efQac5AQ3V for ; Sat, 8 Aug 2015 11:44:25 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 2C49B101E6 for ; Sat, 8 Aug 2015 11:44:25 +0200 (CEST) Original-Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) by filter3-til.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t789iNbd001313 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sat, 8 Aug 2015 11:44:24 +0200 Original-Received: by wibxm9 with SMTP id xm9so86781392wib.0 for ; Sat, 08 Aug 2015 02:44:23 -0700 (PDT) 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=1WzD6GU2l8CK1mHsIBTvAlIW5RCwFR+UGDl+kSIpQMw=; b=u7vqgVbIP74uxlNDQdA8du5lh5BTh3i4MA2/DWHvqDx2zxLfQzQcoUVlTnHW7Ox5UV Iul7yr3iv7PW4SE9/dpzTKC0C3JCVUzWCS8KHuRIHb0epp+67NSImOmBQ/ggX6V27Kxv gSsgzQjqnvYO2p1zSirbAmB3C8QPO6F/Vs+WS9VEAAe+7EM+TyNMT12/XGu+7zqqaiWb faCtt+v1rV11xqEcVtW29OEoqusyO7XbtdaIkzOSw9ftfR9IFxsf4VZbVrO7kurPYw2M ZPTWeQZJ/wxJkLbKeWF2eGAe2ZVsCH3aJeu7S9zwnJNGSsAwYStOqg7X/ly11cEnJgWN I/cw== X-Received: by 10.180.91.40 with SMTP id cb8mr6015507wib.54.1439027063722; Sat, 08 Aug 2015 02:44:23 -0700 (PDT) Original-Received: from keima.localdomain (x2f243d3.dyn.telefonica.de. [2.242.67.211]) by smtp.googlemail.com with ESMTPSA id bg6sm18754701wjc.13.2015.08.08.02.44.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 08 Aug 2015 02:44:23 -0700 (PDT) User-Agent: Postbox 4.0.3 (Macintosh/20150805) In-Reply-To: <55C4E234.3060203@gmx.es> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::235; country=BE; region=Brussels Capital; city=Brussels; latitude=50.8466; longitude=4.3528; http://maps.google.com/maps?q=50.8466,4.3528&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06P29IoeD - 210cc78279fa - 20150808 Received-SPF: pass (filter3-til.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c05::235 as permitted sender) receiver=filter3-til.mf.surf.net; client-ip=2a00:1450:400c:c05::235; envelope-from=; helo=mail-wi0-x235.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) 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:92269 Archived-At: This is a multi-part message in MIME format. --===============0862296802== Content-Type: multipart/alternative; boundary="------------090801090509000304060701" This is a multi-part message in MIME format. --------------090801090509000304060701 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Pablo Rodriguez > 7. August 2015 18:52 > Dear list, > > I have the following sample: > > \definefontfamily[timesnew][serif][FreeSerif] > \definefontfamily[droidserif][serif][Droid Serif] > \setupbodyfont[palatino, 12pt] > \starttext > I want to have \type{\timesnew\ttfx} and \type{\droidserif\ttfx} > in each cell, but \type{foregroundstyle} doesn=E2=80=99t seem to work > (compilation crashes). > \startxtable > \blank > \startxrow > \startxcell \ConTeXt\ is awesome!\stopxcell > \startxcell \ConTeXt\ is awesome!\stopxcell > \stopxrow > \stopxtable > \blank > Typeface selection doesn=E2=80=99t seem to work even with paragraphs: > \defineparagraphs[timesdroid][each][n=3D2, before=3D\blank] > \defineparagraphs[timesdroid][1][style=3D\newtimes] > \defineparagraphs[timesdroid][2][style=3D\droidserif] > \starttimesdroid > \ConTeXt\ is awesome! > \timesdroid > \ConTeXt\ is awesome! > \stoptimesdroid > \stoptext > > All I need is to be able to have a text with a given font family and a > smaller font size on the left and the same text with the same font size > but another font family on the right. > > I have failed with both xtables and paragraphs. > > Wnat am I missing in each case? There is no \ttfx font switch command, what ConTeXt has is \tfx (with=20 one =E2=80=9Ct=E2=80=9D in the name) which switches to a smaller size for the upright font and \tttfx (with=20 three =E2=80=9Ct=E2=80=9D in the name) which switches to a smaller size for the upright typewriter font. Wolfgang --------------090801090509000304060701 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
7.= =20 August 2015 18:52
Dear list,

I hav= e=20 the following sample:

=20 \definefontfamily[timesnew][serif][FreeSerif]
=20 \definefontfamily[droidserif][serif][Droid Serif]
=20 \setupbodyfont[palatino, 12pt]
\starttext
I want to have=20 \type{\timesnew\ttfx} and \type{\droidserif\ttfx}
in each cell,=20 but \type{foregroundstyle} doesn=E2=80=99t seem to work
(compilati= on=20 crashes).
\startxtable
\blank
\startxrow
=20 \startxcell \ConTeXt\ is awesome!\stopxcell
\startxcell \ConTeXt\ is awesome!\stopxcell
\stopxrow
\stopxtable
\blank<= br> Typeface selection doesn=E2=80=99t seem to work even with paragraphs:=
=20 \defineparagraphs[timesdroid][each][n=3D2, before=3D\blank]
=20 \defineparagraphs[timesdroid][1][style=3D\newtimes]
=20 \defineparagraphs[timesdroid][2][style=3D\droidserif]
=20 \starttimesdroid
\ConTeXt\ is awesome!
\timesdroid
=20 \ConTeXt\ is awesome!
\stoptimesdroid
\stoptext

All I need is to be able to have a text with a given font family and a
sm= aller font size on the left and the same text with the same font size
but=20 another font family on the right.

I have failed with both xtables and paragraphs.

Wnat am I missing in each case?
There is no \ttfx font switch command, what ConTeXt has is \tfx (with=20 one =E2=80=9Ct=E2=80=9D in the name)
which switches to a smaller size for the upright font and \tttfx (with=20 three =E2=80=9Ct=E2=80=9D in the name)
which switches to a smaller size for the upright typewriter font.

Wolfgang
--------------090801090509000304060701-- --===============0862296802== 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= --===============0862296802==--