Re: [NTG-context] issue with framed texts
Pablo Rodriguez via ntg-context schrieb am 24.04.2022 um 20:56: Dear list, I have the following sample: \defineframedtext[backcover] \setupframedtext[backcover] [frame=off, offset=overlay, width=\textwidth] \starttext \startframedtext[backcover] \input zapf \stopframedtext \stoptext Using current LMTX (2022.04.20 19:18), I’m afraid no format from \setupframedtext is applied to the backcover framed text. Can anyone confirm the issue or explain what I’m doing wrong? You have to use \startbackcover ... \stopbackcover in your document. While you can pass a instance to \starframed (e.g. \startframed[backcover]) the same isn't possible with \startframedtext. 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 ___
[NTG-context] issue with framed texts
Dear list, I have the following sample: \defineframedtext[backcover] \setupframedtext[backcover] [frame=off, offset=overlay, width=\textwidth] \starttext \startframedtext[backcover] \input zapf \stopframedtext \stoptext Using current LMTX (2022.04.20 19:18), I’m afraid no format from \setupframedtext is applied to the backcover framed text. Can anyone confirm the issue or explain what I’m doing wrong? Just in case it may be relevant, I’m on Linux 64bit. Many thanks for your help, Pablo ___ 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 ___
Re: [NTG-context] How do I define a smallcaps font?
Am 24.04.22 um 16:21 schrieb Joel via ntg-context: I have a font that already comes with a smallcaps variant. How do I define it? I've tried the following, which I think should work from the documentation I've seen, but doesn't: \starttypescript[serif] [garamond] \definefontsynonym[Serif] [file:/home/joel/.fonts/12/EBGaramond-Regular.otf] \definefontsynonym[SerifBold] [file:/home/joel/.fonts/12/EBGaramond-Bold.otf] \definefontsynonym[SerifItalic] [file:/home/joel/.fonts/12/EBGaramond-Italic.otf] \definefontsynonym[SerifBoldItalic] [file:/home/joel/.fonts/12/EBGaramond-BoldItalic.otf] \definefontsynonym[SerifCaps] [file:/home/joel/.fonts/13/EBGaramond12-AllSC.otf] \stoptypescript \starttypescript[sans] [garamond] \definefontsynonym[Sans] [file:/home/joel/.fonts/12/EBGaramond-Regular.otf] \definefontsynonym[SansBold] [file:/home/joel/.fonts/12/EBGaramond-Bold.otf] \definefontsynonym[SansItalic] [file:/home/joel/.fonts/12/EBGaramond-Italic.otf] \definefontsynonym[SansBoldItalic] [file:/home/joel/.fonts/12/EBGaramond-BoldItalic.otf] \definefontsynonym[SansCaps] [file:/home/joel/.fonts/13/EBGaramond12-AllSC.otf] \stoptypescript \starttypescript[garamond] \definetypeface[garamond] [rm][serif][garamond][default] \definetypeface[garamond] [ss][sans][garamond][default] \definetypeface[garamond] [mm][math][modern][default] \stoptypescript \starttext This is regular text. {\smallcaps This should be in smallcaps.} {\WORD This should be regular text, but capitalized, not really smallcaps.} \stoptext SerifCaps etc. works with the traditional \sc, don’t know about \smallcaps. Are you sure your fonts are found? mtxrun --script fonts --list --all --pattern=EBGaramond If your regular OpenType font contains smallcaps, try: \definefontfeature[mysmallcaps][default][ smcp=yes, % smallcaps script=latn, ] \starttypescript [serif] [garamond] [name] ... \definefontsynonym [SerifCaps][EBGaramond-Regular][features=mysmallcaps] ... Hraban ___ 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 ___
[NTG-context] How do I define a smallcaps font?
I have a font that already comes with a smallcaps variant. How do I define it? I've tried the following, which I think should work from the documentation I've seen, but doesn't: \starttypescript[serif] [garamond] \definefontsynonym[Serif] [file:/home/joel/.fonts/12/EBGaramond-Regular.otf] \definefontsynonym[SerifBold] [file:/home/joel/.fonts/12/EBGaramond-Bold.otf] \definefontsynonym[SerifItalic] [file:/home/joel/.fonts/12/EBGaramond-Italic.otf] \definefontsynonym[SerifBoldItalic] [file:/home/joel/.fonts/12/EBGaramond-BoldItalic.otf] \definefontsynonym[SerifCaps] [file:/home/joel/.fonts/13/EBGaramond12-AllSC.otf] \stoptypescript \starttypescript[sans] [garamond] \definefontsynonym[Sans] [file:/home/joel/.fonts/12/EBGaramond-Regular.otf] \definefontsynonym[SansBold] [file:/home/joel/.fonts/12/EBGaramond-Bold.otf] \definefontsynonym[SansItalic] [file:/home/joel/.fonts/12/EBGaramond-Italic.otf] \definefontsynonym[SansBoldItalic] [file:/home/joel/.fonts/12/EBGaramond-BoldItalic.otf] \definefontsynonym[SansCaps] [file:/home/joel/.fonts/13/EBGaramond12-AllSC.otf] \stoptypescript \starttypescript[garamond] \definetypeface[garamond] [rm][serif][garamond][default] \definetypeface[garamond] [ss][sans][garamond][default] \definetypeface[garamond] [mm][math][modern][default] \stoptypescript \starttext This is regular text. {\smallcaps This should be in smallcaps.} {\WORD This should be regular text, but capitalized, not really smallcaps.} \stoptext --Joel ___ 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 ___