Uwe Brauer writes:
I am terrible sorry to report another problem. Once I chose
the setting Aidan and you propose, x-symbol now uses very
small fonts for the integrals and other symbols!
I restart xemacs, go to a tex buffer with x-symbol turned
on. Everything is fine. I use TeX-to-char-turn-on-font and
oops the integral shrinks very much.
This happens because something is requesting an ambiguous font that is
being resolved to a very small font.
x-symbol setting is governed by
These don't contain tag sets, and therefore are not removed by the
call to set-specifier. For some reason none of the other fonts are
catching these symbols, so those characters "fall through" to here.
(setq x-symbol-xsymb0-fonts
'(("-adobe-symbol-*-*-*-*-*-240-*-*-*-*-*-*"
This is very large (24pt).
"-xsymb-xsymb0-medium-r-normal--14-140-75-75-p-85-adobe-fontspecific"
This is the same size as the "tiny infinity" font (one nominal pixel
larger).
"-adobe-symbol-medium-r-normal-*-*-140-*-*-*-*-adobe-fontspecific")
How big this font is depends on the DPI setting of X.
(
"-adobe-symbol_sub-medium-r-normal-*-*-140-*-*-*-*-adobe-fontspecific"
"-xsymb-xsymb0_sub-medium-r-normal--12-120-75-75-p-74-adobe-fontspecific"
This is insanely small, smaller than the font that produces the "tiny
infinity symbol". I guess that's OK since apparently they're intended
for subscripts. The problem is that they share a charset with other
fonts not intended for subscripts, so they may get picked up.
)
("-adobe-symbol_sup-medium-r-normal-*-*-140-*-*-*-*-adobe-fontspecific"
"-*-xsymbol_sup-medium-r-normal-*-*-140-*-*-*-*-*-*"
"-xsymb-xsymb0_sup-medium-r-normal--12-120-75-75-p-74-adobe-fontspecific"
)))
(setq x-symbol-xsymb1-fonts
'(
("-xsymb-xsymb1-medium-r-normal-*-*-140-*-*-*-*-xsymb-xsymb1")
("-xsymb-xsymb1_sub-medium-r-normal-*-*-240-*-*-*-*-xsymb-xsymb1")
("-xsymb-xsymb1_sup-medium-r-normal-*-*-240-*-*-*-*-xsymb-xsymb1")))
(setq x-symbol-latin1-fonts
'(("-adobe-helvetica-medium-r-normal-*-*-140-*-*-*-*-iso8859-1")
("-adobe-helvetica_sub-medium-r-*-*-*-140-*-*-*-*-iso8859-1")
("-adobe-helvetica_sup-medium-r-*-*-*-140-*-*-*-*-iso8859-1")))
These fonts are all small.
I try to call a turn-off function, see below for details, evaluate
the x-symbol-xsymb1-fonts, but nothing happens, now x-symbol is
doomed with some very small fonts. Maybe the turn off function
TeX-to-char-turn-off-font is not correct?
As far as I can see the the turn-on and turn-off functions are
identical. Is that correct?
You could try changing the last line in each function
nil nil 'remove-tag-set-prepend)))))
to
nil nil 'remove-all)))))
This has global effect, so make sure you can conveniently quit and
restart XEmacs to restore sanity if necessary. I don't expect your
text to disappear or anything like that, but since I don't know your
full set up, be careful.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta