Ah thanks to all! I’ll dive into it Best
-a- -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - StudiUm Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.fonurgia.unito.it/andrea/ --> http://www.flickr.com/photos/vanderaalle/sets/ --> http://vimeo.com/vanderaalle --> andrea.va...@unito.it -------------------------------------------------- "This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a lotta what-have-yous." (Jeffrey 'The Dude' Lebowski) > On 3 Apr 2017, at 21:07, Aditya Mahajan <adit...@umich.edu> wrote: > > On Mon, 3 Apr 2017, Andrea Valle wrote: > >> Dear list, >> >> I have a question which is really basic. MacOSX here. >> I looked at the wiki, but the whole matter is a bit far from my knowledge. >> Is there a way to use system fonts? I *think* I remember something like >> simpletypescript package > > > 1. First, let's check if context is seeing the fonts that ship with OSX. > > mtxrun --script fonts --list --pattern="palatino*" --all > > palatino palatinobolditalic > /System/Library/Fonts/Palatino.ttc index: 4 > palatinobold palatinobolditalic > /System/Library/Fonts/Palatino.ttc index: 4 > palatinobolditalic palatinobolditalic > /System/Library/Fonts/Palatino.ttc index: 4 > palatinolinotype palatinolinotyperoman > /Library/Fonts/Microsoft/Palatino Linotype.ttf > palatinolinotypebold palatinolinotypebold > /Library/Fonts/Microsoft/Palatino Linotype Bold.ttf > palatinolinotypebolditalic palatinolinotypebolditalic > /Library/Fonts/Microsoft/Palatino Linotype Bold Italic.ttf > palatinolinotypeitalic palatinolinotypeitalic > /Library/Fonts/Microsoft/Palatino Linotype Italic.ttf > palatinolinotypenormal palatinolinotyperoman > /Library/Fonts/Microsoft/Palatino Linotype.ttf > palatinolinotyperegular palatinolinotyperoman > /Library/Fonts/Microsoft/Palatino Linotype.ttf > palatinolinotyperoman palatinolinotyperoman > /Library/Fonts/Microsoft/Palatino Linotype.ttf > > OK. So, I have a palatino that ships with apple and Palatino Linotype that > ships with Microsoft Office (I think). > > 2. Let's create a typescript to use this (I haven't check the font license to > see if you can distribute a pdf of this document. Please check your font > license!): > > \definefontfamily [myfont] [serif] [Palatino Linotype] > \setupbodyfont [myfont] > > \starttext > This is a test \bold{Does bold work} and does \italic{italic}? > \stoptext > > That's it! Simply compile the file and everything works. Of course, for a > real document, you need to set the sans serif, mono, and math font style as > well. > > Aditya > ___________________________________________________________________________________ > 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 ___________________________________________________________________________________