ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Using MTPro2 math Fonts with ConTeXt
@ 2017-03-28 15:02 Andres Conrado
  0 siblings, 0 replies; 5+ messages in thread
From: Andres Conrado @ 2017-03-28 15:02 UTC (permalink / raw)
  To: ntg-context


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

Thanks Aditya. I will try to work with this and see where it leads me. Will
report with results as soon as I can.

2017-03-28 3:10 GMT-05:00 <ntg-context-request@ntg.nl>:

> You are trying to follow the installation process of opentype/ttf fonts.
> MTPro2 is a type1 font and to use them with luatex, you need to create a
> virtual opentype font. See $TEMXF/tex/context/fonts/mkiv/mdpus-math.lfg
> file for an example.
>



Andrés Conrado Montoya
http://chiquitico.org

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

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Using MTPro2 math Fonts with ConTeXt
  2017-03-27  8:34 Andres Conrado Montoya
  2017-03-27  9:03 ` Jean-Pierre Delange
@ 2017-03-27 22:59 ` Aditya Mahajan
  1 sibling, 0 replies; 5+ messages in thread
From: Aditya Mahajan @ 2017-03-27 22:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 27 Mar 2017, Andres Conrado Montoya wrote:

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

You are trying to follow the installation process of opentype/ttf fonts. 
MTPro2 is a type1 font and to use them with luatex, you need to create a 
virtual opentype font. See $TEMXF/tex/context/fonts/mkiv/mdpus-math.lfg 
file for an example.

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

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

* Re: Using MTPro2 math Fonts with ConTeXt
@ 2017-03-27 21:55 Andres Conrado Montoya
  0 siblings, 0 replies; 5+ messages in thread
From: Andres Conrado Montoya @ 2017-03-27 21:55 UTC (permalink / raw)
  To: ntg-context


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

Thank you for your tips. I'm using Linux. }

However, as I researched the matter, it seems to me is not a trivial
task... these fonts were made with LaTeX/Plain TeX in mind. I don't even
know how I would implement the font options (like mtpfrak, mtpcal, etc).
The font comes with two versions: Type1 and TFM (no afm). I converted from
Type1 to AFM using fontforge, and the fonts script detects the files....
but I have no idea how to use them. It seems it doesn't detect the fonts as
part of a family... I don't even know where I could start to make this
work. Maybe I will stick to LaTeX for the time being.

Thank you for your time.

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

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

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Using MTPro2 math Fonts with ConTeXt
  2017-03-27  8:34 Andres Conrado Montoya
@ 2017-03-27  9:03 ` Jean-Pierre Delange
  2017-03-27 22:59 ` Aditya Mahajan
  1 sibling, 0 replies; 5+ messages in thread
From: Jean-Pierre Delange @ 2017-03-27  9:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Using MTPro2 math Fonts with ConTeXt
@ 2017-03-27  8:34 Andres Conrado Montoya
  2017-03-27  9:03 ` Jean-Pierre Delange
  2017-03-27 22:59 ` Aditya Mahajan
  0 siblings, 2 replies; 5+ messages in thread
From: Andres Conrado Montoya @ 2017-03-27  8:34 UTC (permalink / raw)
  To: ntg-context


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

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

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

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2017-03-28 15:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-28 15:02 Using MTPro2 math Fonts with ConTeXt Andres Conrado
  -- strict thread matches above, loose matches on Subject: below --
2017-03-27 21:55 Andres Conrado Montoya
2017-03-27  8:34 Andres Conrado Montoya
2017-03-27  9:03 ` Jean-Pierre Delange
2017-03-27 22:59 ` Aditya Mahajan

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