From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97761 Path: news.gmane.org!.POSTED!not-for-mail From: Andrea Valle Newsgroups: gmane.comp.tex.context Subject: Re: OSX fonts Date: Mon, 3 Apr 2017 23:29:47 +0200 Message-ID: <093D1FAD-0CEA-4CD9-BE3D-BA67C2C6978D@di.unito.it> References: <7859F180-8E85-474E-8A6D-6C185A607D7E@di.unito.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: multipart/mixed; boundary="===============7838474310898460939==" X-Trace: blaine.gmane.org 1491255023 27134 195.159.176.226 (3 Apr 2017 21:30:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 3 Apr 2017 21:30:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 03 23:30:18 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cv9YD-00068W-8U for gctc-ntg-context-518@m.gmane.org; Mon, 03 Apr 2017 23:30:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 128F384CC6; Mon, 3 Apr 2017 23:30:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 66O08RZnEMOz; Mon, 3 Apr 2017 23:30:08 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 42D6F84CC8; Mon, 3 Apr 2017 23:30:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A355E84CC7 for ; Mon, 3 Apr 2017 23:30:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vaWqghu2D-7v for ; Mon, 3 Apr 2017 23:30:05 +0200 (CEST) Original-Received: from mail.di.unito.it (pianeta.di.unito.it [130.192.156.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 5BF6584CC6 for ; Mon, 3 Apr 2017 23:29:55 +0200 (CEST) X-MailScanner-From: valle@di.unito.it X-SpamCheck: not spam, SpamAssassin (not cached, score=-101.466, required 3, autolearn=not spam, AUTHENTICATEDUSER -100.00, AWL -0.96, HTML_MESSAGE 0.00, MISSING_FROM 1.00, RCVD_IN_DNSWL_MED -2.30, RDNS_NONE 0.79, SPF_PASS -0.00) X-AntiVirus: Email Clean X-dipinfo-MailScanner-ID: v33LTl07009489 X-dipinfo-MailScanner-Information: Please contact Department of Computer Science technical staff for more information Original-Received: from mail.di.unito.it ([130.192.156.1]) by mail.di.unito.it (INFO-DIP) with ESMTP id v33LTl07009489 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO AuthenticatedUser=valle ) for ; Mon, 3 Apr 2017 23:29:48 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.di.unito.it v33LTl07009489 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=di.unito.it; s=dipinfo2011; t=1491254989; bh=edi3YBHs+oh4Ka+X+M04M3lxN3/4CgdNYeDGVC4L/54=; h=From:Subject:Date:References:To:In-Reply-To; b=sSI+rpcdcsxpYaqwJudY2rVe5JzzW6xJ9co3z3Zava0/KJfxp5mcQu8fJkirvKIEE 0uYpBR6Buf/P7JbQNH6LN/Zrs9Ie3iXCyZpUS1IY/rAuygrWInt8W/V42e9z8FipVQ e5uiZ2n7AuBBcMmKvnM3lV+G2FfA6uDpPGo8/fvo= In-Reply-To: X-Mailer: Apple Mail (2.3273) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:97761 Archived-At: --===============7838474310898460939== Content-Type: multipart/alternative; boundary="Apple-Mail=_0355AF4B-770A-4F22-A102-A03473D2D34F" --Apple-Mail=_0355AF4B-770A-4F22-A102-A03473D2D34F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Ah thanks to all! I=E2=80=99ll dive into it Best -a- -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - StudiUm Universit=C3=A0 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.valle@unito.it -------------------------------------------------- "This is a very complicated case, Maude. You know, a lotta ins, a lotta = outs, a lotta what-have-yous."=20 (Jeffrey 'The Dude' Lebowski) > On 3 Apr 2017, at 21:07, Aditya Mahajan wrote: >=20 > On Mon, 3 Apr 2017, Andrea Valle wrote: >=20 >> Dear list, >>=20 >> 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 >=20 >=20 > 1. First, let's check if context is seeing the fonts that ship with = OSX. >=20 > mtxrun --script fonts --list --pattern=3D"palatino*" --all >=20 > 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 >=20 > OK. So, I have a palatino that ships with apple and Palatino Linotype = that > ships with Microsoft Office (I think). >=20 > 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!): >=20 > \definefontfamily [myfont] [serif] [Palatino Linotype] > \setupbodyfont [myfont] >=20 > \starttext > This is a test \bold{Does bold work} and does \italic{italic}? > \stoptext >=20 > 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. >=20 > Aditya > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ >=20 --Apple-Mail=_0355AF4B-770A-4F22-A102-A03473D2D34F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Ah thanks to all!
I=E2=80=99ll dive into = it

Best

-a-
--------------------------------------------------
Andrea = Valle
--------------------------------------------------
CIRMA - = StudiUm
Universit=C3=A0 degli Studi di Torino
--------------------------------------------------

"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 <adityam@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=3D"palatino*" = --all

palatino =             &n= bsp;       palatinobolditalic =           /System/Librar= y/Fonts/Palatino.ttc =             &n= bsp;           &nbs= p; index:  4
palatinobold =             &n= bsp;   palatinobolditalic =           /System/Librar= y/Fonts/Palatino.ttc =             &n= bsp;           &nbs= p; index:  4
palatinobolditalic =           palatinoboldit= alic =           /System/Librar= y/Fonts/Palatino.ttc =             &n= bsp;           &nbs= p; index:  4
palatinolinotype =             pa= latinolinotyperoman =        /Library/Fonts/Microsoft/Palatin= o Linotype.ttf
palatinolinotypebold =         palatinolinotypebold =         /Library/Fonts/Microsoft/P= alatino 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/Palatin= o Linotype.ttf
palatinolinotyperegular =      palatinolinotyperoman =        /Library/Fonts/Microsoft/Palatin= o Linotype.ttf
palatinolinotyperoman =        palatinolinotyperoman =        /Library/Fonts/Microsoft/Palatin= o 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
_______________________________________________________________= ____________________


= --Apple-Mail=_0355AF4B-770A-4F22-A102-A03473D2D34F-- --===============7838474310898460939== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============7838474310898460939==--