From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93302 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: simplefonts question Date: Thu, 14 Jan 2016 16:21:15 +0100 Message-ID: <5697BCEB.4090909@gmail.com> References: <781ACB41-F2E5-4463-A7E3-0762467F8A5B@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8188452036776351827==" X-Trace: ger.gmane.org 1452784941 29987 80.91.229.3 (14 Jan 2016 15:22:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Jan 2016 15:22:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 14 16:22:09 2016 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 plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aJjir-0003ED-KG for gctc-ntg-context-518@m.gmane.org; Thu, 14 Jan 2016 16:22:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4079C60AD; Thu, 14 Jan 2016 16:21:33 +0100 (CET) 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 6GyY3ou_idgG; Thu, 14 Jan 2016 16:21:31 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 23C5360AF; Thu, 14 Jan 2016 16:21:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 80D7560AD for ; Thu, 14 Jan 2016 16:21:30 +0100 (CET) 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 RyNb_qfYGg2z for ; Thu, 14 Jan 2016 16:21:29 +0100 (CET) Original-Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id DE8C660AC for ; Thu, 14 Jan 2016 16:21:19 +0100 (CET) Original-Received: by mail-wm0-f46.google.com with SMTP id f206so351634243wmf.0 for ; Thu, 14 Jan 2016 07:21:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=8RJkyqAt7bLe+odQHlLF1B3QuItAg7qZ6tNF8KLV20M=; b=K8iolLZzK48iH6S63D/wVktbMkehW04GRlnk6WhnsQAZbVUf1hGeY/yhR/+ahlBb8Y 38FnEFh3lUnJV8o9oMvskHoMnYTscNibB7T9d7/Tp2TpwcFE/+sI6xIUDH0Puat9YqJi /T7fAirTE75RZGJcmU+IbgjamPHOBRhfOs/TYgrMO8nlPIl20XewYqtZDZJyK7fefqkn he3UJsMKE2kIqqAG9D8LV/easvQo3InUi/x25h4n/ZHr/HqxxJhcCKe0m8K784wqxpI6 UyU6qwEMyzfeIbHAgV4ZuZ/tvf4Aa4+3QL0ufBxlRHf2r3wmHELFe/+Oqlb0YeqfqZy/ sVoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=8RJkyqAt7bLe+odQHlLF1B3QuItAg7qZ6tNF8KLV20M=; b=CHYYj5lk6bA8oQseIUEz1A+GhWvKPdRnuJ91asd85QlOpm2cUY+4saYRJS+Qj7QCJu EC7odm4K+stGHXnEUxB8Q73gQGKBOXml2Z5Gg2NBnTibA/fUZS/5UdpuNduM2TfiiYB5 8J2iyypmHOlNr2zIlqnWrcSj52NC1kL/+8ADVUPDilcko7E0H5f9Ywhhw5/Gz7IoM91D lW5cEbXh+8yPW+qJKrKNfAq+yxdSzaGa5ucfLbVK5wp5Kt1BSu+aqlDrnz0RNdJ1rhht 3RAo1SQXRv/e5PgwvnWqBozTBeABpzbz44v78gvyjZr1hu9PawtyXzvMsgNz6wGY7JLN TsZA== X-Gm-Message-State: ALoCoQkbXr0Yg8i/QrgKgGOIThpeKo/CA7xfh8MkJlYGaEcnmLyyjyS6QALWLYv8GxK0IxircAFiUhglQaVULFH70L6O1YqIHw== X-Received: by 10.28.195.138 with SMTP id t132mr5283389wmf.61.1452784878943; Thu, 14 Jan 2016 07:21:18 -0800 (PST) Original-Received: from keima.localdomain (x2f285cd.dyn.telefonica.de. [2.242.133.205]) by smtp.gmail.com with ESMTPSA id ka4sm6492721wjc.47.2016.01.14.07.21.17 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 14 Jan 2016 07:21:18 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <781ACB41-F2E5-4463-A7E3-0762467F8A5B@uva.nl> 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:93302 Archived-At: This is a multi-part message in MIME format. --===============8188452036776351827== Content-Type: multipart/alternative; boundary="------------040607090805050300050806" This is a multi-part message in MIME format. --------------040607090805050300050806 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > Meer, Hans van der > 14. Januar 2016 um 14:49 > How to set the calligraphic font in the simplefonts module? > With the instructions in the Wiki: > > \usemodule[simplefonts] > \definefontfamily[fallbackfont][serif][lucidaot] > \definefontfamily[fallbackfont][sans][lucidaot] > \definefontfamily[fallbackfont][mono][lucidaot] > \definefontfamily[fallbackfont][math][lucidaot] > \setupbodyfont[fallbackfont] > \setcalligraphicfont[fallbackfont] > > and got the following errors: (1) unknow font and (2) unknown definition. > > open source > 6 > 12 > > /Users/hansm/Applications/TeX-sources/context-29/tex/texmf-context/tex/context/base/type-imp-lucida-opentype.mkiv > close source > 6 > 12 > > /Users/hansm/Applications/TeX-sources/context-29/tex/texmf-context/tex/context/base/type-imp-lucida-opentype.mkiv > fonts > defining > font with asked name 'unknown' is not found using > lookup 'file' > fonts > defining > unknown font 'unknown', loading aborted > fonts > defining > unable to define 'unknown' as > 'fallbackfont-12pt-rm-tf-0--0' > > hvdm-fig.tex: ! Undefined control sequence > > l.11 \setcalligraphicfont > [fallbackfont] > > > Why is ConTeXt able to use my Lucida font with simply > \setupbodyfont[lucidaot] but does simplefont not? You're using the wrong names for the fonts and there is also no need to load the simplefonts module. \definefontfamily [mainface] [rm] [Lucida Bright OT] \definefontfamily [mainface] [ss] [Lucida Sans OT] \definefontfamily [mainface] [tt] [Lucida Sans Typewriter OT] \definefontfamily [mainface] [mm] [Lucida Bright Math OT] \definefontfamily [mainface] [hw] [Lucida Handwriting OT] \definefontfamily [mainface] [cg] [Lucida Calligraphy OT] \setupbodyfont[mainface] \starttext \rm\tf Roman \it Italic \bf Bold \bi BoldItalic \sc SmallCaps \ss\tf Roman \it Italic \bf Bold \bi BoldItalic \sc SmallCaps \tt\tf Roman \it Italic \bf Bold \bi BoldItalic \sc SmallCaps \hw\tf Roman \it Italic \bf Bold \bi BoldItalic \sc SmallCaps \cg\tf Roman \it Italic \bf Bold \bi BoldItalic \sc SmallCaps \startformula c^2 = a^2 + b^2 \stopformula \stoptext Wolfgang --------------040607090805050300050806 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
14. Januar 2016 um 14:49
How to set the calligraphic font in the simplefonts module? 
With the instructions in the Wiki:

\usemodule[simplefonts]
\definefontfamily[fallbackfont][serif][lucidaot]
\definefontfamily[fallbackfont][sans][lucidaot]
\definefontfamily[fallbackfont][mono][lucidaot]
\definefontfamily[fallbackfont][math][lucidaot]
\setupbodyfont[fallbackfont]
\setcalligraphicfont[fallbackfont]

and got the following errors: (1) unknow font and (2) unknown definition.

open source     > 6 > 12 > /Users/hansm/Applications/TeX-sources/context-29/tex/texmf-context/tex/context/base/type-imp-lucida-opentype.mkiv
close source    > 6 > 12 > /Users/hansm/Applications/TeX-sources/context-29/tex/texmf-context/tex/context/base/type-imp-lucida-opentype.mkiv
fonts           > defining > font with asked name 'unknown' is not found using lookup 'file'
fonts           > defining > unknown font 'unknown', loading aborted
fonts           > defining > unable to define 'unknown' as 'fallbackfont-12pt-rm-tf-0--0'

hvdm-fig.tex: ! Undefined control sequence

l.11 \setcalligraphicfont
                       [fallbackfont]


Why is ConTeXt able to use my Lucida font with simply \setupbodyfont[lucidaot] but does simplefont not?
You’re using the wrong names for the fonts and there is also no need to load the simplefonts module.

\definefontfamily [mainface] [rm] [Lucida Bright OT]
\definefontfamily [mainface] [ss] [Lucida Sans OT]
\definefontfamily [mainface] [tt] [Lucida Sans Typewriter OT]
\definefontfamily [mainface] [mm] [Lucida Bright Math OT]
\definefontfamily [mainface] [hw] [Lucida Handwriting OT]
\definefontfamily [mainface] [cg] [Lucida Calligraphy OT]

\setupbodyfont[mainface]

\starttext

\rm\tf Roman \it Italic \bf Bold \bi BoldItalic \sc SmallCaps

\ss\tf Roman \it Italic \bf Bold \bi BoldItalic \sc SmallCaps

\tt\tf Roman \it Italic \bf Bold \bi BoldItalic \sc SmallCaps

\hw\tf Roman \it Italic \bf Bold \bi BoldItalic \sc SmallCaps

\cg\tf Roman \it Italic \bf Bold \bi BoldItalic \sc SmallCaps

\startformula
c^2 = a^2 + b^2
\stopformula

\stoptext

Wolfgang
--------------040607090805050300050806-- --===============8188452036776351827== 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= --===============8188452036776351827==--