[NTG-context] Fontawesome in lmtx

kaddour kardio kaddourkardio at gmail.com
Sat Apr 11 00:17:13 CEST 2020


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=0.8,
features=none]
\setupbodyfont[mainfont,11pt]
\usesymbols[fontawesome]

\define\FA{\dosingleargument\doFA}
\def\doFA[#1]{\inlinedbox
    {\scale[height=1em]{\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

-- 
Dr YAHYAOUI Mohamed Kaddour, cardiologue  .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200410/54c579c3/attachment-0001.htm>


More information about the ntg-context mailing list