(I'm sorry for the delayed answer.)
On 9/15/07, Hans Hagen wrote:
Andrea Valle wrote:
** WARNING ** Invalid CMap
** ERROR ** pdf_ref_obj(): passed invalid object.
i wonder what that object is .. and who generates the ref, could be a
special but you do nothing special in the example so i'm puzzled ... do
others have this problem?
Yes. I don't remember whether I already complained about it or not,
but here's another (minimal) example to reproduce it:
\starttext
\startformula
a+b=\int_{i=0}^{\infty}\Gamma\,dx
\stopformula
\stoptext
The main problem (besides being quite slow for the default LM) is that
"font loading" in ConTeXt+XeTeX now does the following:
if ("FontName" is a valid font) then
use "FontName"
else
use "[FontName]"
end
And that one forgets the third possibility: about the old tfm fonts
which should be loaded without any quotes, for example rm-lmr12
\font\a="rm-lmr12" works, but \font\a="rm-lmr12" at 12pt doesn't, and
ConTeXt tries to use that one. Normally TeX would stop: generate and
report the error at that point, but ConTeXt currently skips those
errors on purpose and tries to use an unexisting font, so it results
in a broken PDF.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
___________________________________________________________________________________