ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Why isn't bold + italics working together?
       [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
  2022-01-29 17:01   ` Wolfgang Schuster via ntg-context
  0 siblings, 2 replies; 6+ messages in thread
From: Joel via ntg-context @ 2022-01-29 14:46 UTC (permalink / raw)
  To: ntg-context; +Cc: Joel


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

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][de
 fault]\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

[-- Attachment #1.2: Type: text/html, Size: 2577 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Why isn't bold + italics working together?
  2022-01-29 14:46 ` Why isn't bold + italics working together? Joel via ntg-context
@ 2022-01-29 16:19   ` Adam Reviczky via ntg-context
  2022-01-29 16:57     ` Wolfgang Schuster via ntg-context
  2022-01-29 17:01   ` Wolfgang Schuster via ntg-context
  1 sibling, 1 reply; 6+ messages in thread
From: Adam Reviczky via ntg-context @ 2022-01-29 16:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Adam Reviczky


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Why isn't bold + italics working together?
  2022-01-29 16:19   ` Adam Reviczky via ntg-context
@ 2022-01-29 16:57     ` Wolfgang Schuster via ntg-context
  2022-01-29 17:03       ` Denis Maier via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2022-01-29 16:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Adam Reviczky via ntg-context
  Cc: Wolfgang Schuster, Adam Reviczky

Adam Reviczky via ntg-context schrieb am 29.01.2022 um 17:19:
> 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

This thread is outdated, you can now stack styles.

\starttext

text {\italicface text {\boldface text} text} text

\stoptext

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Why isn't bold + italics working together?
  2022-01-29 14:46 ` Why isn't bold + italics working together? Joel via ntg-context
  2022-01-29 16:19   ` Adam Reviczky via ntg-context
@ 2022-01-29 17:01   ` Wolfgang Schuster via ntg-context
  1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2022-01-29 17:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Joel via ntg-context; +Cc: Wolfgang Schuster

Joel via ntg-context schrieb am 29.01.2022 um 15:46:
> 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?

See Adams answer.

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

Don't use absolute paths in \definefontsynonym, when you use a local 
folder for your font files set the path with \usefontpath.

%%%% begin snippet
\usefontpath [~/fonts/12/]

\starttypescript [serif] [garamond]
     \definefontsynonym [Serif] [file:EBGaramond-Regular.otf]
     ...
\stoptypescript
%%%% end snippet

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Why isn't bold + italics working together?
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Denis Maier via ntg-context @ 2022-01-29 17:03 UTC (permalink / raw)
  To: ntg-context; +Cc: denis.maier, reviczky

IDK, but then it's probably a font issue?

Denis
________________________________________
Von: ntg-context <ntg-context-bounces@ntg.nl> im Auftrag von Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
Gesendet: Samstag, 29. Januar 2022 17:57:17
An: mailing list for ConTeXt users; Adam Reviczky via ntg-context
Cc: Wolfgang Schuster; Adam Reviczky
Betreff: Re: [NTG-context] Why isn't bold + italics working together?

Adam Reviczky via ntg-context schrieb am 29.01.2022 um 17:19:
> 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

This thread is outdated, you can now stack styles.

\starttext

text {\italicface text {\boldface text} text} text

\stoptext

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Why isn't bold + italics working together?
  2022-01-29 17:03       ` Denis Maier via ntg-context
@ 2022-01-29 22:21         ` Otared Kavian via ntg-context
  0 siblings, 0 replies; 6+ messages in thread
From: Otared Kavian via ntg-context @ 2022-01-29 22:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Otared Kavian



> On 29 Jan 2022, at 18:03, Denis Maier via ntg-context <ntg-context@ntg.nl> wrote:
> 
> IDK, but then it's probably a font issue?
> […]
> This thread is outdated, you can now stack styles.
> 
> \starttext
> 
> text {\italicface text {\boldface text} text} text
> 
> \stoptext
> 
> Wolfgang

However there seems to be an inconsistency, as in the example below: in this particular example it is better to use explicitely \bi to have bold italic.

\starttext

text {\italicface text {\boldface text} text} text

text {\it text {\bf text} text} text: here the third instance of text is in boldface, but not in italic boldface.

text {\it text {\bi text} text} text

\stoptext

Best regards: Otared
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-01-29 22:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <735410994.1987397.1643467584760.ref@mail.yahoo.com>
2022-01-29 14:46 ` Why isn't bold + italics working together? Joel via ntg-context
2022-01-29 16:19   ` Adam Reviczky via ntg-context
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

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).