I installed the mathgifg package according to this guide:
How to install mathgifg package as well as the mathgifg documentation.
For typesetting I am using the MacTex 2013 distribution and pdftex. Now I am testing the installation with a basic version of the mathgifg sample file since I am only interested in using Franklin Gothic Fonts in my documents:
\documentclass{article}
\usepackage{lipsum,url}
\usepackage{textcomp}
\usepackage{mathgifg,amsfonts,amsmath}
\usepackage{ifpdf}
\ifpdf
\pdfmapfile{+mathgifg.map}
\fi
\newcounter{lipsumnum}
\setcounter{lipsumnum}{1}
\newcommand{\samplefont}[2]{{#1\selectfont #2:
0123456789, \$20, \texteuro30, \pounds60.
Na\"ive \AE sop's \OE uvres in fran\c cais were my first reading.
\lipsum[\value{lipsumnum}]\stepcounter{lipsumnum}\par}}
\begin{document}
\section{Text Tests}
\label{sec:text}
%\samplefont{\sffamily\fontseries{k}}{Franklin Gothic Book}
\samplefont{\sffamily\fontseries{k}\itshape}{Franklin Gothic Book Italic}
\end{document}
As you can see I am testing the Franklin Gothic Book and the corresponding italic fonts, commenting out the not used option. When I use the Franklin Gothic Book option I get the following error:
!pdfTeX error: /usr/local/texlive/2013/bin/x86_64-darwin/pdflatex (file georgia.pfb): cannot open Type 1 font file for reading
==> Fatal error occurred, no output PDF file produced!
I do not know why pdftex wants to use georgia.pfb for this. When I use the Italic option I get the following error:
!pdfTeX error: /usr/local/texlive/2013/bin/x86_64-darwin/pdflatex (file frabkit.pfb): cannot open Type 1 font file for reading
==> Fatal error occurred, no output PDF file produced!
The frabkit.pbf is definitely available in /usr/local/texlive/texmf-local/fonts/type1/itc/franklingothic
During installation of the mathgifg package I had some issues with the correct folders. The texmf-local folder did not exist in /usr/local/texlive, so I created it according to the guide. However, I am not sure if this is the correct way, since the texlive folder does also contain the various MacTex distributions in folders corresponding to the version (2012, 2013, 2014) and I am also not sure if the mathgifg package does require all Georgia and Franklin Gothic Fonts to work (I just installed two).
Any advice is very welcome.
UPDATE: I deleted the lines
\ifpdf
\pdfmapfile{+mathgifg.map}
\fi
according to the comments. The error now is:
!pdfTeX error: /usr/local/texlive/2013/bin/x86_64-darwin/pdflatex (file xifgki8r): Font xifgki8r at 600 not found
I am using Texpad 1.7.9 for editing and typesetting.
kpsewhich -expand-var=$TEXMFLOCALin a terminal. – Ulrike Fischer May 04 '15 at 15:02\pdfmapfileline, and if you've converted the fonts, it doesn't matter whether you're using pdfTeX or not. What doeskpsewhich frabkit.pfbgive? – cfr May 04 '15 at 15:03kpsewhich frabkit.pfbreturns nothing.kpsewhich -expand-var=$TEXMFLOCALreturns an empty line. – fr3d-5 May 04 '15 at 15:28kpsewhich -var=TEXMFLOCAL. The fact that thekpsewhichcommand returns nothing means that the fonts maybe in the right place but are not installed correctly. Did you runmktexlsr? You probably need to do this as root (e.g. withsudo). – cfr May 04 '15 at 16:29/usr/local/texlive/texmf-local, which is exactly the folder where I put the data according to the guide. I also did runmktexlsrwhich updated several folders. However, the same errors occur. It now seems that it's always complaining about thegeorgia.pfb, although I am using the FG fonts. – fr3d-5 May 04 '15 at 17:02kpsewhich --expand-var=$TEXMFLOCALworks. Are you sure that you have the .pfb? – Ulrike Fischer May 04 '15 at 17:09frank.pfbandframd.pfbin the folder mentioned in the question. Does the package need all fonts that it supports for to work? If yes, could I compensate with just copy pasting a standard font and renaming it to the missing fonts? I am just interested in the Franklin Gothic fonts. – fr3d-5 May 04 '15 at 17:15frabk.pbfandframd.pbfare there. I also duplicated the frabk.pbf and renamed it tofrabkit.pbfjust for testing. That did't work either. – fr3d-5 May 04 '15 at 17:26{\fontfamily{xifg}\fontseries{k}\selectfont abc}– Ulrike Fischer May 04 '15 at 17:30kpsewhich --expand-var=$TEXMFLOCALreturns nothing. – cfr May 04 '15 at 17:39