auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] AucTex for Xemacs doesn't display available fonts...


From: Ralf Angeli
Subject: Re: [AUCTeX] AucTex for Xemacs doesn't display available fonts...
Date: Mon, 18 Apr 2005 18:19:59 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

* Alexander Beck-Ratzka (2005-04-18) writes:

> I have Xemacs 21.4 on SuSE Linux 9.2 installed, and in Latex-mode (using
> auctex emacs-auctex-11.14-69).

I doubt that.  The emacs-auctex package is for Emacs, not for XEmacs.
You are probably using an AUCTeX 11.13 bundled with XEmacs.  You could
have spared us the guesswork if you had used `M-x
TeX-submit-bug-report RET' which will generate such information
automatically.

> in init.el (in directory .xemacs), I have the following definitions:
>
> ###########################################cut
> here################################
> (require 'font-latex)
> (set-face-font 'font-latex-bold-face
> "-*-lucidatypewriter-bold-*-normal-*-18-*-*-*-*-*-*-*")
> (set-face-font 'font-latex-italic-face
> "-*-courier-medium-o-normal-*-18-*-*-*-*-*-*-*")
> (set-face-font 'font-latex-warning-face
> "-*-fixed-medium-r-normal-*-20-*-*-*-*-*-*-*")
> ###########################################cut
> here################################
>
> Even though font -*-lucidatypewriter-bold-*-normal-*-18-*-*-*-*-*-*-* is
> available (I get displayed
> this font using xfontsel, it is not used as LaTeX bold font in \bf{} or
> \textbf{}.

Putting your code into XEmacs' *scratch* buffer, typing `M-x
eval-buffer RET RET' and opening a LaTeX file here (XEmacs 21.4.17,
CVS AUCTeX) displays these fonts just fine.

As a remark: \bf is not a command with an argument, it is a
declaration or switch.  Besides that it is bad practice to use it in
LaTeX code (have a look at <CTAN:info/l2tabu/german/l2tabu.pdf>).  So
you better use \textbf{foo} or {\bfseries foo}.

> Taking another font, I have no problems.

What does that mean?  Do you put another XLFD into the code above?  If
yes, which one?

> What might be the reason,

I suspect you have a bug in your init files.  I'd start XEmacs with
`xemacs -q -no-site-file', copy

(require 'tex-site)

and the lines for changing the font into the *scratch* buffer, type
`M-x eval-buffer RET RET' and open a LaTeX file.  If it works in this
case, you know that there is something foul in either the site init
file or the user init file.

> where can I look for error messages?

Via the menu: "Help --> Recent Messages".  Or you look into the
" *Message-Log*" buffer (note the space in front).

Besides all that you could also use `M-x customize-face RET' instead
of fiddling with this stuff yourself.  The customization interface for
faces also allows you to get immediate feedback by choosing "Set for
Current Session".  It could well be that XEmacs has problems picking
the font in your setup, especially if you specify an incomplete XLFD.

-- 
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]