Re: 'LaTeX' mode in xemacs

1998-02-26 Thread Paul Rightley
Thanks for the information.  I found out that auctex is included
in the xemacs packages in hamm.  All I needed was to get my .emacs
file correct.

Thanks again,

PAul Rightley

On 25-Feb-98 Martin Bialasinski wrote:
> Paul Huygen <[EMAIL PROTECTED]> writes:
> 
>> Paul Rightley <[EMAIL PROTECTED]> wrote:
>> 
>> > When I edit
>> > a LaTeX file on this RedHat machine with xemacs, I get a LaTeX
>> > menu when I right-click. Also, xemacs has  'command' and 'LaTeX'
>> > pull-down menus in this situation. On my hamm machine [..], I get no
>> > such menu when editing a LaTeX file.  How do
>> > I go about changing this?
>> 
>> The features that you refer to are supplied by the auctex package. It
>> is a good idea to install that package.
> 
> This shouldn't be necessary for xemacs. From the auctex package:
> 
>  Currently XEmacs ships with its own AUC TeX, so this package should only
>  be used with GNU/Emacs. (I.e. you don't need to install it if your site
>  has only XEmacs installed.)  
> 
> But I don't do any TeX yet, so I can't help any further.
> 
> Ciao,
>   Martin
> 
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> [EMAIL PROTECTED] . 
> Trouble?  e-mail to [EMAIL PROTECTED] .

--
Paul Rightley DX-3 Hydrodynamics, MS P940
Los Alamos National LaboratoryLos Alamos, NM 87545
Phone: (505)667-0460  Fax: (505)665-3359
--


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: 'LaTeX' mode in xemacs

1998-02-25 Thread Norris Preyer
Paul Rightley <[EMAIL PROTECTED]> writes:

> Sorry if this is not specifically Debian related (but this seems
> to be a wholely polite mail-list - a rarity lately).  I have an
> up-to-date hamm installation.  I sometimes work on a RedHat machine
> (through an 'X-terminal' Sun running Sparc linux).  When I edit
> a LaTeX file on this RedHat machine with xemacs, I get a LaTeX
> menu when I right-click. Also, xemacs has  'command' and 'LaTeX'
> pull-down menus in this situation. On my hamm machine (in my office
> and at home), I get no such menu when editing a LaTeX file.  How do
> I go about changing this?
> 
> (I tend to use debian as a turn-key system and still am not a big
> fan of 'info'.)
> 
> Thanks for any assistance,
> 
> Paul Rightley

While the auctex package is part of xemacs, it is not automatically
invoked.  Try putting this in your .emacs:

;;; 
;;; AucTeX stuff
;;;
(require 'tex-site)
(setq-default TeX-master nil) ; Query for master file
(setq TeX-parse-self t)   ; Enable parse on load
(setq TeX-auto-save t); Enable parse on save
(setq outline-minor-mode-prefix "\C-c\C-o")
;(setq TeX-auto-private "/home/npreyer/auto/")
(setq TeX-auto-global "/usr/lib/xemacs/site-lisp/auctex/auto/")
(setq font-lock-maximum-decoration t)
(require 'font-latex)

I'm also using the auto-save package, but I've commented out that line
above (you probably will want to change the "npreyer" up there to
something more appropriate).  You may not want such fancy font
coloring, but I like it.

You really do need to Read The Fine Info page about installing auctex,
however, to learn how to make it scan your latex packages for
environments, commands, etc., to make it even more useful.

HTH,
Norris

-- 
Norris Preyer   (541) 962-3310 (office)
Physics Program (541) 962-3873 (fax)
Eastern Oregon University   [EMAIL PROTECTED]
La Grande, OR  97850http://physics.eou.edu/npreyer.html
finger [EMAIL PROTECTED] for PGP key


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: 'LaTeX' mode in xemacs

1998-02-25 Thread Martin Bialasinski
Paul Huygen <[EMAIL PROTECTED]> writes:

> Paul Rightley <[EMAIL PROTECTED]> wrote:
> 
> > When I edit
> > a LaTeX file on this RedHat machine with xemacs, I get a LaTeX
> > menu when I right-click. Also, xemacs has  'command' and 'LaTeX'
> > pull-down menus in this situation. On my hamm machine [..], I get no
> > such menu when editing a LaTeX file.  How do
> > I go about changing this?
> 
> The features that you refer to are supplied by the auctex package. It
> is a good idea to install that package.

This shouldn't be necessary for xemacs. From the auctex package:

 Currently XEmacs ships with its own AUC TeX, so this package should only
 be used with GNU/Emacs. (I.e. you don't need to install it if your site
 has only XEmacs installed.)  

But I don't do any TeX yet, so I can't help any further.

Ciao,
Martin


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: 'LaTeX' mode in xemacs

1998-02-25 Thread Paul Huygen
Paul Rightley <[EMAIL PROTECTED]> wrote:

> When I edit
> a LaTeX file on this RedHat machine with xemacs, I get a LaTeX
> menu when I right-click. Also, xemacs has  'command' and 'LaTeX'
> pull-down menus in this situation. On my hamm machine [..], I get no
> such menu when editing a LaTeX file.  How do
> I go about changing this?

The features that you refer to are supplied by the auctex package. It
is a good idea to install that package.

Regards,

Paul Huygen


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


'LaTeX' mode in xemacs

1998-02-25 Thread Paul Rightley
Sorry if this is not specifically Debian related (but this seems
to be a wholely polite mail-list - a rarity lately).  I have an
up-to-date hamm installation.  I sometimes work on a RedHat machine
(through an 'X-terminal' Sun running Sparc linux).  When I edit
a LaTeX file on this RedHat machine with xemacs, I get a LaTeX
menu when I right-click. Also, xemacs has  'command' and 'LaTeX'
pull-down menus in this situation. On my hamm machine (in my office
and at home), I get no such menu when editing a LaTeX file.  How do
I go about changing this?

(I tend to use debian as a turn-key system and still am not a big
fan of 'info'.)

Thanks for any assistance,

Paul Rightley


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .