ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean-Pierre Delange <adeimantos@free.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Using MTPro2 math Fonts with ConTeXt
Date: Mon, 27 Mar 2017 11:03:21 +0200 (CEST)	[thread overview]
Message-ID: <1781517522.23649452.1490605401069.JavaMail.root@spooler6-g27.priv.proxad.net> (raw)
In-Reply-To: <CAGhDZhD6Fe4pnLRO+5r68esHWT-H3WQ0t473P24yemd+HAwj6w@mail.gmail.com>

Andres,

1) If you are using Microsoft Windows, you have to set up the font directory before using ConTeXt, where you have placed your Maths fonts (i.e. in c:/windows/fonts) :
set OSFONTDIR=c:/windows/fonts
then type the following in a console ( in this directory : ~/context/tex/texmf-win64/bin) :

context --generate
context --make

and :
mtxrun --script fonts --reload

Then test a file.

2) Note that if your are using some Linux like OS, to set up fonts is quite different :
export OSFONTDIR=~/home/user/.fonts//:/usr/share/fonts:/usr/share/texmf/fonts/opentype/:/usr/share/texmf/fonts/truetype/:/usr/share/fonts/type1/

As you see, it is better to place the different kind of fonts in a directory in /usr/share/fonts (and in /home/your-user-name/.fonts)

Then :
context --generate
context --make

and :
mtxrun --script fonts --reload

Then test a file.

3) You can delete the font's cache by the following command (it works on both Windows and Linux) :
fc-cache -v -f

Then try again a test file.

JP


----- Mail original -----
De: "Andres Conrado Montoya" <andresconrado@gmail.com>
À: ntg-context@ntg.nl
Envoyé: Lundi 27 Mars 2017 10:34:09
Objet: [NTG-context] Using MTPro2 math Fonts with ConTeXt



Hello, List. 


I am using the MTPro2 complete fonts (provided by the publisher house) for typesetting some math books in LaTeX this year. I also want to use ConTeXt to typeset other math books, those that don't come originally in LaTeX. However, the publisher requires that I use the MTPro2 fonts for math, and I've tried using the clues presentend in https://mailman.ntg.nl/pipermail/ntg-context/2013/075938.html to install, but with no avail. Fonts were placed in "context/tex/texmf-local", preserving folder structure; "mtxrun --generate && mtxrun --script fonts --reload" was called after. When that didn't work, tried placing the type1 and tfm folders in my fonts folder (that is called by OSFONTDIR), and again, reload the fonts, but they just don't figure in the list provided by "mtxrun --script fonts --list --all --name --pattern=*". I have not found a way of using this font in ConTeXt, and I really need it (or will be just LaTeX for now). 


Thanks in advance. 









Andrés Conrado Montoya 
Andi Kú 
andresconrado@gmail.com 
http://sesentaycuatro.com 
http://messier87.com 
http://chiquitico.org 
---------------------------------------- 
Los fines no justifican los medios, porque la medida verdadera de nuestro carácter está dada por los medios que estamos dispuestos a utilizar, no por los fines que proclamamos. 
---------------------------------------- 


“You develop an instant global consciousness, a people orientation, an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international politics look so petty. You want to grab a politician by the scruff of the neck and drag him a quarter of a million miles out and say, ‘Look at that, you son of a bitch.’” — Apollo 14 astronaut Edgar Mitchell 
___________________________________________________________________________________
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
___________________________________________________________________________________
___________________________________________________________________________________
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:[~2017-03-27  9:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-27  8:34 Andres Conrado Montoya
2017-03-27  9:03 ` Jean-Pierre Delange [this message]
2017-03-27 22:59 ` Aditya Mahajan
2017-03-27 21:55 Andres Conrado Montoya
2017-03-28 15:02 Andres Conrado

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=1781517522.23649452.1490605401069.JavaMail.root@spooler6-g27.priv.proxad.net \
    --to=adeimantos@free.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

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

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