From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106833 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:20:57 +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="===============4065601626186610745==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="75410"; 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:21:51 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 1jNHx9-000JVX-1r for gctc-ntg-context-518@m.gmane-mx.org; Sat, 11 Apr 2020 17:21:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 67B72183259; Sat, 11 Apr 2020 17:21:30 +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 6w2mBrotks4S; Sat, 11 Apr 2020 17:21:28 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4777C18323E; Sat, 11 Apr 2020 17:21:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 48B961831E5 for ; Sat, 11 Apr 2020 17:21:27 +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 X6H379av95ej for ; Sat, 11 Apr 2020 17:21:26 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.43; helo=mail-ot1-f43.google.com; envelope-from=kaddourkardio@gmail.com; receiver= Original-Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) (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 2316C183066 for ; Sat, 11 Apr 2020 17:21:26 +0200 (CEST) Original-Received: by mail-ot1-f43.google.com with SMTP id b13so444382oti.3 for ; Sat, 11 Apr 2020 08:21:25 -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=SAWn8IfgX1IqKU7NY2gVVEt5IU613jB4n4HbHz5FS2c=; b=ZavT2CVMrbaoKTYL3vccGsJLIQ5Z0FsFis0DM5jE0xUGt+cpKGiceDTOR9WuHJmajG l5E9QK4fyB+wKmvgMeiJfcJHVkMGYGRgIh/8+emkdH/Is3nb+bH085DjELIdOojGuAi2 8eRa0Nh+BaRGZWyWZiEWVtM4BXNb6855fluLmFFGTJMBd+exZ/1weGiMNNjIMY5jAjVp CmHG3GdjRt0xiLxAMPzoFEoLNivSwU6jyNvl4KsLMDDEJC8viz2dvrfkToGNZZ+kZes9 jfM6sfG1KQMxRRDQnDR42S2vYU2La9HJfM4iDbcjPP4SJqs+cWbcjmOssd/9+JSNIifj bw8A== 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=SAWn8IfgX1IqKU7NY2gVVEt5IU613jB4n4HbHz5FS2c=; b=TKiGAf5UEwozjXJoAapEq0FLRLzA+PUzUjJXFv3YgPpv/P/umO/tLYnrtmVxBvXTzS ozLk+egg0Yp/ZEq0z+9N9O31nuuP7GZBcN2XcgHmjLQDpTuyq2UhzoZtKdlfSMo2iXmR Gp0YVR+B2XyhOXNUF/RF7sH7zF+vLf9rybCzKjWY1APOmwe3g76H3+WOj5tMxUO3cByb 9dHc0qQIU3PorMzKfJy2YOqdjwJhd58GoqRM13GfV3w3u/e/y9jh1WXTpzphckqCTphd KxOIrAxjJaEEjF4RFZfP33uJrZwFGqurt3DF1i/1qJNg7jWUTJ55eGx/AbH02YuNiCJD I61w== X-Gm-Message-State: AGi0PubaFdSnHRMZJC77fUvGhBShsaP9pY9PoqmBf5XfbL2J0gFm4+tF CJPYAldIUGKfLGeY75SiiQoUorHO0KxrYgHg4CGVqD33d0k= X-Google-Smtp-Source: APiQypJjJH0ZhtQV0BNZ56wAfMDPczwDg3dqKb66z3S0Y+lYWm6E3iDgUJG6lDAmdglglczJBm8zZsbN+3ZnbG4FqcA= X-Received: by 2002:a4a:4505:: with SMTP id y5mr7938270ooa.29.1586618484563; Sat, 11 Apr 2020 08:21:24 -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:106833 Archived-At: --===============4065601626186610745== Content-Type: multipart/alternative; boundary="0000000000002aa4b905a305678f" --0000000000002aa4b905a305678f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D= 0.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 t= o >> 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 . > --=20 Dr YAHYAOUI Mohamed Kaddour, cardiologue . --0000000000002aa4b905a305678f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
this is a part of my log file.
i have ttf-fontawesome= installed in my system , maybe i should switch off to otf version?

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 defining > unknown 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 > defining > un= able to define 'fontawesome5brandsregular400.otf' as 'thedefine= dfont--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 'fontawes= ome5brandsregular400' 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 avr. 2020 =C3=A0= =C2=A016:12, kaddour kardio <= kaddourkardio@gmail.com> a =C3=A9crit=C2=A0:
To Aditya this works a= s 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=A9crit=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, cardiologu= e=C2=A0 .
--0000000000002aa4b905a305678f-- --===============4065601626186610745== 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== --===============4065601626186610745==--