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 Thanks for any help, Jonas
Le 07.10.16 à 22:53, Jonas Baggett a écrit :
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 The preceding code works with http://live.contextgarden.net/, so I am not sure if it is a Debian bug or a ConTeXt bug. Maybe I should send a bug report to the Debian maintainers and they will forward it upstream if it is a ConTeXt bug.
Have a nice sunday, Jonas
Am 2016-10-09 um 11:36 schrieb Jonas Baggett
Le 07.10.16 à 22:53, Jonas Baggett a écrit :
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 The preceding code works with http://live.contextgarden.net/, so I am not sure if it is a Debian bug or a ConTeXt bug. Maybe I should send a bug report to the Debian maintainers and they will forward it upstream if it is a ConTeXt bug.
It works also with latest beta on OSX, so it’s at least not an open ConTeXt bug. Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) GPG Key ID 1C9B22FD
Hello Henning, Thanks for the feed-back! I first thinked it could be a bug that only occurs when ConTeXt has to find the martin vogel symbol font for the first time and update its cache, which would explain why the bug doesn't occur with the live ConTeXt compiler since the font is already in the cache. Did you try to remove the cache in order to force ConTeXt to regenerate its cache and see if it can still find the font ? Anyways, I have sent a bug report to the debian maintainers and we will see. Best regards, Jonas Le 09.10.16 à 21:43, Henning Hraban Ramm a écrit :
It works also with latest beta on OSX, so it’s at least not an open ConTeXt bug.
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
Le 10. 10. 16 à 10:54, Mojca Miklavec a écrit :
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.
I have found that the texlive-fonts-recommended package installed on my system has also some marvosym related files : texlive-fonts-recommended: /usr/share/texlive/texmf-dist/fonts/afm/public/marvosym/marvosym.afm texlive-fonts-recommended: /usr/share/texlive/texmf-dist/fonts/map/dvips/marvosym/marvosym.map texlive-fonts-recommended: /usr/share/texlive/texmf-dist/fonts/tfm/public/marvosym/umvs.tfm texlive-fonts-recommended: /usr/share/texlive/texmf-dist/fonts/type1/public/marvosym/marvosym.pfb texlive-fonts-recommended: /usr/share/texlive/texmf-dist/tex/latex/marvosym/marvosym.sty texlive-fonts-recommended: /usr/share/texlive/texmf-dist/tex/latex/marvosym/umvs.fd I removed this package and it works ! I tried to reproduce the bug again by reinstalling this package and by removing the cache, but strangely I am no more able to reproduce it. Thanks for your suggestion ! Greetings, Jonas
participants (3)
-
Henning Hraban Ramm
-
Jonas Baggett
-
Mojca Miklavec