ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing users <ntg-context@ntg.nl>, Mari Voipio <mari.voipio@iki.fi>
Subject: Re: Font Awesome (again)
Date: Thu, 1 Nov 2018 13:58:11 +0100	[thread overview]
Message-ID: <176777be-b053-3308-9c73-4ab059feb0a8@gmail.com> (raw)
In-Reply-To: <CAGbDsP0RRaF06=cxQ5rnkWK9vwABdcbfmTOVUHLGhD3DBHDhTg@mail.gmail.com>

Hi Mari,

you have to update your installation because fontawesome 5 uses a new 
machanism
to load the symbols from the font files. The first version of the 
mechanism from August
did only work when you enabled the symbol set for the whole document and 
extended
support was added in September.

Wolfgang


Mari Voipio schrieb am 01.11.18 um 13:51:
> Hi Wolfgang et al,
>
> I did some more research into this.
>
> If I put \symbol after \showsymbolset, the font gets loaded and the
> symbols show up as expected. If I put \symbol before \showsymbolset,
> the font seems to get loaded, but instead of the symbol I get its name
> printed. If I remove the \showsymbolset commands altogether, the
> correct font doesn't get loaded at all (as far as I understand from
> the log) and understandably I get no symbols then. I didn't touch the
> stuff above \starttext, just moved the \symbol commands around.
> As far as I can tell, the font is properly installed and ConTeXt finds
> it (otherwise \showsymbolset wouldn't work, I think). But I've got a
> nagging feeling I'm missing something somewhere else. Unfortunately
> I'm on thin ice here, fonts really aren't my forte.
>
> Mari
> On Thu, Nov 1, 2018 at 1:45 PM Wolfgang Schuster
> <wolfgang.schuster.lists@gmail.com> wrote:
>> Mari Voipio schrieb am 01.11.18 um 12:04:
>>> Hi,
>>>
>>> I'm trying to get Font Awesome 5 to work for me, but it only almost does.
>>>
>>> Wolfgang's code works and I get a nice list of symbols for all three
>>> variations, so ConTeXt obviously finds the font. But when I try to use
>>> a single symbol, ConTeXt prints the symbol name instead of the symbol.
>>> There must be something I'm overlooking, but I don't know what. Wiki
>>> wasn't very helpful, although we do have an entry on symbols (Font
>>> Awesome, on the other hand, isn't mentioned anywhere on the wiki).
>>>
>>> I tried with \symbol[fontawesome-regular][credit-card] (at the end of
>>> my file) and a few variants thereof, but couldn't get the symbol. What
>>> am I doing wrong? What have I missed?
>> Since you didn’t provide a example it’s difficult to tell what’s wrong
>> for you
>> but the following example works for me.
>>
>> Don’t forget to put the files for fontawesome 5 in a folder where
>> ConTeXt can find them.
>>
>>
>> \usesymbols[fontawesome]
>>
>> \starttext
>>
>> \symbol[fontawesome-regular][credit-card]
>>
>> \symbol[fontawesome-solid][credit-card]
>>
>> \stoptext
>>
>>
>> Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2018-11-01 12:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-07 13:26 Aditya Mahajan
2018-10-07 13:43 ` Wolfgang Schuster
2018-10-07 14:19   ` Hans Hagen
2018-10-07 15:25     ` Alan Braslau
2018-10-07 15:58       ` Hans Hagen
2018-10-07 15:39   ` Aditya Mahajan
2018-10-07 15:56     ` Hans Hagen
2018-11-01 11:04   ` Mari Voipio
2018-11-01 11:45     ` Wolfgang Schuster
     [not found]       ` <CAGbDsP0RRaF06=cxQ5rnkWK9vwABdcbfmTOVUHLGhD3DBHDhTg@mail.gmail.com>
2018-11-01 12:58         ` Wolfgang Schuster [this message]
2018-11-05  7:29           ` Mari Voipio
2018-10-07 16:29 ` Ulrike Fischer
2018-10-07 19:39   ` Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=176777be-b053-3308-9c73-4ab059feb0a8@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=mari.voipio@iki.fi \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).