From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91736 Path: news.gmane.org!not-for-mail From: Thad Heltemes Newsgroups: gmane.comp.tex.context Subject: Re: Newbie, question about fonts Date: Fri, 19 Jun 2015 14:33:11 -0500 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2125998166==" X-Trace: ger.gmane.org 1434742458 4727 80.91.229.3 (19 Jun 2015 19:34:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Jun 2015 19:34:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 19 21:34:03 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z6239-0003La-05 for gctc-ntg-context-518@m.gmane.org; Fri, 19 Jun 2015 21:34:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 00256101F9 for ; Fri, 19 Jun 2015 21:34:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7vRfwdf3o7dh for ; Fri, 19 Jun 2015 21:34:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id ACB7C10231 for ; Fri, 19 Jun 2015 21:33:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 63FE1101F9 for ; Fri, 19 Jun 2015 21:33:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0238S5QCEwZx for ; Fri, 19 Jun 2015 21:33:24 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 12A63101E6 for ; Fri, 19 Jun 2015 21:33:14 +0200 (CEST) Original-Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t5JJXBM2031766 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Fri, 19 Jun 2015 21:33:12 +0200 Original-Received: by laka10 with SMTP id a10so80073233lak.0 for ; Fri, 19 Jun 2015 12:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=7PIQditKCdNP2g/yEqSyeAJmk544pK2hYn+1TBbznrg=; b=V8hwyMEkyW1/D5FT1JayfR755+ylmpWuqUQN/j1fWnmzCx8hHtJvF/J6HCIO3jh0dH SueqrxJMdRhOO8it/TST2CWaxsO7bY+7hHdHlaLGLKGxIi5mgmb+JMjAS+cBa1umdJmM 5LzhXf3auyx0/PATtNzud/E5+afn1eQuHQ6vRYzy/QJyulgE1aTJcx7eQlIyDN3nowRn 9eItzRMWMHMrXW737ksnfQrLiYP5/Vid3v5Na3XCMtFBUp0wJ1wyILxPmb2yxS8o+bIE /sF6GU4K/xAHIwJ6QkqwFmGjeXz/GPtd1zfj7Ua9jmVa/6Oa7ZJm25LYNdPUQ4PdhVNY 3Imw== X-Received: by 10.112.170.167 with SMTP id an7mr19258977lbc.103.1434742391261; Fri, 19 Jun 2015 12:33:11 -0700 (PDT) Original-Received: by 10.25.140.19 with HTTP; Fri, 19 Jun 2015 12:33:11 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4010:c03::22e; country=FI; region=South Karelia; city=Lappeenranta; latitude=61.0667; longitude=28.1833; http://maps.google.com/maps?q=61.0667,28.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01OGjxcrg - 910feaf644c3 - 20150619 (trained as not-spam) Received-SPF: pass (filter4-ams.mf.surf.net: domain of theltemes@gmail.com designates 2a00:1450:4010:c03::22e as permitted sender) receiver=filter4-ams.mf.surf.net; client-ip=2a00:1450:4010:c03::22e; envelope-from=; helo=mail-la0-x22e.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) 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:91736 Archived-At: --===============2125998166== Content-Type: multipart/alternative; boundary=001a11c368cc934ef40518e3fe8d --001a11c368cc934ef40518e3fe8d Content-Type: text/plain; charset=UTF-8 Try this: \definefontfamily[ijcv-fonts][sans][ITCFranklinGothicStd][tf=file:ITCFranklinGothicStd-BkCp.otf, it=file:ITCFranklinGothicStd-BkCpIt.otf, bf=file:ITCFranklinGothicStd-DmCp.otf, bi=file: ITCFranklinGothicStd-DmCpIt.otf] On Fri, Jun 19, 2015 at 2:18 PM, Florian Rudt wrote: > Dear List, > > at first: thanks a lot for TeX and ConTeXt. > > I am really new to CoTeXt, TeX and LaTex, sorry. I come from the other > side, from the DTP-side (the dark side). I have been working for more than > 20 years in the graphics and prepess business with the mouse (only at the > beginning some weeks playing with Linotype Series 300 and Linosetting and > one day Berthold's ProfiPage). > > I managed to redo a simple old job with context: the book block of a > novel, incl. front matter and fonts from my own library. Even the first > results were amazingly beautiful. > > Now I want to redesign an academic journal (the International Journal of > Conflict and Violence, www.ijcv.org) that I currently set with tango > (something like Scribus or InDesign). I have got most of my font working > with ConTeXt, but this time I failed. I can not get the ITC Franklin Gothic > working. > > My installation is ConTeXt standalone on linux mint. I installed the > otf-fonts by copying them into the directory > ~/context/tex/texmf-fonts/opentype/FranklinGothic/ . Then I run "mtxrun > --generate" in the terminal. > > "mtxrun --script fonts --list --all --pattern=*franklin*" gives: > > itcfranklingothicstd itcfranklingothicstddmcp > ITCFranklinGothicStd-DmCp.otf > itcfranklingothicstdbkcp itcfranklingothicstdbkcp > ITCFranklinGothicStd-BkCp.otf > itcfranklingothicstdbkcpit itcfranklingothicstdbkcpit > ITCFranklinGothicStd-BkCpIt.otf > itcfranklingothicstdbold itcfranklingothicstddmcp > ITCFranklinGothicStd-DmCp.otf > itcfranklingothicstdbolditalic itcfranklingothicstddmcpit > ITCFranklinGothicStd-DmCpIt.otf > itcfranklingothicstddemi itcfranklingothicstddmcp > ITCFranklinGothicStd-DmCp.otf > itcfranklingothicstddmcp itcfranklingothicstddmcp > ITCFranklinGothicStd-DmCp.otf > itcfranklingothicstddmcpit itcfranklingothicstddmcpit > ITCFranklinGothicStd-DmCpIt.otf > itcfranklingothicstditalic itcfranklingothicstdbkcpit > ITCFranklinGothicStd-BkCpIt.otf > itcfranklingothicstdnormal itcfranklingothicstdbkcpit > ITCFranklinGothicStd-BkCpIt.otf > itcfranklingothicstdregular itcfranklingothicstdbkcp > ITCFranklinGothicStd-BkCp.otf > > I thought that all font styles are available (but I only need Book > Compressed, Book Compressed Italic, Demi Compressed, and Demi Compressed > Italic). > > So, this is my not working example: > > %fonts for ijcv > \setupbodyfontenvironment[default][em=italic] > % > \definefontfamily [ijcv-fonts] [serif] [Minion Pro] > \definefontfamily [ijcv-fonts] [sans] [itcfranklingothicstd] > % > \definefontfeature [default] [default] [onum=yes] > % > \setupbodyfont[ijcv-fonts, 10.25pt] > \setupinterlinespace[4.75mm] > % > \starttext > Minion Pro 1234567890 > > \ss{ITC Franklin Gothic Book Compressed} > \stoptext > > The problem is the fontname: [itcfranklingothicstd] doesn't work and I > tried [ITC Franklin Gothic Std] and a lot of other spellings. I succeded > with a lot of other fonts with this approach. > > What could I have done wrong? > > Thanks in advance > > Florian > > > ___________________________________________________________________________________ > 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://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > -- Thad Heltemes, Ph.D. http://theltemes.net --001a11c368cc934ef40518e3fe8d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Try this:

\definefontfamily[= ijcv-fonts][sans][ITCFranklinGothicStd][tf=3Dfile:ITCFranklinGothicStd-BkCp= .otf, it=3Dfile:ITCFranklinGothicStd-BkCpIt.otf, bf=3Dfile:ITCFranklinGothi= cStd-DmCp.otf, bi=3Dfile:=C2=A0ITCFranklinGothicStd-DmCpIt.otf]
=

On Fri, Jun 19, 2= 015 at 2:18 PM, Florian Rudt <frudt@mac.com> wrote:
Dear List,

at first: thanks a lot for TeX and ConTeXt.

I am really new to CoTeXt, TeX and LaTex, sorry. I come from the other side= , from the DTP-side (the dark side). I have been working for more than 20 y= ears in the graphics and prepess business with the mouse (only at the begin= ning some weeks playing with Linotype Series 300 and Linosetting and one da= y Berthold's ProfiPage).

I managed to redo a simple old job with context: the book block of a novel,= incl. front matter and fonts from my own library. Even the first results w= ere amazingly beautiful.

Now I want to redesign an academic journal (the International Journal of Co= nflict and Violence, www.ijcv.org) that I currently set with tango (somethin= g like Scribus or InDesign). I have got most of my font working with ConTeX= t, but this time I failed. I can not get the ITC Franklin Gothic working.
My installation is ConTeXt standalone on linux mint. I installed the otf-fo= nts by copying them into the directory ~/context/tex/texmf-fonts/opentype/F= ranklinGothic/ . Then I run "mtxrun --generate" in the terminal.<= br>
"mtxrun --script fonts --list --all --pattern=3D*franklin*" gives= :

itcfranklingothicstd=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0itcfran= klingothicstddmcp=C2=A0 =C2=A0 =C2=A0ITCFranklinGothicStd-DmCp.otf
itcfranklingothicstdbkcp=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0itcfranklingothic= stdbkcp=C2=A0 =C2=A0 =C2=A0ITCFranklinGothicStd-BkCp.otf
itcfranklingothicstdbkcpit=C2=A0 =C2=A0 =C2=A0 =C2=A0itcfranklingothicstdbk= cpit=C2=A0 =C2=A0ITCFranklinGothicStd-BkCpIt.otf
itcfranklingothicstdbold=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0itcfranklingothic= stddmcp=C2=A0 =C2=A0 =C2=A0ITCFranklinGothicStd-DmCp.otf
itcfranklingothicstdbolditalic=C2=A0 =C2=A0itcfranklingothicstddmcpit=C2=A0= =C2=A0ITCFranklinGothicStd-DmCpIt.otf
itcfranklingothicstddemi=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0itcfranklingothic= stddmcp=C2=A0 =C2=A0 =C2=A0ITCFranklinGothicStd-DmCp.otf
itcfranklingothicstddmcp=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0itcfranklingothic= stddmcp=C2=A0 =C2=A0 =C2=A0ITCFranklinGothicStd-DmCp.otf
itcfranklingothicstddmcpit=C2=A0 =C2=A0 =C2=A0 =C2=A0itcfranklingothicstddm= cpit=C2=A0 =C2=A0ITCFranklinGothicStd-DmCpIt.otf
itcfranklingothicstditalic=C2=A0 =C2=A0 =C2=A0 =C2=A0itcfranklingothicstdbk= cpit=C2=A0 =C2=A0ITCFranklinGothicStd-BkCpIt.otf
itcfranklingothicstdnormal=C2=A0 =C2=A0 =C2=A0 =C2=A0itcfranklingothicstdbk= cpit=C2=A0 =C2=A0ITCFranklinGothicStd-BkCpIt.otf
itcfranklingothicstdregular=C2=A0 =C2=A0 =C2=A0 itcfranklingothicstdbkcp=C2= =A0 =C2=A0 =C2=A0ITCFranklinGothicStd-BkCp.otf

I thought that all font styles are available (but I only need Book Compress= ed, Book Compressed Italic, Demi Compressed, and Demi Compressed Italic).
So, this is my not working example:

%fonts for ijcv
\setupbodyfontenvironment[default][em=3Ditalic]
%
\definefontfamily [ijcv-fonts] [serif] [Minion Pro]
\definefontfamily [ijcv-fonts] [sans] [itcfranklingothicstd]
%
\definefontfeature [default] [default] [onum=3Dyes]
%
\setupbodyfont[ijcv-fonts, 10.25pt]
\setupinterlinespace[4.75mm]
%
\starttext
Minion Pro 1234567890

\ss{ITC Franklin Gothic Book Compressed}
\stoptext

The problem is the fontname: [itcfranklingothicstd] doesn't work and I = tried [ITC Franklin Gothic Std] and a lot of other spellings. I succeded wi= th a lot of other fonts with this approach.

What could I have done wrong?

Thanks in advance

Florian

_________________________________________________________= __________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= rel=3D"noreferrer">http://www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/con= textrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________



--
Thad Heltemes, Ph.D.

http://theltemes.net
--001a11c368cc934ef40518e3fe8d-- --===============2125998166== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============2125998166==--