From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106834 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: kaddour kardio Newsgroups: gmane.comp.tex.context Subject: Re: Fontawesome in lmtx Date: Sat, 11 Apr 2020 16:29:24 +0100 Message-ID: References: <20c40f20-1199-7297-1435-24a08c272d33@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5329379762199213491==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="111281"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 11 17:30:07 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jNI59-000SpE-I7 for gctc-ntg-context-518@m.gmane-mx.org; Sat, 11 Apr 2020 17:30:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1CF5B183066; Sat, 11 Apr 2020 17:29:56 +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 W8hz3Eyvk5FY; Sat, 11 Apr 2020 17:29:55 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1EF6B18324C; Sat, 11 Apr 2020 17:29:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 61835183066 for ; Sat, 11 Apr 2020 17:29:54 +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 Dw4wGV2jinYW for ; Sat, 11 Apr 2020 17:29:53 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.175; helo=mail-oi1-f175.google.com; envelope-from=kaddourkardio@gmail.com; receiver= Original-Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3D3B8182EDB for ; Sat, 11 Apr 2020 17:29:53 +0200 (CEST) Original-Received: by mail-oi1-f175.google.com with SMTP id w2so3862002oic.5 for ; Sat, 11 Apr 2020 08:29:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=390kPjbV3TtDsu0zUX00RZc5rhv9p8/8uKLtlJwTSU8=; b=M0donROkqM/J+anI49hVDMrtPFlD9ZSlI4G2ZXQ3c7jXLt0+sT1vB/wT0culU438xM B3ifxO9cHwUcxeyx596eLzMqfuLcU0jT8ZRd9Wnb5pWi9t0s6tSzur6agkqavkRVfTix RA//i/Go4rlbGfaaAYsCIuDTpmaly3BWvq9hn3RJJLIrbESv5T/FwjP0KQW0hD8mIRNM HcpD/hl0t8xdbzYVShzuVGtZeSu+nHunKpgLzftpgCJZF4F8QSbJe7SLfqCIIzwq3dsB 2jvUIQxr/hBz0KhqvVSrgz4cJYDBfrJ/MUyYkoKooVYQAFJ3jIIfuzMZsrZn19ZvJ2bm 6YJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=390kPjbV3TtDsu0zUX00RZc5rhv9p8/8uKLtlJwTSU8=; b=bs6BWwMlP6nuI6FprNiGeNqVYUWzds1/PDKJNUaLCAeRXUju+scFeZo1AHxMNdwWVg 7unlTdY1NNq+W8JS97MiTzhsst6tJQcCjo2FoobDbXAggAbhsVr3B2sLa/AKKPJCyOCQ q+IWIHEiG5hufeD16Au6JwBcXpnl+5lzel6s5wftiR1Dp4HxbI3F3SCnSWYrUddbpN61 eydvLZnuszZptIlMwYnowHs/NfLcwzUU0XtDssK2fn9G291xwivytLpFIb+cNCiB9E8b ALRpRZqdIPdOx21XwjcXeporO9401snDbsrP0IQhfhzdZUgA+5p4kb6a9L/4CsxFF1rb cAjg== X-Gm-Message-State: AGi0Pua8lPL290eQ5W0zS0fhBldl40L6vOkUEWhRGpoINNZH7N0lAwBy FrhbTVmCn2UxSi4QPUHDuPjSOZ1ff7I1pCL93H3aZIZlLCE= X-Google-Smtp-Source: APiQypI6cmjh7j3fSW0PxbClRU0L5XKF7n/ykD+Q+CI7i/DJ75BnIW6iLLwUHcDx8iehaS6DVnNkTQMi4t+TVPsx+/g= X-Received: by 2002:a54:4e86:: with SMTP id c6mr6453902oiy.178.1586618991200; Sat, 11 Apr 2020 08:29:51 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:106834 Archived-At: --===============5329379762199213491== Content-Type: multipart/alternative; boundary="0000000000005d511205a30585ca" --0000000000005d511205a30585ca Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable @Hans putting otf version of fontawesome instead of ttf version made it for the command context --global symb-imp-fontawesome.mkiv Thank you for your quick response. Le sam. 11 avr. 2020 =C3=A0 16:20, kaddour kardio = a =C3=A9crit : > this is a part of my log file. > i have ttf-fontawesome installed in my system , maybe i should switch off > to otf version? > > defining > unknown font 'fontawesome5brandsregular400', loading > aborted > fonts > defining > unable to define > 'fontawesome5brandsregular400.otf' as 'thedefinedfont--0' > fonts > defining > forced type 'otf' of > 'fontawesome5brandsregular400' not found > fonts > defining > font with asked name > 'fontawesome5brandsregular400' is not found using lookup 'file' > > Le sam. 11 avr. 2020 =C3=A0 16:12, kaddour kardio a > =C3=A9crit : > >> To Aditya this works as expected thank you. >> To Hans when i run the command i get "deja vu sans" symbolset instead . >> >> Le sam. 11 avr. 2020 =C3=A0 10:49, Hans Hagen a =C3= =A9crit : >> >>> On 4/11/2020 10:48 AM, Aditya Mahajan wrote: >>> > On Fri, 10 Apr 2020, kaddour kardio wrote: >>> > >>> >> Hi, if there any changes in the interface for using symbols? >>> >> I tried today the example from Aditya's Blog but it shows no symbols= : >>> >> >>> >> \definetypeface[mainfont][rm][specserif][Linux Libertine O][default] >>> >> \definetypeface[mainfont][mm][math] [TeX Gyre Pagella Math][default] >>> >> \definetypeface[mainfont][tt][mono] [Dejavu Mono][default] >>> [rscale=3D0.8, >>> >> features=3Dnone] >>> >> \setupbodyfont[mainfont,11pt] >>> >> \usesymbols[fontawesome] >>> >> >>> >> \define\FA{\dosingleargument\doFA} >>> >> \def\doFA[#1]{\inlinedbox >>> >> {\scale[height=3D1em]{\symbol[fontawesome][#1]}}} >>> >> >>> >> \starttext >>> >> Checked box \FA[check-square-o] >>> >> Unchecked box \FA[square-o] >>> >> \stoptext >>> >> i use luamtetex for archlinux with all luatex modules linked to lmtx >>> >> folder >>> > >>> > The names of the symbols have changed in fontaweson 5.0. Try: >>> > >>> > \FA[check] \FA[check_empty] >>> fwiw, if you do: >>> >>> context --global symb-imp-fontawesome.mkiv >>> >>> you get a pdf file that shows all names and symbols >>> >>> 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 >>> >>> _______________________________________________________________________= ____________ >>> >> >> >> -- >> Dr YAHYAOUI Mohamed Kaddour, cardiologue . >> > > > -- > Dr YAHYAOUI Mohamed Kaddour, cardiologue . > --=20 Dr YAHYAOUI Mohamed Kaddour, cardiologue . --0000000000005d511205a30585ca Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
@Hans putting otf version of fontawesome instead of ttf ve= rsion made it for the command
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 context --global symb-imp-fontawesome.mkiv
Thank you for your quic= k response.

Le=C2=A0sam. 11 avr. 2020 =C3=A0=C2=A016:20, kaddour k= ardio <kaddourkardio@gmail.co= m> a =C3=A9crit=C2=A0:
this is a part of my log file.
i have t= tf-fontawesome installed in my system , maybe i should switch off to otf ve= rsion?

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 defining > unk= nown font 'fontawesome5brandsregular400', loading aborted
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > defi= ning > unable to define 'fontawesome5brandsregular400.otf' as &#= 39;thedefinedfont--0'
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fonts =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 > defining > forced type 'otf' of= 'fontawesome5brandsregular400' not found
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > defining > font = with asked name 'fontawesome5brandsregular400' is not found using= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 lookup 'file'

Le=C2=A0sam. 11 a= vr. 2020 =C3=A0=C2=A016:12, kaddour kardio <kaddourkardio@gmail.com> a =C3=A9cr= it=C2=A0:
To Aditya this works as expected thank you.
To Hans when i = run the command i get "deja vu sans" symbolset instead .

Le=C2=A0sam. 11 avr. 2020 =C3=A0=C2=A010:49, Hans Hagen <j.hagen@xs4all.nl> a =C3=A9= crit=C2=A0:
On 4= /11/2020 10:48 AM, Aditya Mahajan wrote:
> On Fri, 10 Apr 2020, kaddour kardio wrote:
>
>> Hi, if there any changes in the interface for using symbols?
>> I tried today the example from Aditya's Blog but it shows no s= ymbols:
>>
>> \definetypeface[mainfont][rm][specserif][Linux Libertine O][defaul= t]
>> \definetypeface[mainfont][mm][math] [TeX Gyre Pagella Math][defaul= t]
>> \definetypeface[mainfont][tt][mono] [Dejavu Mono][default] [rscale= =3D0.8,
>> features=3Dnone]
>> \setupbodyfont[mainfont,11pt]
>> \usesymbols[fontawesome]
>>
>> \define\FA{\dosingleargument\doFA}
>> \def\doFA[#1]{\inlinedbox
>> =C2=A0=C2=A0 {\scale[height=3D1em]{\symbol[fontawesome][#1]}}}
>>
>> \starttext
>> Checked box \FA[check-square-o]
>> Unchecked box \FA[square-o]
>> \stoptext
>> i use luamtetex for archlinux with all luatex modules linked to lm= tx
>> folder
>
> The names of the symbols have changed in fontaweson 5.0. Try:
>
> \FA[check] \FA[check_empty]
fwiw, if you do:

=C2=A0 =C2=A0context --global symb-imp-fontawesome.mkiv

you get a pdf file that shows all names and symbols

Hans

-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 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 t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________


--
Dr YAHYAOUI Mohamed Kaddour, cardiologue=C2=A0 .


--
Dr YAHYAOUI Mohamed Kaddour, cardiologue=C2=A0 .


--
Dr YAHYAOUI Mohamed Kaddour, cardiologu= e=C2=A0 .
--0000000000005d511205a30585ca-- --===============5329379762199213491== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============5329379762199213491==--