ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Adam Reviczky via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Adam Reviczky <reviczky@gmail.com>
Subject: Re: Why isn't bold + italics working together?
Date: Sat, 29 Jan 2022 16:19:08 +0000	[thread overview]
Message-ID: <CABaoHushw0=uot5wgTaW5rcZKEdwNXJqm26pbE1OWECqXedbgA@mail.gmail.com> (raw)
In-Reply-To: <735410994.1987397.1643467584760@mail.yahoo.com>


[-- Attachment #1.1: Type: text/plain, Size: 2952 bytes --]

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 <ntg-context@ntg.nl>
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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 4621 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2022-01-29 16:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <735410994.1987397.1643467584760.ref@mail.yahoo.com>
2022-01-29 14:46 ` Joel via ntg-context
2022-01-29 16:19   ` Adam Reviczky via ntg-context [this message]
2022-01-29 16:57     ` Wolfgang Schuster via ntg-context
2022-01-29 17:03       ` Denis Maier via ntg-context
2022-01-29 22:21         ` Otared Kavian via ntg-context
2022-01-29 17:01   ` Wolfgang Schuster via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABaoHushw0=uot5wgTaW5rcZKEdwNXJqm26pbE1OWECqXedbgA@mail.gmail.com' \
    --to=ntg-context@ntg.nl \
    --cc=reviczky@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).