ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Floris van Manen <vm@klankschap.nl>
Subject: Re: [ibmplex setup script]
Date: Sun, 3 May 2020 10:49:42 +0200	[thread overview]
Message-ID: <ab4c72f6-1edd-a665-f562-0fdaaada9bd6@gmail.com> (raw)
In-Reply-To: <b422d2e8-b706-7269-7ca9-d12dfbc536b7@klankschap.nl>

Floris van Manen schrieb am 03.05.2020 um 00:20:
> 
> At present the ibmplexmonothin font is seen by the mtxrun script
> 
>   mtxrun --script fonts --list --all --pattern=ibmplexmonothin*
> identifier              familyname    fontname                filename
> subfont   instances
> 
> ibmplexmonothin         ibmplexmono   ibmplexmonothin
> /home/vm/.local/share/fonts/Unknown Vendor/OpenType/IBM Plex
> Mono/IBM_Plex_Mono_Thin.otf
> ibmplexmonothinitalic   ibmplexmono   ibmplexmonothinitalic
> /home/vm/.local/share/fonts/Unknown Vendor/OpenType/IBM Plex
> Mono/IBM_Plex_Mono_Thin_Italic.otf
> 
> But I don't manage to get the monothin variants loaded.
> Any hints available?

Comes already comes with typescript for IBM Plex and you either
load one of the predefined setups or create your own combination.


\usetypescriptfile[ibmplex]

% Load IBM Plex with the regular width

% \setupbodyfont[ibmplex]

% Load IBM Plex with the thin width

%\setupbodyfont[ibmplex-thin]

% Custom setup with regular for serif and sans serif
% but thin as default for monospaced

\definetypeface [ibmplex] [rm] [serif] [ibmplex]      [default]
\definetypeface [ibmplex] [ss] [sans]  [ibmplex]      [default]
\definetypeface [ibmplex] [tt] [mono]  [ibmplex-thin] [default]
\definetypeface [ibmplex] [mm] [math]  [pagella]      [default]

\setupbodyfont [ibmplex]

\starttext

\rm
\tf Regular,
\it Italic,
\bf Bold and
\bi Bolditalic

\tt
\tf Regular,
\it Italic,
\bf Bold and
\bi Bolditalic

\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2020-05-03  8:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-02 22:20 Floris van Manen
2020-05-03  8:49 ` Wolfgang Schuster [this message]
2020-05-03  9:24   ` Floris van Manen
2020-05-03 11:36   ` Floris van Manen
2020-05-03 15:20     ` Henning Hraban Ramm
2020-05-03 16:24       ` Floris van Manen
2020-05-03 17:01         ` Wolfgang Schuster

Reply instructions:

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

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

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

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

  git send-email \
    --in-reply-to=ab4c72f6-1edd-a665-f562-0fdaaada9bd6@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=vm@klankschap.nl \
    /path/to/YOUR_REPLY

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

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