ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: metapost fonts
Date: Sat, 17 Mar 2012 09:47:45 +0100	[thread overview]
Message-ID: <CALBOmsZ8SMaHyGyNsYgOVFpc+PnF7LFhubQGLV_69qz6fWX3qA@mail.gmail.com> (raw)
In-Reply-To: <458FEE63-E78B-40C3-AC8F-2DD9BCFD55DC@gmail.com>

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
___________________________________________________________________________________

      reply	other threads:[~2012-03-17  8:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-16  9:17 Matej Barič
2012-03-17  8:47 ` Mojca Miklavec [this message]

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=CALBOmsZ8SMaHyGyNsYgOVFpc+PnF7LFhubQGLV_69qz6fWX3qA@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).