On Mon, Dec 1, 2008 at 4:50 AM, Sanjoy Mahajan wrote:
While testing Norbert's latest Debian packages, I ran across the following font problem with the recent ConTeXt minimals.
The following test file:
========= cut here ============= \usetypescript[palatino][ec] \definetypeface [palatino] [mm] [math] [euler] [euler] [rscale=1.03] \setupbodyfont[palatino,11pt]
\starttext $\equiv$ \stoptext ========= cut here =============
fails with:
!pdfTeX error: pdftex (file cmsy10.pfb): cannot open Type 1 font file for readi ng ==> Fatal error occurred, no output PDF file produced!
Among the many map files that are read in, only original-public-lm.map mentions cmsy10.pfb, and it contains this mapping:
cmsy10 CMSY10
Since cmsy10.pfb isn't in the minimals, I tried to fake it by symlinking to the texlive fonts and running mktexlsr, but that didn't work. The ls-R database contained cmsy10.pfb, but kpsewhich cmsy10.pfb wouldn't find it.
Hello Sanjoy, we somehow deliberately decided not to put any cmr files into distribution, but if some of them are needed, it would make sense to fix that.
Another workaround that I tried was to add this line
\pdfmapfile{+pdftex.map}
to the start of the test file. But that trick only produced errors about duplicated fontmap entries.
That's the trick that we used to be able *not to include* the cmr
files. It's used by pdftex format and declared cmsy10 to be:
cmsy10 LMMathSymbols10-Regular "enclmmathsy ReEncodeFont"
I'm using Debian GNU/Linux i386, context minimals 2008.11.10 w/ MKII. I tested it with the 2008.10.31 minimals but found the same problem. I
can also test it with other versions. Is there a list of available
dates to feed the --context=YYYY.MM.DD switch? See:
http://minimals.contextgarden.net/current/context/
(though Hans just implemented a way to fetch that list and list the
available modules, so this could be used to list available versions as
well. Not included yet.)
I deleted older distributions since there was a critical lack of space
on the garden. But this would not solve your problem. It lies in
distribution, not in ConTeXt itself.
I would suggest you to put cmsy10.pfb to texmf-local/fonts/... in
order to solve your problem right away. But for the general solution
... any ideas? I can still include CM Type1 fonts if really needed ...
it's just that noone has complained so far.
Mojca