[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Accessing TeX-related documentation
From: |
David Kastrup |
Subject: |
Re: [AUCTeX-devel] Accessing TeX-related documentation |
Date: |
Thu, 17 Nov 2005 22:09:40 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Ralf Angeli <address@hidden> writes:
> Occasionally I find myself opening an external shell for running
> texdoc. I think it would be nice to have access to TeX-related
> documentation from inside Emacs. We could start with something like
>
> (defun TeX-doc (name)
> "Display documentation for NAME."
> (interactive "sCommand or package: ")
> (call-process "texdoc" nil 0 nil name))
>
> I'll have to check if MikTeX offers something similar.
>
> Maybe this could be expanded later to include command references like
> <URL:http://www.miwie.org/tex-refs/>. Also, etexshow for ConTeXt
> could be hooked in.
>
> Would that be nice?
Yes. In particular since
M-! texdoc whatever
does not work if you have set eshell-prefer-to-shell.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum