Why isn't bold + italics working together?
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
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
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
___________________________________________________________________________________
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
IDK, but then it's probably a font issue?
Denis
________________________________________
Von: ntg-context
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 ___________________________________________________________________________________
On 29 Jan 2022, at 18:03, Denis Maier via ntg-context
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
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
participants (5)
-
Adam Reviczky
-
denis.maier@unibe.ch
-
Joel
-
Otared Kavian
-
Wolfgang Schuster