auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] help write a function?


From: Ralf Angeli
Subject: Re: [AUCTeX] help write a function?
Date: Sun, 23 Jul 2006 16:09:39 +0200

* Leon (2006-07-22) writes:

> I'd like to write a function say `LaTeX-help-at-point' that would use
> latex-doc-command, latex-doc-environment and latex-doc-package to
> generate help based on the context. i.e:
>
> if it's \usepackage{XXX} call latex-doc-package; if \XXX, call
> latex-doc-command; if \begin{XXX}, call latex-doc-environment.

Like `C-c ?' (aka `TeX-doc') in AUCTeX?

> I don't know much of lisp and I'd appreciate if anyone can help write
> one. Thank you.
>
> latex-doc-* functions are from latex-doc package.
>
> I have attached the latex-doc.el.

In which way is this better than `TeX-doc'?  I'd rather like to
improve this than some external package.

-- 
Ralf




reply via email to

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