From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112925 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rik Kabel via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Question on style-italic vs style=italicface Date: Sun, 26 Sep 2021 18:49:43 -0400 Message-ID: <029e2fd1-44b2-7ca9-f678-55605a9bfef9@rik.users.panix.com> References: <4f4c249e-23a8-398b-a52e-f533c2c31ba3@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9113735352080598881==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19443"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.1.1 Cc: Rik Kabel To: Wolfgang Schuster via ntg-context Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 27 00:50:20 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mUcyS-0004rh-4y for gctc-ntg-context-518@m.gmane-mx.org; Mon, 27 Sep 2021 00:50:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C4CD42802F2; Mon, 27 Sep 2021 00:49:50 +0200 (CEST) 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 FvPJ_lPU7Aps; Mon, 27 Sep 2021 00:49:49 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 29CD82877DB; Mon, 27 Sep 2021 00:49:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 01F1728753E for ; Mon, 27 Sep 2021 00:49:47 +0200 (CEST) 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 HksjJJhDK-eO for ; Mon, 27 Sep 2021 00:49:45 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=166.84.1.89; helo=mailbackend.panix.com; envelope-from=context@rik.users.panix.com; receiver= Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 8EA082802F2 for ; Mon, 27 Sep 2021 00:49:45 +0200 (CEST) Original-Received: from [192.168.1.106] (cpe-69-204-136-231.nycap.res.rr.com [69.204.136.231]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4HHgvD3dLQz48XL for ; Sun, 26 Sep 2021 18:49:44 -0400 (EDT) Content-Language: en-US In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:112925 Archived-At: This is a multi-part message in MIME format. --===============9113735352080598881== Content-Type: multipart/alternative; boundary="------------xRzhQd2BSG9pQBzZTVpjBmTW" Content-Language: en-US This is a multi-part message in MIME format. --------------xRzhQd2BSG9pQBzZTVpjBmTW Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Wolfgang (off-list), It is simply wrong to say that \italicface as defined gives only \it or \bi as a result. Look at the definition. If the current fontalternative is it \it it will give a \tf result. It is sensitive to the current state in a similar way that \em and \emph are, but it will always give an italic or roman result. -- Rik On 9/26/2021 18:37, Wolfgang Schuster via ntg-context wrote: > Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:20: >> >> So, I am asking whether, in places where folks often use >> style=italic, it might be better to consider style=italicface. >> >> Bug report: \meaning\italicface gives: >> >> protected macro:\relax \ifx \fontalternative \s!tf \it \orelse >> \ifx \fontalternative >> \s!bf \bi \else \tf \fi >> >> This leaves out the transition from bi to bf. That transition is done >> by \emph, but \emph may give slanted while \italicface is always italic. >> > > The \italicface command uses either \it or \bi as result but it never > result in upright text and the "italic" in the name tells you this, > there are commands (e.g. \boldface) with similar results. To get a > slanted style you have to use the \slantedface command. > > Wolfgang > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist :ntg-context@ntg.nl /http://www.ntg.nl/mailman/listinfo/ntg-context > webpage :http://www.pragma-ade.nl /http://context.aanhet.net > archive :https://bitbucket.org/phg/context-mirror/commits/ > wiki :http://contextgarden.net > ___________________________________________________________________________________ --------------xRzhQd2BSG9pQBzZTVpjBmTW Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Wolfgang (off-list),

It is simply wrong to say that \italicface as defined gives only \it or \bi as a result. Look at the definition. If the current fontalternative is it \it it will give a \tf result. It is sensitive to the current state in a similar way that \em and \emph are, but it will always give an italic or roman result.

--
Rik

On 9/26/2021 18:37, Wolfgang Schuster via ntg-context wrote:
Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:20:

So, I am asking whether, in places where folks often use style=italic, it might be better to consider style=italicface.

Bug report: \meaning\italicface gives:

protected macro:\relax \ifx \fontalternative \s!tf \it \orelse \ifx \fontalternative
\s!bf \bi \else \tf \fi

This leaves out the transition from bi to bf. That transition is done by \emph, but \emph may give slanted while \italicface is always italic.


The \italicface command uses either \it or \bi as result but it never result in upright text and the "italic" in the name tells you this, there are commands (e.g. \boldface) with similar results. To get a slanted style you have to use the \slantedface command.

Wolfgang


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________
--------------xRzhQd2BSG9pQBzZTVpjBmTW-- --===============9113735352080598881== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============9113735352080598881==--