ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Selecting fonts using the built-in simplefonts module
@ 2015-03-29 12:40 Pavneet Arora
  2015-03-29 15:56 ` Jörg Weger
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Pavneet Arora @ 2015-03-29 12:40 UTC (permalink / raw)
  To: ntg-context

Hello everyone,

After a long time I have some typesetting work in front of me...yippeee!

I am struggling with adapting my templates to the new integrated 
simplefonts module, and hope that someone can help.

The three issues I am having are:

1.  How does one find the proper expanded long name of the desired font.  
    For this project, I am using some fonts from The League of Moveable 
    Type (https://www.theleagueofmoveabletype.com/).

    I have reloaded the fonts, and can list them, in the traditional 
    manner.  What I don't know is how to find the proper name for---say 
    Junction Light---to use as the third argument in 
    '\definefontfamily[mainface][ss][Junction Light]'
    
    The use of 'Junction Light' doesn't work, and neither does 
    'Junction-Light', nor 'junctionlight', nor even 'Junction, Light' 
    which I retrieve from Font Viewer under Linux.  MWE follows at the 
    end of this email.  I reference Wolfgang's response stating that the 
    expanded name must be used 
    (http://www.ntg.nl/pipermail/ntg-context/2014/077321.html).

    $ mtxrun --script fonts --list --all --pattern=junction

    resolvers       | trees | analyzing 'home:texmf'
    resolvers       | caching | skipping 'files' for 'home:texmf' from 
    '/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/trees/54be04d87dd160089f572b19cb5c97e9' (version mismatch)
    junction          junctionbold      /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/junction-master/Junction-bold.otf
    junctionbold      junctionbold      /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/junction-master/Junction-bold.otf
    junctionlight     junctionlight     /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/junction-master/Junction-light.otf
    junctionregular   junctionregular   /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/junction-master/Junction-regular.otf
2.  How does one switch fonts in-line for small snippets of text?  I 
    used to use '{\simplefont[heydingsicons] q}123.345.67890', but this 
    now results in an error.

    tex error       > error on line 7 in file virtual://buffer.noname.1: ! Undefined control sequence

    l.7                 {\simplefont [heydingsicons] q}~123.456.7890 {\simplefont[heydingsicons..
3.  This may be a more generic typescript mapping issue, but I still 
    struggle with understanding font mappings.  I don't quite get how 
    the default mappings are done.

    Look, for example, at Junction above.  'junction' is mapped to 
    'junctionbold' rather than 'junctionregular'.  Is this just done by 
    taking the first in the list in alphabetic order?
    
    Or how the League Gothic font is processed below.  How is it that 
    leaguegothic is mapped to leaguegothiccondenseditalic by default?  
    What is the recommended way in this new simplefont scheme to set the 
    mappings for a document?

    $ mtxrun --script fonts --list --all --pattern=leaguegothic

    resolvers       | trees | analyzing 'home:texmf'
    resolvers       | caching | skipping 'files' for 'home:texmf' from 
    '/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/trees/54be04d87dd160089f572b19cb5c97e9' (version mismatch)
    leaguegothic                   leaguegothiccondenseditalic    /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-CondensedItalic.otf
    leaguegothiccondenseditalic    leaguegothiccondenseditalic    /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-CondensedItalic.otf
    leaguegothiccondensedregular   leaguegothiccondensedregular   /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-CondensedRegular.otf
    leaguegothicitalic             leaguegothicitalic             /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-Italic.otf
    leaguegothicregular            leaguegothicregular            /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-Regular.otf

Many thanks.

>>>> MWE

\definefontfamily[mainface][rm][Prociono]
\definefontfamily[mainface][ss][Junction Light]
%\definefontfamily[mainface][ss][junctionlight]
%\definefontfamily[mainface][ss][Junction-Light]
%\definefontfamily[mainface][ss][Junction, Light]
\definefontfamily[mainface][mm][TeX Gyre Pagella Math]
\setupbodyfont[mainface,9pt]

\setupwhitespace[medium]

\starttext
    \input lorem

    \ss\input lorem

%    {\simplefont[heydingsicons] q}~123.456.7890
\stoptext

<<<<


-- 
----
Pavneet Arora           m: 647.406.6843
Waroc Informatik        t: 416.937.9276
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Selecting fonts using the built-in simplefonts module
  2015-03-29 12:40 Selecting fonts using the built-in simplefonts module Pavneet Arora
@ 2015-03-29 15:56 ` Jörg Weger
  2015-03-29 16:52   ` Pablo Rodriguez
  2015-03-29 19:38   ` Pavneet Arora
  2015-03-29 16:37 ` Pablo Rodriguez
  2015-03-29 17:47 ` Wolfgang Schuster
  2 siblings, 2 replies; 13+ messages in thread
From: Jörg Weger @ 2015-03-29 15:56 UTC (permalink / raw)
  To: Pavneet Arora, mailing list for ConTeXt users

Your mistake was that you did not use the correct font family name in 
the third pair of square brackets. It is simply “Junction”.

I have yet to find out if ConTeXt itself can show a font’s true family name.

On Linux I am either  using a command line tool called otfinfo (that 
also shows me what opentype features are there) or I open the font with 
fontforge (if I want to find out more about the details of opentype 
features) or I open it with mate-font-viewer (fork of 
gnome-font-viewer). In the latter the family name is shown in the first 
line on the right.

Name: Junction

What desktop environment are you using?


As far as I have understood by default the built in font-selection 
module uses the “family members” named “Regular” and “Bold” of a 
selected font family, e.g. in

\definefontfamily[mainface][ss][Junction]

\ss gives Junction Regular and \ss \bf gives Junction Bold

If you want to use different font weights you have to define them 
yourself in a fourth pair of square brackets.

The League of Movable Type’s Junction font family offers three weights: 
Light, Regular and Bold.

Assuming that you want to use Junction Light as your “regular sans 
serif” font and Junction Regular as your “bold sans serif” you define 
for sans serif:

\definefontfamily[mainface][ss][Junction]
	[regularfont=Junction Light, boldfont=Junction Regular]

Now \ss should give Junction Light and \ss \bf should give Junction Regular.

You can define italics as well, as the following definition for Google’s 
Roboto shows where I am using light and black instead of regular and 
bold. (Junction does not offer italic or slanted, that is why I use 
Roboto as an example of a family with many weights and styles. 
https://developer.android.com/design/style/typography.html should have 
the reworked 2014 version for download.)

\definefontfamily[mainface][ss][Roboto]
	[regularfont=Roboto Light, italicfont=Roboto Light Italic,
	 boldfont=Roboto Black, bolditalicfont=Roboto Black Italic]

(You could even mix weights and styles from different font families.)


Hope that helps.


Greetings Jörg


On 29.03.2015 14:40, Pavneet Arora wrote:
> Hello everyone,
>
> After a long time I have some typesetting work in front of me...yippeee!
>
> I am struggling with adapting my templates to the new integrated
> simplefonts module, and hope that someone can help.
>
> The three issues I am having are:
>
> 1.  How does one find the proper expanded long name of the desired font.
>      For this project, I am using some fonts from The League of Moveable
>      Type (https://www.theleagueofmoveabletype.com/).
>
>      I have reloaded the fonts, and can list them, in the traditional
>      manner.  What I don't know is how to find the proper name for---say
>      Junction Light---to use as the third argument in
>      '\definefontfamily[mainface][ss][Junction Light]'
>
>      The use of 'Junction Light' doesn't work, and neither does
>      'Junction-Light', nor 'junctionlight', nor even 'Junction, Light'
>      which I retrieve from Font Viewer under Linux.  MWE follows at the
>      end of this email.  I reference Wolfgang's response stating that the
>      expanded name must be used
>      (http://www.ntg.nl/pipermail/ntg-context/2014/077321.html).
>
>      $ mtxrun --script fonts --list --all --pattern=junction
>
>      resolvers       | trees | analyzing 'home:texmf'
>      resolvers       | caching | skipping 'files' for 'home:texmf' from
>      '/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/trees/54be04d87dd160089f572b19cb5c97e9' (version mismatch)
>      junction          junctionbold      /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/junction-master/Junction-bold.otf
>      junctionbold      junctionbold      /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/junction-master/Junction-bold.otf
>      junctionlight     junctionlight     /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/junction-master/Junction-light.otf
>      junctionregular   junctionregular   /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/junction-master/Junction-regular.otf
> 2.  How does one switch fonts in-line for small snippets of text?  I
>      used to use '{\simplefont[heydingsicons] q}123.345.67890', but this
>      now results in an error.
>
>      tex error       > error on line 7 in file virtual://buffer.noname.1: ! Undefined control sequence
>
>      l.7                 {\simplefont [heydingsicons] q}~123.456.7890 {\simplefont[heydingsicons..
> 3.  This may be a more generic typescript mapping issue, but I still
>      struggle with understanding font mappings.  I don't quite get how
>      the default mappings are done.
>
>      Look, for example, at Junction above.  'junction' is mapped to
>      'junctionbold' rather than 'junctionregular'.  Is this just done by
>      taking the first in the list in alphabetic order?
>
>      Or how the League Gothic font is processed below.  How is it that
>      leaguegothic is mapped to leaguegothiccondenseditalic by default?
>      What is the recommended way in this new simplefont scheme to set the
>      mappings for a document?
>
>      $ mtxrun --script fonts --list --all --pattern=leaguegothic
>
>      resolvers       | trees | analyzing 'home:texmf'
>      resolvers       | caching | skipping 'files' for 'home:texmf' from
>      '/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/trees/54be04d87dd160089f572b19cb5c97e9' (version mismatch)
>      leaguegothic                   leaguegothiccondenseditalic    /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-CondensedItalic.otf
>      leaguegothiccondenseditalic    leaguegothiccondenseditalic    /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-CondensedItalic.otf
>      leaguegothiccondensedregular   leaguegothiccondensedregular   /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-CondensedRegular.otf
>      leaguegothicitalic             leaguegothicitalic             /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-Italic.otf
>      leaguegothicregular            leaguegothicregular            /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-Regular.otf
>
> Many thanks.
>
>>>>> MWE
>
> \definefontfamily[mainface][rm][Prociono]
> \definefontfamily[mainface][ss][Junction Light]
> %\definefontfamily[mainface][ss][junctionlight]
> %\definefontfamily[mainface][ss][Junction-Light]
> %\definefontfamily[mainface][ss][Junction, Light]
> \definefontfamily[mainface][mm][TeX Gyre Pagella Math]
> \setupbodyfont[mainface,9pt]
>
> \setupwhitespace[medium]
>
> \starttext
>      \input lorem
>
>      \ss\input lorem
>
> %    {\simplefont[heydingsicons] q}~123.456.7890
> \stoptext
>
> <<<<
>
>
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Selecting fonts using the built-in simplefonts module
  2015-03-29 12:40 Selecting fonts using the built-in simplefonts module Pavneet Arora
  2015-03-29 15:56 ` Jörg Weger
@ 2015-03-29 16:37 ` Pablo Rodriguez
  2015-03-29 17:47 ` Wolfgang Schuster
  2 siblings, 0 replies; 13+ messages in thread
From: Pablo Rodriguez @ 2015-03-29 16:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 03/29/2015 02:40 PM, Pavneet Arora wrote:
> Hello everyone,
> 
> After a long time I have some typesetting work in front of me...yippeee!
> 
> I am struggling with adapting my templates to the new integrated 
> simplefonts module, and hope that someone can help.
> 
> The three issues I am having are:
> 
> 1.  How does one find the proper expanded long name of the desired font.  
>     For this project, I am using some fonts from The League of Moveable 
>     Type (https://www.theleagueofmoveabletype.com/).

Hi Pavneet,

the long name should be displayed in any GUI application from your OS.

inkscape should to the work here (I warmly recommend version 0.91).

>     I have reloaded the fonts, and can list them, in the traditional 
>     manner.  What I don't know is how to find the proper name for---say 
>     Junction Light---to use as the third argument in 
>     '\definefontfamily[mainface][ss][Junction Light]'

I have just downloaded and installed the OTF version from
https://www.theleagueofmoveabletype.com/junction.

I don’t make it work either. I suspect this due to crappy font naming.

> 2.  How does one switch fonts in-line for small snippets of text?  I 
>     used to use '{\simplefont[heydingsicons] q}123.345.67890', but this 
>     now results in an error.
> 
>     tex error       > error on line 7 in file virtual://buffer.noname.1: ! Undefined control sequence
> 
>     l.7                 {\simplefont [heydingsicons] q}~123.456.7890 {\simplefont[heydingsicons..

You have to load in the preamble:

   \usemodule[simplefonts]

This is required to use the \simplefont command.

But with the new interface you should use:

   \definefontfamily[heydingsicons][rm][Humeur]

And then, in text:

   {\switchtobodyfont[heydingsicons] q}~123.456.7890

> 3.  This may be a more generic typescript mapping issue, but I still 
>     struggle with understanding font mappings.  I don't quite get how 
>     the default mappings are done.
> 
>     Look, for example, at Junction above.  'junction' is mapped to 
>     'junctionbold' rather than 'junctionregular'.  Is this just done by 
>     taking the first in the list in alphabetic order?

The problem is wrong font naming.

>>>>> MWE

This should work better (ss font doesn’t work):

    \definefontfamily[mainface][rm][Prociono]
    \definefontfamily[mainface][ss][Junction-Light]
    \definefontfamily[mainface][mm][TeX Gyre Pagella Math]
    \definefontfamily[heydingsicons][rm][Humeur]
    \setupbodyfont[mainface,9pt]

    \setupwhitespace[medium]

    \starttext
        \input lorem

        \ss\input lorem

    {\switchtobodyfont[heydingsicons] q}~123.456.7890
    \stoptext

Just in case it helps,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Selecting fonts using the built-in simplefonts module
  2015-03-29 15:56 ` Jörg Weger
@ 2015-03-29 16:52   ` Pablo Rodriguez
  2015-03-29 19:38   ` Pavneet Arora
  1 sibling, 0 replies; 13+ messages in thread
From: Pablo Rodriguez @ 2015-03-29 16:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 03/29/2015 05:56 PM, Jörg Weger wrote:
> Your mistake was that you did not use the correct font family name in 
> the third pair of square brackets. It is simply “Junction”.

Hi Jörg,

this loads Junction Regular, but not Junction Light.

> Assuming that you want to use Junction Light as your “regular sans 
> serif” font and Junction Regular as your “bold sans serif” you define 
> for sans serif:
> 
> \definefontfamily[mainface][ss][Junction]
> 	[regularfont=Junction Light, boldfont=Junction Regular]
> 
> Now \ss should give Junction Light and \ss \bf should give Junction Regular.

This works, but the name of the font in the third pair of brackets is
fully irrelevant. This works too:

    \definefontfamily[mainface][ss][FarinUrlaub]
    [tf=Junction Light, bf=Junction Bold]

I’m afraid these fonts are wrong named.

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Selecting fonts using the built-in simplefonts module
  2015-03-29 12:40 Selecting fonts using the built-in simplefonts module Pavneet Arora
  2015-03-29 15:56 ` Jörg Weger
  2015-03-29 16:37 ` Pablo Rodriguez
@ 2015-03-29 17:47 ` Wolfgang Schuster
  2015-03-29 18:33   ` Jörg Weger
  2015-03-29 20:44   ` Pavneet Arora
  2 siblings, 2 replies; 13+ messages in thread
From: Wolfgang Schuster @ 2015-03-29 17:47 UTC (permalink / raw)
  To: Pavneet Arora, mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 5156 bytes --]


> Am 29.03.2015 um 14:40 schrieb Pavneet Arora <pavneet_arora@waroc.com>:
> 
> Hello everyone,
> 
> After a long time I have some typesetting work in front of me...yippeee!
> 
> I am struggling with adapting my templates to the new integrated 
> simplefonts module, and hope that someone can help.
> 
> The three issues I am having are:
> 
> 1.  How does one find the proper expanded long name of the desired font.  
>    For this project, I am using some fonts from The League of Moveable 
>    Type (https://www.theleagueofmoveabletype.com/).
> 
>    I have reloaded the fonts, and can list them, in the traditional 
>    manner.  What I don't know is how to find the proper name for---say 
>    Junction Light---to use as the third argument in 
>    '\definefontfamily[mainface][ss][Junction Light]'
> 
>    The use of 'Junction Light' doesn't work, and neither does 
>    'Junction-Light', nor 'junctionlight', nor even 'Junction, Light' 
>    which I retrieve from Font Viewer under Linux.  MWE follows at the 
>    end of this email.  I reference Wolfgang's response stating that the 
>    expanded name must be used 
>    (http://www.ntg.nl/pipermail/ntg-context/2014/077321.html).

You need the familyname of the font, you use the font manager of your OS to get the name.

\definefontfamily [junction] [rm] [Junction]
\definefontfamily [junction] [mm] [Latin Modern Math]

\definefontfamily [junction-light] [rm] [Junction] [tf=style:light,bf=style:regular]
\definefontfamily [junction-light] [mm] [Latin Modern Math]

\setupbodyfont[junction]

\starttext

\input ward \bf \input ward

\blank \switchtobodyfont[junction-light]

\tf \input ward \bf \input ward

\stoptext


> 2.  How does one switch fonts in-line for small snippets of text?  I 
>    used to use '{\simplefont[heydingsicons] q}123.345.67890', but this 
>    now results in an error.
> 
>    tex error       > error on line 7 in file virtual://buffer.noname.1: ! Undefined control sequence
> 
>    l.7                 {\simplefont [heydingsicons] q}~123.456.7890 {\simplefont[heydingsicons..

When you use a symbol font define a command for it with \definesymbol and access it with \symbol.

The example below uses the Font Awesome [1] font for the symbols (the symbols are defined in the attached file).

\usesymbols[fontawesome]

\defineframed
  [SymbolFrame]
  [strut=no,
   width=1em,
   height=1em,
   background=color,
   backgroundcolor=black,
   corner=round,
   radius=.5ex,
   foregroundcolor=white]

\definesymbol
  [mysymbol]
  [\SymbolFrame{\directsymbol{fontawesome}{question}}]

\starttext

\startlines
\symbol[fontawesome][question]
\symbol[fontawesome][question-circle]
\framed[strut=no,width=1em,height=1em,background=color,backgroundcolor=black,corner=round,radius=.5ex,foregroundcolor=white]{\symbol[fontawesome][question]}
\symbol[mysymbol]
\stoplines

\stoptext


> 3.  This may be a more generic typescript mapping issue, but I still 
>    struggle with understanding font mappings.  I don't quite get how 
>    the default mappings are done.
> 
>    Look, for example, at Junction above.  'junction' is mapped to 
>    'junctionbold' rather than 'junctionregular'.  Is this just done by 
>    taking the first in the list in alphabetic order?
> 
>    Or how the League Gothic font is processed below.  How is it that 
>    leaguegothic is mapped to leaguegothiccondenseditalic by default?  
>    What is the recommended way in this new simplefont scheme to set the 
>    mappings for a document?
> 
>    $ mtxrun --script fonts --list --all --pattern=leaguegothic
> 
>    resolvers       | trees | analyzing 'home:texmf'
>    resolvers       | caching | skipping 'files' for 'home:texmf' from 
>    '/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/trees/54be04d87dd160089f572b19cb5c97e9' (version mismatch)
>    leaguegothic                   leaguegothiccondenseditalic    /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-CondensedItalic.otf
>    leaguegothiccondenseditalic    leaguegothiccondenseditalic    /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-CondensedItalic.otf
>    leaguegothiccondensedregular   leaguegothiccondensedregular   /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-CondensedRegular.otf
>    leaguegothicitalic             leaguegothicitalic             /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-Italic.otf
>    leaguegothicregular            leaguegothicregular            /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-Regular.otf


There mappings are only relevant when you create your own typescripts where you access fonts
with the name method, e.g. \definefontsynonym [Serif] [name:leaguegothic] but simplefonts doesn’t
use of them.

[1] http://fontawesome.io <http://fontawesome.io/>

Wolfgang

[-- Attachment #1.2.1: Type: text/html, Size: 8654 bytes --]

[-- Attachment #1.2.2: symb-fontawesome.mkiv --]
[-- Type: application/octet-stream, Size: 41783 bytes --]

%D \module
%D   [       file=symb-fontawesome,
%D        version=2015.03.29,
%D          title=\CONTEXT\ Symbol Libraries,
%D       subtitle=FontAwesome Symbols (4.3.0),
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]

\definefontsynonym [FontAwesome] [FontAwesome.otf]

%def\FontAwesomeSymbol  {\getnamedglyphdirect{FontAwesome}}]
%def\FontAwesomeSymbol#1{\getglyphstyled{FontAwesome}{\utfchar{0x#1}}}
\def\FontAwesomeSymbol#1{\getglyphstyled{FontAwesome}{\tochar{x:#1}}}

\startsymbolset [fontawesome]

    \definesymbol [glass]                [\FontAwesomeSymbol{f000}]
    \definesymbol [music]                [\FontAwesomeSymbol{f001}]
    \definesymbol [search]               [\FontAwesomeSymbol{f002}]
    \definesymbol [envelope-o]           [\FontAwesomeSymbol{f003}]
    \definesymbol [heart]                [\FontAwesomeSymbol{f004}]
    \definesymbol [star]                 [\FontAwesomeSymbol{f005}]
    \definesymbol [star-o]               [\FontAwesomeSymbol{f006}]
    \definesymbol [user]                 [\FontAwesomeSymbol{f007}]
    \definesymbol [film]                 [\FontAwesomeSymbol{f008}]
    \definesymbol [th-large]             [\FontAwesomeSymbol{f009}]
    \definesymbol [th]                   [\FontAwesomeSymbol{f00a}]
    \definesymbol [th-list]              [\FontAwesomeSymbol{f00b}]
    \definesymbol [check]                [\FontAwesomeSymbol{f00c}]
    \definesymbol [remove]               [\directsymbol{fontawesome}{times}]
    \definesymbol [close]                [\FontAwesomeSymbol{f00d}]
    \definesymbol [times]                [\FontAwesomeSymbol{f00d}]
    \definesymbol [search-plus]          [\FontAwesomeSymbol{f00e}]
    \definesymbol [search-minus]         [\FontAwesomeSymbol{f010}]
    \definesymbol [power-off]            [\FontAwesomeSymbol{f011}]
    \definesymbol [signal]               [\FontAwesomeSymbol{f012}]
    \definesymbol [gear]                 [\directsymbol{fontawesome}{cog}]
    \definesymbol [cog]                  [\FontAwesomeSymbol{f013}]
    \definesymbol [trash-o]              [\FontAwesomeSymbol{f014}]
    \definesymbol [home]                 [\FontAwesomeSymbol{f015}]
    \definesymbol [file-o]               [\FontAwesomeSymbol{f016}]
    \definesymbol [clock-o]              [\FontAwesomeSymbol{f017}]
    \definesymbol [road]                 [\FontAwesomeSymbol{f018}]
    \definesymbol [download]             [\FontAwesomeSymbol{f019}]
    \definesymbol [arrow-circle-o-down]  [\FontAwesomeSymbol{f01a}]
    \definesymbol [arrow-circle-o-up]    [\FontAwesomeSymbol{f01b}]
    \definesymbol [inbox]                [\FontAwesomeSymbol{f01c}]
    \definesymbol [play-circle-o]        [\FontAwesomeSymbol{f01d}]
    \definesymbol [rotate-right]         [\directsymbol{fontawesome}{repeat}]
    \definesymbol [repeat]               [\FontAwesomeSymbol{f01e}]
    \definesymbol [refresh]              [\FontAwesomeSymbol{f021}]
    \definesymbol [list-alt]             [\FontAwesomeSymbol{f022}]
    \definesymbol [lock]                 [\FontAwesomeSymbol{f023}]
    \definesymbol [flag]                 [\FontAwesomeSymbol{f024}]
    \definesymbol [headphones]           [\FontAwesomeSymbol{f025}]
    \definesymbol [volume-off]           [\FontAwesomeSymbol{f026}]
    \definesymbol [volume-down]          [\FontAwesomeSymbol{f027}]
    \definesymbol [volume-up]            [\FontAwesomeSymbol{f028}]
    \definesymbol [qrcode]               [\FontAwesomeSymbol{f029}]
    \definesymbol [barcode]              [\FontAwesomeSymbol{f02a}]
    \definesymbol [tag]                  [\FontAwesomeSymbol{f02b}]
    \definesymbol [tags]                 [\FontAwesomeSymbol{f02c}]
    \definesymbol [book]                 [\FontAwesomeSymbol{f02d}]
    \definesymbol [bookmark]             [\FontAwesomeSymbol{f02e}]
    \definesymbol [print]                [\FontAwesomeSymbol{f02f}]
    \definesymbol [camera]               [\FontAwesomeSymbol{f030}]
    \definesymbol [font]                 [\FontAwesomeSymbol{f031}]
    \definesymbol [bold]                 [\FontAwesomeSymbol{f032}]
    \definesymbol [italic]               [\FontAwesomeSymbol{f033}]
    \definesymbol [text-height]          [\FontAwesomeSymbol{f034}]
    \definesymbol [text-width]           [\FontAwesomeSymbol{f035}]
    \definesymbol [align-left]           [\FontAwesomeSymbol{f036}]
    \definesymbol [align-center]         [\FontAwesomeSymbol{f037}]
    \definesymbol [align-right]          [\FontAwesomeSymbol{f038}]
    \definesymbol [align-justify]        [\FontAwesomeSymbol{f039}]
    \definesymbol [list]                 [\FontAwesomeSymbol{f03a}]
    \definesymbol [dedent]               [\directsymbol{fontawesome}{outdent}]
    \definesymbol [outdent]              [\FontAwesomeSymbol{f03b}]
    \definesymbol [indent]               [\FontAwesomeSymbol{f03c}]
    \definesymbol [video-camera]         [\FontAwesomeSymbol{f03d}]
    \definesymbol [photo]                [\directsymbol{fontawesome}{picture-o}]
    \definesymbol [image]                [\directsymbol{fontawesome}{picture-o}]
    \definesymbol [picture-o]            [\FontAwesomeSymbol{f03e}]
    \definesymbol [pencil]               [\FontAwesomeSymbol{f040}]
    \definesymbol [map-marker]           [\FontAwesomeSymbol{f041}]
    \definesymbol [adjust]               [\FontAwesomeSymbol{f042}]
    \definesymbol [tint]                 [\FontAwesomeSymbol{f043}]
    \definesymbol [edit]                 [\directsymbol{fontawesome}{pencil-square-o}]
    \definesymbol [pencil-square-o]      [\FontAwesomeSymbol{f044}]
    \definesymbol [share-square-o]       [\FontAwesomeSymbol{f045}]
    \definesymbol [check-square-o]       [\FontAwesomeSymbol{f046}]
    \definesymbol [arrows]               [\FontAwesomeSymbol{f047}]
    \definesymbol [step-backward]        [\FontAwesomeSymbol{f048}]
    \definesymbol [fast-backward]        [\FontAwesomeSymbol{f049}]
    \definesymbol [backward]             [\FontAwesomeSymbol{f04a}]
    \definesymbol [play]                 [\FontAwesomeSymbol{f04b}]
    \definesymbol [pause]                [\FontAwesomeSymbol{f04c}]
    \definesymbol [stop]                 [\FontAwesomeSymbol{f04d}]
    \definesymbol [forward]              [\FontAwesomeSymbol{f04e}]
    \definesymbol [fast-forward]         [\FontAwesomeSymbol{f050}]
    \definesymbol [step-forward]         [\FontAwesomeSymbol{f051}]
    \definesymbol [eject]                [\FontAwesomeSymbol{f052}]
    \definesymbol [chevron-left]         [\FontAwesomeSymbol{f053}]
    \definesymbol [chevron-right]        [\FontAwesomeSymbol{f054}]
    \definesymbol [plus-circle]          [\FontAwesomeSymbol{f055}]
    \definesymbol [minus-circle]         [\FontAwesomeSymbol{f056}]
    \definesymbol [times-circle]         [\FontAwesomeSymbol{f057}]
    \definesymbol [check-circle]         [\FontAwesomeSymbol{f058}]
    \definesymbol [question-circle]      [\FontAwesomeSymbol{f059}]
    \definesymbol [info-circle]          [\FontAwesomeSymbol{f05a}]
    \definesymbol [crosshairs]           [\FontAwesomeSymbol{f05b}]
    \definesymbol [times-circle-o]       [\FontAwesomeSymbol{f05c}]
    \definesymbol [check-circle-o]       [\FontAwesomeSymbol{f05d}]
    \definesymbol [ban]                  [\FontAwesomeSymbol{f05e}]
    \definesymbol [arrow-left]           [\FontAwesomeSymbol{f060}]
    \definesymbol [arrow-right]          [\FontAwesomeSymbol{f061}]
    \definesymbol [arrow-up]             [\FontAwesomeSymbol{f062}]
    \definesymbol [arrow-down]           [\FontAwesomeSymbol{f063}]
    \definesymbol [mail-forward]         [\directsymbol{fontawesome}{share}]
    \definesymbol [share]                [\FontAwesomeSymbol{f064}]
    \definesymbol [expand]               [\FontAwesomeSymbol{f065}]
    \definesymbol [compress]             [\FontAwesomeSymbol{f066}]
    \definesymbol [plus]                 [\FontAwesomeSymbol{f067}]
    \definesymbol [minus]                [\FontAwesomeSymbol{f068}]
    \definesymbol [asterisk]             [\FontAwesomeSymbol{f069}]
    \definesymbol [exclamation-circle]   [\FontAwesomeSymbol{f06a}]
    \definesymbol [gift]                 [\FontAwesomeSymbol{f06b}]
    \definesymbol [leaf]                 [\FontAwesomeSymbol{f06c}]
    \definesymbol [fire]                 [\FontAwesomeSymbol{f06d}]
    \definesymbol [eye]                  [\FontAwesomeSymbol{f06e}]
    \definesymbol [eye-slash]            [\FontAwesomeSymbol{f070}]
    \definesymbol [warning]              [\directsymbol{fontawesome}{exclamation-triangle}]
    \definesymbol [exclamation-triangle] [\FontAwesomeSymbol{f071}]
    \definesymbol [plane]                [\FontAwesomeSymbol{f072}]
    \definesymbol [calendar]             [\FontAwesomeSymbol{f073}]
    \definesymbol [random]               [\FontAwesomeSymbol{f074}]
    \definesymbol [comment]              [\FontAwesomeSymbol{f075}]
    \definesymbol [magnet]               [\FontAwesomeSymbol{f076}]
    \definesymbol [chevron-up]           [\FontAwesomeSymbol{f077}]
    \definesymbol [chevron-down]         [\FontAwesomeSymbol{f078}]
    \definesymbol [retweet]              [\FontAwesomeSymbol{f079}]
    \definesymbol [shopping-cart]        [\FontAwesomeSymbol{f07a}]
    \definesymbol [folder]               [\FontAwesomeSymbol{f07b}]
    \definesymbol [folder-open]          [\FontAwesomeSymbol{f07c}]
    \definesymbol [arrows-v]             [\FontAwesomeSymbol{f07d}]
    \definesymbol [arrows-h]             [\FontAwesomeSymbol{f07e}]
    \definesymbol [bar-chart-o]          [\directsymbol{fontawesome}{bar-chart}]
    \definesymbol [bar-chart]            [\FontAwesomeSymbol{f080}]
    \definesymbol [twitter-square]       [\FontAwesomeSymbol{f081}]
    \definesymbol [facebook-square]      [\FontAwesomeSymbol{f082}]
    \definesymbol [camera-retro]         [\FontAwesomeSymbol{f083}]
    \definesymbol [key]                  [\FontAwesomeSymbol{f084}]
    \definesymbol [gears]                [\directsymbol{fontawesome}{cogs}]
    \definesymbol [cogs]                 [\FontAwesomeSymbol{f085}]
    \definesymbol [comments]             [\FontAwesomeSymbol{f086}]
    \definesymbol [thumbs-o-up]          [\FontAwesomeSymbol{f087}]
    \definesymbol [thumbs-o-down]        [\FontAwesomeSymbol{f088}]
    \definesymbol [star-half]            [\FontAwesomeSymbol{f089}]
    \definesymbol [heart-o]              [\FontAwesomeSymbol{f08a}]
    \definesymbol [sign-out]             [\FontAwesomeSymbol{f08b}]
    \definesymbol [linkedin-square]      [\FontAwesomeSymbol{f08c}]
    \definesymbol [thumb-tack]           [\FontAwesomeSymbol{f08d}]
    \definesymbol [external-link]        [\FontAwesomeSymbol{f08e}]
    \definesymbol [sign-in]              [\FontAwesomeSymbol{f090}]
    \definesymbol [trophy]               [\FontAwesomeSymbol{f091}]
    \definesymbol [github-square]        [\FontAwesomeSymbol{f092}]
    \definesymbol [upload]               [\FontAwesomeSymbol{f093}]
    \definesymbol [lemon-o]              [\FontAwesomeSymbol{f094}]
    \definesymbol [phone]                [\FontAwesomeSymbol{f095}]
    \definesymbol [square-o]             [\FontAwesomeSymbol{f096}]
    \definesymbol [bookmark-o]           [\FontAwesomeSymbol{f097}]
    \definesymbol [phone-square]         [\FontAwesomeSymbol{f098}]
    \definesymbol [twitter]              [\FontAwesomeSymbol{f099}]
    \definesymbol [facebook-f]           [\directsymbol{fontawesome}{facebook}]
    \definesymbol [facebook]             [\FontAwesomeSymbol{f09a}]
    \definesymbol [github]               [\FontAwesomeSymbol{f09b}]
    \definesymbol [unlock]               [\FontAwesomeSymbol{f09c}]
    \definesymbol [credit-card]          [\FontAwesomeSymbol{f09d}]
    \definesymbol [rss]                  [\FontAwesomeSymbol{f09e}]
    \definesymbol [hdd-o]                [\FontAwesomeSymbol{f0a0}]
    \definesymbol [bullhorn]             [\FontAwesomeSymbol{f0a1}]
    \definesymbol [bell]                 [\FontAwesomeSymbol{f0f3}]
    \definesymbol [certificate]          [\FontAwesomeSymbol{f0a3}]
    \definesymbol [hand-o-right]         [\FontAwesomeSymbol{f0a4}]
    \definesymbol [hand-o-left]          [\FontAwesomeSymbol{f0a5}]
    \definesymbol [hand-o-up]            [\FontAwesomeSymbol{f0a6}]
    \definesymbol [hand-o-down]          [\FontAwesomeSymbol{f0a7}]
    \definesymbol [arrow-circle-left]    [\FontAwesomeSymbol{f0a8}]
    \definesymbol [arrow-circle-right]   [\FontAwesomeSymbol{f0a9}]
    \definesymbol [arrow-circle-up]      [\FontAwesomeSymbol{f0aa}]
    \definesymbol [arrow-circle-down]    [\FontAwesomeSymbol{f0ab}]
    \definesymbol [globe]                [\FontAwesomeSymbol{f0ac}]
    \definesymbol [wrench]               [\FontAwesomeSymbol{f0ad}]
    \definesymbol [tasks]                [\FontAwesomeSymbol{f0ae}]
    \definesymbol [filter]               [\FontAwesomeSymbol{f0b0}]
    \definesymbol [briefcase]            [\FontAwesomeSymbol{f0b1}]
    \definesymbol [arrows-alt]           [\FontAwesomeSymbol{f0b2}]
    \definesymbol [group]                [\directsymbol{fontawesome}{users}]
    \definesymbol [users]                [\FontAwesomeSymbol{f0c0}]
    \definesymbol [chain]                [\directsymbol{fontawesome}{link}]
    \definesymbol [link]                 [\FontAwesomeSymbol{f0c1}]
    \definesymbol [cloud]                [\FontAwesomeSymbol{f0c2}]
    \definesymbol [flask]                [\FontAwesomeSymbol{f0c3}]
    \definesymbol [cut]                  [\directsymbol{fontawesome}{scissors}]
    \definesymbol [scissors]             [\FontAwesomeSymbol{f0c4}]
    \definesymbol [copy]                 [\directsymbol{fontawesome}{files-o}]
    \definesymbol [files-o]              [\FontAwesomeSymbol{f0c5}]
    \definesymbol [paperclip]            [\FontAwesomeSymbol{f0c6}]
    \definesymbol [save]                 [\directsymbol{fontawesome}{floppy-o}]
    \definesymbol [floppy-o]             [\FontAwesomeSymbol{f0c7}]
    \definesymbol [square]               [\FontAwesomeSymbol{f0c8}]
    \definesymbol [navicon]              [\directsymbol{fontawesome}{bars}]
    \definesymbol [reorder]              [\directsymbol{fontawesome}{bars}]
    \definesymbol [bars]                 [\FontAwesomeSymbol{f0c9}]
    \definesymbol [list-ul]              [\FontAwesomeSymbol{f0ca}]
    \definesymbol [list-ol]              [\FontAwesomeSymbol{f0cb}]
    \definesymbol [strikethrough]        [\FontAwesomeSymbol{f0cc}]
    \definesymbol [underline]            [\FontAwesomeSymbol{f0cd}]
    \definesymbol [table]                [\FontAwesomeSymbol{f0ce}]
    \definesymbol [magic]                [\FontAwesomeSymbol{f0d0}]
    \definesymbol [truck]                [\FontAwesomeSymbol{f0d1}]
    \definesymbol [pinterest]            [\FontAwesomeSymbol{f0d2}]
    \definesymbol [pinterest-square]     [\FontAwesomeSymbol{f0d3}]
    \definesymbol [google-plus-square]   [\FontAwesomeSymbol{f0d4}]
    \definesymbol [google-plus]          [\FontAwesomeSymbol{f0d5}]
    \definesymbol [money]                [\FontAwesomeSymbol{f0d6}]
    \definesymbol [caret-down]           [\FontAwesomeSymbol{f0d7}]
    \definesymbol [caret-up]             [\FontAwesomeSymbol{f0d8}]
    \definesymbol [caret-left]           [\FontAwesomeSymbol{f0d9}]
    \definesymbol [caret-right]          [\FontAwesomeSymbol{f0da}]
    \definesymbol [columns]              [\FontAwesomeSymbol{f0db}]
    \definesymbol [unsorted]             [\directsymbol{fontawesome}{sort}]
    \definesymbol [sort]                 [\FontAwesomeSymbol{f0dc}]
    \definesymbol [sort-down]            [\directsymbol{fontawesome}{sort-desc}]
    \definesymbol [sort-desc]            [\FontAwesomeSymbol{f0dd}]
    \definesymbol [sort-up]              [\directsymbol{fontawesome}{sort-asc}]
    \definesymbol [sort-asc]             [\FontAwesomeSymbol{f0de}]
    \definesymbol [envelope]             [\FontAwesomeSymbol{f0e0}]
    \definesymbol [linkedin]             [\FontAwesomeSymbol{f0e1}]
    \definesymbol [rotate-left]          [\directsymbol{fontawesome}{undo}]
    \definesymbol [undo]                 [\FontAwesomeSymbol{f0e2}]
    \definesymbol [legal]                [\directsymbol{fontawesome}{gavel}]
    \definesymbol [gavel]                [\FontAwesomeSymbol{f0e3}]
    \definesymbol [dashboard]            [\directsymbol{fontawesome}{tachometer}]
    \definesymbol [tachometer]           [\FontAwesomeSymbol{f0e4}]
    \definesymbol [comment-o]            [\FontAwesomeSymbol{f0e5}]
    \definesymbol [comments-o]           [\FontAwesomeSymbol{f0e6}]
    \definesymbol [flash]                [\directsymbol{fontawesome}{bolt}]
    \definesymbol [bolt]                 [\FontAwesomeSymbol{f0e7}]
    \definesymbol [sitemap]              [\FontAwesomeSymbol{f0e8}]
    \definesymbol [umbrella]             [\FontAwesomeSymbol{f0e9}]
    \definesymbol [paste]                [\directsymbol{fontawesome}{clipboard}]
    \definesymbol [clipboard]            [\FontAwesomeSymbol{f0ea}]
    \definesymbol [lightbulb-o]          [\FontAwesomeSymbol{f0eb}]
    \definesymbol [exchange]             [\FontAwesomeSymbol{f0ec}]
    \definesymbol [cloud-download]       [\FontAwesomeSymbol{f0ed}]
    \definesymbol [cloud-upload]         [\FontAwesomeSymbol{f0ee}]
    \definesymbol [user-md]              [\FontAwesomeSymbol{f0f0}]
    \definesymbol [stethoscope]          [\FontAwesomeSymbol{f0f1}]
    \definesymbol [suitcase]             [\FontAwesomeSymbol{f0f2}]
    \definesymbol [bell-o]               [\FontAwesomeSymbol{f0a2}]
    \definesymbol [coffee]               [\FontAwesomeSymbol{f0f4}]
    \definesymbol [cutlery]              [\FontAwesomeSymbol{f0f5}]
    \definesymbol [file-text-o]          [\FontAwesomeSymbol{f0f6}]
    \definesymbol [building-o]           [\FontAwesomeSymbol{f0f7}]
    \definesymbol [hospital-o]           [\FontAwesomeSymbol{f0f8}]
    \definesymbol [ambulance]            [\FontAwesomeSymbol{f0f9}]
    \definesymbol [medkit]               [\FontAwesomeSymbol{f0fa}]
    \definesymbol [fighter-jet]          [\FontAwesomeSymbol{f0fb}]
    \definesymbol [beer]                 [\FontAwesomeSymbol{f0fc}]
    \definesymbol [h-square]             [\FontAwesomeSymbol{f0fd}]
    \definesymbol [plus-square]          [\FontAwesomeSymbol{f0fe}]
    \definesymbol [angle-double-left]    [\FontAwesomeSymbol{f100}]
    \definesymbol [angle-double-right]   [\FontAwesomeSymbol{f101}]
    \definesymbol [angle-double-up]      [\FontAwesomeSymbol{f102}]
    \definesymbol [angle-double-down]    [\FontAwesomeSymbol{f103}]
    \definesymbol [angle-left]           [\FontAwesomeSymbol{f104}]
    \definesymbol [angle-right]          [\FontAwesomeSymbol{f105}]
    \definesymbol [angle-up]             [\FontAwesomeSymbol{f106}]
    \definesymbol [angle-down]           [\FontAwesomeSymbol{f107}]
    \definesymbol [desktop]              [\FontAwesomeSymbol{f108}]
    \definesymbol [laptop]               [\FontAwesomeSymbol{f109}]
    \definesymbol [tablet]               [\FontAwesomeSymbol{f10a}]
    \definesymbol [mobile-phone]         [\directsymbol{fontawesome}{mobile}]
    \definesymbol [mobile]               [\FontAwesomeSymbol{f10b}]
    \definesymbol [circle-o]             [\FontAwesomeSymbol{f10c}]
    \definesymbol [quote-left]           [\FontAwesomeSymbol{f10d}]
    \definesymbol [quote-right]          [\FontAwesomeSymbol{f10e}]
    \definesymbol [spinner]              [\FontAwesomeSymbol{f110}]
    \definesymbol [circle]               [\FontAwesomeSymbol{f111}]
    \definesymbol [mail-reply]           [\directsymbol{fontawesome}{reply}]
    \definesymbol [reply]                [\FontAwesomeSymbol{f112}]
    \definesymbol [github-alt]           [\FontAwesomeSymbol{f113}]
    \definesymbol [folder-o]             [\FontAwesomeSymbol{f114}]
    \definesymbol [folder-open-o]        [\FontAwesomeSymbol{f115}]
    \definesymbol [smile-o]              [\FontAwesomeSymbol{f118}]
    \definesymbol [frown-o]              [\FontAwesomeSymbol{f119}]
    \definesymbol [meh-o]                [\FontAwesomeSymbol{f11a}]
    \definesymbol [gamepad]              [\FontAwesomeSymbol{f11b}]
    \definesymbol [keyboard-o]           [\FontAwesomeSymbol{f11c}]
    \definesymbol [flag-o]               [\FontAwesomeSymbol{f11d}]
    \definesymbol [flag-checkered]       [\FontAwesomeSymbol{f11e}]
    \definesymbol [terminal]             [\FontAwesomeSymbol{f120}]
    \definesymbol [code]                 [\FontAwesomeSymbol{f121}]
    \definesymbol [mail-reply-all]       [\directsymbol{fontawesome}{reply-all}]
    \definesymbol [reply-all]            [\FontAwesomeSymbol{f122}]
    \definesymbol [star-half-empty]      [\directsymbol{fontawesome}{star-half-o}]
    \definesymbol [star-half-full]       [\directsymbol{fontawesome}{star-half-o}]
    \definesymbol [star-half-o]          [\FontAwesomeSymbol{f123}]
    \definesymbol [location-arrow]       [\FontAwesomeSymbol{f124}]
    \definesymbol [crop]                 [\FontAwesomeSymbol{f125}]
    \definesymbol [code-fork]            [\FontAwesomeSymbol{f126}]
    \definesymbol [unlink]               [\directsymbol{fontawesome}{chain-broken}]
    \definesymbol [chain-broken]         [\FontAwesomeSymbol{f127}]
    \definesymbol [question]             [\FontAwesomeSymbol{f128}]
    \definesymbol [info]                 [\FontAwesomeSymbol{f129}]
    \definesymbol [exclamation]          [\FontAwesomeSymbol{f12a}]
    \definesymbol [superscript]          [\FontAwesomeSymbol{f12b}]
    \definesymbol [subscript]            [\FontAwesomeSymbol{f12c}]
    \definesymbol [eraser]               [\FontAwesomeSymbol{f12d}]
    \definesymbol [puzzle-piece]         [\FontAwesomeSymbol{f12e}]
    \definesymbol [microphone]           [\FontAwesomeSymbol{f130}]
    \definesymbol [microphone-slash]     [\FontAwesomeSymbol{f131}]
    \definesymbol [shield]               [\FontAwesomeSymbol{f132}]
    \definesymbol [calendar-o]           [\FontAwesomeSymbol{f133}]
    \definesymbol [fire-extinguisher]    [\FontAwesomeSymbol{f134}]
    \definesymbol [rocket]               [\FontAwesomeSymbol{f135}]
    \definesymbol [maxcdn]               [\FontAwesomeSymbol{f136}]
    \definesymbol [chevron-circle-left]  [\FontAwesomeSymbol{f137}]
    \definesymbol [chevron-circle-right] [\FontAwesomeSymbol{f138}]
    \definesymbol [chevron-circle-up]    [\FontAwesomeSymbol{f139}]
    \definesymbol [chevron-circle-down]  [\FontAwesomeSymbol{f13a}]
    \definesymbol [html5]                [\FontAwesomeSymbol{f13b}]
    \definesymbol [css3]                 [\FontAwesomeSymbol{f13c}]
    \definesymbol [anchor]               [\FontAwesomeSymbol{f13d}]
    \definesymbol [unlock-alt]           [\FontAwesomeSymbol{f13e}]
    \definesymbol [bullseye]             [\FontAwesomeSymbol{f140}]
    \definesymbol [ellipsis-h]           [\FontAwesomeSymbol{f141}]
    \definesymbol [ellipsis-v]           [\FontAwesomeSymbol{f142}]
    \definesymbol [rss-square]           [\FontAwesomeSymbol{f143}]
    \definesymbol [play-circle]          [\FontAwesomeSymbol{f144}]
    \definesymbol [ticket]               [\FontAwesomeSymbol{f145}]
    \definesymbol [minus-square]         [\FontAwesomeSymbol{f146}]
    \definesymbol [minus-square-o]       [\FontAwesomeSymbol{f147}]
    \definesymbol [level-up]             [\FontAwesomeSymbol{f148}]
    \definesymbol [level-down]           [\FontAwesomeSymbol{f149}]
    \definesymbol [check-square]         [\FontAwesomeSymbol{f14a}]
    \definesymbol [pencil-square]        [\FontAwesomeSymbol{f14b}]
    \definesymbol [external-link-square] [\FontAwesomeSymbol{f14c}]
    \definesymbol [share-square]         [\FontAwesomeSymbol{f14d}]
    \definesymbol [compass]              [\FontAwesomeSymbol{f14e}]
    \definesymbol [toggle-down]          [\directsymbol{fontawesome}{caret-square-o-down}]
    \definesymbol [caret-square-o-down]  [\FontAwesomeSymbol{f150}]
    \definesymbol [toggle-up]            [\directsymbol{fontawesome}{caret-square-o-up}]
    \definesymbol [caret-square-o-up]    [\FontAwesomeSymbol{f151}]
    \definesymbol [toggle-right]    [\directsymbol{fontawesome}{caret-square-o-right}]
    \definesymbol [caret-square-o-right] [\FontAwesomeSymbol{f152}]
    \definesymbol [euro]                 [\directsymbol{fontawesome}{eur}]
    \definesymbol [eur]                  [\FontAwesomeSymbol{f153}]
    \definesymbol [gbp]                  [\FontAwesomeSymbol{f154}]
    \definesymbol [dollar]               [\directsymbol{fontawesome}{usd}]
    \definesymbol [usd]                  [\FontAwesomeSymbol{f155}]
    \definesymbol [rupee]                [\directsymbol{fontawesome}{inr}]
    \definesymbol [inr]                  [\FontAwesomeSymbol{f156}]
    \definesymbol [cny]                  [\directsymbol{fontawesome}{jpy}]
    \definesymbol [rmb]                  [\directsymbol{fontawesome}{jpy}]
    \definesymbol [yen]                  [\directsymbol{fontawesome}{jpy}]
    \definesymbol [jpy]                  [\FontAwesomeSymbol{f157}]
    \definesymbol [ruble]                [\directsymbol{fontawesome}{rub}]
    \definesymbol [rouble]               [\directsymbol{fontawesome}{rub}]
    \definesymbol [rub]                  [\FontAwesomeSymbol{f158}]
    \definesymbol [won]                  [\directsymbol{fontawesome}{krw}]
    \definesymbol [krw]                  [\FontAwesomeSymbol{f159}]
    \definesymbol [bitcoin]              [\directsymbol{fontawesome}{btc}]
    \definesymbol [btc]                  [\FontAwesomeSymbol{f15a}]
    \definesymbol [file]                 [\FontAwesomeSymbol{f15b}]
    \definesymbol [file-text]            [\FontAwesomeSymbol{f15c}]
    \definesymbol [sort-alpha-asc]       [\FontAwesomeSymbol{f15d}]
    \definesymbol [sort-alpha-desc]      [\FontAwesomeSymbol{f15e}]
    \definesymbol [sort-amount-asc]      [\FontAwesomeSymbol{f160}]
    \definesymbol [sort-amount-desc]     [\FontAwesomeSymbol{f161}]
    \definesymbol [sort-numeric-asc]     [\FontAwesomeSymbol{f162}]
    \definesymbol [sort-numeric-desc]    [\FontAwesomeSymbol{f163}]
    \definesymbol [thumbs-up]            [\FontAwesomeSymbol{f164}]
    \definesymbol [thumbs-down]          [\FontAwesomeSymbol{f165}]
    \definesymbol [youtube-square]       [\FontAwesomeSymbol{f166}]
    \definesymbol [youtube]              [\FontAwesomeSymbol{f167}]
    \definesymbol [xing]                 [\FontAwesomeSymbol{f168}]
    \definesymbol [xing-square]          [\FontAwesomeSymbol{f169}]
    \definesymbol [youtube-play]         [\FontAwesomeSymbol{f16a}]
    \definesymbol [dropbox]              [\FontAwesomeSymbol{f16b}]
    \definesymbol [stack-overflow]       [\FontAwesomeSymbol{f16c}]
    \definesymbol [instagram]            [\FontAwesomeSymbol{f16d}]
    \definesymbol [flickr]               [\FontAwesomeSymbol{f16e}]
    \definesymbol [adn]                  [\FontAwesomeSymbol{f170}]
    \definesymbol [bitbucket]            [\FontAwesomeSymbol{f171}]
    \definesymbol [bitbucket-square]     [\FontAwesomeSymbol{f172}]
    \definesymbol [tumblr]               [\FontAwesomeSymbol{f173}]
    \definesymbol [tumblr-square]        [\FontAwesomeSymbol{f174}]
    \definesymbol [long-arrow-down]      [\FontAwesomeSymbol{f175}]
    \definesymbol [long-arrow-up]        [\FontAwesomeSymbol{f176}]
    \definesymbol [long-arrow-left]      [\FontAwesomeSymbol{f177}]
    \definesymbol [long-arrow-right]     [\FontAwesomeSymbol{f178}]
    \definesymbol [apple]                [\FontAwesomeSymbol{f179}]
    \definesymbol [windows]              [\FontAwesomeSymbol{f17a}]
    \definesymbol [android]              [\FontAwesomeSymbol{f17b}]
    \definesymbol [linux]                [\FontAwesomeSymbol{f17c}]
    \definesymbol [dribbble]             [\FontAwesomeSymbol{f17d}]
    \definesymbol [skype]                [\FontAwesomeSymbol{f17e}]
    \definesymbol [foursquare]           [\FontAwesomeSymbol{f180}]
    \definesymbol [trello]               [\FontAwesomeSymbol{f181}]
    \definesymbol [female]               [\FontAwesomeSymbol{f182}]
    \definesymbol [male]                 [\FontAwesomeSymbol{f183}]
    \definesymbol [gittip]               [\directsymbol{fontawesome}{gratipay}]
    \definesymbol [gratipay]             [\FontAwesomeSymbol{f184}]
    \definesymbol [sun-o]                [\FontAwesomeSymbol{f185}]
    \definesymbol [moon-o]               [\FontAwesomeSymbol{f186}]
    \definesymbol [archive]              [\FontAwesomeSymbol{f187}]
    \definesymbol [bug]                  [\FontAwesomeSymbol{f188}]
    \definesymbol [vk]                   [\FontAwesomeSymbol{f189}]
    \definesymbol [weibo]                [\FontAwesomeSymbol{f18a}]
    \definesymbol [renren]               [\FontAwesomeSymbol{f18b}]
    \definesymbol [pagelines]            [\FontAwesomeSymbol{f18c}]
    \definesymbol [stack-exchange]       [\FontAwesomeSymbol{f18d}]
    \definesymbol [arrow-circle-o-right] [\FontAwesomeSymbol{f18e}]
    \definesymbol [arrow-circle-o-left]  [\FontAwesomeSymbol{f190}]
    \definesymbol [toggle-left]          [\directsymbol{fontawesome}{caret-square-o-left}]
    \definesymbol [caret-square-o-left]  [\FontAwesomeSymbol{f191}]
    \definesymbol [dot-circle-o]         [\FontAwesomeSymbol{f192}]
    \definesymbol [wheelchair]           [\FontAwesomeSymbol{f193}]
    \definesymbol [vimeo-square]         [\FontAwesomeSymbol{f194}]
    \definesymbol [turkish-lira]         [\directsymbol{fontawesome}{try}]
    \definesymbol [try]                  [\FontAwesomeSymbol{f195}]
    \definesymbol [plus-square-o]        [\FontAwesomeSymbol{f196}]
    \definesymbol [space-shuttle]        [\FontAwesomeSymbol{f197}]
    \definesymbol [slack]                [\FontAwesomeSymbol{f198}]
    \definesymbol [envelope-square]      [\FontAwesomeSymbol{f199}]
    \definesymbol [wordpress]            [\FontAwesomeSymbol{f19a}]
    \definesymbol [openid]               [\FontAwesomeSymbol{f19b}]
    \definesymbol [institution]          [\directsymbol{fontawesome}{university}]
    \definesymbol [bank]                 [\directsymbol{fontawesome}{university}]
    \definesymbol [university]           [\FontAwesomeSymbol{f19c}]
    \definesymbol [mortar-board]         [\directsymbol{fontawesome}{graduation-cap}]
    \definesymbol [graduation-cap]       [\FontAwesomeSymbol{f19d}]
    \definesymbol [yahoo]                [\FontAwesomeSymbol{f19e}]
    \definesymbol [google]               [\FontAwesomeSymbol{f1a0}]
    \definesymbol [reddit]               [\FontAwesomeSymbol{f1a1}]
    \definesymbol [reddit-square]        [\FontAwesomeSymbol{f1a2}]
    \definesymbol [stumbleupon-circle]   [\FontAwesomeSymbol{f1a3}]
    \definesymbol [stumbleupon]          [\FontAwesomeSymbol{f1a4}]
    \definesymbol [delicious]            [\FontAwesomeSymbol{f1a5}]
    \definesymbol [digg]                 [\FontAwesomeSymbol{f1a6}]
    \definesymbol [pied-piper]           [\FontAwesomeSymbol{f1a7}]
    \definesymbol [pied-piper-alt]       [\FontAwesomeSymbol{f1a8}]
    \definesymbol [drupal]               [\FontAwesomeSymbol{f1a9}]
    \definesymbol [joomla]               [\FontAwesomeSymbol{f1aa}]
    \definesymbol [language]             [\FontAwesomeSymbol{f1ab}]
    \definesymbol [fax]                  [\FontAwesomeSymbol{f1ac}]
    \definesymbol [building]             [\FontAwesomeSymbol{f1ad}]
    \definesymbol [child]                [\FontAwesomeSymbol{f1ae}]
    \definesymbol [paw]                  [\FontAwesomeSymbol{f1b0}]
    \definesymbol [spoon]                [\FontAwesomeSymbol{f1b1}]
    \definesymbol [cube]                 [\FontAwesomeSymbol{f1b2}]
    \definesymbol [cubes]                [\FontAwesomeSymbol{f1b3}]
    \definesymbol [behance]              [\FontAwesomeSymbol{f1b4}]
    \definesymbol [behance-square]       [\FontAwesomeSymbol{f1b5}]
    \definesymbol [steam]                [\FontAwesomeSymbol{f1b6}]
    \definesymbol [steam-square]         [\FontAwesomeSymbol{f1b7}]
    \definesymbol [recycle]              [\FontAwesomeSymbol{f1b8}]
    \definesymbol [automobile]           [\directsymbol{fontawesome}{car}]
    \definesymbol [car]                  [\FontAwesomeSymbol{f1b9}]
    \definesymbol [cab]                  [\directsymbol{fontawesome}{taxi}]
    \definesymbol [taxi]                 [\FontAwesomeSymbol{f1ba}]
    \definesymbol [tree]                 [\FontAwesomeSymbol{f1bb}]
    \definesymbol [spotify]              [\FontAwesomeSymbol{f1bc}]
    \definesymbol [deviantart]           [\FontAwesomeSymbol{f1bd}]
    \definesymbol [soundcloud]           [\FontAwesomeSymbol{f1be}]
    \definesymbol [database]             [\FontAwesomeSymbol{f1c0}]
    \definesymbol [file-pdf-o]           [\FontAwesomeSymbol{f1c1}]
    \definesymbol [file-word-o]          [\FontAwesomeSymbol{f1c2}]
    \definesymbol [file-excel-o]         [\FontAwesomeSymbol{f1c3}]
    \definesymbol [file-powerpoint-o]    [\FontAwesomeSymbol{f1c4}]
    \definesymbol [file-photo-o]         [\directsymbol{fontawesome}{file-image-o}]
    \definesymbol [file-picture-o]       [\directsymbol{fontawesome}{file-image-o}]
    \definesymbol [file-image-o]         [\FontAwesomeSymbol{f1c5}]
    \definesymbol [file-zip-o]           [\directsymbol{fontawesome}{file-archive-o}]
    \definesymbol [file-archive-o]       [\FontAwesomeSymbol{f1c6}]
    \definesymbol [file-sound-o]         [\directsymbol{fontawesome}{file-audio-o}]
    \definesymbol [file-audio-o]         [\FontAwesomeSymbol{f1c7}]
    \definesymbol [file-movie-o]         [\directsymbol{fontawesome}{file-video-o}]
    \definesymbol [file-video-o]         [\FontAwesomeSymbol{f1c8}]
    \definesymbol [file-code-o]          [\FontAwesomeSymbol{f1c9}]
    \definesymbol [vine]                 [\FontAwesomeSymbol{f1ca}]
    \definesymbol [codepen]              [\FontAwesomeSymbol{f1cb}]
    \definesymbol [jsfiddle]             [\FontAwesomeSymbol{f1cc}]
    \definesymbol [life-bouy]            [\directsymbol{fontawesome}{life-ring}]
    \definesymbol [life-buoy]            [\directsymbol{fontawesome}{life-ring}]
    \definesymbol [life-saver]           [\directsymbol{fontawesome}{life-ring}]
    \definesymbol [support]              [\directsymbol{fontawesome}{life-ring}]
    \definesymbol [life-ring]            [\FontAwesomeSymbol{f1cd}]
    \definesymbol [circle-o-notch]       [\FontAwesomeSymbol{f1ce}]
    \definesymbol [ra]                   [\directsymbol{fontawesome}{rebel}]
    \definesymbol [rebel]                [\FontAwesomeSymbol{f1d0}]
    \definesymbol [ge]                   [\directsymbol{fontawesome}{empire}]
    \definesymbol [empire]               [\FontAwesomeSymbol{f1d1}]
    \definesymbol [git-square]           [\FontAwesomeSymbol{f1d2}]
    \definesymbol [git]                  [\FontAwesomeSymbol{f1d3}]
    \definesymbol [hacker-news]          [\FontAwesomeSymbol{f1d4}]
    \definesymbol [tencent-weibo]        [\FontAwesomeSymbol{f1d5}]
    \definesymbol [qq]                   [\FontAwesomeSymbol{f1d6}]
    \definesymbol [wechat]               [\directsymbol{fontawesome}{weixin}]
    \definesymbol [weixin]               [\FontAwesomeSymbol{f1d7}]
    \definesymbol [send]                 [\directsymbol{fontawesome}{paper-plane}]
    \definesymbol [paper-plane]          [\FontAwesomeSymbol{f1d8}]
    \definesymbol [send-o]               [\directsymbol{fontawesome}{paper-plane-o}]
    \definesymbol [paper-plane-o]        [\FontAwesomeSymbol{f1d9}]
    \definesymbol [history]              [\FontAwesomeSymbol{f1da}]
    \definesymbol [genderless]           [\directsymbol{fontawesome}{circle-thin}]
    \definesymbol [circle-thin]          [\FontAwesomeSymbol{f1db}]
    \definesymbol [header]               [\FontAwesomeSymbol{f1dc}]
    \definesymbol [paragraph]            [\FontAwesomeSymbol{f1dd}]
    \definesymbol [sliders]              [\FontAwesomeSymbol{f1de}]
    \definesymbol [share-alt]            [\FontAwesomeSymbol{f1e0}]
    \definesymbol [share-alt-square]     [\FontAwesomeSymbol{f1e1}]
    \definesymbol [bomb]                 [\FontAwesomeSymbol{f1e2}]
    \definesymbol [soccer-ball-o]        [\directsymbol{fontawesome}{soccer-ball-o}]
    \definesymbol [futbol-o]             [\FontAwesomeSymbol{f1e3}]
    \definesymbol [tty]                  [\FontAwesomeSymbol{f1e4}]
    \definesymbol [binoculars]           [\FontAwesomeSymbol{f1e5}]
    \definesymbol [plug]                 [\FontAwesomeSymbol{f1e6}]
    \definesymbol [slideshare]           [\FontAwesomeSymbol{f1e7}]
    \definesymbol [twitch]               [\FontAwesomeSymbol{f1e8}]
    \definesymbol [yelp]                 [\FontAwesomeSymbol{f1e9}]
    \definesymbol [newspaper-o]          [\FontAwesomeSymbol{f1ea}]
    \definesymbol [wifi]                 [\FontAwesomeSymbol{f1eb}]
    \definesymbol [calculator]           [\FontAwesomeSymbol{f1ec}]
    \definesymbol [paypal]               [\FontAwesomeSymbol{f1ed}]
    \definesymbol [google-wallet]        [\FontAwesomeSymbol{f1ee}]
    \definesymbol [cc-visa]              [\FontAwesomeSymbol{f1f0}]
    \definesymbol [cc-mastercard]        [\FontAwesomeSymbol{f1f1}]
    \definesymbol [cc-discover]          [\FontAwesomeSymbol{f1f2}]
    \definesymbol [cc-amex]              [\FontAwesomeSymbol{f1f3}]
    \definesymbol [cc-paypal]            [\FontAwesomeSymbol{f1f4}]
    \definesymbol [cc-stripe]            [\FontAwesomeSymbol{f1f5}]
    \definesymbol [bell-slash]           [\FontAwesomeSymbol{f1f6}]
    \definesymbol [bell-slash-o]         [\FontAwesomeSymbol{f1f7}]
    \definesymbol [trash]                [\FontAwesomeSymbol{f1f8}]
    \definesymbol [copyright]            [\FontAwesomeSymbol{f1f9}]
    \definesymbol [at]                   [\FontAwesomeSymbol{f1fa}]
    \definesymbol [eyedropper]           [\FontAwesomeSymbol{f1fb}]
    \definesymbol [paint-brush]          [\FontAwesomeSymbol{f1fc}]
    \definesymbol [birthday-cake]        [\FontAwesomeSymbol{f1fd}]
    \definesymbol [area-chart]           [\FontAwesomeSymbol{f1fe}]
    \definesymbol [pie-chart]            [\FontAwesomeSymbol{f200}]
    \definesymbol [line-chart]           [\FontAwesomeSymbol{f201}]
    \definesymbol [lastfm]               [\FontAwesomeSymbol{f202}]
    \definesymbol [lastfm-square]        [\FontAwesomeSymbol{f203}]
    \definesymbol [toggle-off]           [\FontAwesomeSymbol{f204}]
    \definesymbol [toggle-on]            [\FontAwesomeSymbol{f205}]
    \definesymbol [bicycle]              [\FontAwesomeSymbol{f206}]
    \definesymbol [bus]                  [\FontAwesomeSymbol{f207}]
    \definesymbol [ioxhost]              [\FontAwesomeSymbol{f208}]
    \definesymbol [angellist]            [\FontAwesomeSymbol{f209}]
    \definesymbol [cc]                   [\FontAwesomeSymbol{f20a}]
    \definesymbol [shekel]               [\directsymbol{fontawesome}{ils}]
    \definesymbol [sheqel]               [\directsymbol{fontawesome}{ils}]
    \definesymbol [ils]                  [\FontAwesomeSymbol{f20b}]
    \definesymbol [meanpath]             [\FontAwesomeSymbol{f20c}]
    \definesymbol [buysellads]           [\FontAwesomeSymbol{f20d}]
    \definesymbol [connectdevelop]       [\FontAwesomeSymbol{f20e}]
    \definesymbol [dashcube]             [\FontAwesomeSymbol{f210}]
    \definesymbol [forumbee]             [\FontAwesomeSymbol{f211}]
    \definesymbol [leanpub]              [\FontAwesomeSymbol{f212}]
    \definesymbol [sellsy]               [\FontAwesomeSymbol{f213}]
    \definesymbol [shirtsinbulk]         [\FontAwesomeSymbol{f214}]
    \definesymbol [simplybuilt]          [\FontAwesomeSymbol{f215}]
    \definesymbol [skyatlas]             [\FontAwesomeSymbol{f216}]
    \definesymbol [cart-plus]            [\FontAwesomeSymbol{f217}]
    \definesymbol [cart-arrow-down]      [\FontAwesomeSymbol{f218}]
    \definesymbol [diamond]              [\FontAwesomeSymbol{f219}]
    \definesymbol [ship]                 [\FontAwesomeSymbol{f21a}]
    \definesymbol [user-secret]          [\FontAwesomeSymbol{f21b}]
    \definesymbol [motorcycle]           [\FontAwesomeSymbol{f21c}]
    \definesymbol [street-view]          [\FontAwesomeSymbol{f21d}]
    \definesymbol [heartbeat]            [\FontAwesomeSymbol{f21e}]
    \definesymbol [venus]                [\FontAwesomeSymbol{f221}]
    \definesymbol [mars]                 [\FontAwesomeSymbol{f222}]
    \definesymbol [mercury]              [\FontAwesomeSymbol{f223}]
    \definesymbol [transgender]          [\FontAwesomeSymbol{f224}]
    \definesymbol [transgender-alt]      [\FontAwesomeSymbol{f225}]
    \definesymbol [venus-double]         [\FontAwesomeSymbol{f226}]
    \definesymbol [mars-double]          [\FontAwesomeSymbol{f227}]
    \definesymbol [venus-mars]           [\FontAwesomeSymbol{f228}]
    \definesymbol [mars-stroke]          [\FontAwesomeSymbol{f229}]
    \definesymbol [mars-stroke-v]        [\FontAwesomeSymbol{f22a}]
    \definesymbol [mars-stroke-h]        [\FontAwesomeSymbol{f22b}]
    \definesymbol [neuter]               [\FontAwesomeSymbol{f22c}]
    \definesymbol [facebook-official]    [\FontAwesomeSymbol{f230}]
    \definesymbol [pinterest-p]          [\FontAwesomeSymbol{f231}]
    \definesymbol [whatsapp]             [\FontAwesomeSymbol{f232}]
    \definesymbol [server]               [\FontAwesomeSymbol{f233}]
    \definesymbol [user-plus]            [\FontAwesomeSymbol{f234}]
    \definesymbol [user-times]           [\FontAwesomeSymbol{f235}]
    \definesymbol [hotel]                [\directsymbol{fontawesome}{bed}]
    \definesymbol [bed]                  [\FontAwesomeSymbol{f236}]
    \definesymbol [viacoin]              [\FontAwesomeSymbol{f237}]
    \definesymbol [train]                [\FontAwesomeSymbol{f238}]
    \definesymbol [subway]               [\FontAwesomeSymbol{f239}]
    \definesymbol [medium]               [\FontAwesomeSymbol{f23a}]

\stopsymbolset

[-- Attachment #1.2.3: Type: text/html, Size: 233 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Selecting fonts using the built-in simplefonts module
  2015-03-29 17:47 ` Wolfgang Schuster
@ 2015-03-29 18:33   ` Jörg Weger
  2015-03-29 19:31     ` Wolfgang Schuster
  2015-03-29 20:44   ` Pavneet Arora
  1 sibling, 1 reply; 13+ messages in thread
From: Jörg Weger @ 2015-03-29 18:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users



On 29.03.2015 19:47, Wolfgang Schuster wrote:
>
>> Am 29.03.2015 um 14:40 schrieb Pavneet Arora <pavneet_arora@waroc.com
>> <mailto:pavneet_arora@waroc.com>>:
>>
>> Hello everyone,
>>
>> After a long time I have some typesetting work in front of me...yippeee!
>>
>> I am struggling with adapting my templates to the new integrated
>> simplefonts module, and hope that someone can help.
>>
>> The three issues I am having are:
>>
>> 1.  How does one find the proper expanded long name of the desired font.
>>    For this project, I am using some fonts from The League of Moveable
>>    Type (https://www.theleagueofmoveabletype.com/).
>>
>>    I have reloaded the fonts, and can list them, in the traditional
>>    manner.  What I don't know is how to find the proper name for---say
>>    Junction Light---to use as the third argument in
>>    '\definefontfamily[mainface][ss][Junction Light]'
>>
>>    The use of 'Junction Light' doesn't work, and neither does
>>    'Junction-Light', nor 'junctionlight', nor even 'Junction, Light'
>>    which I retrieve from Font Viewer under Linux.  MWE follows at the
>>    end of this email.  I reference Wolfgang's response stating that the
>>    expanded name must be used
>>    (http://www.ntg.nl/pipermail/ntg-context/2014/077321.html).
>
> You need the familyname of the font, you use the font manager of your OS
> to get the name.
>
> \definefontfamily [junction] [rm] [Junction]
> \definefontfamily [junction] [mm] [Latin Modern Math]
>
> \definefontfamily [junction-light] [rm] [Junction]
> [tf=style:light,bf=style:regular]

I just had it made working this way:

\definefontfamily[mainface]
	[ss]
	[EgalobhierFarinUrlaubodersonstwasoderwersteht]		
	[tf=Junction Light, bf=Junction Regular]

It seems that as soon as you define your own weights (which you can mix 
from different font families) in the fourth pair of brackets, there can 
be anything in the third pair of brackets (family name).

\definefontfamily[mainface]
	[sans]
	[Anything]		
	[regularfont=Junction Light, boldfont=Junction Regular]

works as well and is more self-explaining.

An advantage of your way

 > \definefontfamily [junction-light] [rm] [Junction]
 > [tf=style:light,bf=style:regular]

is that you have to type the family name only once if you re-define 
weights from the same family.

Are there any reasons why one should not use any of all those synonyms?


Greetings Jörg

> \definefontfamily [junction-light] [mm] [Latin Modern Math]
>
> \setupbodyfont[junction]
>
> \starttext
>
> \input ward \bf \input ward
>
> \blank \switchtobodyfont[junction-light]
>
> \tf \input ward \bf \input ward
>
> \stoptext
>
>
>> 2.  How does one switch fonts in-line for small snippets of text?  I
>>    used to use '{\simplefont[heydingsicons] q}123.345.67890', but this
>>    now results in an error.
>>
>>    tex error       > error on line 7 in file
>> virtual://buffer.noname.1: ! Undefined control sequence
>>
>>    l.7                 {\simplefont [heydingsicons] q}~123.456.7890
>> {\simplefont[heydingsicons..
>
> When you use a symbol font define a command for it with \definesymbol
> and access it with \symbol.
>
> The example below uses the Font Awesome [1] font for the symbols (the
> symbols are defined in the attached file).
>
> \usesymbols[fontawesome]
>
> \defineframed
>    [SymbolFrame]
>    [strut=no,
>     width=1em,
>     height=1em,
>     background=color,
>     backgroundcolor=black,
>     corner=round,
>     radius=.5ex,
>     foregroundcolor=white]
>
> \definesymbol
>    [mysymbol]
>    [\SymbolFrame{\directsymbol{fontawesome}{question}}]
>
> \starttext
>
> \startlines
> \symbol[fontawesome][question]
> \symbol[fontawesome][question-circle]
> \framed[strut=no,width=1em,height=1em,background=color,backgroundcolor=black,corner=round,radius=.5ex,foregroundcolor=white]{\symbol[fontawesome][question]}
> \symbol[mysymbol]
> \stoplines
>
> \stoptext
>
>
>> 3.  This may be a more generic typescript mapping issue, but I still
>>    struggle with understanding font mappings.  I don't quite get how
>>    the default mappings are done.
>>
>>    Look, for example, at Junction above.  'junction' is mapped to
>>    'junctionbold' rather than 'junctionregular'.  Is this just done by
>>    taking the first in the list in alphabetic order?
>>
>>    Or how the League Gothic font is processed below.  How is it that
>>    leaguegothic is mapped to leaguegothiccondenseditalic by default?
>>    What is the recommended way in this new simplefont scheme to set the
>>    mappings for a document?
>>
>>    $ mtxrun --script fonts --list --all --pattern=leaguegothic
>>
>>    resolvers       | trees | analyzing 'home:texmf'
>>    resolvers       | caching | skipping 'files' for 'home:texmf' from
>>    '/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/trees/54be04d87dd160089f572b19cb5c97e9'
>> (version mismatch)
>>    leaguegothic                   leaguegothiccondenseditalic
>>    /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-CondensedItalic.otf
>>    leaguegothiccondenseditalic    leaguegothiccondenseditalic
>>    /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-CondensedItalic.otf
>>    leaguegothiccondensedregular   leaguegothiccondensedregular
>>   /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-CondensedRegular.otf
>>    leaguegothicitalic             leaguegothicitalic
>>             /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-Italic.otf
>>    leaguegothicregular            leaguegothicregular
>>            /home/pavneet/.fonts/opentype/TheLeagueOfMoveableType/theleagueof-league-gothic-64c3ede/LeagueGothic-Regular.otf
>
> There mappings are only relevant when you create your own typescripts
> where you access fonts
> with the name method, e.g. \definefontsynonym [Serif]
> [name:leaguegothic] but simplefonts doesn’t
> use of them.
>
> [1] http://fontawesome.io
>
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Selecting fonts using the built-in simplefonts module
  2015-03-29 18:33   ` Jörg Weger
@ 2015-03-29 19:31     ` Wolfgang Schuster
  2015-03-29 20:29       ` Jörg Weger
  0 siblings, 1 reply; 13+ messages in thread
From: Wolfgang Schuster @ 2015-03-29 19:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1611 bytes --]


> Am 29.03.2015 um 20:33 schrieb Jörg Weger <joerg73.muc@googlemail.com>:
> 
>> You need the familyname of the font, you use the font manager of your OS
>> to get the name.
>> 
>> \definefontfamily [junction] [rm] [Junction]
>> \definefontfamily [junction] [mm] [Latin Modern Math]
>> 
>> \definefontfamily [junction-light] [rm] [Junction]
>> [tf=style:light,bf=style:regular]
> 
> I just had it made working this way:
> 
> \definefontfamily[mainface]
> 	[ss]
> 	[EgalobhierFarinUrlaubodersonstwasoderwersteht]		
> 	[tf=Junction Light, bf=Junction Regular]

\definefontfamily [mainface] [ss] [Junction] [tf=* Light,bf=* Regular]

> It seems that as soon as you define your own weights (which you can mix from different font families) in the fourth pair of brackets, there can be anything in the third pair of brackets (family name).
> 
> \definefontfamily[mainface]
> 	[sans]
> 	[Anything]		
> 	[regularfont=Junction Light, boldfont=Junction Regular]
> 
> works as well and is more self-explaining.

This will only work when you set a upright font or you will get problems.

> An advantage of your way
> 
> > \definefontfamily [junction-light] [rm] [Junction]
> > [tf=style:light,bf=style:regular]
> 
> is that you have to type the family name only once if you re-define weights from the same family.

When you use the keywords for the style you don’t have to look for the right names and simpelfonts has fallbacks when the requested style isn’t available.

> Are there any reasons why one should not use any of all those synonyms?

What do you mean?

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 19611 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Selecting fonts using the built-in simplefonts module
  2015-03-29 15:56 ` Jörg Weger
  2015-03-29 16:52   ` Pablo Rodriguez
@ 2015-03-29 19:38   ` Pavneet Arora
  1 sibling, 0 replies; 13+ messages in thread
From: Pavneet Arora @ 2015-03-29 19:38 UTC (permalink / raw)
  To: Jörg Weger; +Cc: ConTeXt Mailing list

Dear Joerg,

Thanks for your response.  I am just going through the full thread, but 
in response to your question, I am using Ubuntu with Unity.  I was using 
the GUI Font Viewer to inspect the font, but otfinfo is more to my 
liking.

Having said that, here is its output with the '-a' option (-a, --family                 
Report font’s family name.):

$ otfinfo -a Junction-light.otf
Junction Light

So, it would seem that Junction Light is a valid 'expanded name' in the 
Junction Master series, although, of course, not the true family name.

I am still digesting further the responses by Pablo and Wolfgang.

Warm regards.


On 29Mar15, Jörg Weger wrote:
> Your mistake was that you did not use the correct font family name
> in the third pair of square brackets. It is simply “Junction”.
> 
> I have yet to find out if ConTeXt itself can show a font’s true family name.
> 
> On Linux I am either  using a command line tool called otfinfo (that
> also shows me what opentype features are there) or I open the font
> with fontforge (if I want to find out more about the details of
> opentype features) or I open it with mate-font-viewer (fork of
> gnome-font-viewer). In the latter the family name is shown in the
> first line on the right.
> 
> Name: Junction
> 
> What desktop environment are you using?
> 
> 
> As far as I have understood by default the built in font-selection
> module uses the “family members” named “Regular” and “Bold” of a
> selected font family, e.g. in
> 
> \definefontfamily[mainface][ss][Junction]
> 
> \ss gives Junction Regular and \ss \bf gives Junction Bold
> 
> If you want to use different font weights you have to define them
> yourself in a fourth pair of square brackets.
> 
> The League of Movable Type’s Junction font family offers three
> weights: Light, Regular and Bold.
> 
> Assuming that you want to use Junction Light as your “regular sans
> serif” font and Junction Regular as your “bold sans serif” you
> define for sans serif:
> 
> \definefontfamily[mainface][ss][Junction]
> 	[regularfont=Junction Light, boldfont=Junction Regular]
> 
> Now \ss should give Junction Light and \ss \bf should give Junction Regular.
> 
> You can define italics as well, as the following definition for
> Google’s Roboto shows where I am using light and black instead of
> regular and bold. (Junction does not offer italic or slanted, that
> is why I use Roboto as an example of a family with many weights and
> styles. https://developer.android.com/design/style/typography.html
> should have the reworked 2014 version for download.)
> 
> \definefontfamily[mainface][ss][Roboto]
> 	[regularfont=Roboto Light, italicfont=Roboto Light Italic,
> 	 boldfont=Roboto Black, bolditalicfont=Roboto Black Italic]
> 
> (You could even mix weights and styles from different font families.)
> 
> 
> Hope that helps.
> 
> 
> Greetings Jörg

-- 
----
Pavneet Arora           m: 647.406.6843
Waroc Informatik        t: 416.937.9276
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Selecting fonts using the built-in simplefonts module
  2015-03-29 19:31     ` Wolfgang Schuster
@ 2015-03-29 20:29       ` Jörg Weger
  2015-03-29 20:57         ` Wolfgang Schuster
  0 siblings, 1 reply; 13+ messages in thread
From: Jörg Weger @ 2015-03-29 20:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users



On 29.03.2015 21:31, Wolfgang Schuster wrote:
>
>> Am 29.03.2015 um 20:33 schrieb Jörg Weger <joerg73.muc@googlemail.com
>> <mailto:joerg73.muc@googlemail.com>>:
>>
>>> You need the familyname of the font, you use the font manager of your OS
>>> to get the name.
>>>
>>> \definefontfamily [junction] [rm] [Junction]
>>> \definefontfamily [junction] [mm] [Latin Modern Math]
>>>
>>> \definefontfamily [junction-light] [rm] [Junction]
>>> [tf=style:light,bf=style:regular]
>>
>> I just had it made working this way:
>>
>> \definefontfamily[mainface]
>> [ss]
>> [EgalobhierFarinUrlaubodersonstwasoderwersteht]
>> [tf=Junction Light, bf=Junction Regular]
>
> \definefontfamily [mainface] [ss] [Junction] [tf=* Light,bf=* Regular]
>
>> It seems that as soon as you define your own weights (which you can
>> mix from different font families) in the fourth pair of brackets,
>> there can be anything in the third pair of brackets (family name).
>>
>> \definefontfamily[mainface]
>> [sans]
>> [Anything]
>> [regularfont=Junction Light, boldfont=Junction Regular]
>>
>> works as well and is more self-explaining.
>
> This will only work when you set a upright font or you will get problems.
>

What problems do you mean?

The following seems to work, only that there is a fallback to the fonts 
defined as upright fonts (which are in fact italic fonts) for the \em 
parts which seems to be the default behaviour if no italic fonts are 
defined in the fourth bracket pair:

%%% MWE %%%%%%%%%%%%%%%%%%%%

\definefontfamily[mainface][ss][EgalobhierFarinUrlaubodersonstwassteht][tf=Roboto 
Light Italic, bf=Roboto Black Italic]

\setupbodyfont[mainface,9pt]


\starttext

\ss \input lorem

\ss \bf \input lorem

\ss \tf \em \input lorem

\ss \bf \em \input lorem

\stoptext


%%%%%%%%%% End of MWE %%%%%%%%%


Of course these font definitions do not make much sense but they work as 
I had expected from previous observations. And of course you should 
define all styles (\rm, \ss, \mm).


>> An advantage of your way
>>
>> > \definefontfamily [junction-light] [rm] [Junction]
>> > [tf=style:light,bf=style:regular]
>>
>> is that you have to type the family name only once if you re-define
>> weights from the same family.
>
> When you use the keywords for the style you don’t have to look for the
> right names and simpelfonts has fallbacks when the requested style isn’t
> available.

That is a nice option.

>
>> Are there any reasons why one should not use any of all those synonyms?
>
> What do you mean?

I mean that for example inside the second bracket pair “rm” equals 
“serif”, ”ss“ equals “sans” etc., in the fourth bracket pair 
“regularfont” equals “tf” etc.

Are there recommendations to not use some of those apart from personal 
taste? Or is “rm” simply a shorter plain TeX heritage while “serif” is 
more self-explaining?

>
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Selecting fonts using the built-in simplefonts module
  2015-03-29 17:47 ` Wolfgang Schuster
  2015-03-29 18:33   ` Jörg Weger
@ 2015-03-29 20:44   ` Pavneet Arora
  2015-03-29 21:16     ` Wolfgang Schuster
  1 sibling, 1 reply; 13+ messages in thread
From: Pavneet Arora @ 2015-03-29 20:44 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

Dear Wolfgang,

I am using:

  ConTeXt  ver: 2015.03.28 22:37 MKIV beta  fmt: 2015.3.29  int: english/english

After installing fontawesome, and running the MWE that you had enclosed, 
I get the following error:

  fonts           > symbols > library 'fontawesome' is unknown

And no symbols are output.  'fontawesome' is loaded:

  $ mtxrun --script fonts --list --all --pattern=fontawesome

  resolvers       | trees | analyzing 'home:texmf'
  resolvers       | caching | skipping 'files' for 'home:texmf' from 
  '/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/trees/54be04d87dd160089f572b19cb5c97e9' (version mismatch)
  fontawesome          fontawesome   /home/pavneet/.fonts/opentype/font-awesome-4.3.0/fonts/FontAwesome.otf
  fontawesomenormal    fontawesome   /home/pavneet/.fonts/opentype/font-awesome-4.3.0/fonts/FontAwesome.otf
  fontawesomeregular   fontawesome   /home/pavneet/.fonts/opentype/font-awesome-4.3.0/fonts/FontAwesome.otf

Also, the '\mysymbol' directive results in an error:

  tex error       > error on line 24 in file test2.tex: ! Argument of \65> has an extra }

  <inserted text> \par <to be read again> }
  \symb_place_indeed ...name \??symbol #1\endcsname \relax \endgroup 
  \symb_place_retry ...name \symb_place_indeed {:#1}
                                                    \else #1\fi 
  \symb_place_normal_c ...lace_retry \currentsymbol \fi 
  \symb_place_normal_b ...else \symb_place_normal_c \fi ...
  l.24 \symbol[mysymbol]
                      

  14     \definesymbol
  15       [mysymbol]
  16       [\SymbolFrame{\directsymbol{fontawesome}{question}}]
  17
  18     \starttext
  19
  20     \startlines
  21     \symbol[fontawesome][question]
  22     \symbol[fontawesome][question-circle]
  23     \framed[strut=no,width=1em,height=1em,background=color,backgroundcolor=black,corner=round,radius=.5ex,foregroundcolor=white]{\symbol[fontawesome][question]}
  24 >>  \symbol[mysymbol]
  25     \stoplines
  26
  27     \stoptext
  28     

What might be the problem?

Many thanks.


On 29Mar15, Wolfgang Schuster wrote:
> > 2.  How does one switch fonts in-line for small snippets of text?  I 
        > >    used to use '{\simplefont[heydingsicons] 
        q}123.345.67890', but this > >    now results in an error.
> > 
> >    tex error       > error on line 7 in file virtual://buffer.noname.1: ! Undefined control sequence
> > 
> >    l.7                 {\simplefont [heydingsicons] q}~123.456.7890 {\simplefont[heydingsicons..
> 
> When you use a symbol font define a command for it with \definesymbol and access it with \symbol.
> 
> The example below uses the Font Awesome [1] font for the symbols (the symbols are defined in the attached file).
> 
> \usesymbols[fontawesome]
> 
> \defineframed
>   [SymbolFrame]
>   [strut=no,
>    width=1em,
>    height=1em,
>    background=color,
>    backgroundcolor=black,
>    corner=round,
>    radius=.5ex,
>    foregroundcolor=white]
> 
> \definesymbol
>   [mysymbol]
>   [\SymbolFrame{\directsymbol{fontawesome}{question}}]
> 
> \starttext
> 
> \startlines
> \symbol[fontawesome][question]
> \symbol[fontawesome][question-circle]
> \framed[strut=no,width=1em,height=1em,background=color,backgroundcolor=black,corner=round,radius=.5ex,foregroundcolor=white]{\symbol[fontawesome][question]}
> \symbol[mysymbol]
> \stoplines
> 
> \stoptext

--
----
Pavneet Arora           m: 647.406.6843
Waroc Informatik        t: 416.937.9276
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Selecting fonts using the built-in simplefonts module
  2015-03-29 20:29       ` Jörg Weger
@ 2015-03-29 20:57         ` Wolfgang Schuster
  0 siblings, 0 replies; 13+ messages in thread
From: Wolfgang Schuster @ 2015-03-29 20:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 4004 bytes --]


> Am 29.03.2015 um 22:29 schrieb Jörg Weger <joerg73.muc@googlemail.com>:
> 
> 
> 
> On 29.03.2015 21:31, Wolfgang Schuster wrote:
>> 
>>> Am 29.03.2015 um 20:33 schrieb Jörg Weger <joerg73.muc@googlemail.com <mailto:joerg73.muc@googlemail.com>
>>> <mailto:joerg73.muc@googlemail.com <mailto:joerg73.muc@googlemail.com>>>:
>>> 
>>>> You need the familyname of the font, you use the font manager of your OS
>>>> to get the name.
>>>> 
>>>> \definefontfamily [junction] [rm] [Junction]
>>>> \definefontfamily [junction] [mm] [Latin Modern Math]
>>>> 
>>>> \definefontfamily [junction-light] [rm] [Junction]
>>>> [tf=style:light,bf=style:regular]
>>> 
>>> I just had it made working this way:
>>> 
>>> \definefontfamily[mainface]
>>> [ss]
>>> [EgalobhierFarinUrlaubodersonstwasoderwersteht]
>>> [tf=Junction Light, bf=Junction Regular]
>> 
>> \definefontfamily [mainface] [ss] [Junction] [tf=* Light,bf=* Regular]
>> 
>>> It seems that as soon as you define your own weights (which you can
>>> mix from different font families) in the fourth pair of brackets,
>>> there can be anything in the third pair of brackets (family name).
>>> 
>>> \definefontfamily[mainface]
>>> [sans]
>>> [Anything]
>>> [regularfont=Junction Light, boldfont=Junction Regular]
>>> 
>>> works as well and is more self-explaining.
>> 
>> This will only work when you set a upright font or you will get problems.
>> 
> 
> What problems do you mean?

When you write nonsense as font name without setting a upright font nothing will show up in your document because the fonts aren’t loaded.

> The following seems to work, only that there is a fallback to the fonts defined as upright fonts (which are in fact italic fonts) for the \em parts which seems to be the default behaviour if no italic fonts are defined in the fourth bracket pair:

The \em command uses the slanted and not the italic alternative by default.

When there is no italic or slanted style in the font the regular style is used and when there is no bolditalic or boldslanted style the bold style is used.

> %%% MWE %%%%%%%%%%%%%%%%%%%%
> 
> \definefontfamily[mainface][ss][EgalobhierFarinUrlaubodersonstwassteht][tf=Roboto Light Italic, bf=Roboto Black Italic]
> 
> \setupbodyfont[mainface,9pt]
> 
> 
> \starttext
> 
> \ss \input lorem
> 
> \ss \bf \input lorem
> 
> \ss \tf \em \input lorem
> 
> \ss \bf \em \input lorem
> 
> \stoptext
> 
> 
> %%%%%%%%%% End of MWE %%%%%%%%%
> 
> 
> Of course these font definitions do not make much sense but they work as I had expected from previous observations. And of course you should define all styles (\rm, \ss, \mm).

You don’t need a serif and a sans font in your document, one of them is enough but math should be always present because some symbols like bullets (but you can force context to take them from the text font) are taken from math.

>>> An advantage of your way
>>> 
>>> > \definefontfamily [junction-light] [rm] [Junction]
>>> > [tf=style:light,bf=style:regular]
>>> 
>>> is that you have to type the family name only once if you re-define
>>> weights from the same family.
>> 
>> When you use the keywords for the style you don’t have to look for the
>> right names and simpelfonts has fallbacks when the requested style isn’t
>> available.
> 
> That is a nice option.
> 
>> 
>>> Are there any reasons why one should not use any of all those synonyms?
>> 
>> What do you mean?
> 
> I mean that for example inside the second bracket pair “rm” equals “serif”, ”ss“ equals “sans” etc., in the fourth bracket pair “regularfont” equals “tf” etc.
> 
> Are there recommendations to not use some of those apart from personal taste? Or is “rm” simply a shorter plain TeX heritage while “serif” is more self-explaining?

It doesn’t matter whether you use rm or serif in the second argument because the argument is checked and converted to a internal name.

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 25107 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Selecting fonts using the built-in simplefonts module
  2015-03-29 20:44   ` Pavneet Arora
@ 2015-03-29 21:16     ` Wolfgang Schuster
  0 siblings, 0 replies; 13+ messages in thread
From: Wolfgang Schuster @ 2015-03-29 21:16 UTC (permalink / raw)
  To: Pavneet Arora; +Cc: mailing list for ConTeXt users


> Am 29.03.2015 um 22:44 schrieb Pavneet Arora <pavneet_arora@waroc.com>:
> 
> Dear Wolfgang,
> 
> I am using:
> 
>  ConTeXt  ver: 2015.03.28 22:37 MKIV beta  fmt: 2015.3.29  int: english/english
> 
> After installing fontawesome, and running the MWE that you had enclosed, 
> I get the following error:
> 
>  fonts           > symbols > library 'fontawesome' is unknown
> 
> And no symbols are output.  'fontawesome' is loaded:
> 
>  $ mtxrun --script fonts --list --all --pattern=fontawesome
> 
>  resolvers       | trees | analyzing 'home:texmf'
>  resolvers       | caching | skipping 'files' for 'home:texmf' from 
>  '/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/trees/54be04d87dd160089f572b19cb5c97e9' (version mismatch)
>  fontawesome          fontawesome   /home/pavneet/.fonts/opentype/font-awesome-4.3.0/fonts/FontAwesome.otf
>  fontawesomenormal    fontawesome   /home/pavneet/.fonts/opentype/font-awesome-4.3.0/fonts/FontAwesome.otf
>  fontawesomeregular   fontawesome   /home/pavneet/.fonts/opentype/font-awesome-4.3.0/fonts/FontAwesome.otf
> 
> Also, the '\mysymbol' directive results in an error:
> 
>  tex error       > error on line 24 in file test2.tex: ! Argument of \65> has an extra }
> 
>  <inserted text> \par <to be read again> }
>  \symb_place_indeed ...name \??symbol #1\endcsname \relax \endgroup 
>  \symb_place_retry ...name \symb_place_indeed {:#1}
>                                                    \else #1\fi 
>  \symb_place_normal_c ...lace_retry \currentsymbol \fi 
>  \symb_place_normal_b ...else \symb_place_normal_c \fi ...
>  l.24 \symbol[mysymbol]
> 
> 
>  14     \definesymbol
>  15       [mysymbol]
>  16       [\SymbolFrame{\directsymbol{fontawesome}{question}}]
>  17
>  18     \starttext
>  19
>  20     \startlines
>  21     \symbol[fontawesome][question]
>  22     \symbol[fontawesome][question-circle]
>  23     \framed[strut=no,width=1em,height=1em,background=color,backgroundcolor=black,corner=round,radius=.5ex,foregroundcolor=white]{\symbol[fontawesome][question]}
>  24 >>  \symbol[mysymbol]
>  25     \stoplines
>  26
>  27     \stoptext
>  28     
> 
> What might be the problem?

Put the attached file (symbol-fontawsome.mkiv) from my last mail in the same folder as your document.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Selecting fonts using the built-in simplefonts module
       [not found] <mailman.527.1427657514.2410.ntg-context@ntg.nl>
@ 2015-03-29 19:45 ` Pavneet Arora
  0 siblings, 0 replies; 13+ messages in thread
From: Pavneet Arora @ 2015-03-29 19:45 UTC (permalink / raw)
  To: ntg-context

Perfect.  This is an appropriately succinct syntax.

> \definefontfamily [mainface] [ss] [Junction] [tf=* Light,bf=* Regular]

> Message: 3
> Date: Sun, 29 Mar 2015 21:31:30 +0200
> From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] Selecting fonts using the built-in
> 	simplefonts	module
> Message-ID: <12DC7A91-4A01-4A28-B578-4327CBC64083@gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> 
> > Am 29.03.2015 um 20:33 schrieb Jörg Weger <joerg73.muc@googlemail.com>:
> > 
> >> You need the familyname of the font, you use the font manager of your OS
> >> to get the name.
> >> 
> >> \definefontfamily [junction] [rm] [Junction]
> >> \definefontfamily [junction] [mm] [Latin Modern Math]
> >> 
> >> \definefontfamily [junction-light] [rm] [Junction]
> >> [tf=style:light,bf=style:regular]
> > 
> > I just had it made working this way:
> > 
> > \definefontfamily[mainface]
> > 	[ss]
> > 	[EgalobhierFarinUrlaubodersonstwasoderwersteht]		
> > 	[tf=Junction Light, bf=Junction Regular]
> 
> \definefontfamily [mainface] [ss] [Junction] [tf=* Light,bf=* Regular]
> 
> > It seems that as soon as you define your own weights (which you can mix from different font families) in the fourth pair of brackets, there can be anything in the third pair of brackets (family name).
> > 
> > \definefontfamily[mainface]
> > 	[sans]
> > 	[Anything]		
> > 	[regularfont=Junction Light, boldfont=Junction Regular]
> > 
> > works as well and is more self-explaining.
> 
> This will only work when you set a upright font or you will get problems.
> 

-- 
----
Pavneet Arora           m: 647.406.6843
Waroc Informatik        t: 416.937.9276
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-03-29 21:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-29 12:40 Selecting fonts using the built-in simplefonts module Pavneet Arora
2015-03-29 15:56 ` Jörg Weger
2015-03-29 16:52   ` Pablo Rodriguez
2015-03-29 19:38   ` Pavneet Arora
2015-03-29 16:37 ` Pablo Rodriguez
2015-03-29 17:47 ` Wolfgang Schuster
2015-03-29 18:33   ` Jörg Weger
2015-03-29 19:31     ` Wolfgang Schuster
2015-03-29 20:29       ` Jörg Weger
2015-03-29 20:57         ` Wolfgang Schuster
2015-03-29 20:44   ` Pavneet Arora
2015-03-29 21:16     ` Wolfgang Schuster
     [not found] <mailman.527.1427657514.2410.ntg-context@ntg.nl>
2015-03-29 19:45 ` Pavneet Arora

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).