From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114310 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Reviczky via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Why isn't bold + italics working together? Date: Sat, 29 Jan 2022 16:19:08 +0000 Message-ID: References: <735410994.1987397.1643467584760.ref@mail.yahoo.com> <735410994.1987397.1643467584760@mail.yahoo.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2902180697863447453==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36785"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Adam Reviczky To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 29 17:20:03 2022 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 1nDqSI-0009JJ-Rn for gctc-ntg-context-518@m.gmane-mx.org; Sat, 29 Jan 2022 17:20:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D9F0E289799; Sat, 29 Jan 2022 17:19:25 +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 2yQIeHdAz8sY; Sat, 29 Jan 2022 17:19:24 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5B08E28979A; Sat, 29 Jan 2022 17:19:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4490C28979A for ; Sat, 29 Jan 2022 17:19:22 +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 LJhqcQjHPzNu for ; Sat, 29 Jan 2022 17:19:21 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.49; helo=mail-ej1-f49.google.com; envelope-from=reviczky@gmail.com; receiver= Original-Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 0B17B289799 for ; Sat, 29 Jan 2022 17:19:20 +0100 (CET) Original-Received: by mail-ej1-f49.google.com with SMTP id d10so27111463eje.10 for ; Sat, 29 Jan 2022 08:19:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8sDFtNG/yNE8oF7bndNcVAt46KQBztbv6omfPSWWi8I=; b=osEn8nZKD9FesSBdQBOx5ruFVKbqLo/5ffzaWAs2VFfRmRIPA0RIv329LQapm5JQiU 0mrw5BQiX4sWO4LjnJVVbiEgxkjP+qwkGvZ3D0InwhzudVYjXoM7n9EiX3pAgh2XH4lv zX71yYYImzY6UPWNGy8VsEGH77US87Xj8aaRp6irHJJPBNaokN2iBJW0LSLjBOqQQ9Dq f+6Hn7+Ss3CI/vi9IryWSHIiYgB6s6vZ2biM7voTLF0YERp2Ez/t6aY5gVqlxDFCWQvU gPHqNRovP6+XfPO5ADaznY8XQD3FjdoJiaZ907sIA6Erk5qsB7v6hVSgbf7ZXQhQorXb 0jog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8sDFtNG/yNE8oF7bndNcVAt46KQBztbv6omfPSWWi8I=; b=Sfwgh4ODji3cbb1djEYrDOgrK+tlN8E9ZPdkIOd6f9yb2LTjxCljQcDkKOe9MapJwB MgXzME82mbx+rz+f6wUo3uyqLpUYNPGn+/iXko+r5MQ9l9NmdgeSQ3GG5Y+5pGB0Yh+W z2x8lCWgthSrDa2OiZiulrU9JlaE6v2QWtKYbHoYQmMCowfnZ6rn2I2h1delDNTTZ8Kn DetIEDX5nrQt6XU0qijPYxDEllldAmjk5j1ozZO2ZmXlAyHCUCtakSRIo+xXsu+ETesF Cb24Gu9+1D0eyPppehNFA1ZW9ZW1iUdvq9lPF2LNmuGTXj+dRyQLB2nAoUQ1ZzNtPmhy 3FAA== X-Gm-Message-State: AOAM532ssqOeHWC1FiXDDNVMwY49STSg6cffqoRPy97gsK/a0G6qoiy4 Gl1UlJ7EZL19mQQFwyXVJHm0WuOSDEO35AITHFKYLlt+jjiZvw== X-Google-Smtp-Source: ABdhPJwNa5z+YbVVYQIyEr+3Rc8Yc/XgElsPvrnevMZp9ho1Cv9pG3Ll6hIwTgiTFS/psqJri7BfWN83OoFtRYoYBF8= X-Received: by 2002:a17:907:3f8d:: with SMTP id hr13mr10820127ejc.608.1643473160057; Sat, 29 Jan 2022 08:19:20 -0800 (PST) In-Reply-To: <735410994.1987397.1643467584760@mail.yahoo.com> 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:114310 Archived-At: --===============2902180697863447453== Content-Type: multipart/alternative; boundary="000000000000e738c005d6bae99e" --000000000000e738c005d6bae99e Content-Type: text/plain; charset="UTF-8" Hi Joel, I don't think you can stack those, just use \bi (see: https://wiki.contextgarden.net/Font_Switching) \starttext \startitemize \item This text has {\bf bold} in it. \item This text has {\it italics} in it. \item Why doesn't this have {\bi bold and italics} in it? \stopitemize See also: https://www.mail-archive.com/ntg-context@ntg.nl/msg99994.html Adam On Sat, Jan 29, 2022 at 2:52 PM Joel via ntg-context wrote: > I am finishing the final touches on a manuscript, which I hope to send to > a publisher later today and noticed this problem where bold and italic text > isn't rendered at the same time. > > I am using the EB Garamond font in my document. I set it up exactly as > shown below. Strangely, bold works, italics works, but when bold and > italics are together, it only display in italics, it doesn't display a bold > italic text. I've confirmed the `EBGaramond-BoldItalic.otf` font is present > and seems just fine. I've also tried by just using the default ConTeXt font > and the error still appears, also in live.contextgarden.net. I tried > searching the mailing list, as this seems like something that must have > come up, but couldn't find any question about this. > > Why won't it render both? > > > \starttypescript[serif] [garamond] > \definefontsynonym[Serif] [file:~/.fonts/12/EBGaramond-Regular.otf] > \definefontsynonym[SerifBold] [file:~/.fonts/12/EBGaramond-Bold.otf] > \definefontsynonym[SerifItalic] [file:~/.fonts/12/EBGaramond-Italic.otf] > \definefontsynonym[SerifBoldItalic] > [file:~/.fonts/12/EBGaramond-BoldItalic.otf] > \stoptypescript > % > \starttypescript[sans] [garamond] > \definefontsynonym[Sans] [file:~/.fonts/12/EBGaramond-Regular.otf] > \definefontsynonym[SansBold] [file:~/.fonts/12/EBGaramond-Bold.otf] > \definefontsynonym[SansItalic] [file:~/.fonts/12/EBGaramond-Italic.otf] > \definefontsynonym[SansBoldItalic] > [file:~/.fonts/12/EBGaramond-BoldItalic.otf] > \stoptypescript > % > \starttypescript[garamond] > \definetypeface[garamond] [rm][serif][garamond][default] > \definetypeface[garamond] [ss][sans][garamond][default] > \definetypeface[garamond] [mm][math][modern][default] > \stoptypescript > % > > \setupbodyfont[garamond, 12pt]% > > \starttext > \startitemize > \item This text has {\bf bold} in it. > \item This text has {\it italics} in it. > \item Why doesn't this have {\bf\it bold and italics} in it? > \stopitemize > > \stoptext > > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > --000000000000e738c005d6bae99e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Joel,

I don't think y= ou can stack those, just use \bi (see: https://wiki.contextgarden.net/Font= _Switching)

\starttext
\startit= emize
\item This text has {\bf bold} in it.
\item This = text has {\it italics} in it.
\item Why doesn't this have {\b= i bold and italics} in it?
\stopitemize


Adam

On Sat, Jan 29, 2022 at 2:52 PM Jo= el via ntg-context <ntg-context@ntg.nl> wrote:
I am finishing th= e final touches on a manuscript, which I hope to send to a publisher later = today and noticed this problem where bold and italic text isn't rendere= d at the same time.

I am using t= he EB Garamond font in my document. I set it up exactly as=20 shown below. Strangely, bold works, italics works, but when bold and=20 italics are together, it only display in italics, it doesn't display a= =20 bold italic text. I've confirmed the `EBGaramond-BoldItalic.otf` font i= s present and seems just fine. I've also tried by just using the default= =20 ConTeXt font and the error still appears, also in=20 live.contextgar= den.net. I tried searching the mailing list, as this=20 seems like something that must have come up, but couldn't find any=20 question about this.

Why won't it render both?=


\starttypescript[serif] [garamond]=
\definefontsynonym[Serif] [file:~/.fonts/12/EBGaramond-Regular.o= tf]
\definefontsynonym[SerifBold] [file:~/.fonts/12/EBGaramond-Bo= ld.otf]
\definefontsynonym[SerifItalic] [file:~/.fonts/12/EBGaram= ond-Italic.otf]
\definefontsynonym[SerifBoldItalic] [file:~/.font= s/12/EBGaramond-BoldItalic.otf]
\stoptypescript
%
=
\starttypescript[sans] [garamond]
\definefontsynonym[Sans] [= file:~/.fonts/12/EBGaramond-Regular.otf]
\definefontsynonym[SansB= old] [file:~/.fonts/12/EBGaramond-Bold.otf]
\definefontsynonym[Sa= nsItalic] [file:~/.fonts/12/EBGaramond-Italic.otf]
\definefontsyn= onym[SansBoldItalic] [file:~/.fonts/12/EBGaramond-BoldItalic.otf]
\stoptypescript
%
\starttypescript[garamond]
\definetypeface[garamond] [rm][serif][garamond][default]
\define= typeface[garamond] [ss][sans][garamond][default]
\definetypeface[= garamond] [mm][math][modern][default]
\stoptypescript
%=

\setupbodyfont[garamond, 12pt]%

\starttext
\startitemize
\item This text has {\= bf bold} in it.
\item This text has {\it italics} in it.
\item Why doesn't this have {\bf\it bold and italics} in it?
\stopitemize

\stoptext

___________________________________________________________________= ________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000e738c005d6bae99e-- --===============2902180697863447453== 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== --===============2902180697863447453==--