ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* metapost fonts
@ 2012-03-16  9:17 Matej Barič
  2012-03-17  8:47 ` Mojca Miklavec
  0 siblings, 1 reply; 2+ messages in thread
From: Matej Barič @ 2012-03-16  9:17 UTC (permalink / raw)
  To: ntg-context

Hello,
In a document I'm writing I'm using urw-garamond font successfully. However I also use metaUML library for metapost where I'd like to have helvetica (or nimbus, heros, etc.).

For latin modern sans, I can use this:

string metauml_defaultFont;
metauml_defaultFont:="ec-lmss10";

But this only works for latin modern sans (which I don't like combined with urwgaramond) but not helvetica. I've tried to use some of txfonts and tex-gyre fonts (which use helvetica/heros/nimbus for their sans-serif) by writing metauml_defaultFont:="txss" and metauml_defaultFont:="ec-qhvcb" but I get an error "pdftex (file rtxss): Font rtxss at 600 not found".

I've installed the latest context standalone.

Is there any other way to use helvetica in metapost/metauml or how to troubleshoot this error?

Thanks,
matej

___________________________________________________________________________________
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] 2+ messages in thread

* Re: metapost fonts
  2012-03-16  9:17 metapost fonts Matej Barič
@ 2012-03-17  8:47 ` Mojca Miklavec
  0 siblings, 0 replies; 2+ messages in thread
From: Mojca Miklavec @ 2012-03-17  8:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Mar 16, 2012 at 10:17, Matej Barič wrote:
> Hello,
> In a document I'm writing I'm using urw-garamond font successfully. However I also use metaUML library for metapost where I'd like to have helvetica (or nimbus, heros, etc.).
>
> For latin modern sans, I can use this:
>
> string metauml_defaultFont;
> metauml_defaultFont:="ec-lmss10";
>
> But this only works for latin modern sans (which I don't like combined with urwgaramond) but not helvetica. I've tried to use some of txfonts and tex-gyre fonts (which use helvetica/heros/nimbus for their sans-serif) by writing metauml_defaultFont:="txss" and metauml_defaultFont:="ec-qhvcb" but I get an error "pdftex (file rtxss): Font rtxss at 600 not found".
>
> I've installed the latest context standalone.
>
> Is there any other way to use helvetica in metapost/metauml or how to troubleshoot this error?

I'm almost sure that the reason are missing lines describing those
fonts in pdftex.map. It might be that your example would work fine
with TeX Live or MikTeX out of the box. I have never used metauml and
I'm not sure what it does. Another reason could be lack of fonts that
you desire to use (but txfonts are present).

Does including "original-youngryu-tx.map" with command fontmapfile (or
command fontmapline) help you to get rtxss working? If not, can you
please send a minimal example?

ConTeXt uses different mechanisms to get the fonts inside metapost
code working, but metauml is most certainly not aware of any of those,
so it cannot take any advantage of that.

Mojca
___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2012-03-17  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-16  9:17 metapost fonts Matej Barič
2012-03-17  8:47 ` Mojca Miklavec

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