* Jan Schaumloeffel (2009-06-02) writes:

> This works when called like this:
>
> \begin{code}{caption}{label}
>   fac 1     = 1
>   fac (n+1) = n * fac n
> \end{code}
>
> Now I'd like to have the label show up in RefTeX's TOC, so I customized
> reftex-label-alist:
>
> (custom-set-variables
> ...
>  '(reftex-label-alist (quote (("code" 108 "lst:" "~\\ref{%s}"
> "\\\\begin{code}{.*}{" ("Listing")))))
> ...)
>
> This does not work, the labels do not show up in the TOC.
> Any pointers on how to fix it?

Perhaps the suggestion in
<URL:http://mid.gmane.org/871wfll104.fsf%40neutrino.caeruleus.net>
helps?

-- 
Ralf


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to