Re: [NTG-context] definefontfamily use
On Tue, 22 Jan 2019 19:39:05 +0100 Hans Hagen wrote: > one can do > > \definefont[MyTitleFont][file:myfont.ttf*default sa 3] > > \setuphead[chapter][style=\MyTitlefont] Thank you \definefont[MyFont][file:myfont.ttf] \scale[width=.5\textwidth]{\MyFont My Font!} can be used for example in a header or footer element, and this is minimal and simple. What are the roles of "*default" and "sa 3" as these appear to be unnecessary? Alan ___ 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] definefontfamily use
On 1/22/2019 6:42 PM, Alan Braslau wrote: Hello, Previously, in order to make punctual use of a true-type font in a title for example, I did the following: \definefontfamily [myfont] [serif] [myfont] where myfont.ttf is located in the current project directory, and selecting the font was simply {\switchtobodyfont[myfont]My Font!} Using the present context, this yields the error selectfont > The requested font 'myfont' has no files for the 'tf' alternative, Latin Modern is used instead. What has changed and what should be the proper use? (I have tried setting explicitly [tf=file:myfont.ttf], which was only a guess.) one can do \definefont[MyTitleFont][file:myfont.ttf*default sa 3] \setuphead[chapter][style=\MyTitlefont] Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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] definefontfamily use
Hello, Previously, in order to make punctual use of a true-type font in a title for example, I did the following: \definefontfamily [myfont] [serif] [myfont] where myfont.ttf is located in the current project directory, and selecting the font was simply {\switchtobodyfont[myfont]My Font!} Using the present context, this yields the error selectfont > The requested font 'myfont' has no files for the 'tf' alternative, Latin Modern is used instead. What has changed and what should be the proper use? (I have tried setting explicitly [tf=file:myfont.ttf], which was only a guess.) Alan ___ 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] Changes \setuphead
Hi Wolfgang! Thank you for your mails. Ursula Hermann. -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Wolfgang Schuster Gesendet: Montag, 21. Jänner 2019 22:07 An: mailing list for ConTeXt users ; Otared Kavian Betreff: Re: [NTG-context] Changes \setuphead Otared Kavian schrieb am 21.01.19 um 12:08: > Hi Ursula, > > If you replace the \startsetups[chapter:before] with the following, you > obtain a page without the page number: > > \startsetups [chapter:before] >\doifoddpageelse > {} > {\pushbackground[page] > \setuppagenumbering[state=stop] \page[empty] or \page[header,footer,right] 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 ___