On Mon, Oct 14, 2002 at 12:04:47AM +0200, Dekel Tsur wrote:
> Try writing \hookrightarrow in mathed without having the type1 symbol fonts.
> The result is weird: "lhook ->".
Well. When I think about it, one might even call that a feature ;-}
> The following patch fixes this - it makes mathed behave the same as in 1.2.x.
> + // special case of \iffont / \fi
> + if (line.size() >= 7 && line.substr(0, 7) == "\\iffont") {
> + istringstream is(line);
> + string tmp;
> + is >> tmp;
> + is >> tmp;
> + disable = !math_font_available(tmp);
> + continue;
> + } else if (line.size() >= 3 && line.substr(0, 3) == "\\fi") {
> + disable = false;
> + continue;
> + }
Ok. This means symbols do not get recognized if they belong to an unknown
font. Fair enough. Do you think this makes more sense?
Andre'
--
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)