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: Unable to use Martin Vogels Symbols
Date: Mon, 10 Oct 2016 10:54:37 +0200	[thread overview]
Message-ID: <CALBOmsbJvpFQHiu1NbqQdjU46GrpXt2osze5Zw1tZGRrB-aMLw@mail.gmail.com> (raw)
In-Reply-To: <f3990409-0a3a-eaa1-5320-8242510ce03e@tranquille.ch>

On 7 October 2016 at 22:53, Jonas Baggett wrote:
> Hello,
>
> I am using debian testing and I am trying to use Martin Vogels Symbols with
> no success so far. I have compiled a file containing the following :
> \usesymbols[mvs]
> \setupsymbolset [martinvogel 2]
> \starttext
> Telephone : \symbol[Telephone]
> \stoptext
>
> But it failed to show the telephone symbole in the pdf, unless compiled with
> texexec instead of context. I have the following lines in the log file (in
> attachement) :
> fonts           > defining > forced type 'ttf' of 'marvosym' not found
> fonts           > defining > font with asked name 'marvosym' is not found
> using lookup 'file'
> fonts           > defining > unknown font 'marvosym', loading aborted
> fonts           > defining > unable to define 'marvosym.ttf' as
> 'currentsymbolfont--0'
>
> marvosym.ttf is located here :
> /usr/share/fonts/truetype/ttf-marvosym/marvosym.ttf. Then I tried to reload
> manually the fonts like this :
> $ export OSFONTDIR="/usr/share/fonts"
> $ mtxrun --script fonts --reload
> $ context --generate
>
> Normally marvosym.ttf should be found but it isn't the case as showed by the
> following command :
> $ mtxrun --script fonts --list --all --pattern=marvosym*
> marvosym                       marvosym   marvosym.afm
> marvosymwithtexsupport         marvosym   marvosym.afm
> marvosymwithtexsupportnormal   marvosym   marvosym.afm

I would suspect that OSFONTDIR or something else in the process
doesn't work correctly.

ConTeXt will only be able to typeset the document if it can find the font.

All the Debian developer can do is add the font to the equivalent of
    /usr/local/texlive/2016/texmf-dist/fonts/truetype/public/marvosym/marvosym.ttf
(not sure where exactly that is), but it might be that their policy is
not to duplicate fonts, who knows.

So independent of whether or not this gets resolved in Debian, you
should figure out why the font isn't found by ConTeXt. It might also
be that ConTeXt only finds the Type1 fonts and then stops searching
any further.

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
___________________________________________________________________________________

  parent reply	other threads:[~2016-10-10  8:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-07 20:53 Jonas Baggett
2016-10-09  9:36 ` Jonas Baggett
2016-10-09 19:43   ` Henning Hraban Ramm
2016-10-09 21:19     ` Jonas Baggett
2016-10-10  8:54 ` Mojca Miklavec [this message]
2016-10-10 16:39   ` Jonas Baggett

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=CALBOmsbJvpFQHiu1NbqQdjU46GrpXt2osze5Zw1tZGRrB-aMLw@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).