"Font xxxx not loadable: Bad metric (TFM) file"In addition, some that passed the first test, threw a second error when compiled by themselves:
"mktexpk: don't know how to create bitmap font for xxxx"A quick email to the texhax mailing list quickly elicited some useful responses, including a very useful code fragment that gets around the first error. The second one was a little harder to overcome. Updating my map file (as suggested by another StackExchange post) didn't seem to do the trick, and messing around in the man pages of mktexpk and related programs didn't suggest any possibilities to one as unfamiliar with the programs as I am. The breakthrough came when I had the realisation that I could extract the names of the fonts directly from the map file itself. Using this in conjunction with the code fragment mentioned above, I was able to get a document that compiled correctly when broken into three parts of c. 3000 fonts to get around size and space limitations. I did encounter the error
"pdfTeX error: (file xxxxx.pfb): cannot open Type 1 font file for reading"which I solved by manually removing the offending lines from the .tex document. There (thankfully!) weren't many of these, so this was not a particularly arduous step. If you try and replicate this though, you have been warned! If you figure out how to get around this, please let me know. I used R (via Sweave) to extract the names of the fonts from the map file and to create the tex file. Undoubtedly other languages could do the same thing, but I chose to stick with what I'm familiar with. The file is available from gitHub
Websites:
PILN Soundbites
FAO report: Edible insects. Future prospects for food and feed security
Where to buy tango music
RSPB
NHBS: Relentless Evolution by John Thompson
No comments:
Post a Comment