From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106832 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:12:41 +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="===============5736085434852207089==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="40351"; 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:13:35 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 1jNHp9-000APp-BP for gctc-ntg-context-518@m.gmane-mx.org; Sat, 11 Apr 2020 17:13:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B14AA183255; Sat, 11 Apr 2020 17:13:14 +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 86WobcnNdrTA; Sat, 11 Apr 2020 17:13:12 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6DB9B183230; Sat, 11 Apr 2020 17:13:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4AE00183066 for ; Sat, 11 Apr 2020 17:13:11 +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 7twV8Jcc3X0N for ; Sat, 11 Apr 2020 17:13:09 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.48; helo=mail-ot1-f48.google.com; envelope-from=kaddourkardio@gmail.com; receiver= Original-Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) (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 C53A9182EDB for ; Sat, 11 Apr 2020 17:13:09 +0200 (CEST) Original-Received: by mail-ot1-f48.google.com with SMTP id i27so1772450ota.7 for ; Sat, 11 Apr 2020 08:13:09 -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=YsSqX0lo123YkBSBy5J1aShvUyewFMx9QJDhUm8Q/jg=; b=IOclVJNQOIu9ml09jugYvdOkw6LxcPCfUtdHXrwBELp9NFp3HyBgeuazCl3pgJx9UQ rgultDqwj9HIAi1I5fVjEZt0N91W+y3XJ9Ly2H9t6ms5IbtH6zD2mQNIvp7K0v5jZLOt ppB4AFl5cdRHU2XDs8LBw7uJISERPwOZ1zc6/HiYK7N15mPJ+OVawcakZp2MpP1aXCt8 1m2nDCbOOLMFhXUQTAjalLxowwZYYNvceYNuGG+SrfK1ik+nWsJFnPunTJRBAnb2QieJ Vc6bCkrzXscsZgeFMiCFj3kXjB40QVlbiVyBYMgQMLCYz081X2/w9iu2hj/G1TjgGe5Y kh/Q== 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=YsSqX0lo123YkBSBy5J1aShvUyewFMx9QJDhUm8Q/jg=; b=CMF7uH7KjuY0ye+NWt1rkp46I3muk9HbhMWkjBk8QT3xdMrRWhIr6iuD3H2LS1wzwH g3OPRGJLU2JcgkZB2Nqp5sGYWSigQYOnj19wto5sG6lRwB00jVOwCDhDDU2Pgtnvmc+l Fkcs9/V74T08kqZxhotHk5vDmyU8QhlEY2piHXjLqYWkdKaHnmSJQ5cH4CQawUw6kYwv GlHmTCGGeb354nBDJHLmbyq5rthP0HkGx/6dYuRFrkBQuebXeXcp1uoaaWW+E8oAFeAC vFD7/nuwrPyVHrk5deIt8hmUrjTJPiM45s2rVIjr6hP2IdBYd2kyPB0JStE+3p3i2jkn mL3g== X-Gm-Message-State: AGi0PuaBnxNaabXz60EcHzXa7L3nJkcxl71Them6NRS9T6oqTg7sBmVD 9TAOoVPDOn1ReqmNWQfkbMEOv4Hcl/EuXfwTU0OhX0ht X-Google-Smtp-Source: APiQypKtHK5YZVfNicgJiwAHykVUd6Ix5uJv87WjN/jMzEan+mRZaZSDOeRSZH/PSOANCNwIkM69YgAPad9Q4cVm/N4= X-Received: by 2002:a9d:1786:: with SMTP id j6mr7744740otj.235.1586617988121; Sat, 11 Apr 2020 08:13:08 -0700 (PDT) In-Reply-To: <20c40f20-1199-7297-1435-24a08c272d33@xs4all.nl> 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:106832 Archived-At: --===============5736085434852207089== Content-Type: multipart/alternative; boundary="0000000000009386e005a305494f" --0000000000009386e005a305494f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=A9c= rit : > 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 > > _________________________________________________________________________= __________ > --=20 Dr YAHYAOUI Mohamed Kaddour, cardiologue . --0000000000009386e005a305494f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
To Aditya this works as expected thank you.
To Hans w= hen 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, cardiologu= e=C2=A0 .
--0000000000009386e005a305494f-- --===============5736085434852207089== 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== --===============5736085434852207089==--